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.vmwareengine.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
 VmwareEngine specific metadata for the given
 [google.cloud.location.Location][google.cloud.location.Location]. It is
 returned as a content of the `google.cloud.location.Location.metadata` field.
 
Protobuf type google.cloud.vmwareengine.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
    • getCapabilitiesList

      public List<LocationMetadata.Capability> getCapabilitiesList()
       Output only. Capabilities of this location.
       
      repeated .google.cloud.vmwareengine.v1.LocationMetadata.Capability capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCapabilitiesList in interface LocationMetadataOrBuilder
      Returns:
      A list containing the capabilities.
    • getCapabilitiesCount

      public int getCapabilitiesCount()
       Output only. Capabilities of this location.
       
      repeated .google.cloud.vmwareengine.v1.LocationMetadata.Capability capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCapabilitiesCount in interface LocationMetadataOrBuilder
      Returns:
      The count of capabilities.
    • getCapabilities

      public LocationMetadata.Capability getCapabilities(int index)
       Output only. Capabilities of this location.
       
      repeated .google.cloud.vmwareengine.v1.LocationMetadata.Capability capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCapabilities in interface LocationMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The capabilities at the given index.
    • setCapabilities

      public LocationMetadata.Builder setCapabilities(int index, LocationMetadata.Capability value)
       Output only. Capabilities of this location.
       
      repeated .google.cloud.vmwareengine.v1.LocationMetadata.Capability capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The capabilities to set.
      Returns:
      This builder for chaining.
    • addCapabilities

      public LocationMetadata.Builder addCapabilities(LocationMetadata.Capability value)
       Output only. Capabilities of this location.
       
      repeated .google.cloud.vmwareengine.v1.LocationMetadata.Capability capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The capabilities to add.
      Returns:
      This builder for chaining.
    • addAllCapabilities

      public LocationMetadata.Builder addAllCapabilities(Iterable<? extends LocationMetadata.Capability> values)
       Output only. Capabilities of this location.
       
      repeated .google.cloud.vmwareengine.v1.LocationMetadata.Capability capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The capabilities to add.
      Returns:
      This builder for chaining.
    • clearCapabilities

      public LocationMetadata.Builder clearCapabilities()
       Output only. Capabilities of this location.
       
      repeated .google.cloud.vmwareengine.v1.LocationMetadata.Capability capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getCapabilitiesValueList

      public List<Integer> getCapabilitiesValueList()
       Output only. Capabilities of this location.
       
      repeated .google.cloud.vmwareengine.v1.LocationMetadata.Capability capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCapabilitiesValueList in interface LocationMetadataOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for capabilities.
    • getCapabilitiesValue

      public int getCapabilitiesValue(int index)
       Output only. Capabilities of this location.
       
      repeated .google.cloud.vmwareengine.v1.LocationMetadata.Capability capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCapabilitiesValue in interface LocationMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of capabilities at the given index.
    • setCapabilitiesValue

      public LocationMetadata.Builder setCapabilitiesValue(int index, int value)
       Output only. Capabilities of this location.
       
      repeated .google.cloud.vmwareengine.v1.LocationMetadata.Capability capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for capabilities to set.
      Returns:
      This builder for chaining.
    • addCapabilitiesValue

      public LocationMetadata.Builder addCapabilitiesValue(int value)
       Output only. Capabilities of this location.
       
      repeated .google.cloud.vmwareengine.v1.LocationMetadata.Capability capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for capabilities to add.
      Returns:
      This builder for chaining.
    • addAllCapabilitiesValue

      public LocationMetadata.Builder addAllCapabilitiesValue(Iterable<Integer> values)
       Output only. Capabilities of this location.
       
      repeated .google.cloud.vmwareengine.v1.LocationMetadata.Capability capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The enum numeric values on the wire for capabilities to add.
      Returns:
      This builder for chaining.