public static final class DeployParameters.Builder extends GeneratedMessageV3.Builder<DeployParameters.Builder> implements DeployParametersOrBuilder
DeployParameters contains deploy parameters information.
Protobuf type google.cloud.deploy.v1.DeployParameters
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeployParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DeployParameters build()
buildPartial()
public DeployParameters buildPartial()
clear()
public DeployParameters.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DeployParameters.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMatchTargetLabels()
public DeployParameters.Builder clearMatchTargetLabels()
clearOneof(Descriptors.OneofDescriptor oneof)
public DeployParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValues()
public DeployParameters.Builder clearValues()
clone()
public DeployParameters.Builder clone()
Overrides
containsMatchTargetLabels(String key)
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];
Parameter |
Name |
Description |
key |
String
|
containsValues(String key)
public boolean containsValues(String key)
Required. Values are deploy parameters in key-value pairs.
map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
key |
String
|
getDefaultInstanceForType()
public DeployParameters getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMatchTargetLabels() (deprecated)
public Map<String,String> getMatchTargetLabels()
getMatchTargetLabelsCount()
public int getMatchTargetLabelsCount()
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];
Returns |
Type |
Description |
int |
|
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];
getMatchTargetLabelsOrDefault(String key, String defaultValue)
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];
Returns |
Type |
Description |
String |
|
getMatchTargetLabelsOrThrow(String key)
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];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getMutableMatchTargetLabels() (deprecated)
public Map<String,String> getMutableMatchTargetLabels()
Use alternate mutation accessors instead.
getMutableValues() (deprecated)
public Map<String,String> getMutableValues()
Use alternate mutation accessors instead.
getValues() (deprecated)
public Map<String,String> getValues()
getValuesCount()
public int getValuesCount()
Required. Values are deploy parameters in key-value pairs.
map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
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];
getValuesOrDefault(String key, String defaultValue)
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];
Returns |
Type |
Description |
String |
|
getValuesOrThrow(String key)
public String getValuesOrThrow(String key)
Required. Values are deploy parameters in key-value pairs.
map<string, string> values = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DeployParameters other)
public DeployParameters.Builder mergeFrom(DeployParameters other)
public DeployParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DeployParameters.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeployParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllMatchTargetLabels(Map<String,String> values)
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];
putAllValues(Map<String,String> values)
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];
putMatchTargetLabels(String key, String value)
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];
putValues(String key, String value)
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];
removeMatchTargetLabels(String key)
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];
Parameter |
Name |
Description |
key |
String
|
removeValues(String key)
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];
Parameter |
Name |
Description |
key |
String
|
setField(Descriptors.FieldDescriptor field, Object value)
public DeployParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeployParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DeployParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides