Class DataplexSpec.Builder

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

public static final class DataplexSpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataplexSpec.Builder> implements DataplexSpecOrBuilder
 Common Dataplex fields.
 
Protobuf type google.cloud.datacatalog.v1.DataplexSpec
  • 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<DataplexSpec.Builder>
    • clear

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

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

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

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

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

      public DataplexSpec.Builder mergeFrom(DataplexSpec other)
    • isInitialized

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

      public DataplexSpec.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<DataplexSpec.Builder>
      Throws:
      IOException
    • getAsset

      public String getAsset()
       Fully qualified resource name of an asset in Dataplex, to which the
       underlying data source (Cloud Storage bucket or BigQuery dataset) of the
       entity is attached.
       
      string asset = 1;
      Specified by:
      getAsset in interface DataplexSpecOrBuilder
      Returns:
      The asset.
    • getAssetBytes

      public com.google.protobuf.ByteString getAssetBytes()
       Fully qualified resource name of an asset in Dataplex, to which the
       underlying data source (Cloud Storage bucket or BigQuery dataset) of the
       entity is attached.
       
      string asset = 1;
      Specified by:
      getAssetBytes in interface DataplexSpecOrBuilder
      Returns:
      The bytes for asset.
    • setAsset

      public DataplexSpec.Builder setAsset(String value)
       Fully qualified resource name of an asset in Dataplex, to which the
       underlying data source (Cloud Storage bucket or BigQuery dataset) of the
       entity is attached.
       
      string asset = 1;
      Parameters:
      value - The asset to set.
      Returns:
      This builder for chaining.
    • clearAsset

      public DataplexSpec.Builder clearAsset()
       Fully qualified resource name of an asset in Dataplex, to which the
       underlying data source (Cloud Storage bucket or BigQuery dataset) of the
       entity is attached.
       
      string asset = 1;
      Returns:
      This builder for chaining.
    • setAssetBytes

      public DataplexSpec.Builder setAssetBytes(com.google.protobuf.ByteString value)
       Fully qualified resource name of an asset in Dataplex, to which the
       underlying data source (Cloud Storage bucket or BigQuery dataset) of the
       entity is attached.
       
      string asset = 1;
      Parameters:
      value - The bytes for asset to set.
      Returns:
      This builder for chaining.
    • hasDataFormat

      public boolean hasDataFormat()
       Format of the data.
       
      .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2;
      Specified by:
      hasDataFormat in interface DataplexSpecOrBuilder
      Returns:
      Whether the dataFormat field is set.
    • getDataFormat

      public PhysicalSchema getDataFormat()
       Format of the data.
       
      .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2;
      Specified by:
      getDataFormat in interface DataplexSpecOrBuilder
      Returns:
      The dataFormat.
    • setDataFormat

      public DataplexSpec.Builder setDataFormat(PhysicalSchema value)
       Format of the data.
       
      .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2;
    • setDataFormat

      public DataplexSpec.Builder setDataFormat(PhysicalSchema.Builder builderForValue)
       Format of the data.
       
      .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2;
    • mergeDataFormat

      public DataplexSpec.Builder mergeDataFormat(PhysicalSchema value)
       Format of the data.
       
      .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2;
    • clearDataFormat

      public DataplexSpec.Builder clearDataFormat()
       Format of the data.
       
      .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2;
    • getDataFormatBuilder

      public PhysicalSchema.Builder getDataFormatBuilder()
       Format of the data.
       
      .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2;
    • getDataFormatOrBuilder

      public PhysicalSchemaOrBuilder getDataFormatOrBuilder()
       Format of the data.
       
      .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2;
      Specified by:
      getDataFormatOrBuilder in interface DataplexSpecOrBuilder
    • getCompressionFormat

      public String getCompressionFormat()
       Compression format of the data, e.g., zip, gzip etc.
       
      string compression_format = 3;
      Specified by:
      getCompressionFormat in interface DataplexSpecOrBuilder
      Returns:
      The compressionFormat.
    • getCompressionFormatBytes

      public com.google.protobuf.ByteString getCompressionFormatBytes()
       Compression format of the data, e.g., zip, gzip etc.
       
      string compression_format = 3;
      Specified by:
      getCompressionFormatBytes in interface DataplexSpecOrBuilder
      Returns:
      The bytes for compressionFormat.
    • setCompressionFormat

      public DataplexSpec.Builder setCompressionFormat(String value)
       Compression format of the data, e.g., zip, gzip etc.
       
      string compression_format = 3;
      Parameters:
      value - The compressionFormat to set.
      Returns:
      This builder for chaining.
    • clearCompressionFormat

      public DataplexSpec.Builder clearCompressionFormat()
       Compression format of the data, e.g., zip, gzip etc.
       
      string compression_format = 3;
      Returns:
      This builder for chaining.
    • setCompressionFormatBytes

      public DataplexSpec.Builder setCompressionFormatBytes(com.google.protobuf.ByteString value)
       Compression format of the data, e.g., zip, gzip etc.
       
      string compression_format = 3;
      Parameters:
      value - The bytes for compressionFormat to set.
      Returns:
      This builder for chaining.
    • getProjectId

      public String getProjectId()
       Project ID of the underlying Cloud Storage or BigQuery data. Note that
       this may not be the same project as the correspondingly Dataplex lake /
       zone / asset.
       
      string project_id = 4;
      Specified by:
      getProjectId in interface DataplexSpecOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       Project ID of the underlying Cloud Storage or BigQuery data. Note that
       this may not be the same project as the correspondingly Dataplex lake /
       zone / asset.
       
      string project_id = 4;
      Specified by:
      getProjectIdBytes in interface DataplexSpecOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public DataplexSpec.Builder setProjectId(String value)
       Project ID of the underlying Cloud Storage or BigQuery data. Note that
       this may not be the same project as the correspondingly Dataplex lake /
       zone / asset.
       
      string project_id = 4;
      Parameters:
      value - The projectId to set.
      Returns:
      This builder for chaining.
    • clearProjectId

      public DataplexSpec.Builder clearProjectId()
       Project ID of the underlying Cloud Storage or BigQuery data. Note that
       this may not be the same project as the correspondingly Dataplex lake /
       zone / asset.
       
      string project_id = 4;
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public DataplexSpec.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
       Project ID of the underlying Cloud Storage or BigQuery data. Note that
       this may not be the same project as the correspondingly Dataplex lake /
       zone / asset.
       
      string project_id = 4;
      Parameters:
      value - The bytes for projectId to set.
      Returns:
      This builder for chaining.