Class DeployParameters.Builder (0.16.0)

public static final class DeployParameters.Builder extends GeneratedMessageV3.Builder<DeployParameters.Builder> implements DeployParametersOrBuilder

DeployParameters contains deploy parameters information.

Protobuf type google.events.cloud.deploy.v1.DeployParameters

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeployParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeployParameters.Builder
Overrides

build()

public DeployParameters build()
Returns
Type Description
DeployParameters

buildPartial()

public DeployParameters buildPartial()
Returns
Type Description
DeployParameters

clear()

public DeployParameters.Builder clear()
Returns
Type Description
DeployParameters.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeployParameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeployParameters.Builder
Overrides

clearMatchTargetLabels()

public DeployParameters.Builder clearMatchTargetLabels()
Returns
Type Description
DeployParameters.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DeployParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeployParameters.Builder
Overrides

clearValues()

public DeployParameters.Builder clearValues()
Returns
Type Description
DeployParameters.Builder

clone()

public DeployParameters.Builder clone()
Returns
Type Description
DeployParameters.Builder
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;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsValues(String key)

public boolean containsValues(String key)

Required. Values are deploy parameters in key-value pairs.

map<string, string> values = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public DeployParameters getDefaultInstanceForType()
Returns
Type Description
DeployParameters

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMatchTargetLabels()

public Map<String,String> getMatchTargetLabels()
Returns
Type Description
Map<String,String>

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;

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;

Returns
Type Description
Map<String,String>

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;

Parameters
Name Description
key String
defaultValue String
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;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableMatchTargetLabels()

public Map<String,String> getMutableMatchTargetLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getMutableValues()

public Map<String,String> getMutableValues()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getValues()

public Map<String,String> getValues()

Use #getValuesMap() instead.

Returns
Type Description
Map<String,String>

getValuesCount()

public int getValuesCount()

Required. Values are deploy parameters in key-value pairs.

map<string, string> values = 1;

Returns
Type Description
int

getValuesMap()

public Map<String,String> getValuesMap()

Required. Values are deploy parameters in key-value pairs.

map<string, string> values = 1;

Returns
Type Description
Map<String,String>

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;

Parameters
Name Description
key String
defaultValue String
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;

Parameter
Name Description
key String
Returns
Type Description
String

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeployParameters other)

public DeployParameters.Builder mergeFrom(DeployParameters other)
Parameter
Name Description
other DeployParameters
Returns
Type Description
DeployParameters.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeployParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployParameters.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeployParameters.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeployParameters.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeployParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeployParameters.Builder
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;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
DeployParameters.Builder

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;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
DeployParameters.Builder

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;

Parameters
Name Description
key String
value String
Returns
Type Description
DeployParameters.Builder

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;

Parameters
Name Description
key String
value String
Returns
Type Description
DeployParameters.Builder

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;

Parameter
Name Description
key String
Returns
Type Description
DeployParameters.Builder

removeValues(String key)

public DeployParameters.Builder removeValues(String key)

Required. Values are deploy parameters in key-value pairs.

map<string, string> values = 1;

Parameter
Name Description
key String
Returns
Type Description
DeployParameters.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DeployParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeployParameters.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeployParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeployParameters.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeployParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeployParameters.Builder
Overrides