Class UpdateZoneRequest.Builder

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

public static final class UpdateZoneRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateZoneRequest.Builder> implements UpdateZoneRequestOrBuilder
 A request to update a zone.
 
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.UpdateZoneRequest
  • 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<UpdateZoneRequest.Builder>
    • clear

      public UpdateZoneRequest.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<UpdateZoneRequest.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<UpdateZoneRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdateZoneRequest.Builder mergeFrom(UpdateZoneRequest other)
    • isInitialized

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

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

      public boolean hasUpdateMask()
       Required. A mask to specify the fields in the Zone to overwrite with this
       update. The fields specified in the update_mask are relative to the zone,
       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 UpdateZoneRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. A mask to specify the fields in the Zone to overwrite with this
       update. The fields specified in the update_mask are relative to the zone,
       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 UpdateZoneRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateZoneRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. A mask to specify the fields in the Zone to overwrite with this
       update. The fields specified in the update_mask are relative to the zone,
       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 UpdateZoneRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. A mask to specify the fields in the Zone to overwrite with this
       update. The fields specified in the update_mask are relative to the zone,
       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 UpdateZoneRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. A mask to specify the fields in the Zone to overwrite with this
       update. The fields specified in the update_mask are relative to the zone,
       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 UpdateZoneRequest.Builder clearUpdateMask()
       Required. A mask to specify the fields in the Zone to overwrite with this
       update. The fields specified in the update_mask are relative to the zone,
       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 Zone to overwrite with this
       update. The fields specified in the update_mask are relative to the zone,
       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 Zone to overwrite with this
       update. The fields specified in the update_mask are relative to the zone,
       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 UpdateZoneRequestOrBuilder
    • hasZone

      public boolean hasZone()
       Required. The zone to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasZone in interface UpdateZoneRequestOrBuilder
      Returns:
      Whether the zone field is set.
    • getZone

      public Zone getZone()
       Required. The zone to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getZone in interface UpdateZoneRequestOrBuilder
      Returns:
      The zone.
    • setZone

      public UpdateZoneRequest.Builder setZone(Zone value)
       Required. The zone to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED];
    • setZone

      public UpdateZoneRequest.Builder setZone(Zone.Builder builderForValue)
       Required. The zone to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeZone

      public UpdateZoneRequest.Builder mergeZone(Zone value)
       Required. The zone to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearZone

      public UpdateZoneRequest.Builder clearZone()
       Required. The zone to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED];
    • getZoneBuilder

      public Zone.Builder getZoneBuilder()
       Required. The zone to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED];
    • getZoneOrBuilder

      public ZoneOrBuilder getZoneOrBuilder()
       Required. The zone to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Zone zone = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getZoneOrBuilder in interface UpdateZoneRequestOrBuilder
    • 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, (.google.api.field_info) = { ... }
      Specified by:
      getRequestId in interface UpdateZoneRequestOrBuilder
      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, (.google.api.field_info) = { ... }
      Specified by:
      getRequestIdBytes in interface UpdateZoneRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public UpdateZoneRequest.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, (.google.api.field_info) = { ... }
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public UpdateZoneRequest.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, (.google.api.field_info) = { ... }
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public UpdateZoneRequest.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, (.google.api.field_info) = { ... }
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.