Class TimeZoneSettings.Builder (0.1.0)

public static final class TimeZoneSettings.Builder extends GeneratedMessage.Builder<TimeZoneSettings.Builder> implements TimeZoneSettingsOrBuilder

TimeZone settings of the app.

Protobuf type google.cloud.ces.v1.TimeZoneSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public TimeZoneSettings build()
Returns
Type Description
TimeZoneSettings

buildPartial()

public TimeZoneSettings buildPartial()
Returns
Type Description
TimeZoneSettings

clear()

public TimeZoneSettings.Builder clear()
Returns
Type Description
TimeZoneSettings.Builder
Overrides

clearTimeZone()

public TimeZoneSettings.Builder clearTimeZone()

Optional. The time zone of the app from the time zone database, e.g., America/Los_Angeles, Europe/Paris.

string time_zone = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimeZoneSettings.Builder

This builder for chaining.

getDefaultInstanceForType()

public TimeZoneSettings getDefaultInstanceForType()
Returns
Type Description
TimeZoneSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTimeZone()

public String getTimeZone()

Optional. The time zone of the app from the time zone database, e.g., America/Los_Angeles, Europe/Paris.

string time_zone = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The timeZone.

getTimeZoneBytes()

public ByteString getTimeZoneBytes()

Optional. The time zone of the app from the time zone database, e.g., America/Los_Angeles, Europe/Paris.

string time_zone = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for timeZone.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TimeZoneSettings other)

public TimeZoneSettings.Builder mergeFrom(TimeZoneSettings other)
Parameter
Name Description
other TimeZoneSettings
Returns
Type Description
TimeZoneSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimeZoneSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeZoneSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TimeZoneSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TimeZoneSettings.Builder
Overrides

setTimeZone(String value)

public TimeZoneSettings.Builder setTimeZone(String value)

Optional. The time zone of the app from the time zone database, e.g., America/Los_Angeles, Europe/Paris.

string time_zone = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The timeZone to set.

Returns
Type Description
TimeZoneSettings.Builder

This builder for chaining.

setTimeZoneBytes(ByteString value)

public TimeZoneSettings.Builder setTimeZoneBytes(ByteString value)

Optional. The time zone of the app from the time zone database, e.g., America/Los_Angeles, Europe/Paris.

string time_zone = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for timeZone to set.

Returns
Type Description
TimeZoneSettings.Builder

This builder for chaining.