Class Workstation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Workstation.Builder>
com.google.cloud.workstations.v1beta.Workstation.Builder
- All Implemented Interfaces:
WorkstationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Workstation
public static final class Workstation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Workstation.Builder>
implements WorkstationOrBuilder
A single instance of a developer workstation with its own persistent storage.Protobuf type
google.cloud.workstations.v1beta.Workstation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Optional.clearEnv()Optional.Output only.Full name of this workstation.Output only.Output only.Output only.clearUid()Output only.Output only.booleanOptional.booleancontainsEnv(String key) Optional.booleancontainsLabels(String key) Optional.Deprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput 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.getEnv()Deprecated.intOptional.Optional.getEnvOrDefault(String key, String defaultValue) Optional.getEnvOrThrow(String key) Optional.getEtag()Optional.com.google.protobuf.ByteStringOptional.getHost()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Deprecated.Deprecated.Deprecated.getName()Full name of this workstation.com.google.protobuf.ByteStringFull name of this workstation.booleanOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getState()Output only.intOutput only.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.booleanOutput only.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(Workstation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllAnnotations(Map<String, String> values) Optional.Optional.putAllLabels(Map<String, String> values) Optional.putAnnotations(String key, String value) Optional.Optional.Optional.removeAnnotations(String key) Optional.Optional.removeLabels(String key) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) 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.Output only.setHostBytes(com.google.protobuf.ByteString value) Output only.Full name of this workstation.setNameBytes(com.google.protobuf.ByteString value) Full name of this workstation.setReconciling(boolean value) Output only.setStartTime(com.google.protobuf.Timestamp value) Output only.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setState(Workstation.State value) Output only.setStateValue(int value) Output only.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<Workstation.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Workstation.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Workstation.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<Workstation.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<Workstation.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<Workstation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Workstation.Builder>
-
mergeFrom
public Workstation.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<Workstation.Builder>- Throws:
IOException
-
getName
Full name of this workstation.
string name = 1;- Specified by:
getNamein interfaceWorkstationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Full name of this workstation.
string name = 1;- Specified by:
getNameBytesin interfaceWorkstationOrBuilder- Returns:
- The bytes for name.
-
setName
Full name of this workstation.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Full name of this workstation.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Full name of this workstation.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Optional. Human-readable name for this workstation.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNamein interfaceWorkstationOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Optional. Human-readable name for this workstation.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNameBytesin interfaceWorkstationOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Optional. Human-readable name for this workstation.
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.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Optional. Human-readable name for this workstation.
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.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceWorkstationOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. A system-assigned unique identifier for this workstation.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceWorkstationOrBuilder- Returns:
- The bytes for uid.
-
setUid
Output only. A system-assigned unique identifier for this workstation.
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.
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.
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 is currently being updated to match its intended state.
bool reconciling = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReconcilingin interfaceWorkstationOrBuilder- Returns:
- The reconciling.
-
setReconciling
Output only. Indicates whether this workstation 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 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:WorkstationOrBuilderOptional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsCountin interfaceWorkstationOrBuilder
-
containsAnnotations
Optional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsAnnotationsin interfaceWorkstationOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceWorkstationOrBuilder
-
getAnnotationsMap
Optional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsMapin interfaceWorkstationOrBuilder
-
getAnnotationsOrDefault
Optional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrDefaultin interfaceWorkstationOrBuilder
-
getAnnotationsOrThrow
Optional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrThrowin interfaceWorkstationOrBuilder
-
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:WorkstationOrBuilderOptional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceWorkstationOrBuilder
-
containsLabels
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceWorkstationOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceWorkstationOrBuilder
-
getLabelsMap
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceWorkstationOrBuilder
-
getLabelsOrDefault
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceWorkstationOrBuilder
-
getLabelsOrThrow
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceWorkstationOrBuilder
-
clearLabels
-
removeLabels
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 13 [(.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 and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL]; -
hasCreateTime
public boolean hasCreateTime()Output only. Time when this workstation was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceWorkstationOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Time when this workstation was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceWorkstationOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Time when this workstation was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Time when this workstation was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Time when this workstation was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Time when this workstation 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 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 was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceWorkstationOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Time when this workstation was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceWorkstationOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Time when this workstation was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceWorkstationOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Time when this workstation was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Time when this workstation was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Time when this workstation was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Time when this workstation 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 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 was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceWorkstationOrBuilder
-
hasStartTime
public boolean hasStartTime()Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
.google.protobuf.Timestamp start_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStartTimein interfaceWorkstationOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
.google.protobuf.Timestamp start_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimein interfaceWorkstationOrBuilder- Returns:
- The startTime.
-
setStartTime
Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
.google.protobuf.Timestamp start_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStartTime
Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
.google.protobuf.Timestamp start_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeStartTime
Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
.google.protobuf.Timestamp start_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStartTime
Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
.google.protobuf.Timestamp start_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
.google.protobuf.Timestamp start_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
.google.protobuf.Timestamp start_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimeOrBuilderin interfaceWorkstationOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()Output only. Time when this workstation was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein interfaceWorkstationOrBuilder- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()Output only. Time when this workstation was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimein interfaceWorkstationOrBuilder- Returns:
- The deleteTime.
-
setDeleteTime
Output only. Time when this workstation was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDeleteTime
Output only. Time when this workstation was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDeleteTime
Output only. Time when this workstation was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDeleteTime
Output only. Time when this workstation 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 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 was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimeOrBuilderin interfaceWorkstationOrBuilder
-
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 interfaceWorkstationOrBuilder- 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 interfaceWorkstationOrBuilder- 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.
-
getStateValue
public int getStateValue()Output only. Current state of the workstation.
.google.cloud.workstations.v1beta.Workstation.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceWorkstationOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. Current state of the workstation.
.google.cloud.workstations.v1beta.Workstation.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. Current state of the workstation.
.google.cloud.workstations.v1beta.Workstation.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceWorkstationOrBuilder- Returns:
- The state.
-
setState
Output only. Current state of the workstation.
.google.cloud.workstations.v1beta.Workstation.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. Current state of the workstation.
.google.cloud.workstations.v1beta.Workstation.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getHost
Output only. Host to which clients can send HTTPS traffic that will be received by the workstation. Authorized traffic will be received to the workstation as HTTP on port 80. To send traffic to a different port, clients may prefix the host with the destination port in the format `{port}-{host}`.string host = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHostin interfaceWorkstationOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()Output only. Host to which clients can send HTTPS traffic that will be received by the workstation. Authorized traffic will be received to the workstation as HTTP on port 80. To send traffic to a different port, clients may prefix the host with the destination port in the format `{port}-{host}`.string host = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHostBytesin interfaceWorkstationOrBuilder- Returns:
- The bytes for host.
-
setHost
Output only. Host to which clients can send HTTPS traffic that will be received by the workstation. Authorized traffic will be received to the workstation as HTTP on port 80. To send traffic to a different port, clients may prefix the host with the destination port in the format `{port}-{host}`.string host = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The host to set.- Returns:
- This builder for chaining.
-
clearHost
Output only. Host to which clients can send HTTPS traffic that will be received by the workstation. Authorized traffic will be received to the workstation as HTTP on port 80. To send traffic to a different port, clients may prefix the host with the destination port in the format `{port}-{host}`.string host = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setHostBytes
Output only. Host to which clients can send HTTPS traffic that will be received by the workstation. Authorized traffic will be received to the workstation as HTTP on port 80. To send traffic to a different port, clients may prefix the host with the destination port in the format `{port}-{host}`.string host = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for host to set.- Returns:
- This builder for chaining.
-
getEnvCount
public int getEnvCount()Description copied from interface:WorkstationOrBuilderOptional. Environment variables passed to the workstation container's entrypoint.
map<string, string> env = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEnvCountin interfaceWorkstationOrBuilder
-
containsEnv
Optional. Environment variables passed to the workstation container's entrypoint.
map<string, string> env = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsEnvin interfaceWorkstationOrBuilder
-
getEnv
Deprecated.UsegetEnvMap()instead.- Specified by:
getEnvin interfaceWorkstationOrBuilder
-
getEnvMap
Optional. Environment variables passed to the workstation container's entrypoint.
map<string, string> env = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEnvMapin interfaceWorkstationOrBuilder
-
getEnvOrDefault
Optional. Environment variables passed to the workstation container's entrypoint.
map<string, string> env = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEnvOrDefaultin interfaceWorkstationOrBuilder
-
getEnvOrThrow
Optional. Environment variables passed to the workstation container's entrypoint.
map<string, string> env = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEnvOrThrowin interfaceWorkstationOrBuilder
-
clearEnv
-
removeEnv
Optional. Environment variables passed to the workstation container's entrypoint.
map<string, string> env = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableEnv
Deprecated.Use alternate mutation accessors instead. -
putEnv
Optional. Environment variables passed to the workstation container's entrypoint.
map<string, string> env = 12 [(.google.api.field_behavior) = OPTIONAL]; -
putAllEnv
Optional. Environment variables passed to the workstation container's entrypoint.
map<string, string> env = 12 [(.google.api.field_behavior) = OPTIONAL];
-