Class UpdateSiteRequest.Builder

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

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

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

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

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

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

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

      public UpdateSiteRequest.Builder mergeFrom(UpdateSiteRequest other)
    • isInitialized

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

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

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

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

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

      public boolean hasSite()
       Required. The site to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Site site = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasSite in interface UpdateSiteRequestOrBuilder
      Returns:
      Whether the site field is set.
    • getSite

      public Site getSite()
       Required. The site to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Site site = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSite in interface UpdateSiteRequestOrBuilder
      Returns:
      The site.
    • setSite

      public UpdateSiteRequest.Builder setSite(Site value)
       Required. The site to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Site site = 2 [(.google.api.field_behavior) = REQUIRED];
    • setSite

      public UpdateSiteRequest.Builder setSite(Site.Builder builderForValue)
       Required. The site to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Site site = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeSite

      public UpdateSiteRequest.Builder mergeSite(Site value)
       Required. The site to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Site site = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearSite

      public UpdateSiteRequest.Builder clearSite()
       Required. The site to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Site site = 2 [(.google.api.field_behavior) = REQUIRED];
    • getSiteBuilder

      public Site.Builder getSiteBuilder()
       Required. The site to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Site site = 2 [(.google.api.field_behavior) = REQUIRED];
    • getSiteOrBuilder

      public SiteOrBuilder getSiteOrBuilder()
       Required. The site to update.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Site site = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSiteOrBuilder in interface UpdateSiteRequestOrBuilder
    • 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 UpdateSiteRequestOrBuilder
      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 UpdateSiteRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public UpdateSiteRequest.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 UpdateSiteRequest.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 UpdateSiteRequest.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.