Class ProvisionDeploymentGroupRequest (0.68.0)

public final class ProvisionDeploymentGroupRequest extends GeneratedMessage implements ProvisionDeploymentGroupRequestOrBuilder

The request message for the ProvisionDeploymentGroup method.

Protobuf type google.cloud.config.v1.ProvisionDeploymentGroupRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ProvisionDeploymentGroupRequest

Static Fields

DEPLOYMENT_SPECS_FIELD_NUMBER

public static final int DEPLOYMENT_SPECS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProvisionDeploymentGroupRequest getDefaultInstance()
Returns
Type Description
ProvisionDeploymentGroupRequest

getDescriptor()

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

newBuilder()

public static ProvisionDeploymentGroupRequest.Builder newBuilder()
Returns
Type Description
ProvisionDeploymentGroupRequest.Builder

newBuilder(ProvisionDeploymentGroupRequest prototype)

public static ProvisionDeploymentGroupRequest.Builder newBuilder(ProvisionDeploymentGroupRequest prototype)
Parameter
Name Description
prototype ProvisionDeploymentGroupRequest
Returns
Type Description
ProvisionDeploymentGroupRequest.Builder

parseDelimitedFrom(InputStream input)

public static ProvisionDeploymentGroupRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProvisionDeploymentGroupRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisionDeploymentGroupRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisionDeploymentGroupRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProvisionDeploymentGroupRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProvisionDeploymentGroupRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProvisionDeploymentGroupRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisionDeploymentGroupRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProvisionDeploymentGroupRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProvisionDeploymentGroupRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProvisionDeploymentGroupRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisionDeploymentGroupRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProvisionDeploymentGroupRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProvisionDeploymentGroupRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisionDeploymentGroupRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisionDeploymentGroupRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProvisionDeploymentGroupRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProvisionDeploymentGroupRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisionDeploymentGroupRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisionDeploymentGroupRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProvisionDeploymentGroupRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProvisionDeploymentGroupRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProvisionDeploymentGroupRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisionDeploymentGroupRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProvisionDeploymentGroupRequest> parser()
Returns
Type Description
Parser<ProvisionDeploymentGroupRequest>

Methods

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
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ProvisionDeploymentGroupRequest getDefaultInstanceForType()
Returns
Type Description
ProvisionDeploymentGroupRequest

getDeploymentSpecs() (deprecated)

public Map<String,DeploymentSpec> getDeploymentSpecs()
Returns
Type Description
Map<String,DeploymentSpec>

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];

Returns
Type Description
Map<String,DeploymentSpec>

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];

Parameters
Name Description
key String
defaultValue DeploymentSpec
Returns
Type Description
DeploymentSpec

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
Returns
Type Description
DeploymentSpec

getName()

public String 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.

getParserForType()

public Parser<ProvisionDeploymentGroupRequest> getParserForType()
Returns
Type Description
Parser<ProvisionDeploymentGroupRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProvisionDeploymentGroupRequest.Builder newBuilderForType()
Returns
Type Description
ProvisionDeploymentGroupRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ProvisionDeploymentGroupRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProvisionDeploymentGroupRequest.Builder
Overrides

toBuilder()

public ProvisionDeploymentGroupRequest.Builder toBuilder()
Returns
Type Description
ProvisionDeploymentGroupRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException