Class LocationMetadata.Builder (0.1.0)

public static final class LocationMetadata.Builder extends GeneratedMessageV3.Builder<LocationMetadata.Builder> implements LocationMetadataOrBuilder

Metadata for a given Location.

Protobuf type google.cloud.oracledatabase.v1.LocationMetadata

Static Methods

getDescriptor()

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

Methods

addAllGcpOracleZones(Iterable<String> values)

public LocationMetadata.Builder addAllGcpOracleZones(Iterable<String> values)

Output only. Google Cloud Platform Oracle zones in a location.

repeated string gcp_oracle_zones = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The gcpOracleZones to add.

Returns
Type Description
LocationMetadata.Builder

This builder for chaining.

addGcpOracleZones(String value)

public LocationMetadata.Builder addGcpOracleZones(String value)

Output only. Google Cloud Platform Oracle zones in a location.

repeated string gcp_oracle_zones = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The gcpOracleZones to add.

Returns
Type Description
LocationMetadata.Builder

This builder for chaining.

addGcpOracleZonesBytes(ByteString value)

public LocationMetadata.Builder addGcpOracleZonesBytes(ByteString value)

Output only. Google Cloud Platform Oracle zones in a location.

repeated string gcp_oracle_zones = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the gcpOracleZones to add.

Returns
Type Description
LocationMetadata.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LocationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LocationMetadata.Builder
Overrides

build()

public LocationMetadata build()
Returns
Type Description
LocationMetadata

buildPartial()

public LocationMetadata buildPartial()
Returns
Type Description
LocationMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

public LocationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LocationMetadata.Builder
Overrides

clearGcpOracleZones()

public LocationMetadata.Builder clearGcpOracleZones()

Output only. Google Cloud Platform Oracle zones in a location.

repeated string gcp_oracle_zones = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LocationMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LocationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LocationMetadata.Builder
Overrides

clone()

public LocationMetadata.Builder clone()
Returns
Type Description
LocationMetadata.Builder
Overrides

getDefaultInstanceForType()

public LocationMetadata getDefaultInstanceForType()
Returns
Type Description
LocationMetadata

getDescriptorForType()

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

getGcpOracleZones(int index)

public String getGcpOracleZones(int index)

Output only. Google Cloud Platform Oracle zones in a location.

repeated string gcp_oracle_zones = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The gcpOracleZones at the given index.

getGcpOracleZonesBytes(int index)

public ByteString getGcpOracleZonesBytes(int index)

Output only. Google Cloud Platform Oracle zones in a location.

repeated string gcp_oracle_zones = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the gcpOracleZones at the given index.

getGcpOracleZonesCount()

public int getGcpOracleZonesCount()

Output only. Google Cloud Platform Oracle zones in a location.

repeated string gcp_oracle_zones = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of gcpOracleZones.

getGcpOracleZonesList()

public ProtocolStringList getGcpOracleZonesList()

Output only. Google Cloud Platform Oracle zones in a location.

repeated string gcp_oracle_zones = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the gcpOracleZones.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LocationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LocationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LocationMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LocationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LocationMetadata.Builder
Overrides

setGcpOracleZones(int index, String value)

public LocationMetadata.Builder setGcpOracleZones(int index, String value)

Output only. Google Cloud Platform Oracle zones in a location.

repeated string gcp_oracle_zones = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The gcpOracleZones to set.

Returns
Type Description
LocationMetadata.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LocationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LocationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LocationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LocationMetadata.Builder
Overrides