Class DeploymentGroupMetadata (0.3.0)

public final class DeploymentGroupMetadata extends GeneratedMessage 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 Fields

DEPLOYMENT_GROUP_FIELD_NUMBER

public static final int DEPLOYMENT_GROUP_FIELD_NUMBER
Field Value
Type Description
int

DEPLOYMENT_METADATA_MAP_FIELD_NUMBER

public static final int DEPLOYMENT_METADATA_MAP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeploymentGroupMetadata getDefaultInstance()
Returns
Type Description
DeploymentGroupMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(DeploymentGroupMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

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

equals(Object obj)

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

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

getParserForType()

public Parser<DeploymentGroupMetadata> getParserForType()
Returns
Type Description
Parser<DeploymentGroupMetadata>
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 DeploymentGroupMetadata.Builder newBuilderForType()
Returns
Type Description
DeploymentGroupMetadata.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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