Class DeploymentGroupMetadata.Builder (0.3.0)

public static final class DeploymentGroupMetadata.Builder extends GeneratedMessage.Builder<DeploymentGroupMetadata.Builder> implements DeploymentGroupMetadataOrBuilder

Metadata for the infra manager deployment group. A deployment group in Infrastructure Manager is a logical grouping of one or more deployments.

Protobuf type google.cloud.designcenter.v1.DeploymentGroupMetadata

Static Methods

getDescriptor()

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

Methods

build()

public DeploymentGroupMetadata build()
Returns
Type Description
DeploymentGroupMetadata

buildPartial()

public DeploymentGroupMetadata buildPartial()
Returns
Type Description
DeploymentGroupMetadata

clear()

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

clearDeploymentGroup()

public DeploymentGroupMetadata.Builder clearDeploymentGroup()

Output only. The deployment group name. Format: projects/{project}/locations/{location}/deploymentGroup/{deployment_group}

string deployment_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentGroupMetadata.Builder

This builder for chaining.

clearDeploymentMetadataMap()

public DeploymentGroupMetadata.Builder clearDeploymentMetadataMap()
Returns
Type Description
DeploymentGroupMetadata.Builder

containsDeploymentMetadataMap(String key)

public boolean containsDeploymentMetadataMap(String key)

Output only. Map of component name to deployment metadata for the component. Key format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/components/{component}

map<string, .google.cloud.designcenter.v1.DeploymentMetadata> deployment_metadata_map = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public DeploymentGroupMetadata getDefaultInstanceForType()
Returns
Type Description
DeploymentGroupMetadata

getDeploymentGroup()

public String getDeploymentGroup()

Output only. The deployment group name. Format: projects/{project}/locations/{location}/deploymentGroup/{deployment_group}

string deployment_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The deploymentGroup.

getDeploymentGroupBytes()

public ByteString getDeploymentGroupBytes()

Output only. The deployment group name. Format: projects/{project}/locations/{location}/deploymentGroup/{deployment_group}

string deployment_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for deploymentGroup.

getDeploymentMetadataMap() (deprecated)

public Map<String,DeploymentMetadata> getDeploymentMetadataMap()
Returns
Type Description
Map<String,DeploymentMetadata>

getDeploymentMetadataMapCount()

public int getDeploymentMetadataMapCount()

Output only. Map of component name to deployment metadata for the component. Key format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/components/{component}

map<string, .google.cloud.designcenter.v1.DeploymentMetadata> deployment_metadata_map = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getDeploymentMetadataMapMap()

public Map<String,DeploymentMetadata> getDeploymentMetadataMapMap()

Output only. Map of component name to deployment metadata for the component. Key format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/components/{component}

map<string, .google.cloud.designcenter.v1.DeploymentMetadata> deployment_metadata_map = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,DeploymentMetadata>

getDeploymentMetadataMapOrDefault(String key, DeploymentMetadata defaultValue)

public DeploymentMetadata getDeploymentMetadataMapOrDefault(String key, DeploymentMetadata defaultValue)

Output only. Map of component name to deployment metadata for the component. Key format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/components/{component}

map<string, .google.cloud.designcenter.v1.DeploymentMetadata> deployment_metadata_map = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue DeploymentMetadata
Returns
Type Description
DeploymentMetadata

getDeploymentMetadataMapOrThrow(String key)

public DeploymentMetadata getDeploymentMetadataMapOrThrow(String key)

Output only. Map of component name to deployment metadata for the component. Key format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/components/{component}

map<string, .google.cloud.designcenter.v1.DeploymentMetadata> deployment_metadata_map = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
DeploymentMetadata

getDescriptorForType()

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

getMutableDeploymentMetadataMap() (deprecated)

public Map<String,DeploymentMetadata> getMutableDeploymentMetadataMap()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,DeploymentMetadata>

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.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()
Returns
Type Description
boolean
Overrides

mergeFrom(DeploymentGroupMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

putAllDeploymentMetadataMap(Map<String,DeploymentMetadata> values)

public DeploymentGroupMetadata.Builder putAllDeploymentMetadataMap(Map<String,DeploymentMetadata> values)

Output only. Map of component name to deployment metadata for the component. Key format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/components/{component}

map<string, .google.cloud.designcenter.v1.DeploymentMetadata> deployment_metadata_map = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

putDeploymentMetadataMap(String key, DeploymentMetadata value)

public DeploymentGroupMetadata.Builder putDeploymentMetadataMap(String key, DeploymentMetadata value)

Output only. Map of component name to deployment metadata for the component. Key format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/components/{component}

map<string, .google.cloud.designcenter.v1.DeploymentMetadata> deployment_metadata_map = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
value DeploymentMetadata
Returns
Type Description
DeploymentGroupMetadata.Builder

putDeploymentMetadataMapBuilderIfAbsent(String key)

public DeploymentMetadata.Builder putDeploymentMetadataMapBuilderIfAbsent(String key)

Output only. Map of component name to deployment metadata for the component. Key format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/components/{component}

map<string, .google.cloud.designcenter.v1.DeploymentMetadata> deployment_metadata_map = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
DeploymentMetadata.Builder

removeDeploymentMetadataMap(String key)

public DeploymentGroupMetadata.Builder removeDeploymentMetadataMap(String key)

Output only. Map of component name to deployment metadata for the component. Key format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/components/{component}

map<string, .google.cloud.designcenter.v1.DeploymentMetadata> deployment_metadata_map = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
DeploymentGroupMetadata.Builder

setDeploymentGroup(String value)

public DeploymentGroupMetadata.Builder setDeploymentGroup(String value)

Output only. The deployment group name. Format: projects/{project}/locations/{location}/deploymentGroup/{deployment_group}

string deployment_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The deploymentGroup to set.

Returns
Type Description
DeploymentGroupMetadata.Builder

This builder for chaining.

setDeploymentGroupBytes(ByteString value)

public DeploymentGroupMetadata.Builder setDeploymentGroupBytes(ByteString value)

Output only. The deployment group name. Format: projects/{project}/locations/{location}/deploymentGroup/{deployment_group}

string deployment_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for deploymentGroup to set.

Returns
Type Description
DeploymentGroupMetadata.Builder

This builder for chaining.