Interface WorkstationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Workstation, Workstation.Builder

@Generated public interface WorkstationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Full name of this workstation.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Full name of this workstation.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getDisplayName

      String getDisplayName()
       Optional. Human-readable name for this workstation.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. Human-readable name for this workstation.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for displayName.
    • getUid

      String getUid()
       Output only. A system-assigned unique identifier for this workstation.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The uid.
    • getUidBytes

      com.google.protobuf.ByteString getUidBytes()
       Output only. A system-assigned unique identifier for this workstation.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for uid.
    • getReconciling

      boolean getReconciling()
       Output only. Indicates whether this workstation is currently being updated
       to match its intended state.
       
      bool reconciling = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The reconciling.
    • getAnnotationsCount

      int getAnnotationsCount()
       Optional. Client-specified annotations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • containsAnnotations

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

      @Deprecated Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
    • getAnnotationsMap

      Map<String,String> getAnnotationsMap()
       Optional. Client-specified annotations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsOrDefault

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

      String getAnnotationsOrThrow(String key)
       Optional. Client-specified annotations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsCount

      int getLabelsCount()
       Optional.
       [Labels](https://cloud.google.com/workstations/docs/label-resources) that
       are applied to the workstation and that are also propagated to the
       underlying Compute Engine resources.
       
      map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional.
       [Labels](https://cloud.google.com/workstations/docs/label-resources) that
       are applied to the workstation and that are also propagated to the
       underlying Compute Engine resources.
       
      map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional.
       [Labels](https://cloud.google.com/workstations/docs/label-resources) that
       are applied to the workstation and that are also propagated to the
       underlying Compute Engine resources.
       
      map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional.
       [Labels](https://cloud.google.com/workstations/docs/label-resources) that
       are applied to the workstation and that are also propagated to the
       underlying Compute Engine resources.
       
      map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional.
       [Labels](https://cloud.google.com/workstations/docs/label-resources) that
       are applied to the workstation and that are also propagated to the
       underlying Compute Engine resources.
       
      map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Time when this workstation was created.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Time when this workstation was created.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time when this workstation was created.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. Time when this workstation was most recently updated.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. Time when this workstation was most recently updated.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Time when this workstation was most recently updated.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasStartTime

      boolean hasStartTime()
       Output only. Time when this workstation was most recently successfully
       started, regardless of the workstation's initial state.
       
      .google.protobuf.Timestamp start_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the startTime field is set.
    • getStartTime

      com.google.protobuf.Timestamp getStartTime()
       Output only. Time when this workstation was most recently successfully
       started, regardless of the workstation's initial state.
       
      .google.protobuf.Timestamp start_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Output only. Time when this workstation was most recently successfully
       started, regardless of the workstation's initial state.
       
      .google.protobuf.Timestamp start_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasDeleteTime

      boolean hasDeleteTime()
       Output only. Time when this workstation was soft-deleted.
       
      .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the deleteTime field is set.
    • getDeleteTime

      com.google.protobuf.Timestamp getDeleteTime()
       Output only. Time when this workstation was soft-deleted.
       
      .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The deleteTime.
    • getDeleteTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
       Output only. Time when this workstation was soft-deleted.
       
      .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEtag

      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];
      Returns:
      The etag.
    • getEtagBytes

      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];
      Returns:
      The bytes for etag.
    • getStateValue

      int getStateValue()
       Output only. Current state of the workstation.
       
      .google.cloud.workstations.v1beta.Workstation.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

      Workstation.State getState()
       Output only. Current state of the workstation.
       
      .google.cloud.workstations.v1beta.Workstation.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getHost

      String getHost()
       Output only. Host to which clients can send HTTPS traffic that will be
       received by the workstation. Authorized traffic will be received to the
       workstation as HTTP on port 80. To send traffic to a different port,
       clients may prefix the host with the destination port in the format
       `{port}-{host}`.
       
      string host = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The host.
    • getHostBytes

      com.google.protobuf.ByteString getHostBytes()
       Output only. Host to which clients can send HTTPS traffic that will be
       received by the workstation. Authorized traffic will be received to the
       workstation as HTTP on port 80. To send traffic to a different port,
       clients may prefix the host with the destination port in the format
       `{port}-{host}`.
       
      string host = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for host.
    • getEnvCount

      int getEnvCount()
       Optional. Environment variables passed to the workstation container's
       entrypoint.
       
      map<string, string> env = 12 [(.google.api.field_behavior) = OPTIONAL];
    • containsEnv

      boolean containsEnv(String key)
       Optional. Environment variables passed to the workstation container's
       entrypoint.
       
      map<string, string> env = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getEnv

      Deprecated.
      Use getEnvMap() instead.
    • getEnvMap

      Map<String,String> getEnvMap()
       Optional. Environment variables passed to the workstation container's
       entrypoint.
       
      map<string, string> env = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getEnvOrDefault

      String getEnvOrDefault(String key, String defaultValue)
       Optional. Environment variables passed to the workstation container's
       entrypoint.
       
      map<string, string> env = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getEnvOrThrow

      String getEnvOrThrow(String key)
       Optional. Environment variables passed to the workstation container's
       entrypoint.
       
      map<string, string> env = 12 [(.google.api.field_behavior) = OPTIONAL];