All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.dataplex.v1.DataQualityResult Maven / Gradle / Ivy

/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dataplex/v1/data_quality.proto

// Protobuf Java Version: 3.25.4
package com.google.cloud.dataplex.v1;

/**
 *
 *
 * 
 * The output of a DataQualityScan.
 * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult} */ public final class DataQualityResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityResult) DataQualityResultOrBuilder { private static final long serialVersionUID = 0L; // Use DataQualityResult.newBuilder() to construct. private DataQualityResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DataQualityResult() { dimensions_ = java.util.Collections.emptyList(); columns_ = java.util.Collections.emptyList(); rules_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataQualityResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataQualityProto .internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.DataQualityProto .internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataQualityResult.class, com.google.cloud.dataplex.v1.DataQualityResult.Builder.class); } public interface PostScanActionsResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) com.google.protobuf.MessageOrBuilder { /** * * *
     * Output only. The result of BigQuery export post scan action.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the bigqueryExportResult field is set. */ boolean hasBigqueryExportResult(); /** * * *
     * Output only. The result of BigQuery export post scan action.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The bigqueryExportResult. */ com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult(); /** * * *
     * Output only. The result of BigQuery export post scan action.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder(); } /** * * *
   * The result of post scan actions of DataQualityScan job.
   * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult} */ public static final class PostScanActionsResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) PostScanActionsResultOrBuilder { private static final long serialVersionUID = 0L; // Use PostScanActionsResult.newBuilder() to construct. private PostScanActionsResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PostScanActionsResult() {} @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PostScanActionsResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataQualityProto .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.DataQualityProto .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder.class); } public interface BigQueryExportResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) com.google.protobuf.MessageOrBuilder { /** * * *
       * Output only. Execution state for the BigQuery exporting.
       * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** * * *
       * Output only. Execution state for the BigQuery exporting.
       * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The state. */ com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult .State getState(); /** * * *
       * Output only. Additional information about the BigQuery exporting.
       * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The message. */ java.lang.String getMessage(); /** * * *
       * Output only. Additional information about the BigQuery exporting.
       * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); } /** * * *
     * The result of BigQuery export post scan action.
     * 
* * Protobuf type {@code * google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult} */ public static final class BigQueryExportResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) BigQueryExportResultOrBuilder { private static final long serialVersionUID = 0L; // Use BigQueryExportResult.newBuilder() to construct. private BigQueryExportResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BigQueryExportResult() { state_ = 0; message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryExportResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataQualityProto .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.DataQualityProto .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.Builder.class); } /** * * *
       * Execution state for the exporting.
       * 
* * Protobuf enum {@code * google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State} */ public enum State implements com.google.protobuf.ProtocolMessageEnum { /** * * *
         * The exporting state is unspecified.
         * 
* * STATE_UNSPECIFIED = 0; */ STATE_UNSPECIFIED(0), /** * * *
         * The exporting completed successfully.
         * 
* * SUCCEEDED = 1; */ SUCCEEDED(1), /** * * *
         * The exporting is no longer running due to an error.
         * 
* * FAILED = 2; */ FAILED(2), /** * * *
         * The exporting is skipped due to no valid scan result to export
         * (usually caused by scan failed).
         * 
* * SKIPPED = 3; */ SKIPPED(3), UNRECOGNIZED(-1), ; /** * * *
         * The exporting state is unspecified.
         * 
* * STATE_UNSPECIFIED = 0; */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** * * *
         * The exporting completed successfully.
         * 
* * SUCCEEDED = 1; */ public static final int SUCCEEDED_VALUE = 1; /** * * *
         * The exporting is no longer running due to an error.
         * 
* * FAILED = 2; */ public static final int FAILED_VALUE = 2; /** * * *
         * The exporting is skipped due to no valid scan result to export
         * (usually caused by scan failed).
         * 
* * SKIPPED = 3; */ public static final int SKIPPED_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static State valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static State forNumber(int value) { switch (value) { case 0: return STATE_UNSPECIFIED; case 1: return SUCCEEDED; case 2: return FAILED; case 3: return SKIPPED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public State findValueByNumber(int number) { return State.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.getDescriptor() .getEnumTypes() .get(0); } private static final State[] VALUES = values(); public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private State(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State) } public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; /** * * *
       * Output only. Execution state for the BigQuery exporting.
       * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { return state_; } /** * * *
       * Output only. Execution state for the BigQuery exporting.
       * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.State getState() { com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult .State result = com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** * * *
       * Output only. Additional information about the BigQuery exporting.
       * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** * * *
       * Output only. Additional information about the BigQuery exporting.
       * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (state_ != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.State.STATE_UNSPECIFIED .getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (state_ != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.State.STATE_UNSPECIFIED .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult other = (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult) obj; if (state_ != other.state_) return false; if (!getMessage().equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * * *
       * The result of BigQuery export post scan action.
       * 
* * Protobuf type {@code * google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataQualityProto .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.DataQualityProto .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.Builder.class); } // Construct using // com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; state_ = 0; message_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.cloud.dataplex.v1.DataQualityProto .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult build() { com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult buildPartial() { com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult result = new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.state_ = state_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.message_ = message_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult) { return mergeFrom( (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult other) { if (other == com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000002; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { state_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { message_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int state_ = 0; /** * * *
         * Output only. Execution state for the BigQuery exporting.
         * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { return state_; } /** * * *
         * Output only. Execution state for the BigQuery exporting.
         * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
         * Output only. Execution state for the BigQuery exporting.
         * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.State getState() { com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult .State result = com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.State.UNRECOGNIZED : result; } /** * * *
         * Output only. Execution state for the BigQuery exporting.
         * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param value The state to set. * @return This builder for chaining. */ public Builder setState( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.State value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; state_ = value.getNumber(); onChanged(); return this; } /** * * *
         * Output only. Execution state for the BigQuery exporting.
         * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return This builder for chaining. */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000001); state_ = 0; onChanged(); return this; } private java.lang.Object message_ = ""; /** * * *
         * Output only. Additional information about the BigQuery exporting.
         * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
         * Output only. Additional information about the BigQuery exporting.
         * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
         * Output only. Additional information about the BigQuery exporting.
         * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage(java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
         * Output only. Additional information about the BigQuery exporting.
         * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * * *
         * Output only. Additional information about the BigQuery exporting.
         * 
* * string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult) private static final com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult(); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BigQueryExportResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException() .setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int BIGQUERY_EXPORT_RESULT_FIELD_NUMBER = 1; private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult bigqueryExportResult_; /** * * *
     * Output only. The result of BigQuery export post scan action.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the bigqueryExportResult field is set. */ @java.lang.Override public boolean hasBigqueryExportResult() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
     * Output only. The result of BigQuery export post scan action.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The bigqueryExportResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult() { return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } /** * * *
     * Output only. The result of BigQuery export post scan action.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getBigqueryExportResult()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryExportResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult other = (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) obj; if (hasBigqueryExportResult() != other.hasBigqueryExportResult()) return false; if (hasBigqueryExportResult()) { if (!getBigqueryExportResult().equals(other.getBigqueryExportResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasBigqueryExportResult()) { hash = (37 * hash) + BIGQUERY_EXPORT_RESULT_FIELD_NUMBER; hash = (53 * hash) + getBigqueryExportResult().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * * *
     * The result of post scan actions of DataQualityScan job.
     * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataQualityProto .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.DataQualityProto .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder.class); } // Construct using // com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getBigqueryExportResultFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; bigqueryExportResult_ = null; if (bigqueryExportResultBuilder_ != null) { bigqueryExportResultBuilder_.dispose(); bigqueryExportResultBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.cloud.dataplex.v1.DataQualityProto .internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor; } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult build() { com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult buildPartial() { com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult result = new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.bigqueryExportResult_ = bigqueryExportResultBuilder_ == null ? bigqueryExportResult_ : bigqueryExportResultBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) { return mergeFrom( (com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult other) { if (other == com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .getDefaultInstance()) return this; if (other.hasBigqueryExportResult()) { mergeBigqueryExportResult(other.getBigqueryExportResult()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getBigqueryExportResultFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult bigqueryExportResult_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResultOrBuilder> bigqueryExportResultBuilder_; /** * * *
       * Output only. The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the bigqueryExportResult field is set. */ public boolean hasBigqueryExportResult() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
       * Output only. The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The bigqueryExportResult. */ public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult getBigqueryExportResult() { if (bigqueryExportResultBuilder_ == null) { return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } else { return bigqueryExportResultBuilder_.getMessage(); } } /** * * *
       * Output only. The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setBigqueryExportResult( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult value) { if (bigqueryExportResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } bigqueryExportResult_ = value; } else { bigqueryExportResultBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
       * Output only. The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setBigqueryExportResult( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult .Builder builderForValue) { if (bigqueryExportResultBuilder_ == null) { bigqueryExportResult_ = builderForValue.build(); } else { bigqueryExportResultBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
       * Output only. The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder mergeBigqueryExportResult( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult value) { if (bigqueryExportResultBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && bigqueryExportResult_ != null && bigqueryExportResult_ != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.getDefaultInstance()) { getBigqueryExportResultBuilder().mergeFrom(value); } else { bigqueryExportResult_ = value; } } else { bigqueryExportResultBuilder_.mergeFrom(value); } if (bigqueryExportResult_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * * *
       * Output only. The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearBigqueryExportResult() { bitField0_ = (bitField0_ & ~0x00000001); bigqueryExportResult_ = null; if (bigqueryExportResultBuilder_ != null) { bigqueryExportResultBuilder_.dispose(); bigqueryExportResultBuilder_ = null; } onChanged(); return this; } /** * * *
       * Output only. The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.Builder getBigqueryExportResultBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryExportResultFieldBuilder().getBuilder(); } /** * * *
       * Output only. The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { if (bigqueryExportResultBuilder_ != null) { return bigqueryExportResultBuilder_.getMessageOrBuilder(); } else { return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } } /** * * *
       * Output only. The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResultOrBuilder> getBigqueryExportResultFieldBuilder() { if (bigqueryExportResultBuilder_ == null) { bigqueryExportResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .BigQueryExportResultOrBuilder>( getBigqueryExportResult(), getParentForChildren(), isClean()); bigqueryExportResult_ = null; } return bigqueryExportResultBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult) private static final com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult(); } public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PostScanActionsResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException() .setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int PASSED_FIELD_NUMBER = 5; private boolean passed_ = false; /** * * *
   * Overall data quality result -- `true` if all rules passed.
   * 
* * bool passed = 5; * * @return The passed. */ @java.lang.Override public boolean getPassed() { return passed_; } public static final int SCORE_FIELD_NUMBER = 9; private float score_ = 0F; /** * * *
   * Output only. The overall data quality score.
   *
   * The score ranges between [0, 100] (up to two decimal points).
   * 
* * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return Whether the score field is set. */ @java.lang.Override public boolean hasScore() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
   * Output only. The overall data quality score.
   *
   * The score ranges between [0, 100] (up to two decimal points).
   * 
* * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The score. */ @java.lang.Override public float getScore() { return score_; } public static final int DIMENSIONS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List dimensions_; /** * * *
   * A list of results at the dimension level.
   *
   * A dimension will have a corresponding `DataQualityDimensionResult` if and
   * only if there is at least one rule with the 'dimension' field set to it.
   * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ @java.lang.Override public java.util.List getDimensionsList() { return dimensions_; } /** * * *
   * A list of results at the dimension level.
   *
   * A dimension will have a corresponding `DataQualityDimensionResult` if and
   * only if there is at least one rule with the 'dimension' field set to it.
   * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ @java.lang.Override public java.util.List getDimensionsOrBuilderList() { return dimensions_; } /** * * *
   * A list of results at the dimension level.
   *
   * A dimension will have a corresponding `DataQualityDimensionResult` if and
   * only if there is at least one rule with the 'dimension' field set to it.
   * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ @java.lang.Override public int getDimensionsCount() { return dimensions_.size(); } /** * * *
   * A list of results at the dimension level.
   *
   * A dimension will have a corresponding `DataQualityDimensionResult` if and
   * only if there is at least one rule with the 'dimension' field set to it.
   * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityDimensionResult getDimensions(int index) { return dimensions_.get(index); } /** * * *
   * A list of results at the dimension level.
   *
   * A dimension will have a corresponding `DataQualityDimensionResult` if and
   * only if there is at least one rule with the 'dimension' field set to it.
   * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimensionsOrBuilder( int index) { return dimensions_.get(index); } public static final int COLUMNS_FIELD_NUMBER = 10; @SuppressWarnings("serial") private java.util.List columns_; /** * * *
   * Output only. A list of results at the column level.
   *
   * A column will have a corresponding `DataQualityColumnResult` if and only if
   * there is at least one rule with the 'column' field set to it.
   * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public java.util.List getColumnsList() { return columns_; } /** * * *
   * Output only. A list of results at the column level.
   *
   * A column will have a corresponding `DataQualityColumnResult` if and only if
   * there is at least one rule with the 'column' field set to it.
   * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public java.util.List getColumnsOrBuilderList() { return columns_; } /** * * *
   * Output only. A list of results at the column level.
   *
   * A column will have a corresponding `DataQualityColumnResult` if and only if
   * there is at least one rule with the 'column' field set to it.
   * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public int getColumnsCount() { return columns_.size(); } /** * * *
   * Output only. A list of results at the column level.
   *
   * A column will have a corresponding `DataQualityColumnResult` if and only if
   * there is at least one rule with the 'column' field set to it.
   * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityColumnResult getColumns(int index) { return columns_.get(index); } /** * * *
   * Output only. A list of results at the column level.
   *
   * A column will have a corresponding `DataQualityColumnResult` if and only if
   * there is at least one rule with the 'column' field set to it.
   * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsOrBuilder( int index) { return columns_.get(index); } public static final int RULES_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List rules_; /** * * *
   * A list of all the rules in a job, and their results.
   * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ @java.lang.Override public java.util.List getRulesList() { return rules_; } /** * * *
   * A list of all the rules in a job, and their results.
   * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ @java.lang.Override public java.util.List getRulesOrBuilderList() { return rules_; } /** * * *
   * A list of all the rules in a job, and their results.
   * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ @java.lang.Override public int getRulesCount() { return rules_.size(); } /** * * *
   * A list of all the rules in a job, and their results.
   * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRuleResult getRules(int index) { return rules_.get(index); } /** * * *
   * A list of all the rules in a job, and their results.
   * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBuilder(int index) { return rules_.get(index); } public static final int ROW_COUNT_FIELD_NUMBER = 4; private long rowCount_ = 0L; /** * * *
   * The count of rows processed.
   * 
* * int64 row_count = 4; * * @return The rowCount. */ @java.lang.Override public long getRowCount() { return rowCount_; } public static final int SCANNED_DATA_FIELD_NUMBER = 7; private com.google.cloud.dataplex.v1.ScannedData scannedData_; /** * * *
   * The data scanned for this result.
   * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; * * @return Whether the scannedData field is set. */ @java.lang.Override public boolean hasScannedData() { return ((bitField0_ & 0x00000002) != 0); } /** * * *
   * The data scanned for this result.
   * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; * * @return The scannedData. */ @java.lang.Override public com.google.cloud.dataplex.v1.ScannedData getScannedData() { return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; } /** * * *
   * The data scanned for this result.
   * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; */ @java.lang.Override public com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder() { return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; } public static final int POST_SCAN_ACTIONS_RESULT_FIELD_NUMBER = 8; private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult postScanActionsResult_; /** * * *
   * Output only. The result of post scan actions.
   * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the postScanActionsResult field is set. */ @java.lang.Override public boolean hasPostScanActionsResult() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
   * Output only. The result of post scan actions.
   * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The postScanActionsResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getPostScanActionsResult() { return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } /** * * *
   * Output only. The result of post scan actions.
   * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dimensions_.size(); i++) { output.writeMessage(2, dimensions_.get(i)); } for (int i = 0; i < rules_.size(); i++) { output.writeMessage(3, rules_.get(i)); } if (rowCount_ != 0L) { output.writeInt64(4, rowCount_); } if (passed_ != false) { output.writeBool(5, passed_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(7, getScannedData()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(8, getPostScanActionsResult()); } if (((bitField0_ & 0x00000001) != 0)) { output.writeFloat(9, score_); } for (int i = 0; i < columns_.size(); i++) { output.writeMessage(10, columns_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < dimensions_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i)); } for (int i = 0; i < rules_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rules_.get(i)); } if (rowCount_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, rowCount_); } if (passed_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, passed_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getScannedData()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPostScanActionsResult()); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeFloatSize(9, score_); } for (int i = 0; i < columns_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, columns_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.cloud.dataplex.v1.DataQualityResult)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataQualityResult other = (com.google.cloud.dataplex.v1.DataQualityResult) obj; if (getPassed() != other.getPassed()) return false; if (hasScore() != other.hasScore()) return false; if (hasScore()) { if (java.lang.Float.floatToIntBits(getScore()) != java.lang.Float.floatToIntBits(other.getScore())) return false; } if (!getDimensionsList().equals(other.getDimensionsList())) return false; if (!getColumnsList().equals(other.getColumnsList())) return false; if (!getRulesList().equals(other.getRulesList())) return false; if (getRowCount() != other.getRowCount()) return false; if (hasScannedData() != other.hasScannedData()) return false; if (hasScannedData()) { if (!getScannedData().equals(other.getScannedData())) return false; } if (hasPostScanActionsResult() != other.hasPostScanActionsResult()) return false; if (hasPostScanActionsResult()) { if (!getPostScanActionsResult().equals(other.getPostScanActionsResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PASSED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPassed()); if (hasScore()) { hash = (37 * hash) + SCORE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits(getScore()); } if (getDimensionsCount() > 0) { hash = (37 * hash) + DIMENSIONS_FIELD_NUMBER; hash = (53 * hash) + getDimensionsList().hashCode(); } if (getColumnsCount() > 0) { hash = (37 * hash) + COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getColumnsList().hashCode(); } if (getRulesCount() > 0) { hash = (37 * hash) + RULES_FIELD_NUMBER; hash = (53 * hash) + getRulesList().hashCode(); } hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); if (hasScannedData()) { hash = (37 * hash) + SCANNED_DATA_FIELD_NUMBER; hash = (53 * hash) + getScannedData().hashCode(); } if (hasPostScanActionsResult()) { hash = (37 * hash) + POST_SCAN_ACTIONS_RESULT_FIELD_NUMBER; hash = (53 * hash) + getPostScanActionsResult().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataQualityResult parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataQualityResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.cloud.dataplex.v1.DataQualityResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * * *
   * The output of a DataQualityScan.
   * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityResult) com.google.cloud.dataplex.v1.DataQualityResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataQualityProto .internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.DataQualityProto .internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataQualityResult.class, com.google.cloud.dataplex.v1.DataQualityResult.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataQualityResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDimensionsFieldBuilder(); getColumnsFieldBuilder(); getRulesFieldBuilder(); getScannedDataFieldBuilder(); getPostScanActionsResultFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; passed_ = false; score_ = 0F; if (dimensionsBuilder_ == null) { dimensions_ = java.util.Collections.emptyList(); } else { dimensions_ = null; dimensionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (columnsBuilder_ == null) { columns_ = java.util.Collections.emptyList(); } else { columns_ = null; columnsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); } else { rules_ = null; rulesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); rowCount_ = 0L; scannedData_ = null; if (scannedDataBuilder_ != null) { scannedDataBuilder_.dispose(); scannedDataBuilder_ = null; } postScanActionsResult_ = null; if (postScanActionsResultBuilder_ != null) { postScanActionsResultBuilder_.dispose(); postScanActionsResultBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.cloud.dataplex.v1.DataQualityProto .internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor; } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult build() { com.google.cloud.dataplex.v1.DataQualityResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult buildPartial() { com.google.cloud.dataplex.v1.DataQualityResult result = new com.google.cloud.dataplex.v1.DataQualityResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.DataQualityResult result) { if (dimensionsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); bitField0_ = (bitField0_ & ~0x00000004); } result.dimensions_ = dimensions_; } else { result.dimensions_ = dimensionsBuilder_.build(); } if (columnsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { columns_ = java.util.Collections.unmodifiableList(columns_); bitField0_ = (bitField0_ & ~0x00000008); } result.columns_ = columns_; } else { result.columns_ = columnsBuilder_.build(); } if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); bitField0_ = (bitField0_ & ~0x00000010); } result.rules_ = rules_; } else { result.rules_ = rulesBuilder_.build(); } } private void buildPartial0(com.google.cloud.dataplex.v1.DataQualityResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.passed_ = passed_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.score_ = score_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { result.rowCount_ = rowCount_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.scannedData_ = scannedDataBuilder_ == null ? scannedData_ : scannedDataBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000080) != 0)) { result.postScanActionsResult_ = postScanActionsResultBuilder_ == null ? postScanActionsResult_ : postScanActionsResultBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataQualityResult) { return mergeFrom((com.google.cloud.dataplex.v1.DataQualityResult) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataQualityResult other) { if (other == com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance()) return this; if (other.getPassed() != false) { setPassed(other.getPassed()); } if (other.hasScore()) { setScore(other.getScore()); } if (dimensionsBuilder_ == null) { if (!other.dimensions_.isEmpty()) { if (dimensions_.isEmpty()) { dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureDimensionsIsMutable(); dimensions_.addAll(other.dimensions_); } onChanged(); } } else { if (!other.dimensions_.isEmpty()) { if (dimensionsBuilder_.isEmpty()) { dimensionsBuilder_.dispose(); dimensionsBuilder_ = null; dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00000004); dimensionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDimensionsFieldBuilder() : null; } else { dimensionsBuilder_.addAllMessages(other.dimensions_); } } } if (columnsBuilder_ == null) { if (!other.columns_.isEmpty()) { if (columns_.isEmpty()) { columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureColumnsIsMutable(); columns_.addAll(other.columns_); } onChanged(); } } else { if (!other.columns_.isEmpty()) { if (columnsBuilder_.isEmpty()) { columnsBuilder_.dispose(); columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000008); columnsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColumnsFieldBuilder() : null; } else { columnsBuilder_.addAllMessages(other.columns_); } } } if (rulesBuilder_ == null) { if (!other.rules_.isEmpty()) { if (rules_.isEmpty()) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureRulesIsMutable(); rules_.addAll(other.rules_); } onChanged(); } } else { if (!other.rules_.isEmpty()) { if (rulesBuilder_.isEmpty()) { rulesBuilder_.dispose(); rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000010); rulesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } } } if (other.getRowCount() != 0L) { setRowCount(other.getRowCount()); } if (other.hasScannedData()) { mergeScannedData(other.getScannedData()); } if (other.hasPostScanActionsResult()) { mergePostScanActionsResult(other.getPostScanActionsResult()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 18: { com.google.cloud.dataplex.v1.DataQualityDimensionResult m = input.readMessage( com.google.cloud.dataplex.v1.DataQualityDimensionResult.parser(), extensionRegistry); if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); dimensions_.add(m); } else { dimensionsBuilder_.addMessage(m); } break; } // case 18 case 26: { com.google.cloud.dataplex.v1.DataQualityRuleResult m = input.readMessage( com.google.cloud.dataplex.v1.DataQualityRuleResult.parser(), extensionRegistry); if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(m); } else { rulesBuilder_.addMessage(m); } break; } // case 26 case 32: { rowCount_ = input.readInt64(); bitField0_ |= 0x00000020; break; } // case 32 case 40: { passed_ = input.readBool(); bitField0_ |= 0x00000001; break; } // case 40 case 58: { input.readMessage(getScannedDataFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 58 case 66: { input.readMessage( getPostScanActionsResultFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 66 case 77: { score_ = input.readFloat(); bitField0_ |= 0x00000002; break; } // case 77 case 82: { com.google.cloud.dataplex.v1.DataQualityColumnResult m = input.readMessage( com.google.cloud.dataplex.v1.DataQualityColumnResult.parser(), extensionRegistry); if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(m); } else { columnsBuilder_.addMessage(m); } break; } // case 82 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private boolean passed_; /** * * *
     * Overall data quality result -- `true` if all rules passed.
     * 
* * bool passed = 5; * * @return The passed. */ @java.lang.Override public boolean getPassed() { return passed_; } /** * * *
     * Overall data quality result -- `true` if all rules passed.
     * 
* * bool passed = 5; * * @param value The passed to set. * @return This builder for chaining. */ public Builder setPassed(boolean value) { passed_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
     * Overall data quality result -- `true` if all rules passed.
     * 
* * bool passed = 5; * * @return This builder for chaining. */ public Builder clearPassed() { bitField0_ = (bitField0_ & ~0x00000001); passed_ = false; onChanged(); return this; } private float score_; /** * * *
     * Output only. The overall data quality score.
     *
     * The score ranges between [0, 100] (up to two decimal points).
     * 
* * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return Whether the score field is set. */ @java.lang.Override public boolean hasScore() { return ((bitField0_ & 0x00000002) != 0); } /** * * *
     * Output only. The overall data quality score.
     *
     * The score ranges between [0, 100] (up to two decimal points).
     * 
* * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The score. */ @java.lang.Override public float getScore() { return score_; } /** * * *
     * Output only. The overall data quality score.
     *
     * The score ranges between [0, 100] (up to two decimal points).
     * 
* * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The score to set. * @return This builder for chaining. */ public Builder setScore(float value) { score_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
     * Output only. The overall data quality score.
     *
     * The score ranges between [0, 100] (up to two decimal points).
     * 
* * optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ public Builder clearScore() { bitField0_ = (bitField0_ & ~0x00000002); score_ = 0F; onChanged(); return this; } private java.util.List dimensions_ = java.util.Collections.emptyList(); private void ensureDimensionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { dimensions_ = new java.util.ArrayList( dimensions_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityDimensionResult, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder, com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder> dimensionsBuilder_; /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public java.util.List getDimensionsList() { if (dimensionsBuilder_ == null) { return java.util.Collections.unmodifiableList(dimensions_); } else { return dimensionsBuilder_.getMessageList(); } } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public int getDimensionsCount() { if (dimensionsBuilder_ == null) { return dimensions_.size(); } else { return dimensionsBuilder_.getCount(); } } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public com.google.cloud.dataplex.v1.DataQualityDimensionResult getDimensions(int index) { if (dimensionsBuilder_ == null) { return dimensions_.get(index); } else { return dimensionsBuilder_.getMessage(index); } } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public Builder setDimensions( int index, com.google.cloud.dataplex.v1.DataQualityDimensionResult value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDimensionsIsMutable(); dimensions_.set(index, value); onChanged(); } else { dimensionsBuilder_.setMessage(index, value); } return this; } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public Builder setDimensions( int index, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder builderForValue) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); dimensions_.set(index, builderForValue.build()); onChanged(); } else { dimensionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public Builder addDimensions(com.google.cloud.dataplex.v1.DataQualityDimensionResult value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDimensionsIsMutable(); dimensions_.add(value); onChanged(); } else { dimensionsBuilder_.addMessage(value); } return this; } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public Builder addDimensions( int index, com.google.cloud.dataplex.v1.DataQualityDimensionResult value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDimensionsIsMutable(); dimensions_.add(index, value); onChanged(); } else { dimensionsBuilder_.addMessage(index, value); } return this; } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public Builder addDimensions( com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder builderForValue) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); dimensions_.add(builderForValue.build()); onChanged(); } else { dimensionsBuilder_.addMessage(builderForValue.build()); } return this; } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public Builder addDimensions( int index, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder builderForValue) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); dimensions_.add(index, builderForValue.build()); onChanged(); } else { dimensionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public Builder addAllDimensions( java.lang.Iterable values) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_); onChanged(); } else { dimensionsBuilder_.addAllMessages(values); } return this; } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public Builder clearDimensions() { if (dimensionsBuilder_ == null) { dimensions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { dimensionsBuilder_.clear(); } return this; } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public Builder removeDimensions(int index) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); dimensions_.remove(index); onChanged(); } else { dimensionsBuilder_.remove(index); } return this; } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder getDimensionsBuilder( int index) { return getDimensionsFieldBuilder().getBuilder(index); } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimensionsOrBuilder( int index) { if (dimensionsBuilder_ == null) { return dimensions_.get(index); } else { return dimensionsBuilder_.getMessageOrBuilder(index); } } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public java.util.List< ? extends com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder> getDimensionsOrBuilderList() { if (dimensionsBuilder_ != null) { return dimensionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dimensions_); } } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder addDimensionsBuilder() { return getDimensionsFieldBuilder() .addBuilder(com.google.cloud.dataplex.v1.DataQualityDimensionResult.getDefaultInstance()); } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder addDimensionsBuilder( int index) { return getDimensionsFieldBuilder() .addBuilder( index, com.google.cloud.dataplex.v1.DataQualityDimensionResult.getDefaultInstance()); } /** * * *
     * A list of results at the dimension level.
     *
     * A dimension will have a corresponding `DataQualityDimensionResult` if and
     * only if there is at least one rule with the 'dimension' field set to it.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2; */ public java.util.List getDimensionsBuilderList() { return getDimensionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityDimensionResult, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder, com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder> getDimensionsFieldBuilder() { if (dimensionsBuilder_ == null) { dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityDimensionResult, com.google.cloud.dataplex.v1.DataQualityDimensionResult.Builder, com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder>( dimensions_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); dimensions_ = null; } return dimensionsBuilder_; } private java.util.List columns_ = java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityColumnResult, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder, com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder> columnsBuilder_; /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public java.util.List getColumnsList() { if (columnsBuilder_ == null) { return java.util.Collections.unmodifiableList(columns_); } else { return columnsBuilder_.getMessageList(); } } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public int getColumnsCount() { if (columnsBuilder_ == null) { return columns_.size(); } else { return columnsBuilder_.getCount(); } } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.cloud.dataplex.v1.DataQualityColumnResult getColumns(int index) { if (columnsBuilder_ == null) { return columns_.get(index); } else { return columnsBuilder_.getMessage(index); } } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setColumns( int index, com.google.cloud.dataplex.v1.DataQualityColumnResult value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.set(index, value); onChanged(); } else { columnsBuilder_.setMessage(index, value); } return this; } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setColumns( int index, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.set(index, builderForValue.build()); onChanged(); } else { columnsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder addColumns(com.google.cloud.dataplex.v1.DataQualityColumnResult value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(value); onChanged(); } else { columnsBuilder_.addMessage(value); } return this; } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder addColumns( int index, com.google.cloud.dataplex.v1.DataQualityColumnResult value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(index, value); onChanged(); } else { columnsBuilder_.addMessage(index, value); } return this; } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder addColumns( com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(builderForValue.build()); onChanged(); } else { columnsBuilder_.addMessage(builderForValue.build()); } return this; } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder addColumns( int index, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(index, builderForValue.build()); onChanged(); } else { columnsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder addAllColumns( java.lang.Iterable values) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); onChanged(); } else { columnsBuilder_.addAllMessages(values); } return this; } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearColumns() { if (columnsBuilder_ == null) { columns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { columnsBuilder_.clear(); } return this; } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder removeColumns(int index) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.remove(index); onChanged(); } else { columnsBuilder_.remove(index); } return this; } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder getColumnsBuilder( int index) { return getColumnsFieldBuilder().getBuilder(index); } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsOrBuilder( int index) { if (columnsBuilder_ == null) { return columns_.get(index); } else { return columnsBuilder_.getMessageOrBuilder(index); } } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public java.util.List getColumnsOrBuilderList() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(columns_); } } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder addColumnsBuilder() { return getColumnsFieldBuilder() .addBuilder(com.google.cloud.dataplex.v1.DataQualityColumnResult.getDefaultInstance()); } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder addColumnsBuilder( int index) { return getColumnsFieldBuilder() .addBuilder( index, com.google.cloud.dataplex.v1.DataQualityColumnResult.getDefaultInstance()); } /** * * *
     * Output only. A list of results at the column level.
     *
     * A column will have a corresponding `DataQualityColumnResult` if and only if
     * there is at least one rule with the 'column' field set to it.
     * 
* * * repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public java.util.List getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityColumnResult, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder, com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityColumnResult, com.google.cloud.dataplex.v1.DataQualityColumnResult.Builder, com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder>( columns_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); columns_ = null; } return columnsBuilder_; } private java.util.List rules_ = java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityRuleResult, com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder, com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder> rulesBuilder_; /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { return java.util.Collections.unmodifiableList(rules_); } else { return rulesBuilder_.getMessageList(); } } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public int getRulesCount() { if (rulesBuilder_ == null) { return rules_.size(); } else { return rulesBuilder_.getCount(); } } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public com.google.cloud.dataplex.v1.DataQualityRuleResult getRules(int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessage(index); } } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public Builder setRules(int index, com.google.cloud.dataplex.v1.DataQualityRuleResult value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.set(index, value); onChanged(); } else { rulesBuilder_.setMessage(index, value); } return this; } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public Builder setRules( int index, com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.set(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public Builder addRules(com.google.cloud.dataplex.v1.DataQualityRuleResult value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.add(value); onChanged(); } else { rulesBuilder_.addMessage(value); } return this; } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public Builder addRules(int index, com.google.cloud.dataplex.v1.DataQualityRuleResult value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.add(index, value); onChanged(); } else { rulesBuilder_.addMessage(index, value); } return this; } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public Builder addRules( com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(builderForValue.build()); } return this; } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public Builder addRules( int index, com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); } return this; } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public Builder clearRules() { if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { rulesBuilder_.clear(); } return this; } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.remove(index); onChanged(); } else { rulesBuilder_.remove(index); } return this; } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder getRulesBuilder(int index) { return getRulesFieldBuilder().getBuilder(index); } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder getRulesOrBuilder( int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public java.util.List getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(rules_); } } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder addRulesBuilder() { return getRulesFieldBuilder() .addBuilder(com.google.cloud.dataplex.v1.DataQualityRuleResult.getDefaultInstance()); } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder addRulesBuilder(int index) { return getRulesFieldBuilder() .addBuilder( index, com.google.cloud.dataplex.v1.DataQualityRuleResult.getDefaultInstance()); } /** * * *
     * A list of all the rules in a job, and their results.
     * 
* * repeated .google.cloud.dataplex.v1.DataQualityRuleResult rules = 3; */ public java.util.List getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityRuleResult, com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder, com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityRuleResult, com.google.cloud.dataplex.v1.DataQualityRuleResult.Builder, com.google.cloud.dataplex.v1.DataQualityRuleResultOrBuilder>( rules_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } private long rowCount_; /** * * *
     * The count of rows processed.
     * 
* * int64 row_count = 4; * * @return The rowCount. */ @java.lang.Override public long getRowCount() { return rowCount_; } /** * * *
     * The count of rows processed.
     * 
* * int64 row_count = 4; * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(long value) { rowCount_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * * *
     * The count of rows processed.
     * 
* * int64 row_count = 4; * * @return This builder for chaining. */ public Builder clearRowCount() { bitField0_ = (bitField0_ & ~0x00000020); rowCount_ = 0L; onChanged(); return this; } private com.google.cloud.dataplex.v1.ScannedData scannedData_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.ScannedData, com.google.cloud.dataplex.v1.ScannedData.Builder, com.google.cloud.dataplex.v1.ScannedDataOrBuilder> scannedDataBuilder_; /** * * *
     * The data scanned for this result.
     * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; * * @return Whether the scannedData field is set. */ public boolean hasScannedData() { return ((bitField0_ & 0x00000040) != 0); } /** * * *
     * The data scanned for this result.
     * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; * * @return The scannedData. */ public com.google.cloud.dataplex.v1.ScannedData getScannedData() { if (scannedDataBuilder_ == null) { return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; } else { return scannedDataBuilder_.getMessage(); } } /** * * *
     * The data scanned for this result.
     * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; */ public Builder setScannedData(com.google.cloud.dataplex.v1.ScannedData value) { if (scannedDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scannedData_ = value; } else { scannedDataBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** * * *
     * The data scanned for this result.
     * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; */ public Builder setScannedData( com.google.cloud.dataplex.v1.ScannedData.Builder builderForValue) { if (scannedDataBuilder_ == null) { scannedData_ = builderForValue.build(); } else { scannedDataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** * * *
     * The data scanned for this result.
     * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; */ public Builder mergeScannedData(com.google.cloud.dataplex.v1.ScannedData value) { if (scannedDataBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && scannedData_ != null && scannedData_ != com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance()) { getScannedDataBuilder().mergeFrom(value); } else { scannedData_ = value; } } else { scannedDataBuilder_.mergeFrom(value); } if (scannedData_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** * * *
     * The data scanned for this result.
     * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; */ public Builder clearScannedData() { bitField0_ = (bitField0_ & ~0x00000040); scannedData_ = null; if (scannedDataBuilder_ != null) { scannedDataBuilder_.dispose(); scannedDataBuilder_ = null; } onChanged(); return this; } /** * * *
     * The data scanned for this result.
     * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; */ public com.google.cloud.dataplex.v1.ScannedData.Builder getScannedDataBuilder() { bitField0_ |= 0x00000040; onChanged(); return getScannedDataFieldBuilder().getBuilder(); } /** * * *
     * The data scanned for this result.
     * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; */ public com.google.cloud.dataplex.v1.ScannedDataOrBuilder getScannedDataOrBuilder() { if (scannedDataBuilder_ != null) { return scannedDataBuilder_.getMessageOrBuilder(); } else { return scannedData_ == null ? com.google.cloud.dataplex.v1.ScannedData.getDefaultInstance() : scannedData_; } } /** * * *
     * The data scanned for this result.
     * 
* * .google.cloud.dataplex.v1.ScannedData scanned_data = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.ScannedData, com.google.cloud.dataplex.v1.ScannedData.Builder, com.google.cloud.dataplex.v1.ScannedDataOrBuilder> getScannedDataFieldBuilder() { if (scannedDataBuilder_ == null) { scannedDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.ScannedData, com.google.cloud.dataplex.v1.ScannedData.Builder, com.google.cloud.dataplex.v1.ScannedDataOrBuilder>( getScannedData(), getParentForChildren(), isClean()); scannedData_ = null; } return scannedDataBuilder_; } private com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult postScanActionsResult_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder> postScanActionsResultBuilder_; /** * * *
     * Output only. The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the postScanActionsResult field is set. */ public boolean hasPostScanActionsResult() { return ((bitField0_ & 0x00000080) != 0); } /** * * *
     * Output only. The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The postScanActionsResult. */ public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult getPostScanActionsResult() { if (postScanActionsResultBuilder_ == null) { return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .getDefaultInstance() : postScanActionsResult_; } else { return postScanActionsResultBuilder_.getMessage(); } } /** * * *
     * Output only. The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setPostScanActionsResult( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } postScanActionsResult_ = value; } else { postScanActionsResultBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** * * *
     * Output only. The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setPostScanActionsResult( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder builderForValue) { if (postScanActionsResultBuilder_ == null) { postScanActionsResult_ = builderForValue.build(); } else { postScanActionsResultBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** * * *
     * Output only. The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder mergePostScanActionsResult( com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && postScanActionsResult_ != null && postScanActionsResult_ != com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .getDefaultInstance()) { getPostScanActionsResultBuilder().mergeFrom(value); } else { postScanActionsResult_ = value; } } else { postScanActionsResultBuilder_.mergeFrom(value); } if (postScanActionsResult_ != null) { bitField0_ |= 0x00000080; onChanged(); } return this; } /** * * *
     * Output only. The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearPostScanActionsResult() { bitField0_ = (bitField0_ & ~0x00000080); postScanActionsResult_ = null; if (postScanActionsResultBuilder_ != null) { postScanActionsResultBuilder_.dispose(); postScanActionsResultBuilder_ = null; } onChanged(); return this; } /** * * *
     * Output only. The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder getPostScanActionsResultBuilder() { bitField0_ |= 0x00000080; onChanged(); return getPostScanActionsResultFieldBuilder().getBuilder(); } /** * * *
     * Output only. The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { if (postScanActionsResultBuilder_ != null) { return postScanActionsResultBuilder_.getMessageOrBuilder(); } else { return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult .getDefaultInstance() : postScanActionsResult_; } } /** * * *
     * Output only. The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult post_scan_actions_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder> getPostScanActionsResultFieldBuilder() { if (postScanActionsResultBuilder_ == null) { postScanActionsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultOrBuilder>( getPostScanActionsResult(), getParentForChildren(), isClean()); postScanActionsResult_ = null; } return postScanActionsResultBuilder_; } @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityResult) private static final com.google.cloud.dataplex.v1.DataQualityResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityResult(); } public static com.google.cloud.dataplex.v1.DataQualityResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataQualityResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy