Class CreateWorkstationClusterRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateWorkstationClusterRequest.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<CreateWorkstationClusterRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public String getParent()
         Required. Parent resource name.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateWorkstationClusterRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. Parent resource name.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateWorkstationClusterRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateWorkstationClusterRequest.Builder setParent​(String value)
         Required. Parent resource name.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public CreateWorkstationClusterRequest.Builder clearParent()
         Required. Parent resource name.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateWorkstationClusterRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. Parent resource name.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getWorkstationClusterIdBytes

        public com.google.protobuf.ByteString getWorkstationClusterIdBytes()
         Required. ID to use for the workstation cluster.
         
        string workstation_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getWorkstationClusterIdBytes in interface CreateWorkstationClusterRequestOrBuilder
        Returns:
        The bytes for workstationClusterId.
      • setWorkstationClusterId

        public CreateWorkstationClusterRequest.Builder setWorkstationClusterId​(String value)
         Required. ID to use for the workstation cluster.
         
        string workstation_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The workstationClusterId to set.
        Returns:
        This builder for chaining.
      • clearWorkstationClusterId

        public CreateWorkstationClusterRequest.Builder clearWorkstationClusterId()
         Required. ID to use for the workstation cluster.
         
        string workstation_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setWorkstationClusterIdBytes

        public CreateWorkstationClusterRequest.Builder setWorkstationClusterIdBytes​(com.google.protobuf.ByteString value)
         Required. ID to use for the workstation cluster.
         
        string workstation_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for workstationClusterId to set.
        Returns:
        This builder for chaining.
      • hasWorkstationCluster

        public boolean hasWorkstationCluster()
         Required. Workstation cluster to create.
         
        .google.cloud.workstations.v1beta.WorkstationCluster workstation_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasWorkstationCluster in interface CreateWorkstationClusterRequestOrBuilder
        Returns:
        Whether the workstationCluster field is set.
      • setWorkstationCluster

        public CreateWorkstationClusterRequest.Builder setWorkstationCluster​(WorkstationCluster value)
         Required. Workstation cluster to create.
         
        .google.cloud.workstations.v1beta.WorkstationCluster workstation_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeWorkstationCluster

        public CreateWorkstationClusterRequest.Builder mergeWorkstationCluster​(WorkstationCluster value)
         Required. Workstation cluster to create.
         
        .google.cloud.workstations.v1beta.WorkstationCluster workstation_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearWorkstationCluster

        public CreateWorkstationClusterRequest.Builder clearWorkstationCluster()
         Required. Workstation cluster to create.
         
        .google.cloud.workstations.v1beta.WorkstationCluster workstation_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
      • getWorkstationClusterBuilder

        public WorkstationCluster.Builder getWorkstationClusterBuilder()
         Required. Workstation cluster to create.
         
        .google.cloud.workstations.v1beta.WorkstationCluster workstation_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
      • getValidateOnly

        public boolean getValidateOnly()
         Optional. If set, validate the request and preview the review, but do not
         actually apply it.
         
        bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getValidateOnly in interface CreateWorkstationClusterRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public CreateWorkstationClusterRequest.Builder setValidateOnly​(boolean value)
         Optional. If set, validate the request and preview the review, but do not
         actually apply it.
         
        bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • clearValidateOnly

        public CreateWorkstationClusterRequest.Builder clearValidateOnly()
         Optional. If set, validate the request and preview the review, but do not
         actually apply it.
         
        bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.