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

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

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

        public UpdateWorkstationConfigRequest 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<UpdateWorkstationConfigRequest.Builder>
      • hasWorkstationConfig

        public boolean hasWorkstationConfig()
         Required. Config to update.
         
        .google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasWorkstationConfig in interface UpdateWorkstationConfigRequestOrBuilder
        Returns:
        Whether the workstationConfig field is set.
      • clearWorkstationConfig

        public UpdateWorkstationConfigRequest.Builder clearWorkstationConfig()
         Required. Config to update.
         
        .google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
      • getWorkstationConfigBuilder

        public WorkstationConfig.Builder getWorkstationConfigBuilder()
         Required. Config to update.
         
        .google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
      • hasUpdateMask

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

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

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

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

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

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

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

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Required. Mask specifying which fields in the workstation configuration
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateWorkstationConfigRequestOrBuilder
      • 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 UpdateWorkstationConfigRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public UpdateWorkstationConfigRequest.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 UpdateWorkstationConfigRequest.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 configuration is not found, a new
         workstation configuration will be created. In this situation,
         update_mask is ignored.
         
        bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAllowMissing in interface UpdateWorkstationConfigRequestOrBuilder
        Returns:
        The allowMissing.
      • setAllowMissing

        public UpdateWorkstationConfigRequest.Builder setAllowMissing​(boolean value)
         Optional. If set and the workstation configuration is not found, a new
         workstation configuration 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 UpdateWorkstationConfigRequest.Builder clearAllowMissing()
         Optional. If set and the workstation configuration is not found, a new
         workstation configuration will be created. In this situation,
         update_mask is ignored.
         
        bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.