Class DataProfileResult.Profile.Field.Builder

    • 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<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.GeneratedMessageV3.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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Profile.Field.Builder>
      • setNameBytes

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

        public String getType()
         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 Entity, it is the [Entity
         Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
         
        string type = 2;
        Specified by:
        getType in interface DataProfileResult.Profile.FieldOrBuilder
        Returns:
        The type.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
         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 Entity, it is the [Entity
         Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
         
        string type = 2;
        Specified by:
        getTypeBytes in interface DataProfileResult.Profile.FieldOrBuilder
        Returns:
        The bytes for type.
      • setType

        public DataProfileResult.Profile.Field.Builder setType​(String value)
         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 Entity, it is the [Entity
         Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
         
        string type = 2;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public DataProfileResult.Profile.Field.Builder clearType()
         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 Entity, it is the [Entity
         Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
         
        string type = 2;
        Returns:
        This builder for chaining.
      • setTypeBytes

        public DataProfileResult.Profile.Field.Builder setTypeBytes​(com.google.protobuf.ByteString value)
         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 Entity, it is the [Entity
         Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
         
        string type = 2;
        Parameters:
        value - The bytes for type to set.
        Returns:
        This builder for chaining.
      • getMode

        public String getMode()
         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;
        Specified by:
        getMode in interface DataProfileResult.Profile.FieldOrBuilder
        Returns:
        The mode.
      • getModeBytes

        public com.google.protobuf.ByteString getModeBytes()
         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;
        Specified by:
        getModeBytes in interface DataProfileResult.Profile.FieldOrBuilder
        Returns:
        The bytes for mode.
      • setMode

        public DataProfileResult.Profile.Field.Builder setMode​(String value)
         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;
        Parameters:
        value - The mode to set.
        Returns:
        This builder for chaining.
      • clearMode

        public DataProfileResult.Profile.Field.Builder clearMode()
         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;
        Returns:
        This builder for chaining.
      • setModeBytes

        public DataProfileResult.Profile.Field.Builder setModeBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for mode to set.
        Returns:
        This builder for chaining.
      • hasProfile

        public boolean hasProfile()
         Profile information for the corresponding field.
         
        .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4;
        Specified by:
        hasProfile in interface DataProfileResult.Profile.FieldOrBuilder
        Returns:
        Whether the profile field is set.
      • clearProfile

        public DataProfileResult.Profile.Field.Builder clearProfile()
         Profile information for the corresponding field.
         
        .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4;