public static final class DateTime.TimeZone extends GeneratedMessageV3 implements DateTime.TimeZoneOrBuilder
Time zone of the date time object.
Protobuf type google.privacy.dlp.v2.DateTime.TimeZone
Static Fields
OFFSET_MINUTES_FIELD_NUMBER
public static final int OFFSET_MINUTES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DateTime.TimeZone getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DateTime.TimeZone.Builder newBuilder()
Returns
newBuilder(DateTime.TimeZone prototype)
public static DateTime.TimeZone.Builder newBuilder(DateTime.TimeZone prototype)
Parameter
Returns
public static DateTime.TimeZone parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DateTime.TimeZone parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DateTime.TimeZone parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DateTime.TimeZone parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DateTime.TimeZone parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DateTime.TimeZone parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DateTime.TimeZone parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DateTime.TimeZone parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DateTime.TimeZone parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DateTime.TimeZone parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DateTime.TimeZone parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DateTime.TimeZone parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DateTime.TimeZone> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DateTime.TimeZone getDefaultInstanceForType()
Returns
getOffsetMinutes()
public int getOffsetMinutes()
Set only if the offset can be determined. Positive for time ahead of UTC.
E.g. For "UTC-9", this value is -540.
int32 offset_minutes = 1;
Returns
Type | Description |
int | The offsetMinutes.
|
getParserForType()
public Parser<DateTime.TimeZone> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DateTime.TimeZone.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DateTime.TimeZone.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DateTime.TimeZone.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions