Package com.google.cloud.config.v1
Class DeploymentGroupRevision.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeploymentGroupRevision.Builder>
com.google.cloud.config.v1.DeploymentGroupRevision.Builder
- All Implemented Interfaces:
DeploymentGroupRevisionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DeploymentGroupRevision
public static final class DeploymentGroupRevision.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DeploymentGroupRevision.Builder>
implements DeploymentGroupRevisionOrBuilder
A DeploymentGroupRevision represents a snapshot of a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] at a given point in time, created when a DeploymentGroup is provisioned or deprovisioned.Protobuf type
google.cloud.config.v1.DeploymentGroupRevision-
Method Summary
Modifier and TypeMethodDescriptionaddAllAlternativeIds(Iterable<String> values) Output only.addAlternativeIds(String value) Output only.addAlternativeIdsBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Output only.Identifier.Output only.getAlternativeIds(int index) Output only.com.google.protobuf.ByteStringgetAlternativeIdsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Identifier.com.google.protobuf.ByteStringIdentifier.Output only.Output only.Output only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(DeploymentGroupRevision other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSnapshot(DeploymentGroup value) Output only.setAlternativeIds(int index, String value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setSnapshot(DeploymentGroup value) Output only.setSnapshot(DeploymentGroup.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DeploymentGroupRevision.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DeploymentGroupRevision.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DeploymentGroupRevision.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeploymentGroupRevision.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DeploymentGroupRevision.Builder>
-
mergeFrom
public DeploymentGroupRevision.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeploymentGroupRevision.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceDeploymentGroupRevisionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceDeploymentGroupRevisionOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasSnapshotin interfaceDeploymentGroupRevisionOrBuilder- Returns:
- Whether the snapshot field is set.
-
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];- Specified by:
getSnapshotin interfaceDeploymentGroupRevisionOrBuilder- Returns:
- The snapshot.
-
setSnapshot
Output only. The snapshot of the deployment group at this revision.
.google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setSnapshot
Output only. The snapshot of the deployment group at this revision.
.google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeSnapshot
Output only. The snapshot of the deployment group at this revision.
.google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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]; -
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]; -
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];- Specified by:
getSnapshotOrBuilderin interfaceDeploymentGroupRevisionOrBuilder
-
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];- Specified by:
hasCreateTimein interfaceDeploymentGroupRevisionOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Time when the deployment group revision was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDeploymentGroupRevisionOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Time when the deployment group revision was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public DeploymentGroupRevision.Builder setCreateTime(com.google.protobuf.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]; -
mergeCreateTime
Output only. Time when the deployment group revision was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Time when the deployment group revision was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.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]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time when the deployment group revision was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDeploymentGroupRevisionOrBuilder
-
getAlternativeIdsList
public com.google.protobuf.ProtocolStringList getAlternativeIdsList()Output only. The alternative IDs of the deployment group revision.
repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAlternativeIdsListin interfaceDeploymentGroupRevisionOrBuilder- Returns:
- A list containing the alternativeIds.
-
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];- Specified by:
getAlternativeIdsCountin interfaceDeploymentGroupRevisionOrBuilder- Returns:
- The count of alternativeIds.
-
getAlternativeIds
Output only. The alternative IDs of the deployment group revision.
repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAlternativeIdsin interfaceDeploymentGroupRevisionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The alternativeIds at the given index.
-
getAlternativeIdsBytes
public com.google.protobuf.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];- Specified by:
getAlternativeIdsBytesin interfaceDeploymentGroupRevisionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the alternativeIds at the given index.
-
setAlternativeIds
Output only. The alternative IDs of the deployment group revision.
repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The alternativeIds to set.- Returns:
- This builder for chaining.
-
addAlternativeIds
Output only. The alternative IDs of the deployment group revision.
repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The alternativeIds to add.- Returns:
- This builder for chaining.
-
addAllAlternativeIds
Output only. The alternative IDs of the deployment group revision.
repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The alternativeIds to add.- Returns:
- This builder for chaining.
-
clearAlternativeIds
Output only. The alternative IDs of the deployment group revision.
repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
addAlternativeIdsBytes
Output only. The alternative IDs of the deployment group revision.
repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes of the alternativeIds to add.- Returns:
- This builder for chaining.
-