Class DeploymentGroupRevision (0.68.0)

public final class DeploymentGroupRevision extends GeneratedMessage implements DeploymentGroupRevisionOrBuilder

A DeploymentGroupRevision represents a snapshot of a DeploymentGroup at a given point in time, created when a DeploymentGroup is provisioned or deprovisioned.

Protobuf type google.cloud.config.v1.DeploymentGroupRevision

Static Fields

ALTERNATIVE_IDS_FIELD_NUMBER

public static final int ALTERNATIVE_IDS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SNAPSHOT_FIELD_NUMBER

public static final int SNAPSHOT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeploymentGroupRevision getDefaultInstance()
Returns
Type Description
DeploymentGroupRevision

getDescriptor()

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

newBuilder()

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

newBuilder(DeploymentGroupRevision prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAlternativeIds(int index)

public String getAlternativeIds(int index)

Output only. The alternative IDs of the deployment group revision.

repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The alternativeIds at the given index.

getAlternativeIdsBytes(int index)

public ByteString getAlternativeIdsBytes(int index)

Output only. The alternative IDs of the deployment group revision.

repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the alternativeIds at the given index.

getAlternativeIdsCount()

public int getAlternativeIdsCount()

Output only. The alternative IDs of the deployment group revision.

repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of alternativeIds.

getAlternativeIdsList()

public ProtocolStringList getAlternativeIdsList()

Output only. The alternative IDs of the deployment group revision.

repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the alternativeIds.

getCreateTime()

public Timestamp getCreateTime()

Output only. Time when the deployment group revision was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when the deployment group revision was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public DeploymentGroupRevision getDefaultInstanceForType()
Returns
Type Description
DeploymentGroupRevision

getName()

public String getName()

Identifier. The name of the deployment group revision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the deployment group revision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSnapshot()

public DeploymentGroup getSnapshot()

Output only. The snapshot of the deployment group at this revision.

.google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentGroup

The snapshot.

getSnapshotOrBuilder()

public DeploymentGroupOrBuilder getSnapshotOrBuilder()

Output only. The snapshot of the deployment group at this revision.

.google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentGroupOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Time when the deployment group revision was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasSnapshot()

public boolean hasSnapshot()

Output only. The snapshot of the deployment group at this revision.

.google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the snapshot field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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