Class UpdateWorkstationClusterRequest.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<UpdateWorkstationClusterRequest.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<UpdateWorkstationClusterRequest.Builder>
      • getDefaultInstanceForType

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

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

        public UpdateWorkstationClusterRequest 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<UpdateWorkstationClusterRequest.Builder>
      • hasWorkstationCluster

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

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

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

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

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

        public boolean hasUpdateMask()
         Required. Mask that specifies which fields in the workstation cluster
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasUpdateMask in interface UpdateWorkstationClusterRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Required. Mask that specifies which fields in the workstation cluster
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMask in interface UpdateWorkstationClusterRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateWorkstationClusterRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Required. Mask that specifies which fields in the workstation cluster
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • setUpdateMask

        public UpdateWorkstationClusterRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Required. Mask that specifies which fields in the workstation cluster
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeUpdateMask

        public UpdateWorkstationClusterRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Required. Mask that specifies which fields in the workstation cluster
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearUpdateMask

        public UpdateWorkstationClusterRequest.Builder clearUpdateMask()
         Required. Mask that specifies which fields in the workstation cluster
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Required. Mask that specifies which fields in the workstation cluster
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Required. Mask that specifies which fields in the workstation cluster
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateWorkstationClusterRequestOrBuilder
      • getValidateOnly

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

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

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

        public boolean getAllowMissing()
         Optional. If set, and the workstation cluster is not found, a new
         workstation cluster will be created. In this situation, update_mask is
         ignored.
         
        bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAllowMissing in interface UpdateWorkstationClusterRequestOrBuilder
        Returns:
        The allowMissing.
      • setAllowMissing

        public UpdateWorkstationClusterRequest.Builder setAllowMissing​(boolean value)
         Optional. If set, and the workstation cluster is not found, a new
         workstation cluster will be created. In this situation, update_mask is
         ignored.
         
        bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The allowMissing to set.
        Returns:
        This builder for chaining.
      • clearAllowMissing

        public UpdateWorkstationClusterRequest.Builder clearAllowMissing()
         Optional. If set, and the workstation cluster is not found, a new
         workstation cluster will be created. In this situation, update_mask is
         ignored.
         
        bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.