Class DeployParameters

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.deploy.v1.DeployParameters
All Implemented Interfaces:
DeployParametersOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DeployParameters extends com.google.protobuf.GeneratedMessage implements DeployParametersOrBuilder
 DeployParameters contains deploy parameters information.
 
Protobuf type google.cloud.deploy.v1.DeployParameters
See Also:
  • Field Details

    • VALUES_FIELD_NUMBER

      public static final int VALUES_FIELD_NUMBER
      See Also:
    • MATCH_TARGET_LABELS_FIELD_NUMBER

      public static final int MATCH_TARGET_LABELS_FIELD_NUMBER
      See Also:
  • 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
    • internalGetFieldAccessorTable

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

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DeployParameters parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeployParameters parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeployParameters parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeployParameters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeployParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeployParameters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeployParameters parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DeployParameters parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DeployParameters parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DeployParameters parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DeployParameters parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DeployParameters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static DeployParameters.Builder newBuilder()
    • newBuilder

      public static DeployParameters.Builder newBuilder(DeployParameters prototype)
    • toBuilder

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

      protected DeployParameters.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DeployParameters getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DeployParameters> parser()
    • getParserForType

      public com.google.protobuf.Parser<DeployParameters> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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