Class IntelligenceConfig.Filter.CloudStorageLocations.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IntelligenceConfig.Filter.CloudStorageLocations.Builder>
com.google.storage.control.v2.IntelligenceConfig.Filter.CloudStorageLocations.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, IntelligenceConfig.Filter.CloudStorageLocationsOrBuilder, Cloneable
Enclosing class:
IntelligenceConfig.Filter.CloudStorageLocations

public static final class IntelligenceConfig.Filter.CloudStorageLocations.Builder extends com.google.protobuf.GeneratedMessage.Builder<IntelligenceConfig.Filter.CloudStorageLocations.Builder> implements IntelligenceConfig.Filter.CloudStorageLocationsOrBuilder
 Collection of bucket locations.
 
Protobuf type google.storage.control.v2.IntelligenceConfig.Filter.CloudStorageLocations
  • 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<IntelligenceConfig.Filter.CloudStorageLocations.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<IntelligenceConfig.Filter.CloudStorageLocations.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<IntelligenceConfig.Filter.CloudStorageLocations.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public IntelligenceConfig.Filter.CloudStorageLocations.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<IntelligenceConfig.Filter.CloudStorageLocations.Builder>
    • mergeFrom

    • isInitialized

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

      public IntelligenceConfig.Filter.CloudStorageLocations.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<IntelligenceConfig.Filter.CloudStorageLocations.Builder>
      Throws:
      IOException
    • getLocationsList

      public com.google.protobuf.ProtocolStringList getLocationsList()
       Optional. Bucket locations. Location can be any of the Cloud Storage
       regions specified in lower case format. For example, `us-east1`,
       `us-west1`.
       
      repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocationsList in interface IntelligenceConfig.Filter.CloudStorageLocationsOrBuilder
      Returns:
      A list containing the locations.
    • getLocationsCount

      public int getLocationsCount()
       Optional. Bucket locations. Location can be any of the Cloud Storage
       regions specified in lower case format. For example, `us-east1`,
       `us-west1`.
       
      repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocationsCount in interface IntelligenceConfig.Filter.CloudStorageLocationsOrBuilder
      Returns:
      The count of locations.
    • getLocations

      public String getLocations(int index)
       Optional. Bucket locations. Location can be any of the Cloud Storage
       regions specified in lower case format. For example, `us-east1`,
       `us-west1`.
       
      repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocations in interface IntelligenceConfig.Filter.CloudStorageLocationsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The locations at the given index.
    • getLocationsBytes

      public com.google.protobuf.ByteString getLocationsBytes(int index)
       Optional. Bucket locations. Location can be any of the Cloud Storage
       regions specified in lower case format. For example, `us-east1`,
       `us-west1`.
       
      repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocationsBytes in interface IntelligenceConfig.Filter.CloudStorageLocationsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the locations at the given index.
    • setLocations

      public IntelligenceConfig.Filter.CloudStorageLocations.Builder setLocations(int index, String value)
       Optional. Bucket locations. Location can be any of the Cloud Storage
       regions specified in lower case format. For example, `us-east1`,
       `us-west1`.
       
      repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The locations to set.
      Returns:
      This builder for chaining.
    • addLocations

       Optional. Bucket locations. Location can be any of the Cloud Storage
       regions specified in lower case format. For example, `us-east1`,
       `us-west1`.
       
      repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The locations to add.
      Returns:
      This builder for chaining.
    • addAllLocations

       Optional. Bucket locations. Location can be any of the Cloud Storage
       regions specified in lower case format. For example, `us-east1`,
       `us-west1`.
       
      repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The locations to add.
      Returns:
      This builder for chaining.
    • clearLocations

       Optional. Bucket locations. Location can be any of the Cloud Storage
       regions specified in lower case format. For example, `us-east1`,
       `us-west1`.
       
      repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addLocationsBytes

      public IntelligenceConfig.Filter.CloudStorageLocations.Builder addLocationsBytes(com.google.protobuf.ByteString value)
       Optional. Bucket locations. Location can be any of the Cloud Storage
       regions specified in lower case format. For example, `us-east1`,
       `us-west1`.
       
      repeated string locations = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the locations to add.
      Returns:
      This builder for chaining.