public static final class LocalTimeProtocol.LocalTime extends com.google.protobuf.GeneratedMessage implements LocalTimeProtocol.LocalTimeOrBuilder
org.jboss.netty.example.localtime.LocalTime
限定符和类型 | 类和说明 |
---|---|
static class |
LocalTimeProtocol.LocalTime.Builder
Protobuf type
org.jboss.netty.example.localtime.LocalTime |
限定符和类型 | 字段和说明 |
---|---|
static int |
DAYOFMONTH_FIELD_NUMBER |
static int |
DAYOFWEEK_FIELD_NUMBER |
static int |
HOUR_FIELD_NUMBER |
static int |
MINUTE_FIELD_NUMBER |
static int |
MONTH_FIELD_NUMBER |
static |
PARSER |
static int |
SECOND_FIELD_NUMBER |
static int |
YEAR_FIELD_NUMBER |
限定符和类型 | 方法和说明 |
---|---|
int |
getDayOfMonth()
required uint32 dayOfMonth = 4; |
LocalTimeProtocol.DayOfWeek |
getDayOfWeek()
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5; |
static LocalTimeProtocol.LocalTime |
getDefaultInstance() |
LocalTimeProtocol.LocalTime |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getHour()
required uint32 hour = 6; |
int |
getMinute()
required uint32 minute = 7; |
int |
getMonth()
required uint32 month = 2; |
|
getParserForType() |
int |
getSecond()
required uint32 second = 8; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getYear()
required uint32 year = 1; |
boolean |
hasDayOfMonth()
required uint32 dayOfMonth = 4; |
boolean |
hasDayOfWeek()
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5; |
boolean |
hasHour()
required uint32 hour = 6; |
boolean |
hasMinute()
required uint32 minute = 7; |
boolean |
hasMonth()
required uint32 month = 2; |
boolean |
hasSecond()
required uint32 second = 8; |
boolean |
hasYear()
required uint32 year = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LocalTimeProtocol.LocalTime.Builder |
newBuilder() |
static LocalTimeProtocol.LocalTime.Builder |
newBuilder(LocalTimeProtocol.LocalTime prototype) |
LocalTimeProtocol.LocalTime.Builder |
newBuilderForType() |
protected LocalTimeProtocol.LocalTime.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static LocalTimeProtocol.LocalTime |
parseDelimitedFrom(java.io.InputStream input) |
static LocalTimeProtocol.LocalTime |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LocalTimeProtocol.LocalTime |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LocalTimeProtocol.LocalTime |
parseFrom(com.google.protobuf.ByteString data) |
static LocalTimeProtocol.LocalTime |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LocalTimeProtocol.LocalTime |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LocalTimeProtocol.LocalTime |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LocalTimeProtocol.LocalTime |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LocalTimeProtocol.LocalTime.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public staticPARSER
public static final int YEAR_FIELD_NUMBER
public static final int MONTH_FIELD_NUMBER
public static final int DAYOFMONTH_FIELD_NUMBER
public static final int DAYOFWEEK_FIELD_NUMBER
public static final int HOUR_FIELD_NUMBER
public static final int MINUTE_FIELD_NUMBER
public static final int SECOND_FIELD_NUMBER
public static LocalTimeProtocol.LocalTime getDefaultInstance()
public LocalTimeProtocol.LocalTime getDefaultInstanceForType()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
publicgetParserForType()
public boolean hasYear()
required uint32 year = 1;
hasYear
在接口中 LocalTimeProtocol.LocalTimeOrBuilder
public int getYear()
required uint32 year = 1;
getYear
在接口中 LocalTimeProtocol.LocalTimeOrBuilder
public boolean hasMonth()
required uint32 month = 2;
hasMonth
在接口中 LocalTimeProtocol.LocalTimeOrBuilder
public int getMonth()
required uint32 month = 2;
getMonth
在接口中 LocalTimeProtocol.LocalTimeOrBuilder
public boolean hasDayOfMonth()
required uint32 dayOfMonth = 4;
public int getDayOfMonth()
required uint32 dayOfMonth = 4;
public boolean hasDayOfWeek()
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
public LocalTimeProtocol.DayOfWeek getDayOfWeek()
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
public boolean hasHour()
required uint32 hour = 6;
hasHour
在接口中 LocalTimeProtocol.LocalTimeOrBuilder
public int getHour()
required uint32 hour = 6;
getHour
在接口中 LocalTimeProtocol.LocalTimeOrBuilder
public boolean hasMinute()
required uint32 minute = 7;
public int getMinute()
required uint32 minute = 7;
public boolean hasSecond()
required uint32 second = 8;
public int getSecond()
required uint32 second = 8;
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
java.io.ObjectStreamException
public static LocalTimeProtocol.LocalTime parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LocalTimeProtocol.LocalTime parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LocalTimeProtocol.LocalTime parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LocalTimeProtocol.LocalTime parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LocalTimeProtocol.LocalTime parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LocalTimeProtocol.LocalTime parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LocalTimeProtocol.LocalTime parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static LocalTimeProtocol.LocalTime parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LocalTimeProtocol.LocalTime.Builder newBuilder()
public LocalTimeProtocol.LocalTime.Builder newBuilderForType()
public static LocalTimeProtocol.LocalTime.Builder newBuilder(LocalTimeProtocol.LocalTime prototype)
public LocalTimeProtocol.LocalTime.Builder toBuilder()
protected LocalTimeProtocol.LocalTime.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)