Class WorkstationCluster.Builder

  • All Implemented Interfaces:
    WorkstationClusterOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    WorkstationCluster

    public static final class WorkstationCluster.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<WorkstationCluster.Builder>
    implements WorkstationClusterOrBuilder
     A workstation cluster resource in the Cloud Workstations API.
    
     Defines a group of workstations in a particular region and the
     VPC network they're attached to.
     
    Protobuf type google.cloud.workstations.v1.WorkstationCluster
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkstationCluster.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkstationCluster.Builder>
      • internalGetFieldAccessorTable

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

        public WorkstationCluster.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.GeneratedMessageV3.Builder<WorkstationCluster.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.GeneratedMessageV3.Builder<WorkstationCluster.Builder>
      • getDefaultInstanceForType

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

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

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

        public WorkstationCluster.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<WorkstationCluster.Builder>
      • setField

        public WorkstationCluster.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkstationCluster.Builder>
      • clearField

        public WorkstationCluster.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkstationCluster.Builder>
      • clearOneof

        public WorkstationCluster.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<WorkstationCluster.Builder>
      • setRepeatedField

        public WorkstationCluster.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           int index,
                                                           Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkstationCluster.Builder>
      • addRepeatedField

        public WorkstationCluster.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkstationCluster.Builder>
      • mergeFrom

        public WorkstationCluster.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<WorkstationCluster.Builder>
      • isInitialized

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

        public WorkstationCluster.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<WorkstationCluster.Builder>
        Throws:
        IOException
      • getNameBytes

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

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

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

        public WorkstationCluster.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Full name of this workstation cluster.
         
        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 cluster.
         
        string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDisplayName in interface WorkstationClusterOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Optional. Human-readable name for this workstation cluster.
         
        string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDisplayNameBytes in interface WorkstationClusterOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

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

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

        public WorkstationCluster.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         Optional. Human-readable name for this workstation cluster.
         
        string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getUid

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

        public com.google.protobuf.ByteString getUidBytes()
         Output only. A system-assigned unique identifier for this workstation
         cluster.
         
        string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUidBytes in interface WorkstationClusterOrBuilder
        Returns:
        The bytes for uid.
      • setUid

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

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

        public WorkstationCluster.Builder setUidBytes​(com.google.protobuf.ByteString value)
         Output only. A system-assigned unique identifier for this workstation
         cluster.
         
        string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for uid to set.
        Returns:
        This builder for chaining.
      • getReconciling

        public boolean getReconciling()
         Output only. Indicates whether this workstation cluster is currently being
         updated to match its intended state.
         
        bool reconciling = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getReconciling in interface WorkstationClusterOrBuilder
        Returns:
        The reconciling.
      • setReconciling

        public WorkstationCluster.Builder setReconciling​(boolean value)
         Output only. Indicates whether this workstation cluster is currently being
         updated to match its intended state.
         
        bool reconciling = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The reconciling to set.
        Returns:
        This builder for chaining.
      • clearReconciling

        public WorkstationCluster.Builder clearReconciling()
         Output only. Indicates whether this workstation cluster is currently being
         updated to match its intended state.
         
        bool reconciling = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • 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 WorkstationClusterOrBuilder
      • removeAnnotations

        public WorkstationCluster.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 WorkstationCluster.Builder putAnnotations​(String key,
                                                         String value)
         Optional. Client-specified annotations.
         
        map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      • putAllAnnotations

        public WorkstationCluster.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: WorkstationClusterOrBuilder
         Optional.
         [Labels](https://cloud.google.com/workstations/docs/label-resources) that
         are applied to the workstation cluster and that are also propagated to the
         underlying Compute Engine resources.
         
        map<string, string> labels = 15 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsCount in interface WorkstationClusterOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Optional.
         [Labels](https://cloud.google.com/workstations/docs/label-resources) that
         are applied to the workstation cluster and that are also propagated to the
         underlying Compute Engine resources.
         
        map<string, string> labels = 15 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsLabels in interface WorkstationClusterOrBuilder
      • getLabelsMap

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

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

        public String getLabelsOrThrow​(String key)
         Optional.
         [Labels](https://cloud.google.com/workstations/docs/label-resources) that
         are applied to the workstation cluster and that are also propagated to the
         underlying Compute Engine resources.
         
        map<string, string> labels = 15 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsOrThrow in interface WorkstationClusterOrBuilder
      • removeLabels

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

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

        public WorkstationCluster.Builder putLabels​(String key,
                                                    String value)
         Optional.
         [Labels](https://cloud.google.com/workstations/docs/label-resources) that
         are applied to the workstation cluster and that are also propagated to the
         underlying Compute Engine resources.
         
        map<string, string> labels = 15 [(.google.api.field_behavior) = OPTIONAL];
      • putAllLabels

        public WorkstationCluster.Builder putAllLabels​(Map<String,​String> values)
         Optional.
         [Labels](https://cloud.google.com/workstations/docs/label-resources) that
         are applied to the workstation cluster and that are also propagated to the
         underlying Compute Engine resources.
         
        map<string, string> labels = 15 [(.google.api.field_behavior) = OPTIONAL];
      • hasCreateTime

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

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. Time when this workstation cluster was created.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface WorkstationClusterOrBuilder
        Returns:
        The createTime.
      • setCreateTime

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

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

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

        public WorkstationCluster.Builder clearCreateTime()
         Output only. Time when this workstation cluster was created.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

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

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Time when this workstation cluster was created.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface WorkstationClusterOrBuilder
      • hasUpdateTime

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

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. Time when this workstation cluster was most recently updated.
         
        .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface WorkstationClusterOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

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

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

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

        public WorkstationCluster.Builder clearUpdateTime()
         Output only. Time when this workstation cluster was most recently updated.
         
        .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

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

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Time when this workstation cluster was most recently updated.
         
        .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface WorkstationClusterOrBuilder
      • hasDeleteTime

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

        public com.google.protobuf.Timestamp getDeleteTime()
         Output only. Time when this workstation cluster was soft-deleted.
         
        .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDeleteTime in interface WorkstationClusterOrBuilder
        Returns:
        The deleteTime.
      • setDeleteTime

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

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

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

        public WorkstationCluster.Builder clearDeleteTime()
         Output only. Time when this workstation cluster was soft-deleted.
         
        .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDeleteTimeBuilder

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

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

        public WorkstationCluster.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 WorkstationCluster.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 WorkstationCluster.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.
      • getNetwork

        public String getNetwork()
         Immutable. Name of the Compute Engine network in which instances associated
         with this workstation cluster will be created.
         
        string network = 10 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getNetwork in interface WorkstationClusterOrBuilder
        Returns:
        The network.
      • getNetworkBytes

        public com.google.protobuf.ByteString getNetworkBytes()
         Immutable. Name of the Compute Engine network in which instances associated
         with this workstation cluster will be created.
         
        string network = 10 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getNetworkBytes in interface WorkstationClusterOrBuilder
        Returns:
        The bytes for network.
      • setNetwork

        public WorkstationCluster.Builder setNetwork​(String value)
         Immutable. Name of the Compute Engine network in which instances associated
         with this workstation cluster will be created.
         
        string network = 10 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The network to set.
        Returns:
        This builder for chaining.
      • clearNetwork

        public WorkstationCluster.Builder clearNetwork()
         Immutable. Name of the Compute Engine network in which instances associated
         with this workstation cluster will be created.
         
        string network = 10 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • setNetworkBytes

        public WorkstationCluster.Builder setNetworkBytes​(com.google.protobuf.ByteString value)
         Immutable. Name of the Compute Engine network in which instances associated
         with this workstation cluster will be created.
         
        string network = 10 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The bytes for network to set.
        Returns:
        This builder for chaining.
      • getSubnetwork

        public String getSubnetwork()
         Immutable. Name of the Compute Engine subnetwork in which instances
         associated with this workstation cluster will be created. Must be part of
         the subnetwork specified for this workstation cluster.
         
        string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getSubnetwork in interface WorkstationClusterOrBuilder
        Returns:
        The subnetwork.
      • getSubnetworkBytes

        public com.google.protobuf.ByteString getSubnetworkBytes()
         Immutable. Name of the Compute Engine subnetwork in which instances
         associated with this workstation cluster will be created. Must be part of
         the subnetwork specified for this workstation cluster.
         
        string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getSubnetworkBytes in interface WorkstationClusterOrBuilder
        Returns:
        The bytes for subnetwork.
      • setSubnetwork

        public WorkstationCluster.Builder setSubnetwork​(String value)
         Immutable. Name of the Compute Engine subnetwork in which instances
         associated with this workstation cluster will be created. Must be part of
         the subnetwork specified for this workstation cluster.
         
        string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The subnetwork to set.
        Returns:
        This builder for chaining.
      • clearSubnetwork

        public WorkstationCluster.Builder clearSubnetwork()
         Immutable. Name of the Compute Engine subnetwork in which instances
         associated with this workstation cluster will be created. Must be part of
         the subnetwork specified for this workstation cluster.
         
        string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • setSubnetworkBytes

        public WorkstationCluster.Builder setSubnetworkBytes​(com.google.protobuf.ByteString value)
         Immutable. Name of the Compute Engine subnetwork in which instances
         associated with this workstation cluster will be created. Must be part of
         the subnetwork specified for this workstation cluster.
         
        string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The bytes for subnetwork to set.
        Returns:
        This builder for chaining.
      • getControlPlaneIp

        public String getControlPlaneIp()
         Output only. The private IP address of the control plane for this
         workstation cluster. Workstation VMs need access to this IP address to work
         with the service, so make sure that your firewall rules allow egress from
         the workstation VMs to this address.
         
        string control_plane_ip = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getControlPlaneIp in interface WorkstationClusterOrBuilder
        Returns:
        The controlPlaneIp.
      • getControlPlaneIpBytes

        public com.google.protobuf.ByteString getControlPlaneIpBytes()
         Output only. The private IP address of the control plane for this
         workstation cluster. Workstation VMs need access to this IP address to work
         with the service, so make sure that your firewall rules allow egress from
         the workstation VMs to this address.
         
        string control_plane_ip = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getControlPlaneIpBytes in interface WorkstationClusterOrBuilder
        Returns:
        The bytes for controlPlaneIp.
      • setControlPlaneIp

        public WorkstationCluster.Builder setControlPlaneIp​(String value)
         Output only. The private IP address of the control plane for this
         workstation cluster. Workstation VMs need access to this IP address to work
         with the service, so make sure that your firewall rules allow egress from
         the workstation VMs to this address.
         
        string control_plane_ip = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The controlPlaneIp to set.
        Returns:
        This builder for chaining.
      • clearControlPlaneIp

        public WorkstationCluster.Builder clearControlPlaneIp()
         Output only. The private IP address of the control plane for this
         workstation cluster. Workstation VMs need access to this IP address to work
         with the service, so make sure that your firewall rules allow egress from
         the workstation VMs to this address.
         
        string control_plane_ip = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setControlPlaneIpBytes

        public WorkstationCluster.Builder setControlPlaneIpBytes​(com.google.protobuf.ByteString value)
         Output only. The private IP address of the control plane for this
         workstation cluster. Workstation VMs need access to this IP address to work
         with the service, so make sure that your firewall rules allow egress from
         the workstation VMs to this address.
         
        string control_plane_ip = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for controlPlaneIp to set.
        Returns:
        This builder for chaining.
      • hasPrivateClusterConfig

        public boolean hasPrivateClusterConfig()
         Optional. Configuration for private workstation cluster.
         
        .google.cloud.workstations.v1.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasPrivateClusterConfig in interface WorkstationClusterOrBuilder
        Returns:
        Whether the privateClusterConfig field is set.
      • setPrivateClusterConfig

        public WorkstationCluster.Builder setPrivateClusterConfig​(WorkstationCluster.PrivateClusterConfig value)
         Optional. Configuration for private workstation cluster.
         
        .google.cloud.workstations.v1.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      • mergePrivateClusterConfig

        public WorkstationCluster.Builder mergePrivateClusterConfig​(WorkstationCluster.PrivateClusterConfig value)
         Optional. Configuration for private workstation cluster.
         
        .google.cloud.workstations.v1.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      • clearPrivateClusterConfig

        public WorkstationCluster.Builder clearPrivateClusterConfig()
         Optional. Configuration for private workstation cluster.
         
        .google.cloud.workstations.v1.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      • getPrivateClusterConfigBuilder

        public WorkstationCluster.PrivateClusterConfig.Builder getPrivateClusterConfigBuilder()
         Optional. Configuration for private workstation cluster.
         
        .google.cloud.workstations.v1.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      • getDegraded

        public boolean getDegraded()
         Output only. Whether this workstation cluster is in degraded mode, in which
         case it may require user action to restore full functionality. Details can
         be found in
         [conditions][google.cloud.workstations.v1.WorkstationCluster.conditions].
         
        bool degraded = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDegraded in interface WorkstationClusterOrBuilder
        Returns:
        The degraded.
      • setDegraded

        public WorkstationCluster.Builder setDegraded​(boolean value)
         Output only. Whether this workstation cluster is in degraded mode, in which
         case it may require user action to restore full functionality. Details can
         be found in
         [conditions][google.cloud.workstations.v1.WorkstationCluster.conditions].
         
        bool degraded = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The degraded to set.
        Returns:
        This builder for chaining.
      • clearDegraded

        public WorkstationCluster.Builder clearDegraded()
         Output only. Whether this workstation cluster is in degraded mode, in which
         case it may require user action to restore full functionality. Details can
         be found in
         [conditions][google.cloud.workstations.v1.WorkstationCluster.conditions].
         
        bool degraded = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getConditionsList

        public List<com.google.rpc.Status> getConditionsList()
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConditionsList in interface WorkstationClusterOrBuilder
      • getConditionsCount

        public int getConditionsCount()
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConditionsCount in interface WorkstationClusterOrBuilder
      • getConditions

        public com.google.rpc.Status getConditions​(int index)
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConditions in interface WorkstationClusterOrBuilder
      • setConditions

        public WorkstationCluster.Builder setConditions​(int index,
                                                        com.google.rpc.Status value)
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setConditions

        public WorkstationCluster.Builder setConditions​(int index,
                                                        com.google.rpc.Status.Builder builderForValue)
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addConditions

        public WorkstationCluster.Builder addConditions​(com.google.rpc.Status value)
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addConditions

        public WorkstationCluster.Builder addConditions​(int index,
                                                        com.google.rpc.Status value)
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addConditions

        public WorkstationCluster.Builder addConditions​(com.google.rpc.Status.Builder builderForValue)
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addConditions

        public WorkstationCluster.Builder addConditions​(int index,
                                                        com.google.rpc.Status.Builder builderForValue)
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addAllConditions

        public WorkstationCluster.Builder addAllConditions​(Iterable<? extends com.google.rpc.Status> values)
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearConditions

        public WorkstationCluster.Builder clearConditions()
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removeConditions

        public WorkstationCluster.Builder removeConditions​(int index)
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getConditionsBuilder

        public com.google.rpc.Status.Builder getConditionsBuilder​(int index)
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getConditionsOrBuilder

        public com.google.rpc.StatusOrBuilder getConditionsOrBuilder​(int index)
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConditionsOrBuilder in interface WorkstationClusterOrBuilder
      • getConditionsOrBuilderList

        public List<? extends com.google.rpc.StatusOrBuilder> getConditionsOrBuilderList()
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConditionsOrBuilderList in interface WorkstationClusterOrBuilder
      • addConditionsBuilder

        public com.google.rpc.Status.Builder addConditionsBuilder()
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addConditionsBuilder

        public com.google.rpc.Status.Builder addConditionsBuilder​(int index)
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getConditionsBuilderList

        public List<com.google.rpc.Status.Builder> getConditionsBuilderList()
         Output only. Status conditions describing the workstation cluster's current
         state.
         
        repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUnknownFields

        public final WorkstationCluster.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WorkstationCluster.Builder>
      • mergeUnknownFields

        public final WorkstationCluster.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WorkstationCluster.Builder>