Class UpdateServiceRequest.Builder

  • All Implemented Interfaces:
    UpdateServiceRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    UpdateServiceRequest

    public static final class UpdateServiceRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
    implements UpdateServiceRequestOrBuilder
     Request message for
     [DataprocMetastore.UpdateService][google.cloud.metastore.v1.DataprocMetastore.UpdateService].
     
    Protobuf type google.cloud.metastore.v1.UpdateServiceRequest
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
      • clear

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

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

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

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

        public UpdateServiceRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
      • setField

        public UpdateServiceRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
      • clearField

        public UpdateServiceRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
      • clearOneof

        public UpdateServiceRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
      • setRepeatedField

        public UpdateServiceRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             int index,
                                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
      • addRepeatedField

        public UpdateServiceRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
      • isInitialized

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

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

        public boolean hasUpdateMask()
         Required. A field mask used to specify the fields to be overwritten in the
         metastore service 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 UpdateServiceRequestOrBuilder
        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 service 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 UpdateServiceRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateServiceRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Required. A field mask used to specify the fields to be overwritten in the
         metastore service 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 UpdateServiceRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Required. A field mask used to specify the fields to be overwritten in the
         metastore service 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 UpdateServiceRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Required. A field mask used to specify the fields to be overwritten in the
         metastore service 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 UpdateServiceRequest.Builder clearUpdateMask()
         Required. A field mask used to specify the fields to be overwritten in the
         metastore service 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 service 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 service 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 UpdateServiceRequestOrBuilder
      • hasService

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

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

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

        public UpdateServiceRequest.Builder setService​(Service.Builder builderForValue)
         Required. The metastore service to update. The server only merges fields
         in the service if they are specified in `update_mask`.
        
         The metastore service's `name` field is used to identify the metastore
         service to be updated.
         
        .google.cloud.metastore.v1.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeService

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

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

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

        public ServiceOrBuilder getServiceOrBuilder()
         Required. The metastore service to update. The server only merges fields
         in the service if they are specified in `update_mask`.
        
         The metastore service's `name` field is used to identify the metastore
         service to be updated.
         
        .google.cloud.metastore.v1.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getServiceOrBuilder in interface UpdateServiceRequestOrBuilder
      • 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 UpdateServiceRequestOrBuilder
        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 UpdateServiceRequestOrBuilder
        Returns:
        The bytes for requestId.
      • setRequestId

        public UpdateServiceRequest.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 UpdateServiceRequest.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 UpdateServiceRequest.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.
      • setUnknownFields

        public final UpdateServiceRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>
      • mergeUnknownFields

        public final UpdateServiceRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceRequest.Builder>