Class DeployParameters.Builder

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

public static final class DeployParameters.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeployParameters.Builder> implements DeployParametersOrBuilder
 DeployParameters contains deploy parameters information.
 
Protobuf type google.cloud.deploy.v1.DeployParameters
  • 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<DeployParameters.Builder>
    • internalGetMutableMapFieldReflection

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

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

      public DeployParameters.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<DeployParameters.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<DeployParameters.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public DeployParameters.Builder mergeFrom(DeployParameters other)
    • isInitialized

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

      public DeployParameters.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<DeployParameters.Builder>
      Throws:
      IOException
    • getValuesCount

      public int getValuesCount()
      Description copied from interface: DeployParametersOrBuilder
       Required. Values are deploy parameters in key-value pairs.
       
      map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getValuesCount in interface DeployParametersOrBuilder
    • containsValues

      public boolean containsValues(String key)
       Required. Values are deploy parameters in key-value pairs.
       
      map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      containsValues in interface DeployParametersOrBuilder
    • getValues

      @Deprecated public Map<String,String> getValues()
      Deprecated.
      Use getValuesMap() instead.
      Specified by:
      getValues in interface DeployParametersOrBuilder
    • getValuesMap

      public Map<String,String> getValuesMap()
       Required. Values are deploy parameters in key-value pairs.
       
      map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getValuesMap in interface DeployParametersOrBuilder
    • getValuesOrDefault

      public String getValuesOrDefault(String key, String defaultValue)
       Required. Values are deploy parameters in key-value pairs.
       
      map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getValuesOrDefault in interface DeployParametersOrBuilder
    • getValuesOrThrow

      public String getValuesOrThrow(String key)
       Required. Values are deploy parameters in key-value pairs.
       
      map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getValuesOrThrow in interface DeployParametersOrBuilder
    • clearValues

      public DeployParameters.Builder clearValues()
    • removeValues

      public DeployParameters.Builder removeValues(String key)
       Required. Values are deploy parameters in key-value pairs.
       
      map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMutableValues

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

      public DeployParameters.Builder putValues(String key, String value)
       Required. Values are deploy parameters in key-value pairs.
       
      map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED];
    • putAllValues

      public DeployParameters.Builder putAllValues(Map<String,String> values)
       Required. Values are deploy parameters in key-value pairs.
       
      map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMatchTargetLabelsCount

      public int getMatchTargetLabelsCount()
      Description copied from interface: DeployParametersOrBuilder
       Optional. Deploy parameters are applied to targets with match labels.
       If unspecified, deploy parameters are applied to all targets (including
       child targets of a multi-target).
       
      map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMatchTargetLabelsCount in interface DeployParametersOrBuilder
    • containsMatchTargetLabels

      public boolean containsMatchTargetLabels(String key)
       Optional. Deploy parameters are applied to targets with match labels.
       If unspecified, deploy parameters are applied to all targets (including
       child targets of a multi-target).
       
      map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsMatchTargetLabels in interface DeployParametersOrBuilder
    • getMatchTargetLabels

      @Deprecated public Map<String,String> getMatchTargetLabels()
      Deprecated.
      Specified by:
      getMatchTargetLabels in interface DeployParametersOrBuilder
    • getMatchTargetLabelsMap

      public Map<String,String> getMatchTargetLabelsMap()
       Optional. Deploy parameters are applied to targets with match labels.
       If unspecified, deploy parameters are applied to all targets (including
       child targets of a multi-target).
       
      map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMatchTargetLabelsMap in interface DeployParametersOrBuilder
    • getMatchTargetLabelsOrDefault

      public String getMatchTargetLabelsOrDefault(String key, String defaultValue)
       Optional. Deploy parameters are applied to targets with match labels.
       If unspecified, deploy parameters are applied to all targets (including
       child targets of a multi-target).
       
      map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMatchTargetLabelsOrDefault in interface DeployParametersOrBuilder
    • getMatchTargetLabelsOrThrow

      public String getMatchTargetLabelsOrThrow(String key)
       Optional. Deploy parameters are applied to targets with match labels.
       If unspecified, deploy parameters are applied to all targets (including
       child targets of a multi-target).
       
      map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMatchTargetLabelsOrThrow in interface DeployParametersOrBuilder
    • clearMatchTargetLabels

      public DeployParameters.Builder clearMatchTargetLabels()
    • removeMatchTargetLabels

      public DeployParameters.Builder removeMatchTargetLabels(String key)
       Optional. Deploy parameters are applied to targets with match labels.
       If unspecified, deploy parameters are applied to all targets (including
       child targets of a multi-target).
       
      map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableMatchTargetLabels

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

      public DeployParameters.Builder putMatchTargetLabels(String key, String value)
       Optional. Deploy parameters are applied to targets with match labels.
       If unspecified, deploy parameters are applied to all targets (including
       child targets of a multi-target).
       
      map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL];
    • putAllMatchTargetLabels

      public DeployParameters.Builder putAllMatchTargetLabels(Map<String,String> values)
       Optional. Deploy parameters are applied to targets with match labels.
       If unspecified, deploy parameters are applied to all targets (including
       child targets of a multi-target).
       
      map<string, string> match_target_labels = 2 [(.google.api.field_behavior) = OPTIONAL];