Class WorkstationConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.workstations.v1beta.WorkstationConfig
-
- All Implemented Interfaces:
WorkstationConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class WorkstationConfig extends com.google.protobuf.GeneratedMessageV3 implements WorkstationConfigOrBuilder
A workstation configuration resource in the Cloud Workstations API. Workstation configurations act as templates for workstations. The workstation configuration defines details such as the workstation virtual machine (VM) instance type, persistent storage, container image defining environment, which IDE or Code Editor to use, and more. Administrators and platform teams can also use [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/overview) rules to grant access to teams or to individual developers.
Protobuf typegoogle.cloud.workstations.v1beta.WorkstationConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkstationConfig.BuilderA workstation configuration resource in the Cloud Workstations API.static classWorkstationConfig.ContainerA Docker container.static interfaceWorkstationConfig.ContainerOrBuilderstatic classWorkstationConfig.CustomerEncryptionKeyA customer-managed encryption key (CMEK) for the Compute Engine resources of the associated workstation configuration.static interfaceWorkstationConfig.CustomerEncryptionKeyOrBuilderstatic classWorkstationConfig.EphemeralDirectoryAn ephemeral directory which won't persist across workstation sessions.static interfaceWorkstationConfig.EphemeralDirectoryOrBuilderstatic classWorkstationConfig.HostRuntime host for a workstation.static interfaceWorkstationConfig.HostOrBuilderstatic classWorkstationConfig.PersistentDirectoryA directory to persist across workstation sessions.static interfaceWorkstationConfig.PersistentDirectoryOrBuilderstatic classWorkstationConfig.ReadinessCheckA readiness check to be performed on a workstation.static interfaceWorkstationConfig.ReadinessCheckOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intANNOTATIONS_FIELD_NUMBERstatic intCONDITIONS_FIELD_NUMBERstatic intCONTAINER_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDEGRADED_FIELD_NUMBERstatic intDELETE_TIME_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intENABLE_AUDIT_AGENT_FIELD_NUMBERstatic intENCRYPTION_KEY_FIELD_NUMBERstatic intEPHEMERAL_DIRECTORIES_FIELD_NUMBERstatic intETAG_FIELD_NUMBERstatic intHOST_FIELD_NUMBERstatic intIDLE_TIMEOUT_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPERSISTENT_DIRECTORIES_FIELD_NUMBERstatic intREADINESS_CHECKS_FIELD_NUMBERstatic intRECONCILING_FIELD_NUMBERstatic intREPLICA_ZONES_FIELD_NUMBERstatic intRUNNING_TIMEOUT_FIELD_NUMBERstatic intUID_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsAnnotations(String key)Optional.booleancontainsLabels(String key)Optional.booleanequals(Object obj)Map<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()Optional.Map<String,String>getAnnotationsMap()Optional.StringgetAnnotationsOrDefault(String key, String defaultValue)Optional.StringgetAnnotationsOrThrow(String key)Optional.com.google.rpc.StatusgetConditions(int index)Output only.intgetConditionsCount()Output only.List<com.google.rpc.Status>getConditionsList()Output only.com.google.rpc.StatusOrBuildergetConditionsOrBuilder(int index)Output only.List<? extends com.google.rpc.StatusOrBuilder>getConditionsOrBuilderList()Output only.WorkstationConfig.ContainergetContainer()Optional.WorkstationConfig.ContainerOrBuildergetContainerOrBuilder()Optional.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static WorkstationConfiggetDefaultInstance()WorkstationConfiggetDefaultInstanceForType()booleangetDegraded()Output only.com.google.protobuf.TimestampgetDeleteTime()Output only.com.google.protobuf.TimestampOrBuildergetDeleteTimeOrBuilder()Output only.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()Optional.com.google.protobuf.ByteStringgetDisplayNameBytes()Optional.booleangetEnableAuditAgent()Optional.WorkstationConfig.CustomerEncryptionKeygetEncryptionKey()Immutable.WorkstationConfig.CustomerEncryptionKeyOrBuildergetEncryptionKeyOrBuilder()Immutable.WorkstationConfig.EphemeralDirectorygetEphemeralDirectories(int index)Optional.intgetEphemeralDirectoriesCount()Optional.List<WorkstationConfig.EphemeralDirectory>getEphemeralDirectoriesList()Optional.WorkstationConfig.EphemeralDirectoryOrBuildergetEphemeralDirectoriesOrBuilder(int index)Optional.List<? extends WorkstationConfig.EphemeralDirectoryOrBuilder>getEphemeralDirectoriesOrBuilderList()Optional.StringgetEtag()Optional.com.google.protobuf.ByteStringgetEtagBytes()Optional.WorkstationConfig.HostgetHost()Optional.WorkstationConfig.HostOrBuildergetHostOrBuilder()Optional.com.google.protobuf.DurationgetIdleTimeout()Optional.com.google.protobuf.DurationOrBuildergetIdleTimeoutOrBuilder()Optional.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.StringgetName()Full name of this workstation configuration.com.google.protobuf.ByteStringgetNameBytes()Full name of this workstation configuration.com.google.protobuf.Parser<WorkstationConfig>getParserForType()WorkstationConfig.PersistentDirectorygetPersistentDirectories(int index)Optional.intgetPersistentDirectoriesCount()Optional.List<WorkstationConfig.PersistentDirectory>getPersistentDirectoriesList()Optional.WorkstationConfig.PersistentDirectoryOrBuildergetPersistentDirectoriesOrBuilder(int index)Optional.List<? extends WorkstationConfig.PersistentDirectoryOrBuilder>getPersistentDirectoriesOrBuilderList()Optional.WorkstationConfig.ReadinessCheckgetReadinessChecks(int index)Optional.intgetReadinessChecksCount()Optional.List<WorkstationConfig.ReadinessCheck>getReadinessChecksList()Optional.WorkstationConfig.ReadinessCheckOrBuildergetReadinessChecksOrBuilder(int index)Optional.List<? extends WorkstationConfig.ReadinessCheckOrBuilder>getReadinessChecksOrBuilderList()Optional.booleangetReconciling()Output only.StringgetReplicaZones(int index)Optional.com.google.protobuf.ByteStringgetReplicaZonesBytes(int index)Optional.intgetReplicaZonesCount()Optional.com.google.protobuf.ProtocolStringListgetReplicaZonesList()Optional.com.google.protobuf.DurationgetRunningTimeout()Optional.com.google.protobuf.DurationOrBuildergetRunningTimeoutOrBuilder()Optional.intgetSerializedSize()StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasContainer()Optional.booleanhasCreateTime()Output only.booleanhasDeleteTime()Output only.booleanhasEncryptionKey()Immutable.inthashCode()booleanhasHost()Optional.booleanhasIdleTimeout()Optional.booleanhasRunningTimeout()Optional.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static WorkstationConfig.BuildernewBuilder()static WorkstationConfig.BuildernewBuilder(WorkstationConfig prototype)WorkstationConfig.BuildernewBuilderForType()protected WorkstationConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static WorkstationConfigparseDelimitedFrom(InputStream input)static WorkstationConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkstationConfigparseFrom(byte[] data)static WorkstationConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkstationConfigparseFrom(com.google.protobuf.ByteString data)static WorkstationConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkstationConfigparseFrom(com.google.protobuf.CodedInputStream input)static WorkstationConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkstationConfigparseFrom(InputStream input)static WorkstationConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkstationConfigparseFrom(ByteBuffer data)static WorkstationConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<WorkstationConfig>parser()WorkstationConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECONCILING_FIELD_NUMBER
public static final int RECONCILING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IDLE_TIMEOUT_FIELD_NUMBER
public static final int IDLE_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNNING_TIMEOUT_FIELD_NUMBER
public static final int RUNNING_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PERSISTENT_DIRECTORIES_FIELD_NUMBER
public static final int PERSISTENT_DIRECTORIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EPHEMERAL_DIRECTORIES_FIELD_NUMBER
public static final int EPHEMERAL_DIRECTORIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTAINER_FIELD_NUMBER
public static final int CONTAINER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTION_KEY_FIELD_NUMBER
public static final int ENCRYPTION_KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READINESS_CHECKS_FIELD_NUMBER
public static final int READINESS_CHECKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPLICA_ZONES_FIELD_NUMBER
public static final int REPLICA_ZONES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEGRADED_FIELD_NUMBER
public static final int DEGRADED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONDITIONS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_AUDIT_AGENT_FIELD_NUMBER
public static final int ENABLE_AUDIT_AGENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Full name of this workstation configuration.
string name = 1;- Specified by:
getNamein interfaceWorkstationConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Full name of this workstation configuration.
string name = 1;- Specified by:
getNameBytesin interfaceWorkstationConfigOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
Optional. Human-readable name for this workstation configuration.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNamein interfaceWorkstationConfigOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Optional. Human-readable name for this workstation configuration.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNameBytesin interfaceWorkstationConfigOrBuilder- Returns:
- The bytes for displayName.
-
getUid
public String getUid()
Output only. A system-assigned unique identifier for this workstation configuration.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceWorkstationConfigOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. A system-assigned unique identifier for this workstation configuration.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceWorkstationConfigOrBuilder- Returns:
- The bytes for uid.
-
getReconciling
public boolean getReconciling()
Output only. Indicates whether this workstation configuration is currently being updated to match its intended state.
bool reconciling = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReconcilingin interfaceWorkstationConfigOrBuilder- Returns:
- The reconciling.
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:WorkstationConfigOrBuilderOptional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsCountin interfaceWorkstationConfigOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
Optional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsAnnotationsin interfaceWorkstationConfigOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceWorkstationConfigOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
Optional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsMapin interfaceWorkstationConfigOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
Optional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrDefaultin interfaceWorkstationConfigOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
Optional. Client-specified annotations.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrThrowin interfaceWorkstationConfigOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:WorkstationConfigOrBuilderOptional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation configuration and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceWorkstationConfigOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation configuration and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceWorkstationConfigOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceWorkstationConfigOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation configuration and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceWorkstationConfigOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation configuration and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceWorkstationConfigOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation configuration and that are also propagated to the underlying Compute Engine resources.
map<string, string> labels = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceWorkstationConfigOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. Time when this workstation configuration was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceWorkstationConfigOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Time when this workstation configuration was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceWorkstationConfigOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when this workstation configuration was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceWorkstationConfigOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Time when this workstation configuration was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceWorkstationConfigOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Time when this workstation configuration was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceWorkstationConfigOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when this workstation configuration was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceWorkstationConfigOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. Time when this workstation configuration was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein interfaceWorkstationConfigOrBuilder- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()
Output only. Time when this workstation configuration was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimein interfaceWorkstationConfigOrBuilder- Returns:
- The deleteTime.
-
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. Time when this workstation configuration was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimeOrBuilderin interfaceWorkstationConfigOrBuilder
-
getEtag
public String 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 interfaceWorkstationConfigOrBuilder- 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 interfaceWorkstationConfigOrBuilder- Returns:
- The bytes for etag.
-
hasIdleTimeout
public boolean hasIdleTimeout()
Optional. Number of seconds to wait before automatically stopping a workstation after it last received user traffic. A value of `"0s"` indicates that Cloud Workstations VMs created with this configuration should never time out due to idleness. Provide [duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#duration) terminated by `s` for seconds—for example, `"7200s"` (2 hours). The default is `"1200s"` (20 minutes).
.google.protobuf.Duration idle_timeout = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasIdleTimeoutin interfaceWorkstationConfigOrBuilder- Returns:
- Whether the idleTimeout field is set.
-
getIdleTimeout
public com.google.protobuf.Duration getIdleTimeout()
Optional. Number of seconds to wait before automatically stopping a workstation after it last received user traffic. A value of `"0s"` indicates that Cloud Workstations VMs created with this configuration should never time out due to idleness. Provide [duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#duration) terminated by `s` for seconds—for example, `"7200s"` (2 hours). The default is `"1200s"` (20 minutes).
.google.protobuf.Duration idle_timeout = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIdleTimeoutin interfaceWorkstationConfigOrBuilder- Returns:
- The idleTimeout.
-
getIdleTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
Optional. Number of seconds to wait before automatically stopping a workstation after it last received user traffic. A value of `"0s"` indicates that Cloud Workstations VMs created with this configuration should never time out due to idleness. Provide [duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#duration) terminated by `s` for seconds—for example, `"7200s"` (2 hours). The default is `"1200s"` (20 minutes).
.google.protobuf.Duration idle_timeout = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIdleTimeoutOrBuilderin interfaceWorkstationConfigOrBuilder
-
hasRunningTimeout
public boolean hasRunningTimeout()
Optional. Number of seconds that a workstation can run until it is automatically shut down. We recommend that workstations be shut down daily to reduce costs and so that security updates can be applied upon restart. The [idle_timeout][google.cloud.workstations.v1beta.WorkstationConfig.idle_timeout] and [running_timeout][google.cloud.workstations.v1beta.WorkstationConfig.running_timeout] fields are independent of each other. Note that the [running_timeout][google.cloud.workstations.v1beta.WorkstationConfig.running_timeout] field shuts down VMs after the specified time, regardless of whether or not the VMs are idle. Provide duration terminated by `s` for seconds—for example, `"54000s"` (15 hours). Defaults to `"43200s"` (12 hours). A value of `"0s"` indicates that workstations using this configuration should never time out. If [encryption_key][google.cloud.workstations.v1beta.WorkstationConfig.encryption_key] is set, it must be greater than `"0s"` and less than `"86400s"` (24 hours). Warning: A value of `"0s"` indicates that Cloud Workstations VMs created with this configuration have no maximum running time. This is strongly discouraged because you incur costs and will not pick up security updates.
.google.protobuf.Duration running_timeout = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRunningTimeoutin interfaceWorkstationConfigOrBuilder- Returns:
- Whether the runningTimeout field is set.
-
getRunningTimeout
public com.google.protobuf.Duration getRunningTimeout()
Optional. Number of seconds that a workstation can run until it is automatically shut down. We recommend that workstations be shut down daily to reduce costs and so that security updates can be applied upon restart. The [idle_timeout][google.cloud.workstations.v1beta.WorkstationConfig.idle_timeout] and [running_timeout][google.cloud.workstations.v1beta.WorkstationConfig.running_timeout] fields are independent of each other. Note that the [running_timeout][google.cloud.workstations.v1beta.WorkstationConfig.running_timeout] field shuts down VMs after the specified time, regardless of whether or not the VMs are idle. Provide duration terminated by `s` for seconds—for example, `"54000s"` (15 hours). Defaults to `"43200s"` (12 hours). A value of `"0s"` indicates that workstations using this configuration should never time out. If [encryption_key][google.cloud.workstations.v1beta.WorkstationConfig.encryption_key] is set, it must be greater than `"0s"` and less than `"86400s"` (24 hours). Warning: A value of `"0s"` indicates that Cloud Workstations VMs created with this configuration have no maximum running time. This is strongly discouraged because you incur costs and will not pick up security updates.
.google.protobuf.Duration running_timeout = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRunningTimeoutin interfaceWorkstationConfigOrBuilder- Returns:
- The runningTimeout.
-
getRunningTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getRunningTimeoutOrBuilder()
Optional. Number of seconds that a workstation can run until it is automatically shut down. We recommend that workstations be shut down daily to reduce costs and so that security updates can be applied upon restart. The [idle_timeout][google.cloud.workstations.v1beta.WorkstationConfig.idle_timeout] and [running_timeout][google.cloud.workstations.v1beta.WorkstationConfig.running_timeout] fields are independent of each other. Note that the [running_timeout][google.cloud.workstations.v1beta.WorkstationConfig.running_timeout] field shuts down VMs after the specified time, regardless of whether or not the VMs are idle. Provide duration terminated by `s` for seconds—for example, `"54000s"` (15 hours). Defaults to `"43200s"` (12 hours). A value of `"0s"` indicates that workstations using this configuration should never time out. If [encryption_key][google.cloud.workstations.v1beta.WorkstationConfig.encryption_key] is set, it must be greater than `"0s"` and less than `"86400s"` (24 hours). Warning: A value of `"0s"` indicates that Cloud Workstations VMs created with this configuration have no maximum running time. This is strongly discouraged because you incur costs and will not pick up security updates.
.google.protobuf.Duration running_timeout = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRunningTimeoutOrBuilderin interfaceWorkstationConfigOrBuilder
-
hasHost
public boolean hasHost()
Optional. Runtime host for the workstation.
.google.cloud.workstations.v1beta.WorkstationConfig.Host host = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasHostin interfaceWorkstationConfigOrBuilder- Returns:
- Whether the host field is set.
-
getHost
public WorkstationConfig.Host getHost()
Optional. Runtime host for the workstation.
.google.cloud.workstations.v1beta.WorkstationConfig.Host host = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHostin interfaceWorkstationConfigOrBuilder- Returns:
- The host.
-
getHostOrBuilder
public WorkstationConfig.HostOrBuilder getHostOrBuilder()
Optional. Runtime host for the workstation.
.google.cloud.workstations.v1beta.WorkstationConfig.Host host = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHostOrBuilderin interfaceWorkstationConfigOrBuilder
-
getPersistentDirectoriesList
public List<WorkstationConfig.PersistentDirectory> getPersistentDirectoriesList()
Optional. Directories to persist across workstation sessions.
repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPersistentDirectoriesListin interfaceWorkstationConfigOrBuilder
-
getPersistentDirectoriesOrBuilderList
public List<? extends WorkstationConfig.PersistentDirectoryOrBuilder> getPersistentDirectoriesOrBuilderList()
Optional. Directories to persist across workstation sessions.
repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPersistentDirectoriesOrBuilderListin interfaceWorkstationConfigOrBuilder
-
getPersistentDirectoriesCount
public int getPersistentDirectoriesCount()
Optional. Directories to persist across workstation sessions.
repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPersistentDirectoriesCountin interfaceWorkstationConfigOrBuilder
-
getPersistentDirectories
public WorkstationConfig.PersistentDirectory getPersistentDirectories(int index)
Optional. Directories to persist across workstation sessions.
repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPersistentDirectoriesin interfaceWorkstationConfigOrBuilder
-
getPersistentDirectoriesOrBuilder
public WorkstationConfig.PersistentDirectoryOrBuilder getPersistentDirectoriesOrBuilder(int index)
Optional. Directories to persist across workstation sessions.
repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPersistentDirectoriesOrBuilderin interfaceWorkstationConfigOrBuilder
-
getEphemeralDirectoriesList
public List<WorkstationConfig.EphemeralDirectory> getEphemeralDirectoriesList()
Optional. Ephemeral directories which won't persist across workstation sessions.
repeated .google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory ephemeral_directories = 22 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEphemeralDirectoriesListin interfaceWorkstationConfigOrBuilder
-
getEphemeralDirectoriesOrBuilderList
public List<? extends WorkstationConfig.EphemeralDirectoryOrBuilder> getEphemeralDirectoriesOrBuilderList()
Optional. Ephemeral directories which won't persist across workstation sessions.
repeated .google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory ephemeral_directories = 22 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEphemeralDirectoriesOrBuilderListin interfaceWorkstationConfigOrBuilder
-
getEphemeralDirectoriesCount
public int getEphemeralDirectoriesCount()
Optional. Ephemeral directories which won't persist across workstation sessions.
repeated .google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory ephemeral_directories = 22 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEphemeralDirectoriesCountin interfaceWorkstationConfigOrBuilder
-
getEphemeralDirectories
public WorkstationConfig.EphemeralDirectory getEphemeralDirectories(int index)
Optional. Ephemeral directories which won't persist across workstation sessions.
repeated .google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory ephemeral_directories = 22 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEphemeralDirectoriesin interfaceWorkstationConfigOrBuilder
-
getEphemeralDirectoriesOrBuilder
public WorkstationConfig.EphemeralDirectoryOrBuilder getEphemeralDirectoriesOrBuilder(int index)
Optional. Ephemeral directories which won't persist across workstation sessions.
repeated .google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory ephemeral_directories = 22 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEphemeralDirectoriesOrBuilderin interfaceWorkstationConfigOrBuilder
-
hasContainer
public boolean hasContainer()
Optional. Container that runs upon startup for each workstation using this workstation configuration.
.google.cloud.workstations.v1beta.WorkstationConfig.Container container = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasContainerin interfaceWorkstationConfigOrBuilder- Returns:
- Whether the container field is set.
-
getContainer
public WorkstationConfig.Container getContainer()
Optional. Container that runs upon startup for each workstation using this workstation configuration.
.google.cloud.workstations.v1beta.WorkstationConfig.Container container = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContainerin interfaceWorkstationConfigOrBuilder- Returns:
- The container.
-
getContainerOrBuilder
public WorkstationConfig.ContainerOrBuilder getContainerOrBuilder()
Optional. Container that runs upon startup for each workstation using this workstation configuration.
.google.cloud.workstations.v1beta.WorkstationConfig.Container container = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContainerOrBuilderin interfaceWorkstationConfigOrBuilder
-
hasEncryptionKey
public boolean hasEncryptionKey()
Immutable. Encrypts resources of this workstation configuration using a customer-managed encryption key (CMEK). If specified, the boot disk of the Compute Engine instance and the persistent disk are encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect disk metadata. If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk might be lost. If the encryption key is revoked, the workstation session automatically stops within 7 hours. Immutable after the workstation configuration is created.
.google.cloud.workstations.v1beta.WorkstationConfig.CustomerEncryptionKey encryption_key = 17 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasEncryptionKeyin interfaceWorkstationConfigOrBuilder- Returns:
- Whether the encryptionKey field is set.
-
getEncryptionKey
public WorkstationConfig.CustomerEncryptionKey getEncryptionKey()
Immutable. Encrypts resources of this workstation configuration using a customer-managed encryption key (CMEK). If specified, the boot disk of the Compute Engine instance and the persistent disk are encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect disk metadata. If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk might be lost. If the encryption key is revoked, the workstation session automatically stops within 7 hours. Immutable after the workstation configuration is created.
.google.cloud.workstations.v1beta.WorkstationConfig.CustomerEncryptionKey encryption_key = 17 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getEncryptionKeyin interfaceWorkstationConfigOrBuilder- Returns:
- The encryptionKey.
-
getEncryptionKeyOrBuilder
public WorkstationConfig.CustomerEncryptionKeyOrBuilder getEncryptionKeyOrBuilder()
Immutable. Encrypts resources of this workstation configuration using a customer-managed encryption key (CMEK). If specified, the boot disk of the Compute Engine instance and the persistent disk are encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect disk metadata. If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk might be lost. If the encryption key is revoked, the workstation session automatically stops within 7 hours. Immutable after the workstation configuration is created.
.google.cloud.workstations.v1beta.WorkstationConfig.CustomerEncryptionKey encryption_key = 17 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getEncryptionKeyOrBuilderin interfaceWorkstationConfigOrBuilder
-
getReadinessChecksList
public List<WorkstationConfig.ReadinessCheck> getReadinessChecksList()
Optional. Readiness checks to perform when starting a workstation using this workstation configuration. Mark a workstation as running only after all specified readiness checks return 200 status codes.
repeated .google.cloud.workstations.v1beta.WorkstationConfig.ReadinessCheck readiness_checks = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadinessChecksListin interfaceWorkstationConfigOrBuilder
-
getReadinessChecksOrBuilderList
public List<? extends WorkstationConfig.ReadinessCheckOrBuilder> getReadinessChecksOrBuilderList()
Optional. Readiness checks to perform when starting a workstation using this workstation configuration. Mark a workstation as running only after all specified readiness checks return 200 status codes.
repeated .google.cloud.workstations.v1beta.WorkstationConfig.ReadinessCheck readiness_checks = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadinessChecksOrBuilderListin interfaceWorkstationConfigOrBuilder
-
getReadinessChecksCount
public int getReadinessChecksCount()
Optional. Readiness checks to perform when starting a workstation using this workstation configuration. Mark a workstation as running only after all specified readiness checks return 200 status codes.
repeated .google.cloud.workstations.v1beta.WorkstationConfig.ReadinessCheck readiness_checks = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadinessChecksCountin interfaceWorkstationConfigOrBuilder
-
getReadinessChecks
public WorkstationConfig.ReadinessCheck getReadinessChecks(int index)
Optional. Readiness checks to perform when starting a workstation using this workstation configuration. Mark a workstation as running only after all specified readiness checks return 200 status codes.
repeated .google.cloud.workstations.v1beta.WorkstationConfig.ReadinessCheck readiness_checks = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadinessChecksin interfaceWorkstationConfigOrBuilder
-
getReadinessChecksOrBuilder
public WorkstationConfig.ReadinessCheckOrBuilder getReadinessChecksOrBuilder(int index)
Optional. Readiness checks to perform when starting a workstation using this workstation configuration. Mark a workstation as running only after all specified readiness checks return 200 status codes.
repeated .google.cloud.workstations.v1beta.WorkstationConfig.ReadinessCheck readiness_checks = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadinessChecksOrBuilderin interfaceWorkstationConfigOrBuilder
-
getReplicaZonesList
public com.google.protobuf.ProtocolStringList getReplicaZonesList()
Optional. Immutable. Specifies the zones used to replicate the VM and disk resources within the region. If set, exactly two zones within the workstation cluster's region must be specified—for example, `['us-central1-a', 'us-central1-f']`. If this field is empty, two default zones within the region are used. Immutable after the workstation configuration is created.
repeated string replica_zones = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getReplicaZonesListin interfaceWorkstationConfigOrBuilder- Returns:
- A list containing the replicaZones.
-
getReplicaZonesCount
public int getReplicaZonesCount()
Optional. Immutable. Specifies the zones used to replicate the VM and disk resources within the region. If set, exactly two zones within the workstation cluster's region must be specified—for example, `['us-central1-a', 'us-central1-f']`. If this field is empty, two default zones within the region are used. Immutable after the workstation configuration is created.
repeated string replica_zones = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getReplicaZonesCountin interfaceWorkstationConfigOrBuilder- Returns:
- The count of replicaZones.
-
getReplicaZones
public String getReplicaZones(int index)
Optional. Immutable. Specifies the zones used to replicate the VM and disk resources within the region. If set, exactly two zones within the workstation cluster's region must be specified—for example, `['us-central1-a', 'us-central1-f']`. If this field is empty, two default zones within the region are used. Immutable after the workstation configuration is created.
repeated string replica_zones = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getReplicaZonesin interfaceWorkstationConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The replicaZones at the given index.
-
getReplicaZonesBytes
public com.google.protobuf.ByteString getReplicaZonesBytes(int index)
Optional. Immutable. Specifies the zones used to replicate the VM and disk resources within the region. If set, exactly two zones within the workstation cluster's region must be specified—for example, `['us-central1-a', 'us-central1-f']`. If this field is empty, two default zones within the region are used. Immutable after the workstation configuration is created.
repeated string replica_zones = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getReplicaZonesBytesin interfaceWorkstationConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the replicaZones at the given index.
-
getDegraded
public boolean getDegraded()
Output only. Whether this resource is degraded, in which case it may require user action to restore full functionality. See also the [conditions][google.cloud.workstations.v1beta.WorkstationConfig.conditions] field.
bool degraded = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDegradedin interfaceWorkstationConfigOrBuilder- Returns:
- The degraded.
-
getConditionsList
public List<com.google.rpc.Status> getConditionsList()
Output only. Status conditions describing the current resource state.
repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsListin interfaceWorkstationConfigOrBuilder
-
getConditionsOrBuilderList
public List<? extends com.google.rpc.StatusOrBuilder> getConditionsOrBuilderList()
Output only. Status conditions describing the current resource state.
repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsOrBuilderListin interfaceWorkstationConfigOrBuilder
-
getConditionsCount
public int getConditionsCount()
Output only. Status conditions describing the current resource state.
repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsCountin interfaceWorkstationConfigOrBuilder
-
getConditions
public com.google.rpc.Status getConditions(int index)
Output only. Status conditions describing the current resource state.
repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsin interfaceWorkstationConfigOrBuilder
-
getConditionsOrBuilder
public com.google.rpc.StatusOrBuilder getConditionsOrBuilder(int index)
Output only. Status conditions describing the current resource state.
repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsOrBuilderin interfaceWorkstationConfigOrBuilder
-
getEnableAuditAgent
public boolean getEnableAuditAgent()
Optional. Whether to enable Linux `auditd` logging on the workstation. When enabled, a service account must also be specified that has `logging.buckets.write` permission on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging).
bool enable_audit_agent = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEnableAuditAgentin interfaceWorkstationConfigOrBuilder- Returns:
- The enableAuditAgent.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static WorkstationConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkstationConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkstationConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkstationConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkstationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkstationConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkstationConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static WorkstationConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static WorkstationConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static WorkstationConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static WorkstationConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static WorkstationConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public WorkstationConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static WorkstationConfig.Builder newBuilder()
-
newBuilder
public static WorkstationConfig.Builder newBuilder(WorkstationConfig prototype)
-
toBuilder
public WorkstationConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WorkstationConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static WorkstationConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<WorkstationConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<WorkstationConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public WorkstationConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-