Class UpdateFederationRequest.Builder

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

public static final class UpdateFederationRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateFederationRequest.Builder> implements UpdateFederationRequestOrBuilder
 Request message for UpdateFederation.
 
Protobuf type google.cloud.metastore.v1beta.UpdateFederationRequest
  • 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<UpdateFederationRequest.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<UpdateFederationRequest.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<UpdateFederationRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public boolean hasUpdateMask()
       Required. A field mask used to specify the fields to be overwritten in the
       metastore federation resource by the update.
       Fields specified in the `update_mask` are relative to the resource (not
       to the full request). A field is overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUpdateMask in interface UpdateFederationRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. A field mask used to specify the fields to be overwritten in the
       metastore federation resource by the update.
       Fields specified in the `update_mask` are relative to the resource (not
       to the full request). A field is overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMask in interface UpdateFederationRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateFederationRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. A field mask used to specify the fields to be overwritten in the
       metastore federation resource by the update.
       Fields specified in the `update_mask` are relative to the resource (not
       to the full request). A field is overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • setUpdateMask

      public UpdateFederationRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. A field mask used to specify the fields to be overwritten in the
       metastore federation resource by the update.
       Fields specified in the `update_mask` are relative to the resource (not
       to the full request). A field is overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeUpdateMask

      public UpdateFederationRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. A field mask used to specify the fields to be overwritten in the
       metastore federation resource by the update.
       Fields specified in the `update_mask` are relative to the resource (not
       to the full request). A field is overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearUpdateMask

      public UpdateFederationRequest.Builder clearUpdateMask()
       Required. A field mask used to specify the fields to be overwritten in the
       metastore federation resource by the update.
       Fields specified in the `update_mask` are relative to the resource (not
       to the full request). A field is overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Required. A field mask used to specify the fields to be overwritten in the
       metastore federation resource by the update.
       Fields specified in the `update_mask` are relative to the resource (not
       to the full request). A field is overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Required. A field mask used to specify the fields to be overwritten in the
       metastore federation resource by the update.
       Fields specified in the `update_mask` are relative to the resource (not
       to the full request). A field is overwritten if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateFederationRequestOrBuilder
    • hasFederation

      public boolean hasFederation()
       Required. The metastore federation to update. The server only merges fields
       in the service if they are specified in `update_mask`.
      
       The metastore federation's `name` field is used to identify the
       metastore service to be updated.
       
      .google.cloud.metastore.v1beta.Federation federation = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasFederation in interface UpdateFederationRequestOrBuilder
      Returns:
      Whether the federation field is set.
    • getFederation

      public Federation getFederation()
       Required. The metastore federation to update. The server only merges fields
       in the service if they are specified in `update_mask`.
      
       The metastore federation's `name` field is used to identify the
       metastore service to be updated.
       
      .google.cloud.metastore.v1beta.Federation federation = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFederation in interface UpdateFederationRequestOrBuilder
      Returns:
      The federation.
    • setFederation

      public UpdateFederationRequest.Builder setFederation(Federation value)
       Required. The metastore federation to update. The server only merges fields
       in the service if they are specified in `update_mask`.
      
       The metastore federation's `name` field is used to identify the
       metastore service to be updated.
       
      .google.cloud.metastore.v1beta.Federation federation = 2 [(.google.api.field_behavior) = REQUIRED];
    • setFederation

      public UpdateFederationRequest.Builder setFederation(Federation.Builder builderForValue)
       Required. The metastore federation to update. The server only merges fields
       in the service if they are specified in `update_mask`.
      
       The metastore federation's `name` field is used to identify the
       metastore service to be updated.
       
      .google.cloud.metastore.v1beta.Federation federation = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeFederation

      public UpdateFederationRequest.Builder mergeFederation(Federation value)
       Required. The metastore federation to update. The server only merges fields
       in the service if they are specified in `update_mask`.
      
       The metastore federation's `name` field is used to identify the
       metastore service to be updated.
       
      .google.cloud.metastore.v1beta.Federation federation = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearFederation

      public UpdateFederationRequest.Builder clearFederation()
       Required. The metastore federation to update. The server only merges fields
       in the service if they are specified in `update_mask`.
      
       The metastore federation's `name` field is used to identify the
       metastore service to be updated.
       
      .google.cloud.metastore.v1beta.Federation federation = 2 [(.google.api.field_behavior) = REQUIRED];
    • getFederationBuilder

      public Federation.Builder getFederationBuilder()
       Required. The metastore federation to update. The server only merges fields
       in the service if they are specified in `update_mask`.
      
       The metastore federation's `name` field is used to identify the
       metastore service to be updated.
       
      .google.cloud.metastore.v1beta.Federation federation = 2 [(.google.api.field_behavior) = REQUIRED];
    • getFederationOrBuilder

      public FederationOrBuilder getFederationOrBuilder()
       Required. The metastore federation to update. The server only merges fields
       in the service if they are specified in `update_mask`.
      
       The metastore federation's `name` field is used to identify the
       metastore service to be updated.
       
      .google.cloud.metastore.v1beta.Federation federation = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFederationOrBuilder in interface UpdateFederationRequestOrBuilder
    • getRequestId

      public String getRequestId()
       Optional. A request ID. Specify a unique request ID to allow the server to
       ignore the request if it has completed. The server will ignore subsequent
       requests that provide a duplicate request ID for at least 60 minutes after
       the first request.
      
       For example, if an initial request times out, followed by another request
       with the same request ID, the server ignores the second request to prevent
       the creation of duplicate commitments.
      
       The request ID must be a valid
       [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
       A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestId in interface UpdateFederationRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Optional. A request ID. Specify a unique request ID to allow the server to
       ignore the request if it has completed. The server will ignore subsequent
       requests that provide a duplicate request ID for at least 60 minutes after
       the first request.
      
       For example, if an initial request times out, followed by another request
       with the same request ID, the server ignores the second request to prevent
       the creation of duplicate commitments.
      
       The request ID must be a valid
       [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
       A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestIdBytes in interface UpdateFederationRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public UpdateFederationRequest.Builder setRequestId(String value)
       Optional. A request ID. Specify a unique request ID to allow the server to
       ignore the request if it has completed. The server will ignore subsequent
       requests that provide a duplicate request ID for at least 60 minutes after
       the first request.
      
       For example, if an initial request times out, followed by another request
       with the same request ID, the server ignores the second request to prevent
       the creation of duplicate commitments.
      
       The request ID must be a valid
       [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
       A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public UpdateFederationRequest.Builder clearRequestId()
       Optional. A request ID. Specify a unique request ID to allow the server to
       ignore the request if it has completed. The server will ignore subsequent
       requests that provide a duplicate request ID for at least 60 minutes after
       the first request.
      
       For example, if an initial request times out, followed by another request
       with the same request ID, the server ignores the second request to prevent
       the creation of duplicate commitments.
      
       The request ID must be a valid
       [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
       A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public UpdateFederationRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       Optional. A request ID. Specify a unique request ID to allow the server to
       ignore the request if it has completed. The server will ignore subsequent
       requests that provide a duplicate request ID for at least 60 minutes after
       the first request.
      
       For example, if an initial request times out, followed by another request
       with the same request ID, the server ignores the second request to prevent
       the creation of duplicate commitments.
      
       The request ID must be a valid
       [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
       A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.