Class DataProfileResult.Profile.Field.Builder

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

public static final class DataProfileResult.Profile.Field.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataProfileResult.Profile.Field.Builder> implements DataProfileResult.Profile.FieldOrBuilder
 A field within a table.
 
Protobuf type google.cloud.dataplex.v1.DataProfileResult.Profile.Field
  • 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<DataProfileResult.Profile.Field.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<DataProfileResult.Profile.Field.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<DataProfileResult.Profile.Field.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public DataProfileResult.Profile.Field.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<DataProfileResult.Profile.Field.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<DataProfileResult.Profile.Field.Builder>
    • mergeFrom

      public DataProfileResult.Profile.Field.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<DataProfileResult.Profile.Field.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. The name of the field.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface DataProfileResult.Profile.FieldOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The name of the field.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface DataProfileResult.Profile.FieldOrBuilder
      Returns:
      The bytes for name.
    • setName

       Output only. The name of the field.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Output only. The name of the field.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DataProfileResult.Profile.Field.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The name of the field.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getType

      public String getType()
       Output only. The data type retrieved from the schema of the data
       source. For instance, for a BigQuery native table, it is the [BigQuery
       Table
       Schema](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#tablefieldschema).
       For a Dataplex Universal Catalog Entity, it is the [Entity
       Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
       
      string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getType in interface DataProfileResult.Profile.FieldOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       Output only. The data type retrieved from the schema of the data
       source. For instance, for a BigQuery native table, it is the [BigQuery
       Table
       Schema](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#tablefieldschema).
       For a Dataplex Universal Catalog Entity, it is the [Entity
       Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
       
      string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTypeBytes in interface DataProfileResult.Profile.FieldOrBuilder
      Returns:
      The bytes for type.
    • setType

       Output only. The data type retrieved from the schema of the data
       source. For instance, for a BigQuery native table, it is the [BigQuery
       Table
       Schema](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#tablefieldschema).
       For a Dataplex Universal Catalog Entity, it is the [Entity
       Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
       
      string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

       Output only. The data type retrieved from the schema of the data
       source. For instance, for a BigQuery native table, it is the [BigQuery
       Table
       Schema](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#tablefieldschema).
       For a Dataplex Universal Catalog Entity, it is the [Entity
       Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
       
      string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setTypeBytes

      public DataProfileResult.Profile.Field.Builder setTypeBytes(com.google.protobuf.ByteString value)
       Output only. The data type retrieved from the schema of the data
       source. For instance, for a BigQuery native table, it is the [BigQuery
       Table
       Schema](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#tablefieldschema).
       For a Dataplex Universal Catalog Entity, it is the [Entity
       Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
       
      string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • getMode

      public String getMode()
       Output only. The mode of the field. Possible values include:
      
       * REQUIRED, if it is a required field.
       * NULLABLE, if it is an optional field.
       * REPEATED, if it is a repeated field.
       
      string mode = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMode in interface DataProfileResult.Profile.FieldOrBuilder
      Returns:
      The mode.
    • getModeBytes

      public com.google.protobuf.ByteString getModeBytes()
       Output only. The mode of the field. Possible values include:
      
       * REQUIRED, if it is a required field.
       * NULLABLE, if it is an optional field.
       * REPEATED, if it is a repeated field.
       
      string mode = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getModeBytes in interface DataProfileResult.Profile.FieldOrBuilder
      Returns:
      The bytes for mode.
    • setMode

       Output only. The mode of the field. Possible values include:
      
       * REQUIRED, if it is a required field.
       * NULLABLE, if it is an optional field.
       * REPEATED, if it is a repeated field.
       
      string mode = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The mode to set.
      Returns:
      This builder for chaining.
    • clearMode

       Output only. The mode of the field. Possible values include:
      
       * REQUIRED, if it is a required field.
       * NULLABLE, if it is an optional field.
       * REPEATED, if it is a repeated field.
       
      string mode = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setModeBytes

      public DataProfileResult.Profile.Field.Builder setModeBytes(com.google.protobuf.ByteString value)
       Output only. The mode of the field. Possible values include:
      
       * REQUIRED, if it is a required field.
       * NULLABLE, if it is an optional field.
       * REPEATED, if it is a repeated field.
       
      string mode = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for mode to set.
      Returns:
      This builder for chaining.
    • hasProfile

      public boolean hasProfile()
       Output only. Profile information for the corresponding field.
       
      .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasProfile in interface DataProfileResult.Profile.FieldOrBuilder
      Returns:
      Whether the profile field is set.
    • getProfile

       Output only. Profile information for the corresponding field.
       
      .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProfile in interface DataProfileResult.Profile.FieldOrBuilder
      Returns:
      The profile.
    • setProfile

       Output only. Profile information for the corresponding field.
       
      .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setProfile

       Output only. Profile information for the corresponding field.
       
      .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeProfile

       Output only. Profile information for the corresponding field.
       
      .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearProfile

       Output only. Profile information for the corresponding field.
       
      .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProfileBuilder

       Output only. Profile information for the corresponding field.
       
      .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProfileOrBuilder

       Output only. Profile information for the corresponding field.
       
      .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProfileOrBuilder in interface DataProfileResult.Profile.FieldOrBuilder