public static final class WorldClockProtocol.LocalTime extends com.google.protobuf.GeneratedMessage implements WorldClockProtocol.LocalTimeOrBuilder
io.netty.example.worldclock.LocalTime
限定符和类型 | 类和说明 |
---|---|
static class |
WorldClockProtocol.LocalTime.Builder
Protobuf type
io.netty.example.worldclock.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 <any> |
PARSER |
static int |
SECOND_FIELD_NUMBER |
static int |
YEAR_FIELD_NUMBER |
限定符和类型 | 方法和说明 |
---|---|
int |
getDayOfMonth()
required uint32 dayOfMonth = 4; |
WorldClockProtocol.DayOfWeek |
getDayOfWeek()
required .io.netty.example.worldclock.DayOfWeek dayOfWeek = 5; |
static WorldClockProtocol.LocalTime |
getDefaultInstance() |
WorldClockProtocol.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; |
<any> |
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 .io.netty.example.worldclock.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 WorldClockProtocol.LocalTime.Builder |
newBuilder() |
static WorldClockProtocol.LocalTime.Builder |
newBuilder(WorldClockProtocol.LocalTime prototype) |
WorldClockProtocol.LocalTime.Builder |
newBuilderForType() |
protected WorldClockProtocol.LocalTime.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static WorldClockProtocol.LocalTime |
parseDelimitedFrom(java.io.InputStream input) |
static WorldClockProtocol.LocalTime |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorldClockProtocol.LocalTime |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorldClockProtocol.LocalTime |
parseFrom(com.google.protobuf.ByteString data) |
static WorldClockProtocol.LocalTime |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorldClockProtocol.LocalTime |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WorldClockProtocol.LocalTime |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorldClockProtocol.LocalTime |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WorldClockProtocol.LocalTime.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static <any> PARSER
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 WorldClockProtocol.LocalTime getDefaultInstance()
public WorldClockProtocol.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()
public <any> getParserForType()
public boolean hasYear()
required uint32 year = 1;
hasYear
在接口中 WorldClockProtocol.LocalTimeOrBuilder
public int getYear()
required uint32 year = 1;
getYear
在接口中 WorldClockProtocol.LocalTimeOrBuilder
public boolean hasMonth()
required uint32 month = 2;
public int getMonth()
required uint32 month = 2;
public boolean hasDayOfMonth()
required uint32 dayOfMonth = 4;
public int getDayOfMonth()
required uint32 dayOfMonth = 4;
public boolean hasDayOfWeek()
required .io.netty.example.worldclock.DayOfWeek dayOfWeek = 5;
public WorldClockProtocol.DayOfWeek getDayOfWeek()
required .io.netty.example.worldclock.DayOfWeek dayOfWeek = 5;
public boolean hasHour()
required uint32 hour = 6;
hasHour
在接口中 WorldClockProtocol.LocalTimeOrBuilder
public int getHour()
required uint32 hour = 6;
getHour
在接口中 WorldClockProtocol.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 WorldClockProtocol.LocalTime parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WorldClockProtocol.LocalTime parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WorldClockProtocol.LocalTime parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WorldClockProtocol.LocalTime parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static WorldClockProtocol.LocalTime parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static WorldClockProtocol.LocalTime parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static WorldClockProtocol.LocalTime parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static WorldClockProtocol.LocalTime parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static WorldClockProtocol.LocalTime.Builder newBuilder()
public WorldClockProtocol.LocalTime.Builder newBuilderForType()
public static WorldClockProtocol.LocalTime.Builder newBuilder(WorldClockProtocol.LocalTime prototype)
public WorldClockProtocol.LocalTime.Builder toBuilder()
protected WorldClockProtocol.LocalTime.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)