Class UpdateWorkstationConfigRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateWorkstationConfigRequest.Builder>
com.google.cloud.workstations.v1beta.UpdateWorkstationConfigRequest.Builder
All Implemented Interfaces:
UpdateWorkstationConfigRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateWorkstationConfigRequest

public static final class UpdateWorkstationConfigRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateWorkstationConfigRequest.Builder> implements UpdateWorkstationConfigRequestOrBuilder
 Request message for UpdateWorkstationConfig.
 
Protobuf type google.cloud.workstations.v1beta.UpdateWorkstationConfigRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateWorkstationConfigRequest.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.GeneratedMessage.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.GeneratedMessage.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

      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
    • mergeFrom

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

    • isInitialized

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

      public UpdateWorkstationConfigRequest.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<UpdateWorkstationConfigRequest.Builder>
      Throws:
      IOException
    • 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.
    • getWorkstationConfig

      public WorkstationConfig getWorkstationConfig()
       Required. Config to update.
       
      .google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWorkstationConfig in interface UpdateWorkstationConfigRequestOrBuilder
      Returns:
      The workstationConfig.
    • setWorkstationConfig

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

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

      public UpdateWorkstationConfigRequest.Builder mergeWorkstationConfig(WorkstationConfig value)
       Required. Config to update.
       
      .google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
    • 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];
    • getWorkstationConfigOrBuilder

      public WorkstationConfigOrBuilder getWorkstationConfigOrBuilder()
       Required. Config to update.
       
      .google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWorkstationConfigOrBuilder in interface UpdateWorkstationConfigRequestOrBuilder
    • 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.