public static final class ProvisionDeploymentGroupRequest.Builder extends GeneratedMessage.Builder<ProvisionDeploymentGroupRequest.Builder> implements ProvisionDeploymentGroupRequestOrBuilder
The request message for the ProvisionDeploymentGroup method.
Protobuf type google.cloud.config.v1.ProvisionDeploymentGroupRequest
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public ProvisionDeploymentGroupRequest build()
buildPartial()
public ProvisionDeploymentGroupRequest buildPartial()
clear()
public ProvisionDeploymentGroupRequest.Builder clear()
Overrides
clearDeploymentSpecs()
public ProvisionDeploymentGroupRequest.Builder clearDeploymentSpecs()
clearName()
public ProvisionDeploymentGroupRequest.Builder clearName()
Required. The name of the deployment group to provision.
Format:
'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
containsDeploymentSpecs(String key)
public boolean containsDeploymentSpecs(String key)
Optional. The deployment specs of the deployment units to be created within
the same project and location of the deployment group. The key is the unit
ID, and the value is the DeploymentSpec. Provisioning will fail if a
deployment_spec has a deployment_id that matches an existing deployment
in the same project and location. If an existing deployment was part of the
last successful revision but is no longer in the current DeploymentGroup's
deployment_units, it will be recreated if included in deployment_specs.
map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
getDefaultInstanceForType()
public ProvisionDeploymentGroupRequest getDefaultInstanceForType()
getDeploymentSpecs() (deprecated)
public Map<String,DeploymentSpec> getDeploymentSpecs()
getDeploymentSpecsCount()
public int getDeploymentSpecsCount()
Optional. The deployment specs of the deployment units to be created within
the same project and location of the deployment group. The key is the unit
ID, and the value is the DeploymentSpec. Provisioning will fail if a
deployment_spec has a deployment_id that matches an existing deployment
in the same project and location. If an existing deployment was part of the
last successful revision but is no longer in the current DeploymentGroup's
deployment_units, it will be recreated if included in deployment_specs.
map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getDeploymentSpecsMap()
public Map<String,DeploymentSpec> getDeploymentSpecsMap()
Optional. The deployment specs of the deployment units to be created within
the same project and location of the deployment group. The key is the unit
ID, and the value is the DeploymentSpec. Provisioning will fail if a
deployment_spec has a deployment_id that matches an existing deployment
in the same project and location. If an existing deployment was part of the
last successful revision but is no longer in the current DeploymentGroup's
deployment_units, it will be recreated if included in deployment_specs.
map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL];
getDeploymentSpecsOrDefault(String key, DeploymentSpec defaultValue)
public DeploymentSpec getDeploymentSpecsOrDefault(String key, DeploymentSpec defaultValue)
Optional. The deployment specs of the deployment units to be created within
the same project and location of the deployment group. The key is the unit
ID, and the value is the DeploymentSpec. Provisioning will fail if a
deployment_spec has a deployment_id that matches an existing deployment
in the same project and location. If an existing deployment was part of the
last successful revision but is no longer in the current DeploymentGroup's
deployment_units, it will be recreated if included in deployment_specs.
map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL];
getDeploymentSpecsOrThrow(String key)
public DeploymentSpec getDeploymentSpecsOrThrow(String key)
Optional. The deployment specs of the deployment units to be created within
the same project and location of the deployment group. The key is the unit
ID, and the value is the DeploymentSpec. Provisioning will fail if a
deployment_spec has a deployment_id that matches an existing deployment
in the same project and location. If an existing deployment was part of the
last successful revision but is no longer in the current DeploymentGroup's
deployment_units, it will be recreated if included in deployment_specs.
map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableDeploymentSpecs() (deprecated)
public Map<String,DeploymentSpec> getMutableDeploymentSpecs()
Use alternate mutation accessors instead.
getName()
Required. The name of the deployment group to provision.
Format:
'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The name of the deployment group to provision.
Format:
'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ProvisionDeploymentGroupRequest other)
public ProvisionDeploymentGroupRequest.Builder mergeFrom(ProvisionDeploymentGroupRequest other)
public ProvisionDeploymentGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ProvisionDeploymentGroupRequest.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
putAllDeploymentSpecs(Map<String,DeploymentSpec> values)
public ProvisionDeploymentGroupRequest.Builder putAllDeploymentSpecs(Map<String,DeploymentSpec> values)
Optional. The deployment specs of the deployment units to be created within
the same project and location of the deployment group. The key is the unit
ID, and the value is the DeploymentSpec. Provisioning will fail if a
deployment_spec has a deployment_id that matches an existing deployment
in the same project and location. If an existing deployment was part of the
last successful revision but is no longer in the current DeploymentGroup's
deployment_units, it will be recreated if included in deployment_specs.
map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL];
putDeploymentSpecs(String key, DeploymentSpec value)
public ProvisionDeploymentGroupRequest.Builder putDeploymentSpecs(String key, DeploymentSpec value)
Optional. The deployment specs of the deployment units to be created within
the same project and location of the deployment group. The key is the unit
ID, and the value is the DeploymentSpec. Provisioning will fail if a
deployment_spec has a deployment_id that matches an existing deployment
in the same project and location. If an existing deployment was part of the
last successful revision but is no longer in the current DeploymentGroup's
deployment_units, it will be recreated if included in deployment_specs.
map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL];
putDeploymentSpecsBuilderIfAbsent(String key)
public DeploymentSpec.Builder putDeploymentSpecsBuilderIfAbsent(String key)
Optional. The deployment specs of the deployment units to be created within
the same project and location of the deployment group. The key is the unit
ID, and the value is the DeploymentSpec. Provisioning will fail if a
deployment_spec has a deployment_id that matches an existing deployment
in the same project and location. If an existing deployment was part of the
last successful revision but is no longer in the current DeploymentGroup's
deployment_units, it will be recreated if included in deployment_specs.
map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
removeDeploymentSpecs(String key)
public ProvisionDeploymentGroupRequest.Builder removeDeploymentSpecs(String key)
Optional. The deployment specs of the deployment units to be created within
the same project and location of the deployment group. The key is the unit
ID, and the value is the DeploymentSpec. Provisioning will fail if a
deployment_spec has a deployment_id that matches an existing deployment
in the same project and location. If an existing deployment was part of the
last successful revision but is no longer in the current DeploymentGroup's
deployment_units, it will be recreated if included in deployment_specs.
map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
setName(String value)
public ProvisionDeploymentGroupRequest.Builder setName(String value)
Required. The name of the deployment group to provision.
Format:
'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public ProvisionDeploymentGroupRequest.Builder setNameBytes(ByteString value)
Required. The name of the deployment group to provision.
Format:
'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for name to set.
|