Class UpdateHardwareGroupRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateHardwareGroupRequest.Builder>
com.google.cloud.gdchardwaremanagement.v1alpha.UpdateHardwareGroupRequest.Builder
All Implemented Interfaces:
UpdateHardwareGroupRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateHardwareGroupRequest

public static final class UpdateHardwareGroupRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateHardwareGroupRequest.Builder> implements UpdateHardwareGroupRequestOrBuilder
 A request to update a hardware group.
 
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.UpdateHardwareGroupRequest
  • 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<UpdateHardwareGroupRequest.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<UpdateHardwareGroupRequest.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<UpdateHardwareGroupRequest.Builder>
    • getDefaultInstanceForType

      public UpdateHardwareGroupRequest 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 UpdateHardwareGroupRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public UpdateHardwareGroupRequest.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<UpdateHardwareGroupRequest.Builder>
      Throws:
      IOException
    • hasUpdateMask

      public boolean hasUpdateMask()
       Required. A mask to specify the fields in the HardwareGroup to overwrite
       with this update. The fields specified in the update_mask are relative to
       the hardware group, not the full request. A field will be overwritten if it
       is in the mask. If you don't provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUpdateMask in interface UpdateHardwareGroupRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. A mask to specify the fields in the HardwareGroup to overwrite
       with this update. The fields specified in the update_mask are relative to
       the hardware group, not the full request. A field will be overwritten if it
       is in the mask. If you don't provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMask in interface UpdateHardwareGroupRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateHardwareGroupRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. A mask to specify the fields in the HardwareGroup to overwrite
       with this update. The fields specified in the update_mask are relative to
       the hardware group, not the full request. A field will be overwritten if it
       is in the mask. If you don't provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • setUpdateMask

      public UpdateHardwareGroupRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. A mask to specify the fields in the HardwareGroup to overwrite
       with this update. The fields specified in the update_mask are relative to
       the hardware group, not the full request. A field will be overwritten if it
       is in the mask. If you don't provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeUpdateMask

      public UpdateHardwareGroupRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. A mask to specify the fields in the HardwareGroup to overwrite
       with this update. The fields specified in the update_mask are relative to
       the hardware group, not the full request. A field will be overwritten if it
       is in the mask. If you don't provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearUpdateMask

      public UpdateHardwareGroupRequest.Builder clearUpdateMask()
       Required. A mask to specify the fields in the HardwareGroup to overwrite
       with this update. The fields specified in the update_mask are relative to
       the hardware group, not the full request. A field will be overwritten if it
       is in the mask. If you don't provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Required. A mask to specify the fields in the HardwareGroup to overwrite
       with this update. The fields specified in the update_mask are relative to
       the hardware group, not the full request. A field will be overwritten if it
       is in the mask. If you don't provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Required. A mask to specify the fields in the HardwareGroup to overwrite
       with this update. The fields specified in the update_mask are relative to
       the hardware group, not the full request. A field will be overwritten if it
       is in the mask. If you don't provide a mask then all fields will be
       overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateHardwareGroupRequestOrBuilder
    • hasHardwareGroup

      public boolean hasHardwareGroup()
       Required. The hardware group to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_group = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasHardwareGroup in interface UpdateHardwareGroupRequestOrBuilder
      Returns:
      Whether the hardwareGroup field is set.
    • getHardwareGroup

      public HardwareGroup getHardwareGroup()
       Required. The hardware group to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_group = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHardwareGroup in interface UpdateHardwareGroupRequestOrBuilder
      Returns:
      The hardwareGroup.
    • setHardwareGroup

      public UpdateHardwareGroupRequest.Builder setHardwareGroup(HardwareGroup value)
       Required. The hardware group to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_group = 2 [(.google.api.field_behavior) = REQUIRED];
    • setHardwareGroup

      public UpdateHardwareGroupRequest.Builder setHardwareGroup(HardwareGroup.Builder builderForValue)
       Required. The hardware group to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_group = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeHardwareGroup

      public UpdateHardwareGroupRequest.Builder mergeHardwareGroup(HardwareGroup value)
       Required. The hardware group to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_group = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearHardwareGroup

      public UpdateHardwareGroupRequest.Builder clearHardwareGroup()
       Required. The hardware group to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_group = 2 [(.google.api.field_behavior) = REQUIRED];
    • getHardwareGroupBuilder

      public HardwareGroup.Builder getHardwareGroupBuilder()
       Required. The hardware group to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_group = 2 [(.google.api.field_behavior) = REQUIRED];
    • getHardwareGroupOrBuilder

      public HardwareGroupOrBuilder getHardwareGroupOrBuilder()
       Required. The hardware group to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_group = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHardwareGroupOrBuilder in interface UpdateHardwareGroupRequestOrBuilder
    • getRequestId

      public String getRequestId()
       Optional. An optional unique identifier for this request. See
       [AIP-155](https://google.aip.dev/155).
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestId in interface UpdateHardwareGroupRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Optional. An optional unique identifier for this request. See
       [AIP-155](https://google.aip.dev/155).
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestIdBytes in interface UpdateHardwareGroupRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public UpdateHardwareGroupRequest.Builder setRequestId(String value)
       Optional. An optional unique identifier for this request. See
       [AIP-155](https://google.aip.dev/155).
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public UpdateHardwareGroupRequest.Builder clearRequestId()
       Optional. An optional unique identifier for this request. See
       [AIP-155](https://google.aip.dev/155).
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public UpdateHardwareGroupRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       Optional. An optional unique identifier for this request. See
       [AIP-155](https://google.aip.dev/155).
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.