Class UpdateWorkstationRequest.Builder

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

public static final class UpdateWorkstationRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateWorkstationRequest.Builder> implements UpdateWorkstationRequestOrBuilder
 Request message for UpdateWorkstation.
 
Protobuf type google.cloud.workstations.v1beta.UpdateWorkstationRequest
  • 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<UpdateWorkstationRequest.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<UpdateWorkstationRequest.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<UpdateWorkstationRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdateWorkstationRequest.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<UpdateWorkstationRequest.Builder>
      Throws:
      IOException
    • hasWorkstation

      public boolean hasWorkstation()
       Required. Workstation to update.
       
      .google.cloud.workstations.v1beta.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasWorkstation in interface UpdateWorkstationRequestOrBuilder
      Returns:
      Whether the workstation field is set.
    • getWorkstation

      public Workstation getWorkstation()
       Required. Workstation to update.
       
      .google.cloud.workstations.v1beta.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWorkstation in interface UpdateWorkstationRequestOrBuilder
      Returns:
      The workstation.
    • setWorkstation

      public UpdateWorkstationRequest.Builder setWorkstation(Workstation value)
       Required. Workstation to update.
       
      .google.cloud.workstations.v1beta.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
    • setWorkstation

      public UpdateWorkstationRequest.Builder setWorkstation(Workstation.Builder builderForValue)
       Required. Workstation to update.
       
      .google.cloud.workstations.v1beta.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeWorkstation

      public UpdateWorkstationRequest.Builder mergeWorkstation(Workstation value)
       Required. Workstation to update.
       
      .google.cloud.workstations.v1beta.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearWorkstation

      public UpdateWorkstationRequest.Builder clearWorkstation()
       Required. Workstation to update.
       
      .google.cloud.workstations.v1beta.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
    • getWorkstationBuilder

      public Workstation.Builder getWorkstationBuilder()
       Required. Workstation to update.
       
      .google.cloud.workstations.v1beta.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
    • getWorkstationOrBuilder

      public WorkstationOrBuilder getWorkstationOrBuilder()
       Required. Workstation to update.
       
      .google.cloud.workstations.v1beta.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWorkstationOrBuilder in interface UpdateWorkstationRequestOrBuilder
    • 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 UpdateWorkstationRequestOrBuilder
      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 UpdateWorkstationRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateWorkstationRequest.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 UpdateWorkstationRequest.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 UpdateWorkstationRequest.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 UpdateWorkstationRequest.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 UpdateWorkstationRequestOrBuilder
    • 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 UpdateWorkstationRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      public UpdateWorkstationRequest.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 UpdateWorkstationRequest.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 is created. In this situation, update_mask
       is ignored.
       
      bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAllowMissing in interface UpdateWorkstationRequestOrBuilder
      Returns:
      The allowMissing.
    • setAllowMissing

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