Class WorkstationCluster.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WorkstationCluster.Builder>
com.google.cloud.workstations.v1beta.WorkstationCluster.Builder
- All Implemented Interfaces:
WorkstationClusterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- WorkstationCluster
public static final class WorkstationCluster.Builder
extends com.google.protobuf.GeneratedMessage.Builder<WorkstationCluster.Builder>
implements WorkstationClusterOrBuilder
A workstation cluster resource in the Cloud Workstations API. Defines a group of workstations in a particular region and the VPC network they're attached to.Protobuf type
google.cloud.workstations.v1beta.WorkstationCluster-
Method Summary
Modifier and TypeMethodDescriptionaddAllConditions(Iterable<? extends Status> values) Output only.addConditions(int index, Status value) Output only.addConditions(int index, Status.Builder builderForValue) Output only.addConditions(Status value) Output only.addConditions(Status.Builder builderForValue) Output only.Output only.addConditionsBuilder(int index) Output only.build()clear()Output only.Output only.Output only.Output only.Output only.Optional.Optional.Full name of this workstation cluster.Immutable.Optional.Output only.Immutable.clearUid()Output only.Output only.booleanOptional.booleancontainsLabels(String key) Optional.Deprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.getConditions(int index) Output only.getConditionsBuilder(int index) Output only.Output only.intOutput only.Output only.getConditionsOrBuilder(int index) Output only.List<? extends StatusOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput 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.DescriptorOptional.com.google.protobuf.ByteStringOptional.getEtag()Optional.com.google.protobuf.ByteStringOptional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Deprecated.Deprecated.getName()Full name of this workstation cluster.com.google.protobuf.ByteStringFull name of this workstation cluster.Immutable.com.google.protobuf.ByteStringImmutable.Optional.Optional.Optional.booleanOutput only.Immutable.com.google.protobuf.ByteStringImmutable.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOptional.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeDeleteTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(WorkstationCluster other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllAnnotations(Map<String, String> values) Optional.putAllLabels(Map<String, String> values) Optional.putAnnotations(String key, String value) Optional.Optional.removeAnnotations(String key) Optional.removeConditions(int index) Output only.removeLabels(String key) Optional.setConditions(int index, Status value) Output only.setConditions(int index, Status.Builder builderForValue) Output only.setControlPlaneIp(String value) Output only.setControlPlaneIpBytes(com.google.protobuf.ByteString value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDegraded(boolean value) Output only.setDeleteTime(com.google.protobuf.Timestamp value) Output only.setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDisplayName(String value) Optional.setDisplayNameBytes(com.google.protobuf.ByteString value) Optional.Optional.setEtagBytes(com.google.protobuf.ByteString value) Optional.Full name of this workstation cluster.setNameBytes(com.google.protobuf.ByteString value) Full name of this workstation cluster.setNetwork(String value) Immutable.setNetworkBytes(com.google.protobuf.ByteString value) Immutable.Optional.setPrivateClusterConfig(WorkstationCluster.PrivateClusterConfig.Builder builderForValue) Optional.setReconciling(boolean value) Output only.setSubnetwork(String value) Immutable.setSubnetworkBytes(com.google.protobuf.ByteString value) Immutable.Output only.setUidBytes(com.google.protobuf.ByteString value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.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, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<WorkstationCluster.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<WorkstationCluster.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<WorkstationCluster.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<WorkstationCluster.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<WorkstationCluster.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<WorkstationCluster.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<WorkstationCluster.Builder>
-
mergeFrom
public WorkstationCluster.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<WorkstationCluster.Builder>- Throws:
IOException
-
getName
Full name of this workstation cluster.
string name = 1;- Specified by:
getNamein interfaceWorkstationClusterOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Full name of this workstation cluster.
string name = 1;- Specified by:
getNameBytesin interfaceWorkstationClusterOrBuilder- Returns:
- The bytes for name.
-
setName
Full name of this workstation cluster.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Full name of this workstation cluster.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Full name of this workstation cluster.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Optional. Human-readable name for this workstation cluster.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNamein interfaceWorkstationClusterOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Optional. Human-readable name for this workstation cluster.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNameBytesin interfaceWorkstationClusterOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Optional. Human-readable name for this workstation cluster.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Optional. Human-readable name for this workstation cluster.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Optional. Human-readable name for this workstation cluster.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getUid
Output only. A system-assigned unique identifier for this workstation cluster.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceWorkstationClusterOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. A system-assigned unique identifier for this workstation cluster.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceWorkstationClusterOrBuilder- Returns:
- The bytes for uid.
-
setUid
Output only. A system-assigned unique identifier for this workstation cluster.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
Output only. A system-assigned unique identifier for this workstation cluster.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUidBytes
Output only. A system-assigned unique identifier for this workstation cluster.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getReconciling
public boolean getReconciling()Output only. Indicates whether this workstation cluster is currently being updated to match its intended state.
bool reconciling = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReconcilingin interfaceWorkstationClusterOrBuilder- Returns:
- The reconciling.
-
setReconciling
Output only. Indicates whether this workstation cluster is currently being updated to match its intended state.
bool reconciling = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The reconciling to set.- Returns:
- This builder for chaining.
-
clearReconciling
Output only. Indicates whether this workstation cluster is currently being updated to match its intended state.
bool reconciling = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:WorkstationClusterOrBuilderOptional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsCountin interfaceWorkstationClusterOrBuilder
-
containsAnnotations
Optional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsAnnotationsin interfaceWorkstationClusterOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceWorkstationClusterOrBuilder
-
getAnnotationsMap
Optional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsMapin interfaceWorkstationClusterOrBuilder
-
getAnnotationsOrDefault
Optional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrDefaultin interfaceWorkstationClusterOrBuilder
-
getAnnotationsOrThrow
Optional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrThrowin interfaceWorkstationClusterOrBuilder
-
clearAnnotations
-
removeAnnotations
Optional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableAnnotations
Deprecated.Use alternate mutation accessors instead. -
putAnnotations
Optional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; -
putAllAnnotations
Optional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsCount
public int getLabelsCount()Description copied from interface:WorkstationClusterOrBuilderOptional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceWorkstationClusterOrBuilder
-
containsLabels
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceWorkstationClusterOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceWorkstationClusterOrBuilder
-
getLabelsMap
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceWorkstationClusterOrBuilder
-
getLabelsOrDefault
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceWorkstationClusterOrBuilder
-
getLabelsOrThrow
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceWorkstationClusterOrBuilder
-
clearLabels
-
removeLabels
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 15 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 15 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 15 [(.google.api.field_behavior) = OPTIONAL]; -
hasCreateTime
public boolean hasCreateTime()Output only. Time when this workstation cluster was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceWorkstationClusterOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Time when this workstation cluster was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceWorkstationClusterOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Time when this workstation cluster was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public WorkstationCluster.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Time when this workstation cluster was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Time when this workstation cluster was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Time when this workstation cluster was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Time when this workstation cluster was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time when this workstation cluster was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceWorkstationClusterOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Time when this workstation cluster was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceWorkstationClusterOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Time when this workstation cluster was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceWorkstationClusterOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Time when this workstation cluster was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
public WorkstationCluster.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Time when this workstation cluster was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Time when this workstation cluster was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Time when this workstation cluster was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Time when this workstation cluster was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time when this workstation cluster was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceWorkstationClusterOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()Output only. Time when this workstation cluster was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein interfaceWorkstationClusterOrBuilder- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()Output only. Time when this workstation cluster was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimein interfaceWorkstationClusterOrBuilder- Returns:
- The deleteTime.
-
setDeleteTime
Output only. Time when this workstation cluster was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDeleteTime
public WorkstationCluster.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Time when this workstation cluster was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDeleteTime
Output only. Time when this workstation cluster was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDeleteTime
Output only. Time when this workstation cluster was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()Output only. Time when this workstation cluster was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()Output only. Time when this workstation cluster was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimeOrBuilderin interfaceWorkstationClusterOrBuilder
-
getEtag
Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.
string etag = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagin interfaceWorkstationClusterOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.
string etag = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagBytesin interfaceWorkstationClusterOrBuilder- Returns:
- The bytes for etag.
-
setEtag
Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.
string etag = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.
string etag = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setEtagBytes
Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.
string etag = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getNetwork
Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
string network = 10 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNetworkin interfaceWorkstationClusterOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
string network = 10 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNetworkBytesin interfaceWorkstationClusterOrBuilder- Returns:
- The bytes for network.
-
setNetwork
Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
string network = 10 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
string network = 10 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setNetworkBytes
Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
string network = 10 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
getSubnetwork
Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.
string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getSubnetworkin interfaceWorkstationClusterOrBuilder- Returns:
- The subnetwork.
-
getSubnetworkBytes
public com.google.protobuf.ByteString getSubnetworkBytes()Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.
string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getSubnetworkBytesin interfaceWorkstationClusterOrBuilder- Returns:
- The bytes for subnetwork.
-
setSubnetwork
Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.
string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The subnetwork to set.- Returns:
- This builder for chaining.
-
clearSubnetwork
Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.
string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setSubnetworkBytes
Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.
string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for subnetwork to set.- Returns:
- This builder for chaining.
-
getControlPlaneIp
Output only. The private IP address of the control plane for this workstation cluster. Workstation VMs need access to this IP address to work with the service, so make sure that your firewall rules allow egress from the workstation VMs to this address.
string control_plane_ip = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlPlaneIpin interfaceWorkstationClusterOrBuilder- Returns:
- The controlPlaneIp.
-
getControlPlaneIpBytes
public com.google.protobuf.ByteString getControlPlaneIpBytes()Output only. The private IP address of the control plane for this workstation cluster. Workstation VMs need access to this IP address to work with the service, so make sure that your firewall rules allow egress from the workstation VMs to this address.
string control_plane_ip = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlPlaneIpBytesin interfaceWorkstationClusterOrBuilder- Returns:
- The bytes for controlPlaneIp.
-
setControlPlaneIp
Output only. The private IP address of the control plane for this workstation cluster. Workstation VMs need access to this IP address to work with the service, so make sure that your firewall rules allow egress from the workstation VMs to this address.
string control_plane_ip = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The controlPlaneIp to set.- Returns:
- This builder for chaining.
-
clearControlPlaneIp
Output only. The private IP address of the control plane for this workstation cluster. Workstation VMs need access to this IP address to work with the service, so make sure that your firewall rules allow egress from the workstation VMs to this address.
string control_plane_ip = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setControlPlaneIpBytes
Output only. The private IP address of the control plane for this workstation cluster. Workstation VMs need access to this IP address to work with the service, so make sure that your firewall rules allow egress from the workstation VMs to this address.
string control_plane_ip = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for controlPlaneIp to set.- Returns:
- This builder for chaining.
-
hasPrivateClusterConfig
public boolean hasPrivateClusterConfig()Optional. Configuration for private workstation cluster.
.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPrivateClusterConfigin interfaceWorkstationClusterOrBuilder- Returns:
- Whether the privateClusterConfig field is set.
-
getPrivateClusterConfig
Optional. Configuration for private workstation cluster.
.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPrivateClusterConfigin interfaceWorkstationClusterOrBuilder- Returns:
- The privateClusterConfig.
-
setPrivateClusterConfig
public WorkstationCluster.Builder setPrivateClusterConfig(WorkstationCluster.PrivateClusterConfig value) Optional. Configuration for private workstation cluster.
.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12 [(.google.api.field_behavior) = OPTIONAL]; -
setPrivateClusterConfig
public WorkstationCluster.Builder setPrivateClusterConfig(WorkstationCluster.PrivateClusterConfig.Builder builderForValue) Optional. Configuration for private workstation cluster.
.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12 [(.google.api.field_behavior) = OPTIONAL]; -
mergePrivateClusterConfig
public WorkstationCluster.Builder mergePrivateClusterConfig(WorkstationCluster.PrivateClusterConfig value) Optional. Configuration for private workstation cluster.
.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12 [(.google.api.field_behavior) = OPTIONAL]; -
clearPrivateClusterConfig
Optional. Configuration for private workstation cluster.
.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getPrivateClusterConfigBuilder
Optional. Configuration for private workstation cluster.
.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getPrivateClusterConfigOrBuilder
Optional. Configuration for private workstation cluster.
.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPrivateClusterConfigOrBuilderin interfaceWorkstationClusterOrBuilder
-
getDegraded
public boolean getDegraded()Output only. Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in [conditions][google.cloud.workstations.v1beta.WorkstationCluster.conditions].
bool degraded = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDegradedin interfaceWorkstationClusterOrBuilder- Returns:
- The degraded.
-
setDegraded
Output only. Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in [conditions][google.cloud.workstations.v1beta.WorkstationCluster.conditions].
bool degraded = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The degraded to set.- Returns:
- This builder for chaining.
-
clearDegraded
Output only. Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in [conditions][google.cloud.workstations.v1beta.WorkstationCluster.conditions].
bool degraded = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getConditionsList
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsListin interfaceWorkstationClusterOrBuilder
-
getConditionsCount
public int getConditionsCount()Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsCountin interfaceWorkstationClusterOrBuilder
-
getConditions
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsin interfaceWorkstationClusterOrBuilder
-
setConditions
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setConditions
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addConditions
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addConditions
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addConditions
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addConditions
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllConditions
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearConditions
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeConditions
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getConditionsBuilder
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getConditionsOrBuilder
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsOrBuilderin interfaceWorkstationClusterOrBuilder
-
getConditionsOrBuilderList
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsOrBuilderListin interfaceWorkstationClusterOrBuilder
-
addConditionsBuilder
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addConditionsBuilder
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getConditionsBuilderList
Output only. Status conditions describing the workstation cluster's current state.
repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-