Class BackendBucketParams.Builder

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

public static final class BackendBucketParams.Builder extends com.google.protobuf.GeneratedMessage.Builder<BackendBucketParams.Builder> implements BackendBucketParamsOrBuilder
 Additional Backend Bucket parameters.
 
Protobuf type google.cloud.compute.v1.BackendBucketParams
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BackendBucketParams.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BackendBucketParams.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BackendBucketParams.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<BackendBucketParams.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<BackendBucketParams.Builder>
    • getDefaultInstanceForType

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

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

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

      public BackendBucketParams.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<BackendBucketParams.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<BackendBucketParams.Builder>
    • mergeFrom

      public BackendBucketParams.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<BackendBucketParams.Builder>
      Throws:
      IOException
    • getResourceManagerTagsCount

      public int getResourceManagerTagsCount()
      Description copied from interface: BackendBucketParamsOrBuilder
       Tag keys/values directly bound to this resource.
       Tag keys and values have the same definition as resource
       manager tags. The field is allowed for INSERT
       only. The keys/values to set on the resource should be specified in
       either ID { : } or Namespaced format
       { : }.
       For example the following are valid inputs:
       * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
       * {"123/environment" : "production", "345/abc" : "xyz"}
       Note:
       * Invalid combinations of ID & namespaced format is not supported. For
       instance: {"123/environment" : "tagValues/444"} is invalid.
       
      map<string, string> resource_manager_tags = 377671164;
      Specified by:
      getResourceManagerTagsCount in interface BackendBucketParamsOrBuilder
    • containsResourceManagerTags

      public boolean containsResourceManagerTags(String key)
       Tag keys/values directly bound to this resource.
       Tag keys and values have the same definition as resource
       manager tags. The field is allowed for INSERT
       only. The keys/values to set on the resource should be specified in
       either ID { : } or Namespaced format
       { : }.
       For example the following are valid inputs:
       * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
       * {"123/environment" : "production", "345/abc" : "xyz"}
       Note:
       * Invalid combinations of ID & namespaced format is not supported. For
       instance: {"123/environment" : "tagValues/444"} is invalid.
       
      map<string, string> resource_manager_tags = 377671164;
      Specified by:
      containsResourceManagerTags in interface BackendBucketParamsOrBuilder
    • getResourceManagerTags

      @Deprecated public Map<String,String> getResourceManagerTags()
      Deprecated.
      Specified by:
      getResourceManagerTags in interface BackendBucketParamsOrBuilder
    • getResourceManagerTagsMap

      public Map<String,String> getResourceManagerTagsMap()
       Tag keys/values directly bound to this resource.
       Tag keys and values have the same definition as resource
       manager tags. The field is allowed for INSERT
       only. The keys/values to set on the resource should be specified in
       either ID { : } or Namespaced format
       { : }.
       For example the following are valid inputs:
       * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
       * {"123/environment" : "production", "345/abc" : "xyz"}
       Note:
       * Invalid combinations of ID & namespaced format is not supported. For
       instance: {"123/environment" : "tagValues/444"} is invalid.
       
      map<string, string> resource_manager_tags = 377671164;
      Specified by:
      getResourceManagerTagsMap in interface BackendBucketParamsOrBuilder
    • getResourceManagerTagsOrDefault

      public String getResourceManagerTagsOrDefault(String key, String defaultValue)
       Tag keys/values directly bound to this resource.
       Tag keys and values have the same definition as resource
       manager tags. The field is allowed for INSERT
       only. The keys/values to set on the resource should be specified in
       either ID { : } or Namespaced format
       { : }.
       For example the following are valid inputs:
       * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
       * {"123/environment" : "production", "345/abc" : "xyz"}
       Note:
       * Invalid combinations of ID & namespaced format is not supported. For
       instance: {"123/environment" : "tagValues/444"} is invalid.
       
      map<string, string> resource_manager_tags = 377671164;
      Specified by:
      getResourceManagerTagsOrDefault in interface BackendBucketParamsOrBuilder
    • getResourceManagerTagsOrThrow

      public String getResourceManagerTagsOrThrow(String key)
       Tag keys/values directly bound to this resource.
       Tag keys and values have the same definition as resource
       manager tags. The field is allowed for INSERT
       only. The keys/values to set on the resource should be specified in
       either ID { : } or Namespaced format
       { : }.
       For example the following are valid inputs:
       * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
       * {"123/environment" : "production", "345/abc" : "xyz"}
       Note:
       * Invalid combinations of ID & namespaced format is not supported. For
       instance: {"123/environment" : "tagValues/444"} is invalid.
       
      map<string, string> resource_manager_tags = 377671164;
      Specified by:
      getResourceManagerTagsOrThrow in interface BackendBucketParamsOrBuilder
    • clearResourceManagerTags

      public BackendBucketParams.Builder clearResourceManagerTags()
    • removeResourceManagerTags

      public BackendBucketParams.Builder removeResourceManagerTags(String key)
       Tag keys/values directly bound to this resource.
       Tag keys and values have the same definition as resource
       manager tags. The field is allowed for INSERT
       only. The keys/values to set on the resource should be specified in
       either ID { : } or Namespaced format
       { : }.
       For example the following are valid inputs:
       * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
       * {"123/environment" : "production", "345/abc" : "xyz"}
       Note:
       * Invalid combinations of ID & namespaced format is not supported. For
       instance: {"123/environment" : "tagValues/444"} is invalid.
       
      map<string, string> resource_manager_tags = 377671164;
    • getMutableResourceManagerTags

      @Deprecated public Map<String,String> getMutableResourceManagerTags()
      Deprecated.
      Use alternate mutation accessors instead.
    • putResourceManagerTags

      public BackendBucketParams.Builder putResourceManagerTags(String key, String value)
       Tag keys/values directly bound to this resource.
       Tag keys and values have the same definition as resource
       manager tags. The field is allowed for INSERT
       only. The keys/values to set on the resource should be specified in
       either ID { : } or Namespaced format
       { : }.
       For example the following are valid inputs:
       * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
       * {"123/environment" : "production", "345/abc" : "xyz"}
       Note:
       * Invalid combinations of ID & namespaced format is not supported. For
       instance: {"123/environment" : "tagValues/444"} is invalid.
       
      map<string, string> resource_manager_tags = 377671164;
    • putAllResourceManagerTags

      public BackendBucketParams.Builder putAllResourceManagerTags(Map<String,String> values)
       Tag keys/values directly bound to this resource.
       Tag keys and values have the same definition as resource
       manager tags. The field is allowed for INSERT
       only. The keys/values to set on the resource should be specified in
       either ID { : } or Namespaced format
       { : }.
       For example the following are valid inputs:
       * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
       * {"123/environment" : "production", "345/abc" : "xyz"}
       Note:
       * Invalid combinations of ID & namespaced format is not supported. For
       instance: {"123/environment" : "tagValues/444"} is invalid.
       
      map<string, string> resource_manager_tags = 377671164;