Class LocationMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LocationMetadata.Builder>
com.google.cloud.oracledatabase.v1.LocationMetadata.Builder
All Implemented Interfaces:
LocationMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
LocationMetadata

public static final class LocationMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<LocationMetadata.Builder> implements LocationMetadataOrBuilder
 Metadata for a given [Location][google.cloud.location.Location].
 
Protobuf type google.cloud.oracledatabase.v1.LocationMetadata
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<LocationMetadata.Builder>
    • clear

      public LocationMetadata.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<LocationMetadata.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<LocationMetadata.Builder>
    • getDefaultInstanceForType

      public LocationMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public LocationMetadata build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public LocationMetadata buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public LocationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LocationMetadata.Builder>
    • mergeFrom

      public LocationMetadata.Builder mergeFrom(LocationMetadata other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<LocationMetadata.Builder>
    • mergeFrom

      public LocationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LocationMetadata.Builder>
      Throws:
      IOException
    • getGcpOracleZonesList

      public com.google.protobuf.ProtocolStringList getGcpOracleZonesList()
       Output only. Google Cloud Platform Oracle zones in a location.
       
      repeated string gcp_oracle_zones = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGcpOracleZonesList in interface LocationMetadataOrBuilder
      Returns:
      A list containing the gcpOracleZones.
    • 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];
      Specified by:
      getGcpOracleZonesCount in interface LocationMetadataOrBuilder
      Returns:
      The count of gcpOracleZones.
    • getGcpOracleZones

      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];
      Specified by:
      getGcpOracleZones in interface LocationMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The gcpOracleZones at the given index.
    • getGcpOracleZonesBytes

      public com.google.protobuf.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];
      Specified by:
      getGcpOracleZonesBytes in interface LocationMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the gcpOracleZones at the given index.
    • setGcpOracleZones

      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:
      index - The index to set the value at.
      value - The gcpOracleZones to set.
      Returns:
      This builder for chaining.
    • addGcpOracleZones

      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];
      Parameters:
      value - The gcpOracleZones to add.
      Returns:
      This builder for chaining.
    • addAllGcpOracleZones

      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];
      Parameters:
      values - The gcpOracleZones to add.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • addGcpOracleZonesBytes

      public LocationMetadata.Builder addGcpOracleZonesBytes(com.google.protobuf.ByteString value)
       Output only. Google Cloud Platform Oracle zones in a location.
       
      repeated string gcp_oracle_zones = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes of the gcpOracleZones to add.
      Returns:
      This builder for chaining.