Class UpdateWorkstationClusterRequest.Builder

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

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

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

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

      public UpdateWorkstationClusterRequest.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<UpdateWorkstationClusterRequest.Builder>
      Throws:
      IOException
    • 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.
    • getWorkstationCluster

      public WorkstationCluster getWorkstationCluster()
       Required. Workstation cluster to update.
       
      .google.cloud.workstations.v1beta.WorkstationCluster workstation_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWorkstationCluster in interface UpdateWorkstationClusterRequestOrBuilder
      Returns:
      The workstationCluster.
    • 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];
    • setWorkstationCluster

      public UpdateWorkstationClusterRequest.Builder setWorkstationCluster(WorkstationCluster.Builder builderForValue)
       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];
    • getWorkstationClusterOrBuilder

      public WorkstationClusterOrBuilder getWorkstationClusterOrBuilder()
       Required. Workstation cluster to update.
       
      .google.cloud.workstations.v1beta.WorkstationCluster workstation_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWorkstationClusterOrBuilder in interface UpdateWorkstationClusterRequestOrBuilder
    • 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.