Class WorkstationConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WorkstationConfig.Builder>
com.google.cloud.workstations.v1beta.WorkstationConfig.Builder
All Implemented Interfaces:
WorkstationConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
WorkstationConfig

public static final class WorkstationConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<WorkstationConfig.Builder> 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 type google.cloud.workstations.v1beta.WorkstationConfig
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<WorkstationConfig.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<WorkstationConfig.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<WorkstationConfig.Builder>
    • clear

      public WorkstationConfig.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<WorkstationConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<WorkstationConfig.Builder>
    • getDefaultInstanceForType

      public WorkstationConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public WorkstationConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public WorkstationConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public WorkstationConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkstationConfig.Builder>
    • mergeFrom

      public WorkstationConfig.Builder mergeFrom(WorkstationConfig other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<WorkstationConfig.Builder>
    • mergeFrom

      public WorkstationConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkstationConfig.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Full name of this workstation configuration.
       
      string name = 1;
      Specified by:
      getName in interface WorkstationConfigOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Full name of this workstation configuration.
       
      string name = 1;
      Specified by:
      getNameBytes in interface WorkstationConfigOrBuilder
      Returns:
      The bytes for name.
    • setName

      public WorkstationConfig.Builder setName(String value)
       Full name of this workstation configuration.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public WorkstationConfig.Builder clearName()
       Full name of this workstation configuration.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public WorkstationConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
       Full name of this workstation configuration.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Optional. Human-readable name for this workstation configuration.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayName in interface WorkstationConfigOrBuilder
      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:
      getDisplayNameBytes in interface WorkstationConfigOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public WorkstationConfig.Builder setDisplayName(String value)
       Optional. Human-readable name for this workstation configuration.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public WorkstationConfig.Builder clearDisplayName()
       Optional. Human-readable name for this workstation configuration.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public WorkstationConfig.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Optional. Human-readable name for this workstation configuration.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • 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:
      getUid in interface WorkstationConfigOrBuilder
      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:
      getUidBytes in interface WorkstationConfigOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public WorkstationConfig.Builder setUid(String value)
       Output only. A system-assigned unique identifier for this workstation
       configuration.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The uid to set.
      Returns:
      This builder for chaining.
    • clearUid

      public WorkstationConfig.Builder clearUid()
       Output only. A system-assigned unique identifier for this workstation
       configuration.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setUidBytes

      public WorkstationConfig.Builder setUidBytes(com.google.protobuf.ByteString value)
       Output only. A system-assigned unique identifier for this workstation
       configuration.
       
      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 configuration is currently
       being updated to match its intended state.
       
      bool reconciling = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReconciling in interface WorkstationConfigOrBuilder
      Returns:
      The reconciling.
    • setReconciling

      public WorkstationConfig.Builder setReconciling(boolean value)
       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];
      Parameters:
      value - The reconciling to set.
      Returns:
      This builder for chaining.
    • clearReconciling

      public WorkstationConfig.Builder clearReconciling()
       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];
      Returns:
      This builder for chaining.
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: WorkstationConfigOrBuilder
       Optional. Client-specified annotations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsCount in interface WorkstationConfigOrBuilder
    • containsAnnotations

      public boolean containsAnnotations(String key)
       Optional. Client-specified annotations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAnnotations in interface WorkstationConfigOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface WorkstationConfigOrBuilder
    • getAnnotationsMap

      public Map<String,String> getAnnotationsMap()
       Optional. Client-specified annotations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsMap in interface WorkstationConfigOrBuilder
    • getAnnotationsOrDefault

      public String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. Client-specified annotations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrDefault in interface WorkstationConfigOrBuilder
    • getAnnotationsOrThrow

      public String getAnnotationsOrThrow(String key)
       Optional. Client-specified annotations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrThrow in interface WorkstationConfigOrBuilder
    • clearAnnotations

      public WorkstationConfig.Builder clearAnnotations()
    • removeAnnotations

      public WorkstationConfig.Builder removeAnnotations(String key)
       Optional. Client-specified annotations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableAnnotations

      @Deprecated public Map<String,String> getMutableAnnotations()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAnnotations

      public WorkstationConfig.Builder putAnnotations(String key, String value)
       Optional. Client-specified annotations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • putAllAnnotations

      public WorkstationConfig.Builder putAllAnnotations(Map<String,String> values)
       Optional. Client-specified annotations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: WorkstationConfigOrBuilder
       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:
      getLabelsCount in interface WorkstationConfigOrBuilder
    • 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:
      containsLabels in interface WorkstationConfigOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface WorkstationConfigOrBuilder
    • 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:
      getLabelsMap in interface WorkstationConfigOrBuilder
    • 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:
      getLabelsOrDefault in interface WorkstationConfigOrBuilder
    • 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:
      getLabelsOrThrow in interface WorkstationConfigOrBuilder
    • clearLabels

      public WorkstationConfig.Builder clearLabels()
    • removeLabels

      public WorkstationConfig.Builder removeLabels(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];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public WorkstationConfig.Builder putLabels(String key, String value)
       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];
    • putAllLabels

      public WorkstationConfig.Builder putAllLabels(Map<String,String> values)
       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];
    • 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:
      hasCreateTime in interface WorkstationConfigOrBuilder
      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:
      getCreateTime in interface WorkstationConfigOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public WorkstationConfig.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when this workstation configuration was created.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public WorkstationConfig.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when this workstation configuration was created.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public WorkstationConfig.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when this workstation configuration was created.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public WorkstationConfig.Builder clearCreateTime()
       Output only. Time when this workstation configuration 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 configuration 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 configuration was created.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface WorkstationConfigOrBuilder
    • 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:
      hasUpdateTime in interface WorkstationConfigOrBuilder
      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:
      getUpdateTime in interface WorkstationConfigOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public WorkstationConfig.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time when this workstation configuration was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public WorkstationConfig.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when this workstation configuration was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public WorkstationConfig.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time when this workstation configuration was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public WorkstationConfig.Builder clearUpdateTime()
       Output only. Time when this workstation configuration 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 configuration 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 configuration was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface WorkstationConfigOrBuilder
    • 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:
      hasDeleteTime in interface WorkstationConfigOrBuilder
      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:
      getDeleteTime in interface WorkstationConfigOrBuilder
      Returns:
      The deleteTime.
    • setDeleteTime

      public WorkstationConfig.Builder setDeleteTime(com.google.protobuf.Timestamp value)
       Output only. Time when this workstation configuration was soft-deleted.
       
      .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setDeleteTime

      public WorkstationConfig.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when this workstation configuration was soft-deleted.
       
      .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeDeleteTime

      public WorkstationConfig.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
       Output only. Time when this workstation configuration was soft-deleted.
       
      .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearDeleteTime

      public WorkstationConfig.Builder clearDeleteTime()
       Output only. Time when this workstation configuration 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 configuration 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 configuration was soft-deleted.
       
      .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeleteTimeOrBuilder in interface WorkstationConfigOrBuilder
    • 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:
      getEtag in interface WorkstationConfigOrBuilder
      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:
      getEtagBytes in interface WorkstationConfigOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public WorkstationConfig.Builder setEtag(String value)
       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

      public WorkstationConfig.Builder 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

      public WorkstationConfig.Builder setEtagBytes(com.google.protobuf.ByteString value)
       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.
    • 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:
      hasIdleTimeout in interface WorkstationConfigOrBuilder
      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:
      getIdleTimeout in interface WorkstationConfigOrBuilder
      Returns:
      The idleTimeout.
    • setIdleTimeout

      public WorkstationConfig.Builder setIdleTimeout(com.google.protobuf.Duration value)
       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];
    • setIdleTimeout

      public WorkstationConfig.Builder setIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
       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];
    • mergeIdleTimeout

      public WorkstationConfig.Builder mergeIdleTimeout(com.google.protobuf.Duration value)
       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];
    • clearIdleTimeout

      public WorkstationConfig.Builder clearIdleTimeout()
       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];
    • getIdleTimeoutBuilder

      public com.google.protobuf.Duration.Builder getIdleTimeoutBuilder()
       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];
    • 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:
      getIdleTimeoutOrBuilder in interface WorkstationConfigOrBuilder
    • 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:
      hasRunningTimeout in interface WorkstationConfigOrBuilder
      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:
      getRunningTimeout in interface WorkstationConfigOrBuilder
      Returns:
      The runningTimeout.
    • setRunningTimeout

      public WorkstationConfig.Builder setRunningTimeout(com.google.protobuf.Duration value)
       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];
    • setRunningTimeout

      public WorkstationConfig.Builder setRunningTimeout(com.google.protobuf.Duration.Builder builderForValue)
       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];
    • mergeRunningTimeout

      public WorkstationConfig.Builder mergeRunningTimeout(com.google.protobuf.Duration value)
       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];
    • clearRunningTimeout

      public WorkstationConfig.Builder clearRunningTimeout()
       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];
    • getRunningTimeoutBuilder

      public com.google.protobuf.Duration.Builder getRunningTimeoutBuilder()
       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];
    • 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:
      getRunningTimeoutOrBuilder in interface WorkstationConfigOrBuilder
    • 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:
      hasHost in interface WorkstationConfigOrBuilder
      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:
      getHost in interface WorkstationConfigOrBuilder
      Returns:
      The host.
    • setHost

       Optional. Runtime host for the workstation.
       
      .google.cloud.workstations.v1beta.WorkstationConfig.Host host = 12 [(.google.api.field_behavior) = OPTIONAL];
    • setHost

       Optional. Runtime host for the workstation.
       
      .google.cloud.workstations.v1beta.WorkstationConfig.Host host = 12 [(.google.api.field_behavior) = OPTIONAL];
    • mergeHost

       Optional. Runtime host for the workstation.
       
      .google.cloud.workstations.v1beta.WorkstationConfig.Host host = 12 [(.google.api.field_behavior) = OPTIONAL];
    • clearHost

      public WorkstationConfig.Builder clearHost()
       Optional. Runtime host for the workstation.
       
      .google.cloud.workstations.v1beta.WorkstationConfig.Host host = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getHostBuilder

      public WorkstationConfig.Host.Builder getHostBuilder()
       Optional. Runtime host for the workstation.
       
      .google.cloud.workstations.v1beta.WorkstationConfig.Host host = 12 [(.google.api.field_behavior) = OPTIONAL];
    • 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:
      getHostOrBuilder in interface WorkstationConfigOrBuilder
    • 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:
      getPersistentDirectoriesList in interface WorkstationConfigOrBuilder
    • 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:
      getPersistentDirectoriesCount in interface WorkstationConfigOrBuilder
    • 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:
      getPersistentDirectories in interface WorkstationConfigOrBuilder
    • setPersistentDirectories

      public WorkstationConfig.Builder setPersistentDirectories(int index, WorkstationConfig.PersistentDirectory value)
       Optional. Directories to persist across workstation sessions.
       
      repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];
    • setPersistentDirectories

      public WorkstationConfig.Builder setPersistentDirectories(int index, WorkstationConfig.PersistentDirectory.Builder builderForValue)
       Optional. Directories to persist across workstation sessions.
       
      repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addPersistentDirectories

      public WorkstationConfig.Builder addPersistentDirectories(WorkstationConfig.PersistentDirectory value)
       Optional. Directories to persist across workstation sessions.
       
      repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addPersistentDirectories

      public WorkstationConfig.Builder addPersistentDirectories(int index, WorkstationConfig.PersistentDirectory value)
       Optional. Directories to persist across workstation sessions.
       
      repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addPersistentDirectories

      public WorkstationConfig.Builder addPersistentDirectories(WorkstationConfig.PersistentDirectory.Builder builderForValue)
       Optional. Directories to persist across workstation sessions.
       
      repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addPersistentDirectories

      public WorkstationConfig.Builder addPersistentDirectories(int index, WorkstationConfig.PersistentDirectory.Builder builderForValue)
       Optional. Directories to persist across workstation sessions.
       
      repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addAllPersistentDirectories

      public WorkstationConfig.Builder addAllPersistentDirectories(Iterable<? extends WorkstationConfig.PersistentDirectory> values)
       Optional. Directories to persist across workstation sessions.
       
      repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];
    • clearPersistentDirectories

      public WorkstationConfig.Builder clearPersistentDirectories()
       Optional. Directories to persist across workstation sessions.
       
      repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];
    • removePersistentDirectories

      public WorkstationConfig.Builder removePersistentDirectories(int index)
       Optional. Directories to persist across workstation sessions.
       
      repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getPersistentDirectoriesBuilder

      public WorkstationConfig.PersistentDirectory.Builder getPersistentDirectoriesBuilder(int index)
       Optional. Directories to persist across workstation sessions.
       
      repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];
    • 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:
      getPersistentDirectoriesOrBuilder in interface WorkstationConfigOrBuilder
    • 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:
      getPersistentDirectoriesOrBuilderList in interface WorkstationConfigOrBuilder
    • addPersistentDirectoriesBuilder

      public WorkstationConfig.PersistentDirectory.Builder addPersistentDirectoriesBuilder()
       Optional. Directories to persist across workstation sessions.
       
      repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addPersistentDirectoriesBuilder

      public WorkstationConfig.PersistentDirectory.Builder addPersistentDirectoriesBuilder(int index)
       Optional. Directories to persist across workstation sessions.
       
      repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getPersistentDirectoriesBuilderList

      public List<WorkstationConfig.PersistentDirectory.Builder> getPersistentDirectoriesBuilderList()
       Optional. Directories to persist across workstation sessions.
       
      repeated .google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory persistent_directories = 13 [(.google.api.field_behavior) = OPTIONAL];
    • 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:
      getEphemeralDirectoriesList in interface WorkstationConfigOrBuilder
    • 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:
      getEphemeralDirectoriesCount in interface WorkstationConfigOrBuilder
    • 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:
      getEphemeralDirectories in interface WorkstationConfigOrBuilder
    • setEphemeralDirectories

      public WorkstationConfig.Builder setEphemeralDirectories(int index, WorkstationConfig.EphemeralDirectory value)
       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];
    • setEphemeralDirectories

      public WorkstationConfig.Builder setEphemeralDirectories(int index, WorkstationConfig.EphemeralDirectory.Builder builderForValue)
       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];
    • addEphemeralDirectories

      public WorkstationConfig.Builder addEphemeralDirectories(WorkstationConfig.EphemeralDirectory value)
       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];
    • addEphemeralDirectories

      public WorkstationConfig.Builder addEphemeralDirectories(int index, WorkstationConfig.EphemeralDirectory value)
       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];
    • addEphemeralDirectories

      public WorkstationConfig.Builder addEphemeralDirectories(WorkstationConfig.EphemeralDirectory.Builder builderForValue)
       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];
    • addEphemeralDirectories

      public WorkstationConfig.Builder addEphemeralDirectories(int index, WorkstationConfig.EphemeralDirectory.Builder builderForValue)
       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];
    • addAllEphemeralDirectories

      public WorkstationConfig.Builder addAllEphemeralDirectories(Iterable<? extends WorkstationConfig.EphemeralDirectory> values)
       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];
    • clearEphemeralDirectories

      public WorkstationConfig.Builder clearEphemeralDirectories()
       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];
    • removeEphemeralDirectories

      public WorkstationConfig.Builder removeEphemeralDirectories(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];
    • getEphemeralDirectoriesBuilder

      public WorkstationConfig.EphemeralDirectory.Builder getEphemeralDirectoriesBuilder(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];
    • 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:
      getEphemeralDirectoriesOrBuilder in interface WorkstationConfigOrBuilder
    • 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:
      getEphemeralDirectoriesOrBuilderList in interface WorkstationConfigOrBuilder
    • addEphemeralDirectoriesBuilder

      public WorkstationConfig.EphemeralDirectory.Builder addEphemeralDirectoriesBuilder()
       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];
    • addEphemeralDirectoriesBuilder

      public WorkstationConfig.EphemeralDirectory.Builder addEphemeralDirectoriesBuilder(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];
    • getEphemeralDirectoriesBuilderList

      public List<WorkstationConfig.EphemeralDirectory.Builder> getEphemeralDirectoriesBuilderList()
       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];
    • 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:
      hasContainer in interface WorkstationConfigOrBuilder
      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:
      getContainer in interface WorkstationConfigOrBuilder
      Returns:
      The container.
    • setContainer

       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];
    • setContainer

      public WorkstationConfig.Builder setContainer(WorkstationConfig.Container.Builder builderForValue)
       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];
    • mergeContainer

       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];
    • clearContainer

      public WorkstationConfig.Builder clearContainer()
       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];
    • getContainerBuilder

      public WorkstationConfig.Container.Builder getContainerBuilder()
       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];
    • 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:
      getContainerOrBuilder in interface WorkstationConfigOrBuilder
    • 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:
      hasEncryptionKey in interface WorkstationConfigOrBuilder
      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:
      getEncryptionKey in interface WorkstationConfigOrBuilder
      Returns:
      The encryptionKey.
    • setEncryptionKey

       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];
    • setEncryptionKey

       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];
    • mergeEncryptionKey

       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];
    • clearEncryptionKey

      public WorkstationConfig.Builder clearEncryptionKey()
       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];
    • getEncryptionKeyBuilder

      public WorkstationConfig.CustomerEncryptionKey.Builder getEncryptionKeyBuilder()
       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];
    • 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:
      getEncryptionKeyOrBuilder in interface WorkstationConfigOrBuilder
    • 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:
      getReadinessChecksList in interface WorkstationConfigOrBuilder
    • 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:
      getReadinessChecksCount in interface WorkstationConfigOrBuilder
    • 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:
      getReadinessChecks in interface WorkstationConfigOrBuilder
    • setReadinessChecks

      public WorkstationConfig.Builder setReadinessChecks(int index, WorkstationConfig.ReadinessCheck value)
       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];
    • setReadinessChecks

      public WorkstationConfig.Builder setReadinessChecks(int index, WorkstationConfig.ReadinessCheck.Builder builderForValue)
       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];
    • addReadinessChecks

       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];
    • addReadinessChecks

      public WorkstationConfig.Builder addReadinessChecks(int index, WorkstationConfig.ReadinessCheck value)
       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];
    • addReadinessChecks

      public WorkstationConfig.Builder addReadinessChecks(WorkstationConfig.ReadinessCheck.Builder builderForValue)
       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];
    • addReadinessChecks

      public WorkstationConfig.Builder addReadinessChecks(int index, WorkstationConfig.ReadinessCheck.Builder builderForValue)
       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];
    • addAllReadinessChecks

      public WorkstationConfig.Builder addAllReadinessChecks(Iterable<? extends WorkstationConfig.ReadinessCheck> values)
       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];
    • clearReadinessChecks

      public WorkstationConfig.Builder clearReadinessChecks()
       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];
    • removeReadinessChecks

      public WorkstationConfig.Builder removeReadinessChecks(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];
    • getReadinessChecksBuilder

      public WorkstationConfig.ReadinessCheck.Builder getReadinessChecksBuilder(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];
    • 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:
      getReadinessChecksOrBuilder in interface WorkstationConfigOrBuilder
    • 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:
      getReadinessChecksOrBuilderList in interface WorkstationConfigOrBuilder
    • addReadinessChecksBuilder

      public WorkstationConfig.ReadinessCheck.Builder addReadinessChecksBuilder()
       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];
    • addReadinessChecksBuilder

      public WorkstationConfig.ReadinessCheck.Builder addReadinessChecksBuilder(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];
    • getReadinessChecksBuilderList

      public List<WorkstationConfig.ReadinessCheck.Builder> getReadinessChecksBuilderList()
       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];
    • 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:
      getReplicaZonesList in interface WorkstationConfigOrBuilder
      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:
      getReplicaZonesCount in interface WorkstationConfigOrBuilder
      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:
      getReplicaZones in interface WorkstationConfigOrBuilder
      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:
      getReplicaZonesBytes in interface WorkstationConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the replicaZones at the given index.
    • setReplicaZones

      public WorkstationConfig.Builder setReplicaZones(int index, String value)
       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];
      Parameters:
      index - The index to set the value at.
      value - The replicaZones to set.
      Returns:
      This builder for chaining.
    • addReplicaZones

      public WorkstationConfig.Builder addReplicaZones(String value)
       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];
      Parameters:
      value - The replicaZones to add.
      Returns:
      This builder for chaining.
    • addAllReplicaZones

      public WorkstationConfig.Builder addAllReplicaZones(Iterable<String> values)
       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];
      Parameters:
      values - The replicaZones to add.
      Returns:
      This builder for chaining.
    • clearReplicaZones

      public WorkstationConfig.Builder clearReplicaZones()
       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];
      Returns:
      This builder for chaining.
    • addReplicaZonesBytes

      public WorkstationConfig.Builder addReplicaZonesBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes of the replicaZones to add.
      Returns:
      This builder for chaining.
    • 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:
      getDegraded in interface WorkstationConfigOrBuilder
      Returns:
      The degraded.
    • setDegraded

      public WorkstationConfig.Builder setDegraded(boolean value)
       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];
      Parameters:
      value - The degraded to set.
      Returns:
      This builder for chaining.
    • clearDegraded

      public WorkstationConfig.Builder clearDegraded()
       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];
      Returns:
      This builder for chaining.
    • getConditionsList

      public List<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:
      getConditionsList in interface WorkstationConfigOrBuilder
    • 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:
      getConditionsCount in interface WorkstationConfigOrBuilder
    • getConditions

      public 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:
      getConditions in interface WorkstationConfigOrBuilder
    • setConditions

      public WorkstationConfig.Builder setConditions(int index, Status value)
       Output only. Status conditions describing the current resource state.
       
      repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setConditions

      public WorkstationConfig.Builder setConditions(int index, Status.Builder builderForValue)
       Output only. Status conditions describing the current resource state.
       
      repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addConditions

      public WorkstationConfig.Builder addConditions(Status value)
       Output only. Status conditions describing the current resource state.
       
      repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addConditions

      public WorkstationConfig.Builder addConditions(int index, Status value)
       Output only. Status conditions describing the current resource state.
       
      repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addConditions

      public WorkstationConfig.Builder addConditions(Status.Builder builderForValue)
       Output only. Status conditions describing the current resource state.
       
      repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addConditions

      public WorkstationConfig.Builder addConditions(int index, Status.Builder builderForValue)
       Output only. Status conditions describing the current resource state.
       
      repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllConditions

      public WorkstationConfig.Builder addAllConditions(Iterable<? extends Status> values)
       Output only. Status conditions describing the current resource state.
       
      repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearConditions

      public WorkstationConfig.Builder clearConditions()
       Output only. Status conditions describing the current resource state.
       
      repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeConditions

      public WorkstationConfig.Builder removeConditions(int index)
       Output only. Status conditions describing the current resource state.
       
      repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getConditionsBuilder

      public Status.Builder getConditionsBuilder(int index)
       Output only. Status conditions describing the current resource state.
       
      repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getConditionsOrBuilder

      public 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:
      getConditionsOrBuilder in interface WorkstationConfigOrBuilder
    • getConditionsOrBuilderList

      public List<? extends 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:
      getConditionsOrBuilderList in interface WorkstationConfigOrBuilder
    • addConditionsBuilder

      public Status.Builder addConditionsBuilder()
       Output only. Status conditions describing the current resource state.
       
      repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addConditionsBuilder

      public Status.Builder addConditionsBuilder(int index)
       Output only. Status conditions describing the current resource state.
       
      repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getConditionsBuilderList

      public List<Status.Builder> getConditionsBuilderList()
       Output only. Status conditions describing the current resource state.
       
      repeated .google.rpc.Status conditions = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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:
      getEnableAuditAgent in interface WorkstationConfigOrBuilder
      Returns:
      The enableAuditAgent.
    • setEnableAuditAgent

      public WorkstationConfig.Builder setEnableAuditAgent(boolean value)
       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];
      Parameters:
      value - The enableAuditAgent to set.
      Returns:
      This builder for chaining.
    • clearEnableAuditAgent

      public WorkstationConfig.Builder clearEnableAuditAgent()
       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];
      Returns:
      This builder for chaining.