public static final class WorldClockProtocol.LocalTime.Builder extends <any> implements WorldClockProtocol.LocalTimeOrBuilder
io.netty.example.worldclock.LocalTime
限定符和类型 | 方法和说明 |
---|---|
WorldClockProtocol.LocalTime |
build() |
WorldClockProtocol.LocalTime |
buildPartial() |
WorldClockProtocol.LocalTime.Builder |
clear() |
WorldClockProtocol.LocalTime.Builder |
clearDayOfMonth()
required uint32 dayOfMonth = 4; |
WorldClockProtocol.LocalTime.Builder |
clearDayOfWeek()
required .io.netty.example.worldclock.DayOfWeek dayOfWeek = 5; |
WorldClockProtocol.LocalTime.Builder |
clearHour()
required uint32 hour = 6; |
WorldClockProtocol.LocalTime.Builder |
clearMinute()
required uint32 minute = 7; |
WorldClockProtocol.LocalTime.Builder |
clearMonth()
required uint32 month = 2; |
WorldClockProtocol.LocalTime.Builder |
clearSecond()
required uint32 second = 8; |
WorldClockProtocol.LocalTime.Builder |
clearYear()
required uint32 year = 1; |
WorldClockProtocol.LocalTime.Builder |
clone() |
int |
getDayOfMonth()
required uint32 dayOfMonth = 4; |
WorldClockProtocol.DayOfWeek |
getDayOfWeek()
required .io.netty.example.worldclock.DayOfWeek dayOfWeek = 5; |
WorldClockProtocol.LocalTime |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getHour()
required uint32 hour = 6; |
int |
getMinute()
required uint32 minute = 7; |
int |
getMonth()
required uint32 month = 2; |
int |
getSecond()
required uint32 second = 8; |
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() |
WorldClockProtocol.LocalTime.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WorldClockProtocol.LocalTime.Builder |
mergeFrom(com.google.protobuf.Message other) |
WorldClockProtocol.LocalTime.Builder |
setDayOfMonth(int value)
required uint32 dayOfMonth = 4; |
WorldClockProtocol.LocalTime.Builder |
setDayOfWeek(WorldClockProtocol.DayOfWeek value)
required .io.netty.example.worldclock.DayOfWeek dayOfWeek = 5; |
WorldClockProtocol.LocalTime.Builder |
setHour(int value)
required uint32 hour = 6; |
WorldClockProtocol.LocalTime.Builder |
setMinute(int value)
required uint32 minute = 7; |
WorldClockProtocol.LocalTime.Builder |
setMonth(int value)
required uint32 month = 2; |
WorldClockProtocol.LocalTime.Builder |
setSecond(int value)
required uint32 second = 8; |
WorldClockProtocol.LocalTime.Builder |
setYear(int value)
required uint32 year = 1; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public WorldClockProtocol.LocalTime.Builder clear()
public WorldClockProtocol.LocalTime.Builder clone()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public WorldClockProtocol.LocalTime getDefaultInstanceForType()
public WorldClockProtocol.LocalTime build()
public WorldClockProtocol.LocalTime buildPartial()
public WorldClockProtocol.LocalTime.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public WorldClockProtocol.LocalTime.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasYear()
required uint32 year = 1;
hasYear
在接口中 WorldClockProtocol.LocalTimeOrBuilder
public int getYear()
required uint32 year = 1;
getYear
在接口中 WorldClockProtocol.LocalTimeOrBuilder
public WorldClockProtocol.LocalTime.Builder setYear(int value)
required uint32 year = 1;
public WorldClockProtocol.LocalTime.Builder clearYear()
required uint32 year = 1;
public boolean hasMonth()
required uint32 month = 2;
public int getMonth()
required uint32 month = 2;
public WorldClockProtocol.LocalTime.Builder setMonth(int value)
required uint32 month = 2;
public WorldClockProtocol.LocalTime.Builder clearMonth()
required uint32 month = 2;
public boolean hasDayOfMonth()
required uint32 dayOfMonth = 4;
public int getDayOfMonth()
required uint32 dayOfMonth = 4;
public WorldClockProtocol.LocalTime.Builder setDayOfMonth(int value)
required uint32 dayOfMonth = 4;
public WorldClockProtocol.LocalTime.Builder clearDayOfMonth()
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 WorldClockProtocol.LocalTime.Builder setDayOfWeek(WorldClockProtocol.DayOfWeek value)
required .io.netty.example.worldclock.DayOfWeek dayOfWeek = 5;
public WorldClockProtocol.LocalTime.Builder clearDayOfWeek()
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 WorldClockProtocol.LocalTime.Builder setHour(int value)
required uint32 hour = 6;
public WorldClockProtocol.LocalTime.Builder clearHour()
required uint32 hour = 6;
public boolean hasMinute()
required uint32 minute = 7;
public int getMinute()
required uint32 minute = 7;
public WorldClockProtocol.LocalTime.Builder setMinute(int value)
required uint32 minute = 7;
public WorldClockProtocol.LocalTime.Builder clearMinute()
required uint32 minute = 7;
public boolean hasSecond()
required uint32 second = 8;
public int getSecond()
required uint32 second = 8;
public WorldClockProtocol.LocalTime.Builder setSecond(int value)
required uint32 second = 8;
public WorldClockProtocol.LocalTime.Builder clearSecond()
required uint32 second = 8;