public static final class TimeZone.Builder extends GeneratedMessageV3.Builder<TimeZone.Builder> implements TimeZoneOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeZone.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public TimeZone buildPartial()
clear()
public TimeZone.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TimeZone.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearId()
public TimeZone.Builder clearId()
IANA Time Zone Database time zone, e.g. "America/New_York".
string id = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeZone.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVersion()
public TimeZone.Builder clearVersion()
Optional. IANA Time Zone Database version number, e.g. "2019a".
string version = 2;
clone()
public TimeZone.Builder clone()
Overrides
getDefaultInstanceForType()
public TimeZone getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getId()
IANA Time Zone Database time zone, e.g. "America/New_York".
string id = 1;
Returns |
Type |
Description |
String |
The id.
|
getIdBytes()
public ByteString getIdBytes()
IANA Time Zone Database time zone, e.g. "America/New_York".
string id = 1;
Returns |
Type |
Description |
ByteString |
The bytes for id.
|
getVersion()
public String getVersion()
Optional. IANA Time Zone Database version number, e.g. "2019a".
string version = 2;
Returns |
Type |
Description |
String |
The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Optional. IANA Time Zone Database version number, e.g. "2019a".
string version = 2;
Returns |
Type |
Description |
ByteString |
The bytes for version.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public TimeZone.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TimeZone.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(TimeZone other)
public TimeZone.Builder mergeFrom(TimeZone other)
Parameter |
Name |
Description |
other |
TimeZone
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeZone.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TimeZone.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setId(String value)
public TimeZone.Builder setId(String value)
IANA Time Zone Database time zone, e.g. "America/New_York".
string id = 1;
Parameter |
Name |
Description |
value |
String
The id to set.
|
setIdBytes(ByteString value)
public TimeZone.Builder setIdBytes(ByteString value)
IANA Time Zone Database time zone, e.g. "America/New_York".
string id = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for id to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeZone.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeZone.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVersion(String value)
public TimeZone.Builder setVersion(String value)
Optional. IANA Time Zone Database version number, e.g. "2019a".
string version = 2;
Parameter |
Name |
Description |
value |
String
The version to set.
|
setVersionBytes(ByteString value)
public TimeZone.Builder setVersionBytes(ByteString value)
Optional. IANA Time Zone Database version number, e.g. "2019a".
string version = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for version to set.
|