public static final class DeploymentGroupRevision.Builder extends GeneratedMessage.Builder<DeploymentGroupRevision.Builder> implements DeploymentGroupRevisionOrBuilderA 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeploymentGroupRevision.BuilderImplements
DeploymentGroupRevisionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAlternativeIds(Iterable<String> values)
public DeploymentGroupRevision.Builder addAllAlternativeIds(Iterable<String> values)Output only. The alternative IDs of the deployment group revision.
repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The alternativeIds to add. |
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
This builder for chaining. |
addAlternativeIds(String value)
public DeploymentGroupRevision.Builder addAlternativeIds(String value)Output only. The alternative IDs of the deployment group revision.
repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe alternativeIds to add. |
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
This builder for chaining. |
addAlternativeIdsBytes(ByteString value)
public DeploymentGroupRevision.Builder addAlternativeIdsBytes(ByteString value)Output only. The alternative IDs of the deployment group revision.
repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the alternativeIds to add. |
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
This builder for chaining. |
build()
public DeploymentGroupRevision build()| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision |
|
buildPartial()
public DeploymentGroupRevision buildPartial()| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision |
|
clear()
public DeploymentGroupRevision.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
|
clearAlternativeIds()
public DeploymentGroupRevision.Builder clearAlternativeIds()Output only. The alternative IDs of the deployment group revision.
repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
This builder for chaining. |
clearCreateTime()
public DeploymentGroupRevision.Builder clearCreateTime()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 |
DeploymentGroupRevision.Builder |
|
clearName()
public DeploymentGroupRevision.Builder clearName()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 |
DeploymentGroupRevision.Builder |
This builder for chaining. |
clearSnapshot()
public DeploymentGroupRevision.Builder clearSnapshot()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 |
DeploymentGroupRevision.Builder |
|
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 |
intThe 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 |
intThe 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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()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 |
Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
getSnapshotBuilder()
public DeploymentGroup.Builder getSnapshotBuilder()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.Builder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public DeploymentGroupRevision.Builder mergeCreateTime(Timestamp value)Output only. Time when the deployment group revision was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
|
mergeFrom(DeploymentGroupRevision other)
public DeploymentGroupRevision.Builder mergeFrom(DeploymentGroupRevision other)| Parameter | |
|---|---|
| Name | Description |
other |
DeploymentGroupRevision |
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeploymentGroupRevision.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeploymentGroupRevision.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
|
mergeSnapshot(DeploymentGroup value)
public DeploymentGroupRevision.Builder mergeSnapshot(DeploymentGroup value)Output only. The snapshot of the deployment group at this revision.
.google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DeploymentGroup |
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
|
setAlternativeIds(int index, String value)
public DeploymentGroupRevision.Builder setAlternativeIds(int index, String value)Output only. The alternative IDs of the deployment group revision.
repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe alternativeIds to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public DeploymentGroupRevision.Builder setCreateTime(Timestamp value)Output only. Time when the deployment group revision was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public DeploymentGroupRevision.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Time when the deployment group revision was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
|
setName(String value)
public DeploymentGroupRevision.Builder setName(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeploymentGroupRevision.Builder setNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
This builder for chaining. |
setSnapshot(DeploymentGroup value)
public DeploymentGroupRevision.Builder setSnapshot(DeploymentGroup value)Output only. The snapshot of the deployment group at this revision.
.google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DeploymentGroup |
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
|
setSnapshot(DeploymentGroup.Builder builderForValue)
public DeploymentGroupRevision.Builder setSnapshot(DeploymentGroup.Builder builderForValue)Output only. The snapshot of the deployment group at this revision.
.google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DeploymentGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupRevision.Builder |
|