Class UpdateDataAssetRequest.Builder

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

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

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

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

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

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

      public UpdateDataAssetRequest.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<UpdateDataAssetRequest.Builder>
      Throws:
      IOException
    • hasDataAsset

      public boolean hasDataAsset()
       Required. The data asset to update.
       The data asset's `name` field is used to identify the data asset to update.
       
      .google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDataAsset in interface UpdateDataAssetRequestOrBuilder
      Returns:
      Whether the dataAsset field is set.
    • getDataAsset

      public DataAsset getDataAsset()
       Required. The data asset to update.
       The data asset's `name` field is used to identify the data asset to update.
       
      .google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataAsset in interface UpdateDataAssetRequestOrBuilder
      Returns:
      The dataAsset.
    • setDataAsset

      public UpdateDataAssetRequest.Builder setDataAsset(DataAsset value)
       Required. The data asset to update.
       The data asset's `name` field is used to identify the data asset to update.
       
      .google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
    • setDataAsset

      public UpdateDataAssetRequest.Builder setDataAsset(DataAsset.Builder builderForValue)
       Required. The data asset to update.
       The data asset's `name` field is used to identify the data asset to update.
       
      .google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeDataAsset

      public UpdateDataAssetRequest.Builder mergeDataAsset(DataAsset value)
       Required. The data asset to update.
       The data asset's `name` field is used to identify the data asset to update.
       
      .google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearDataAsset

      public UpdateDataAssetRequest.Builder clearDataAsset()
       Required. The data asset to update.
       The data asset's `name` field is used to identify the data asset to update.
       
      .google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDataAssetBuilder

      public DataAsset.Builder getDataAssetBuilder()
       Required. The data asset to update.
       The data asset's `name` field is used to identify the data asset to update.
       
      .google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDataAssetOrBuilder

      public DataAssetOrBuilder getDataAssetOrBuilder()
       Required. The data asset to update.
       The data asset's `name` field is used to identify the data asset to update.
       
      .google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataAssetOrBuilder in interface UpdateDataAssetRequestOrBuilder
    • 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 UpdateDataAssetRequestOrBuilder
      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 UpdateDataAssetRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateDataAssetRequest.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 UpdateDataAssetRequest.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 UpdateDataAssetRequest.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 UpdateDataAssetRequest.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 UpdateDataAssetRequestOrBuilder
    • getValidateOnly

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

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

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