Class DataProfileResult.Builder

  • All Implemented Interfaces:
    DataProfileResultOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    DataProfileResult

    public static final class DataProfileResult.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Builder>
    implements DataProfileResultOrBuilder
     DataProfileResult defines the output of DataProfileScan. Each field of the
     table will have field type specific profile result.
     
    Protobuf type google.cloud.dataplex.v1.DataProfileResult
    • 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.Builder>
      • clear

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

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

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

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

        public DataProfileResult.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Builder>
      • setField

        public DataProfileResult.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Builder>
      • clearField

        public DataProfileResult.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Builder>
      • clearOneof

        public DataProfileResult.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Builder>
      • setRepeatedField

        public DataProfileResult.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Builder>
      • addRepeatedField

        public DataProfileResult.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Builder>
      • mergeFrom

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

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

        public DataProfileResult.Builder setRowCount​(long value)
         The count of rows scanned.
         
        int64 row_count = 3;
        Parameters:
        value - The rowCount to set.
        Returns:
        This builder for chaining.
      • clearRowCount

        public DataProfileResult.Builder clearRowCount()
         The count of rows scanned.
         
        int64 row_count = 3;
        Returns:
        This builder for chaining.
      • hasProfile

        public boolean hasProfile()
         The profile information per field.
         
        .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4;
        Specified by:
        hasProfile in interface DataProfileResultOrBuilder
        Returns:
        Whether the profile field is set.
      • clearProfile

        public DataProfileResult.Builder clearProfile()
         The profile information per field.
         
        .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4;
      • getProfileBuilder

        public DataProfileResult.Profile.Builder getProfileBuilder()
         The profile information per field.
         
        .google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4;
      • hasScannedData

        public boolean hasScannedData()
         The data scanned for this result.
         
        .google.cloud.dataplex.v1.ScannedData scanned_data = 5;
        Specified by:
        hasScannedData in interface DataProfileResultOrBuilder
        Returns:
        Whether the scannedData field is set.
      • mergeScannedData

        public DataProfileResult.Builder mergeScannedData​(ScannedData value)
         The data scanned for this result.
         
        .google.cloud.dataplex.v1.ScannedData scanned_data = 5;
      • clearScannedData

        public DataProfileResult.Builder clearScannedData()
         The data scanned for this result.
         
        .google.cloud.dataplex.v1.ScannedData scanned_data = 5;
      • getScannedDataBuilder

        public ScannedData.Builder getScannedDataBuilder()
         The data scanned for this result.
         
        .google.cloud.dataplex.v1.ScannedData scanned_data = 5;
      • hasPostScanActionsResult

        public boolean hasPostScanActionsResult()
         Output only. The result of post scan actions.
         
        .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasPostScanActionsResult in interface DataProfileResultOrBuilder
        Returns:
        Whether the postScanActionsResult field is set.
      • setPostScanActionsResult

        public DataProfileResult.Builder setPostScanActionsResult​(DataProfileResult.PostScanActionsResult value)
         Output only. The result of post scan actions.
         
        .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergePostScanActionsResult

        public DataProfileResult.Builder mergePostScanActionsResult​(DataProfileResult.PostScanActionsResult value)
         Output only. The result of post scan actions.
         
        .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearPostScanActionsResult

        public DataProfileResult.Builder clearPostScanActionsResult()
         Output only. The result of post scan actions.
         
        .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPostScanActionsResultBuilder

        public DataProfileResult.PostScanActionsResult.Builder getPostScanActionsResultBuilder()
         Output only. The result of post scan actions.
         
        .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUnknownFields

        public final DataProfileResult.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Builder>
      • mergeUnknownFields

        public final DataProfileResult.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Builder>