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