Class UpdateDataProductRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateDataProductRequest.Builder>
com.google.cloud.dataplex.v1.UpdateDataProductRequest.Builder
All Implemented Interfaces:
UpdateDataProductRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateDataProductRequest

public static final class UpdateDataProductRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateDataProductRequest.Builder> implements UpdateDataProductRequestOrBuilder
 Request message for updating a data product.
 
Protobuf type google.cloud.dataplex.v1.UpdateDataProductRequest
  • 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<UpdateDataProductRequest.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<UpdateDataProductRequest.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<UpdateDataProductRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdateDataProductRequest.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<UpdateDataProductRequest.Builder>
      Throws:
      IOException
    • hasDataProduct

      public boolean hasDataProduct()
       Required. The data product to update.
       The data product's `name` field is used to identify the data product to
       update.
       
      .google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDataProduct in interface UpdateDataProductRequestOrBuilder
      Returns:
      Whether the dataProduct field is set.
    • getDataProduct

      public DataProduct getDataProduct()
       Required. The data product to update.
       The data product's `name` field is used to identify the data product to
       update.
       
      .google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataProduct in interface UpdateDataProductRequestOrBuilder
      Returns:
      The dataProduct.
    • setDataProduct

      public UpdateDataProductRequest.Builder setDataProduct(DataProduct value)
       Required. The data product to update.
       The data product's `name` field is used to identify the data product to
       update.
       
      .google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];
    • setDataProduct

      public UpdateDataProductRequest.Builder setDataProduct(DataProduct.Builder builderForValue)
       Required. The data product to update.
       The data product's `name` field is used to identify the data product to
       update.
       
      .google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeDataProduct

      public UpdateDataProductRequest.Builder mergeDataProduct(DataProduct value)
       Required. The data product to update.
       The data product's `name` field is used to identify the data product to
       update.
       
      .google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearDataProduct

      public UpdateDataProductRequest.Builder clearDataProduct()
       Required. The data product to update.
       The data product's `name` field is used to identify the data product to
       update.
       
      .google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDataProductBuilder

      public DataProduct.Builder getDataProductBuilder()
       Required. The data product to update.
       The data product's `name` field is used to identify the data product to
       update.
       
      .google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDataProductOrBuilder

      public DataProductOrBuilder getDataProductOrBuilder()
       Required. The data product to update.
       The data product's `name` field is used to identify the data product to
       update.
       
      .google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataProductOrBuilder in interface UpdateDataProductRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. The list of fields to update.
       If this is empty or not set, then all the fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateDataProductRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. The list of fields to update.
       If this is empty or not set, then all the fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateDataProductRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateDataProductRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to update.
       If this is empty or not set, then all the fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateDataProductRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. The list of fields to update.
       If this is empty or not set, then all the fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateDataProductRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to update.
       If this is empty or not set, then all the fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateDataProductRequest.Builder clearUpdateMask()
       Optional. The list of fields to update.
       If this is empty or not set, then all the fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. The list of fields to update.
       If this is empty or not set, then all the fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. The list of fields to update.
       If this is empty or not set, then all the fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateDataProductRequestOrBuilder
    • getValidateOnly

      public boolean getValidateOnly()
       Optional. Validates the request without actually updating the data product.
       Default: false.
       
      bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValidateOnly in interface UpdateDataProductRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      public UpdateDataProductRequest.Builder setValidateOnly(boolean value)
       Optional. Validates the request without actually updating the data product.
       Default: false.
       
      bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • clearValidateOnly

      public UpdateDataProductRequest.Builder clearValidateOnly()
       Optional. Validates the request without actually updating the data product.
       Default: false.
       
      bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.