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

com.google.cloud.dataplex.v1.DataScanEvent 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/logs.proto

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

/**
 *
 *
 * 
 * These messages contain information about the execution of a datascan.
 * The monitored resource is 'DataScan'
 * Next ID: 13
 * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent} */ public final class DataScanEvent extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent) DataScanEventOrBuilder { private static final long serialVersionUID = 0L; // Use DataScanEvent.newBuilder() to construct. private DataScanEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DataScanEvent() { dataSource_ = ""; jobId_ = ""; type_ = 0; state_ = 0; message_ = ""; specVersion_ = ""; trigger_ = 0; scope_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataScanEvent(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScanEvent.class, com.google.cloud.dataplex.v1.DataScanEvent.Builder.class); } /** * * *
   * The type of the data scan.
   * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanEvent.ScanType} */ public enum ScanType implements com.google.protobuf.ProtocolMessageEnum { /** * * *
     * An unspecified data scan type.
     * 
* * SCAN_TYPE_UNSPECIFIED = 0; */ SCAN_TYPE_UNSPECIFIED(0), /** * * *
     * Data scan for data profile.
     * 
* * DATA_PROFILE = 1; */ DATA_PROFILE(1), /** * * *
     * Data scan for data quality.
     * 
* * DATA_QUALITY = 2; */ DATA_QUALITY(2), UNRECOGNIZED(-1), ; /** * * *
     * An unspecified data scan type.
     * 
* * SCAN_TYPE_UNSPECIFIED = 0; */ public static final int SCAN_TYPE_UNSPECIFIED_VALUE = 0; /** * * *
     * Data scan for data profile.
     * 
* * DATA_PROFILE = 1; */ public static final int DATA_PROFILE_VALUE = 1; /** * * *
     * Data scan for data quality.
     * 
* * DATA_QUALITY = 2; */ public static final int DATA_QUALITY_VALUE = 2; 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 ScanType 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 ScanType forNumber(int value) { switch (value) { case 0: return SCAN_TYPE_UNSPECIFIED; case 1: return DATA_PROFILE; case 2: return DATA_QUALITY; 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 ScanType findValueByNumber(int number) { return ScanType.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.DataScanEvent.getDescriptor().getEnumTypes().get(0); } private static final ScanType[] VALUES = values(); public static ScanType 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 ScanType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.DataScanEvent.ScanType) } /** * * *
   * The job state of the data scan.
   * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanEvent.State} */ public enum State implements com.google.protobuf.ProtocolMessageEnum { /** * * *
     * Unspecified job state.
     * 
* * STATE_UNSPECIFIED = 0; */ STATE_UNSPECIFIED(0), /** * * *
     * Data scan job started.
     * 
* * STARTED = 1; */ STARTED(1), /** * * *
     * Data scan job successfully completed.
     * 
* * SUCCEEDED = 2; */ SUCCEEDED(2), /** * * *
     * Data scan job was unsuccessful.
     * 
* * FAILED = 3; */ FAILED(3), /** * * *
     * Data scan job was cancelled.
     * 
* * CANCELLED = 4; */ CANCELLED(4), /** * * *
     * Data scan job was createed.
     * 
* * CREATED = 5; */ CREATED(5), UNRECOGNIZED(-1), ; /** * * *
     * Unspecified job state.
     * 
* * STATE_UNSPECIFIED = 0; */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** * * *
     * Data scan job started.
     * 
* * STARTED = 1; */ public static final int STARTED_VALUE = 1; /** * * *
     * Data scan job successfully completed.
     * 
* * SUCCEEDED = 2; */ public static final int SUCCEEDED_VALUE = 2; /** * * *
     * Data scan job was unsuccessful.
     * 
* * FAILED = 3; */ public static final int FAILED_VALUE = 3; /** * * *
     * Data scan job was cancelled.
     * 
* * CANCELLED = 4; */ public static final int CANCELLED_VALUE = 4; /** * * *
     * Data scan job was createed.
     * 
* * CREATED = 5; */ public static final int CREATED_VALUE = 5; 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 STARTED; case 2: return SUCCEEDED; case 3: return FAILED; case 4: return CANCELLED; case 5: return CREATED; 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.DataScanEvent.getDescriptor().getEnumTypes().get(1); } 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.DataScanEvent.State) } /** * * *
   * The trigger type for the data scan.
   * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanEvent.Trigger} */ public enum Trigger implements com.google.protobuf.ProtocolMessageEnum { /** * * *
     * An unspecified trigger type.
     * 
* * TRIGGER_UNSPECIFIED = 0; */ TRIGGER_UNSPECIFIED(0), /** * * *
     * Data scan triggers on demand.
     * 
* * ON_DEMAND = 1; */ ON_DEMAND(1), /** * * *
     * Data scan triggers as per schedule.
     * 
* * SCHEDULE = 2; */ SCHEDULE(2), UNRECOGNIZED(-1), ; /** * * *
     * An unspecified trigger type.
     * 
* * TRIGGER_UNSPECIFIED = 0; */ public static final int TRIGGER_UNSPECIFIED_VALUE = 0; /** * * *
     * Data scan triggers on demand.
     * 
* * ON_DEMAND = 1; */ public static final int ON_DEMAND_VALUE = 1; /** * * *
     * Data scan triggers as per schedule.
     * 
* * SCHEDULE = 2; */ public static final int SCHEDULE_VALUE = 2; 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 Trigger 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 Trigger forNumber(int value) { switch (value) { case 0: return TRIGGER_UNSPECIFIED; case 1: return ON_DEMAND; case 2: return SCHEDULE; 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 Trigger findValueByNumber(int number) { return Trigger.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.DataScanEvent.getDescriptor().getEnumTypes().get(2); } private static final Trigger[] VALUES = values(); public static Trigger 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 Trigger(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.DataScanEvent.Trigger) } /** * * *
   * The scope of job for the data scan.
   * 
* * Protobuf enum {@code google.cloud.dataplex.v1.DataScanEvent.Scope} */ public enum Scope implements com.google.protobuf.ProtocolMessageEnum { /** * * *
     * An unspecified scope type.
     * 
* * SCOPE_UNSPECIFIED = 0; */ SCOPE_UNSPECIFIED(0), /** * * *
     * Data scan runs on all of the data.
     * 
* * FULL = 1; */ FULL(1), /** * * *
     * Data scan runs on incremental data.
     * 
* * INCREMENTAL = 2; */ INCREMENTAL(2), UNRECOGNIZED(-1), ; /** * * *
     * An unspecified scope type.
     * 
* * SCOPE_UNSPECIFIED = 0; */ public static final int SCOPE_UNSPECIFIED_VALUE = 0; /** * * *
     * Data scan runs on all of the data.
     * 
* * FULL = 1; */ public static final int FULL_VALUE = 1; /** * * *
     * Data scan runs on incremental data.
     * 
* * INCREMENTAL = 2; */ public static final int INCREMENTAL_VALUE = 2; 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 Scope 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 Scope forNumber(int value) { switch (value) { case 0: return SCOPE_UNSPECIFIED; case 1: return FULL; case 2: return INCREMENTAL; 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 Scope findValueByNumber(int number) { return Scope.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.DataScanEvent.getDescriptor().getEnumTypes().get(3); } private static final Scope[] VALUES = values(); public static Scope 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 Scope(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.DataScanEvent.Scope) } public interface DataProfileResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) com.google.protobuf.MessageOrBuilder { /** * * *
     * The count of rows processed in the data scan job.
     * 
* * int64 row_count = 1; * * @return The rowCount. */ long getRowCount(); } /** * * *
   * Data profile result for data scan job.
   * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataProfileResult} */ public static final class DataProfileResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) DataProfileResultOrBuilder { private static final long serialVersionUID = 0L; // Use DataProfileResult.newBuilder() to construct. private DataProfileResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DataProfileResult() {} @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataProfileResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.class, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder.class); } public static final int ROW_COUNT_FIELD_NUMBER = 1; private long rowCount_ = 0L; /** * * *
     * The count of rows processed in the data scan job.
     * 
* * int64 row_count = 1; * * @return The rowCount. */ @java.lang.Override public long getRowCount() { return rowCount_; } 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 (rowCount_ != 0L) { output.writeInt64(1, rowCount_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (rowCount_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, rowCount_); } 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.DataScanEvent.DataProfileResult)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult other = (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) obj; if (getRowCount() != other.getRowCount()) 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) + ROW_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult 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.DataScanEvent.DataProfileResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult 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.DataScanEvent.DataProfileResult parseFrom( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult 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.DataScanEvent.DataProfileResult parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult 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.DataScanEvent.DataProfileResult parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult 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.DataScanEvent.DataProfileResult 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.DataScanEvent.DataProfileResult 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.DataScanEvent.DataProfileResult 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; } /** * * *
     * Data profile result for data scan job.
     * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataProfileResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.class, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; rowCount_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileResult_descriptor; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult build() { com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult buildPartial() { com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult result = new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0( com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rowCount_ = rowCount_; } } @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.DataScanEvent.DataProfileResult) { return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult other) { if (other == com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance()) return this; if (other.getRowCount() != 0L) { setRowCount(other.getRowCount()); } 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: { rowCount_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 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 long rowCount_; /** * * *
       * The count of rows processed in the data scan job.
       * 
* * int64 row_count = 1; * * @return The rowCount. */ @java.lang.Override public long getRowCount() { return rowCount_; } /** * * *
       * The count of rows processed in the data scan job.
       * 
* * int64 row_count = 1; * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(long value) { rowCount_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
       * The count of rows processed in the data scan job.
       * 
* * int64 row_count = 1; * * @return This builder for chaining. */ public Builder clearRowCount() { bitField0_ = (bitField0_ & ~0x00000001); rowCount_ = 0L; 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.DataScanEvent.DataProfileResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) private static final com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult(); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataProfileResult 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.DataScanEvent.DataProfileResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DataQualityResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) com.google.protobuf.MessageOrBuilder { /** * * *
     * The count of rows processed in the data scan job.
     * 
* * int64 row_count = 1; * * @return The rowCount. */ long getRowCount(); /** * * *
     * Whether the data quality result was `pass` or not.
     * 
* * bool passed = 2; * * @return The passed. */ boolean getPassed(); /** * * *
     * The result of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the bool value depicting whether the dimension result was
     * `pass` or not.
     * 
* * map<string, bool> dimension_passed = 3; */ int getDimensionPassedCount(); /** * * *
     * The result of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the bool value depicting whether the dimension result was
     * `pass` or not.
     * 
* * map<string, bool> dimension_passed = 3; */ boolean containsDimensionPassed(java.lang.String key); /** Use {@link #getDimensionPassedMap()} instead. */ @java.lang.Deprecated java.util.Map getDimensionPassed(); /** * * *
     * The result of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the bool value depicting whether the dimension result was
     * `pass` or not.
     * 
* * map<string, bool> dimension_passed = 3; */ java.util.Map getDimensionPassedMap(); /** * * *
     * The result of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the bool value depicting whether the dimension result was
     * `pass` or not.
     * 
* * map<string, bool> dimension_passed = 3; */ boolean getDimensionPassedOrDefault(java.lang.String key, boolean defaultValue); /** * * *
     * The result of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the bool value depicting whether the dimension result was
     * `pass` or not.
     * 
* * map<string, bool> dimension_passed = 3; */ boolean getDimensionPassedOrThrow(java.lang.String key); /** * * *
     * The table-level data quality score for the data scan job.
     *
     * The data quality score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * float score = 4; * * @return The score. */ float getScore(); /** * * *
     * The score of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the data quality score for the dimension.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> dimension_score = 5; */ int getDimensionScoreCount(); /** * * *
     * The score of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the data quality score for the dimension.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> dimension_score = 5; */ boolean containsDimensionScore(java.lang.String key); /** Use {@link #getDimensionScoreMap()} instead. */ @java.lang.Deprecated java.util.Map getDimensionScore(); /** * * *
     * The score of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the data quality score for the dimension.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> dimension_score = 5; */ java.util.Map getDimensionScoreMap(); /** * * *
     * The score of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the data quality score for the dimension.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> dimension_score = 5; */ float getDimensionScoreOrDefault(java.lang.String key, float defaultValue); /** * * *
     * The score of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the data quality score for the dimension.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> dimension_score = 5; */ float getDimensionScoreOrThrow(java.lang.String key); /** * * *
     * The score of each column scanned in the data scan job.
     * The key of the map is the name of the column.
     * The value is the data quality score for the column.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> column_score = 6; */ int getColumnScoreCount(); /** * * *
     * The score of each column scanned in the data scan job.
     * The key of the map is the name of the column.
     * The value is the data quality score for the column.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> column_score = 6; */ boolean containsColumnScore(java.lang.String key); /** Use {@link #getColumnScoreMap()} instead. */ @java.lang.Deprecated java.util.Map getColumnScore(); /** * * *
     * The score of each column scanned in the data scan job.
     * The key of the map is the name of the column.
     * The value is the data quality score for the column.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> column_score = 6; */ java.util.Map getColumnScoreMap(); /** * * *
     * The score of each column scanned in the data scan job.
     * The key of the map is the name of the column.
     * The value is the data quality score for the column.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> column_score = 6; */ float getColumnScoreOrDefault(java.lang.String key, float defaultValue); /** * * *
     * The score of each column scanned in the data scan job.
     * The key of the map is the name of the column.
     * The value is the data quality score for the column.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> column_score = 6; */ float getColumnScoreOrThrow(java.lang.String key); } /** * * *
   * Data quality result for data scan job.
   * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataQualityResult} */ public static final class DataQualityResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.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() {} @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.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 3: return internalGetDimensionPassed(); case 5: return internalGetDimensionScore(); case 6: return internalGetColumnScore(); default: throw new RuntimeException("Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.class, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder.class); } public static final int ROW_COUNT_FIELD_NUMBER = 1; private long rowCount_ = 0L; /** * * *
     * The count of rows processed in the data scan job.
     * 
* * int64 row_count = 1; * * @return The rowCount. */ @java.lang.Override public long getRowCount() { return rowCount_; } public static final int PASSED_FIELD_NUMBER = 2; private boolean passed_ = false; /** * * *
     * Whether the data quality result was `pass` or not.
     * 
* * bool passed = 2; * * @return The passed. */ @java.lang.Override public boolean getPassed() { return passed_; } public static final int DIMENSION_PASSED_FIELD_NUMBER = 3; private static final class DimensionPassedDefaultEntryHolder { static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry.newDefaultInstance( com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionPassedEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.BOOL, false); } @SuppressWarnings("serial") private com.google.protobuf.MapField dimensionPassed_; private com.google.protobuf.MapField internalGetDimensionPassed() { if (dimensionPassed_ == null) { return com.google.protobuf.MapField.emptyMapField( DimensionPassedDefaultEntryHolder.defaultEntry); } return dimensionPassed_; } public int getDimensionPassedCount() { return internalGetDimensionPassed().getMap().size(); } /** * * *
     * The result of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the bool value depicting whether the dimension result was
     * `pass` or not.
     * 
* * map<string, bool> dimension_passed = 3; */ @java.lang.Override public boolean containsDimensionPassed(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetDimensionPassed().getMap().containsKey(key); } /** Use {@link #getDimensionPassedMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDimensionPassed() { return getDimensionPassedMap(); } /** * * *
     * The result of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the bool value depicting whether the dimension result was
     * `pass` or not.
     * 
* * map<string, bool> dimension_passed = 3; */ @java.lang.Override public java.util.Map getDimensionPassedMap() { return internalGetDimensionPassed().getMap(); } /** * * *
     * The result of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the bool value depicting whether the dimension result was
     * `pass` or not.
     * 
* * map<string, bool> dimension_passed = 3; */ @java.lang.Override public boolean getDimensionPassedOrDefault(java.lang.String key, boolean defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDimensionPassed().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * * *
     * The result of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the bool value depicting whether the dimension result was
     * `pass` or not.
     * 
* * map<string, bool> dimension_passed = 3; */ @java.lang.Override public boolean getDimensionPassedOrThrow(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDimensionPassed().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int SCORE_FIELD_NUMBER = 4; private float score_ = 0F; /** * * *
     * The table-level data quality score for the data scan job.
     *
     * The data quality score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * float score = 4; * * @return The score. */ @java.lang.Override public float getScore() { return score_; } public static final int DIMENSION_SCORE_FIELD_NUMBER = 5; private static final class DimensionScoreDefaultEntryHolder { static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry.newDefaultInstance( com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_DimensionScoreEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.FLOAT, 0F); } @SuppressWarnings("serial") private com.google.protobuf.MapField dimensionScore_; private com.google.protobuf.MapField internalGetDimensionScore() { if (dimensionScore_ == null) { return com.google.protobuf.MapField.emptyMapField( DimensionScoreDefaultEntryHolder.defaultEntry); } return dimensionScore_; } public int getDimensionScoreCount() { return internalGetDimensionScore().getMap().size(); } /** * * *
     * The score of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the data quality score for the dimension.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> dimension_score = 5; */ @java.lang.Override public boolean containsDimensionScore(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetDimensionScore().getMap().containsKey(key); } /** Use {@link #getDimensionScoreMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDimensionScore() { return getDimensionScoreMap(); } /** * * *
     * The score of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the data quality score for the dimension.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> dimension_score = 5; */ @java.lang.Override public java.util.Map getDimensionScoreMap() { return internalGetDimensionScore().getMap(); } /** * * *
     * The score of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the data quality score for the dimension.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> dimension_score = 5; */ @java.lang.Override public float getDimensionScoreOrDefault(java.lang.String key, float defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDimensionScore().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * * *
     * The score of each dimension for data quality result.
     * The key of the map is the name of the dimension.
     * The value is the data quality score for the dimension.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> dimension_score = 5; */ @java.lang.Override public float getDimensionScoreOrThrow(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDimensionScore().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int COLUMN_SCORE_FIELD_NUMBER = 6; private static final class ColumnScoreDefaultEntryHolder { static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry.newDefaultInstance( com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_ColumnScoreEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.FLOAT, 0F); } @SuppressWarnings("serial") private com.google.protobuf.MapField columnScore_; private com.google.protobuf.MapField internalGetColumnScore() { if (columnScore_ == null) { return com.google.protobuf.MapField.emptyMapField( ColumnScoreDefaultEntryHolder.defaultEntry); } return columnScore_; } public int getColumnScoreCount() { return internalGetColumnScore().getMap().size(); } /** * * *
     * The score of each column scanned in the data scan job.
     * The key of the map is the name of the column.
     * The value is the data quality score for the column.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> column_score = 6; */ @java.lang.Override public boolean containsColumnScore(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetColumnScore().getMap().containsKey(key); } /** Use {@link #getColumnScoreMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getColumnScore() { return getColumnScoreMap(); } /** * * *
     * The score of each column scanned in the data scan job.
     * The key of the map is the name of the column.
     * The value is the data quality score for the column.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> column_score = 6; */ @java.lang.Override public java.util.Map getColumnScoreMap() { return internalGetColumnScore().getMap(); } /** * * *
     * The score of each column scanned in the data scan job.
     * The key of the map is the name of the column.
     * The value is the data quality score for the column.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> column_score = 6; */ @java.lang.Override public float getColumnScoreOrDefault(java.lang.String key, float defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetColumnScore().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * * *
     * The score of each column scanned in the data scan job.
     * The key of the map is the name of the column.
     * The value is the data quality score for the column.
     *
     * The score ranges between [0, 100] (up to two decimal
     * points).
     * 
* * map<string, float> column_score = 6; */ @java.lang.Override public float getColumnScoreOrThrow(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetColumnScore().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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 (rowCount_ != 0L) { output.writeInt64(1, rowCount_); } if (passed_ != false) { output.writeBool(2, passed_); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetDimensionPassed(), DimensionPassedDefaultEntryHolder.defaultEntry, 3); if (java.lang.Float.floatToRawIntBits(score_) != 0) { output.writeFloat(4, score_); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetDimensionScore(), DimensionScoreDefaultEntryHolder.defaultEntry, 5); com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetColumnScore(), ColumnScoreDefaultEntryHolder.defaultEntry, 6); getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (rowCount_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, rowCount_); } if (passed_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, passed_); } for (java.util.Map.Entry entry : internalGetDimensionPassed().getMap().entrySet()) { com.google.protobuf.MapEntry dimensionPassed__ = DimensionPassedDefaultEntryHolder.defaultEntry .newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, dimensionPassed__); } if (java.lang.Float.floatToRawIntBits(score_) != 0) { size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, score_); } for (java.util.Map.Entry entry : internalGetDimensionScore().getMap().entrySet()) { com.google.protobuf.MapEntry dimensionScore__ = DimensionScoreDefaultEntryHolder.defaultEntry .newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, dimensionScore__); } for (java.util.Map.Entry entry : internalGetColumnScore().getMap().entrySet()) { com.google.protobuf.MapEntry columnScore__ = ColumnScoreDefaultEntryHolder.defaultEntry .newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, columnScore__); } 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.DataScanEvent.DataQualityResult)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult other = (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) obj; if (getRowCount() != other.getRowCount()) return false; if (getPassed() != other.getPassed()) return false; if (!internalGetDimensionPassed().equals(other.internalGetDimensionPassed())) return false; if (java.lang.Float.floatToIntBits(getScore()) != java.lang.Float.floatToIntBits(other.getScore())) return false; if (!internalGetDimensionScore().equals(other.internalGetDimensionScore())) return false; if (!internalGetColumnScore().equals(other.internalGetColumnScore())) 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) + ROW_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); hash = (37 * hash) + PASSED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPassed()); if (!internalGetDimensionPassed().getMap().isEmpty()) { hash = (37 * hash) + DIMENSION_PASSED_FIELD_NUMBER; hash = (53 * hash) + internalGetDimensionPassed().hashCode(); } hash = (37 * hash) + SCORE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits(getScore()); if (!internalGetDimensionScore().getMap().isEmpty()) { hash = (37 * hash) + DIMENSION_SCORE_FIELD_NUMBER; hash = (53 * hash) + internalGetDimensionScore().hashCode(); } if (!internalGetColumnScore().getMap().isEmpty()) { hash = (37 * hash) + COLUMN_SCORE_FIELD_NUMBER; hash = (53 * hash) + internalGetColumnScore().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.DataQualityResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.DataQualityResult parseFrom( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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; } /** * * *
     * Data quality result for data scan job.
     * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataQualityResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 3: return internalGetDimensionPassed(); case 5: return internalGetDimensionScore(); case 6: return internalGetColumnScore(); default: throw new RuntimeException("Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { switch (number) { case 3: return internalGetMutableDimensionPassed(); case 5: return internalGetMutableDimensionScore(); case 6: return internalGetMutableColumnScore(); default: throw new RuntimeException("Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.class, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; rowCount_ = 0L; passed_ = false; internalGetMutableDimensionPassed().clear(); score_ = 0F; internalGetMutableDimensionScore().clear(); internalGetMutableColumnScore().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityResult_descriptor; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult build() { com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult buildPartial() { com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult result = new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0( com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rowCount_ = rowCount_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.passed_ = passed_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.dimensionPassed_ = internalGetDimensionPassed(); result.dimensionPassed_.makeImmutable(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.score_ = score_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.dimensionScore_ = internalGetDimensionScore(); result.dimensionScore_.makeImmutable(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.columnScore_ = internalGetColumnScore(); result.columnScore_.makeImmutable(); } } @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.DataScanEvent.DataQualityResult) { return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult other) { if (other == com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance()) return this; if (other.getRowCount() != 0L) { setRowCount(other.getRowCount()); } if (other.getPassed() != false) { setPassed(other.getPassed()); } internalGetMutableDimensionPassed().mergeFrom(other.internalGetDimensionPassed()); bitField0_ |= 0x00000004; if (other.getScore() != 0F) { setScore(other.getScore()); } internalGetMutableDimensionScore().mergeFrom(other.internalGetDimensionScore()); bitField0_ |= 0x00000010; internalGetMutableColumnScore().mergeFrom(other.internalGetColumnScore()); bitField0_ |= 0x00000020; 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: { rowCount_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { passed_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { com.google.protobuf.MapEntry dimensionPassed__ = input.readMessage( DimensionPassedDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableDimensionPassed() .getMutableMap() .put(dimensionPassed__.getKey(), dimensionPassed__.getValue()); bitField0_ |= 0x00000004; break; } // case 26 case 37: { score_ = input.readFloat(); bitField0_ |= 0x00000008; break; } // case 37 case 42: { com.google.protobuf.MapEntry dimensionScore__ = input.readMessage( DimensionScoreDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableDimensionScore() .getMutableMap() .put(dimensionScore__.getKey(), dimensionScore__.getValue()); bitField0_ |= 0x00000010; break; } // case 42 case 50: { com.google.protobuf.MapEntry columnScore__ = input.readMessage( ColumnScoreDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableColumnScore() .getMutableMap() .put(columnScore__.getKey(), columnScore__.getValue()); bitField0_ |= 0x00000020; break; } // case 50 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 long rowCount_; /** * * *
       * The count of rows processed in the data scan job.
       * 
* * int64 row_count = 1; * * @return The rowCount. */ @java.lang.Override public long getRowCount() { return rowCount_; } /** * * *
       * The count of rows processed in the data scan job.
       * 
* * int64 row_count = 1; * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(long value) { rowCount_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
       * The count of rows processed in the data scan job.
       * 
* * int64 row_count = 1; * * @return This builder for chaining. */ public Builder clearRowCount() { bitField0_ = (bitField0_ & ~0x00000001); rowCount_ = 0L; onChanged(); return this; } private boolean passed_; /** * * *
       * Whether the data quality result was `pass` or not.
       * 
* * bool passed = 2; * * @return The passed. */ @java.lang.Override public boolean getPassed() { return passed_; } /** * * *
       * Whether the data quality result was `pass` or not.
       * 
* * bool passed = 2; * * @param value The passed to set. * @return This builder for chaining. */ public Builder setPassed(boolean value) { passed_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
       * Whether the data quality result was `pass` or not.
       * 
* * bool passed = 2; * * @return This builder for chaining. */ public Builder clearPassed() { bitField0_ = (bitField0_ & ~0x00000002); passed_ = false; onChanged(); return this; } private com.google.protobuf.MapField dimensionPassed_; private com.google.protobuf.MapField internalGetDimensionPassed() { if (dimensionPassed_ == null) { return com.google.protobuf.MapField.emptyMapField( DimensionPassedDefaultEntryHolder.defaultEntry); } return dimensionPassed_; } private com.google.protobuf.MapField internalGetMutableDimensionPassed() { if (dimensionPassed_ == null) { dimensionPassed_ = com.google.protobuf.MapField.newMapField( DimensionPassedDefaultEntryHolder.defaultEntry); } if (!dimensionPassed_.isMutable()) { dimensionPassed_ = dimensionPassed_.copy(); } bitField0_ |= 0x00000004; onChanged(); return dimensionPassed_; } public int getDimensionPassedCount() { return internalGetDimensionPassed().getMap().size(); } /** * * *
       * The result of each dimension for data quality result.
       * The key of the map is the name of the dimension.
       * The value is the bool value depicting whether the dimension result was
       * `pass` or not.
       * 
* * map<string, bool> dimension_passed = 3; */ @java.lang.Override public boolean containsDimensionPassed(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetDimensionPassed().getMap().containsKey(key); } /** Use {@link #getDimensionPassedMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDimensionPassed() { return getDimensionPassedMap(); } /** * * *
       * The result of each dimension for data quality result.
       * The key of the map is the name of the dimension.
       * The value is the bool value depicting whether the dimension result was
       * `pass` or not.
       * 
* * map<string, bool> dimension_passed = 3; */ @java.lang.Override public java.util.Map getDimensionPassedMap() { return internalGetDimensionPassed().getMap(); } /** * * *
       * The result of each dimension for data quality result.
       * The key of the map is the name of the dimension.
       * The value is the bool value depicting whether the dimension result was
       * `pass` or not.
       * 
* * map<string, bool> dimension_passed = 3; */ @java.lang.Override public boolean getDimensionPassedOrDefault(java.lang.String key, boolean defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDimensionPassed().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * * *
       * The result of each dimension for data quality result.
       * The key of the map is the name of the dimension.
       * The value is the bool value depicting whether the dimension result was
       * `pass` or not.
       * 
* * map<string, bool> dimension_passed = 3; */ @java.lang.Override public boolean getDimensionPassedOrThrow(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDimensionPassed().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearDimensionPassed() { bitField0_ = (bitField0_ & ~0x00000004); internalGetMutableDimensionPassed().getMutableMap().clear(); return this; } /** * * *
       * The result of each dimension for data quality result.
       * The key of the map is the name of the dimension.
       * The value is the bool value depicting whether the dimension result was
       * `pass` or not.
       * 
* * map<string, bool> dimension_passed = 3; */ public Builder removeDimensionPassed(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableDimensionPassed().getMutableMap().remove(key); return this; } /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableDimensionPassed() { bitField0_ |= 0x00000004; return internalGetMutableDimensionPassed().getMutableMap(); } /** * * *
       * The result of each dimension for data quality result.
       * The key of the map is the name of the dimension.
       * The value is the bool value depicting whether the dimension result was
       * `pass` or not.
       * 
* * map<string, bool> dimension_passed = 3; */ public Builder putDimensionPassed(java.lang.String key, boolean value) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableDimensionPassed().getMutableMap().put(key, value); bitField0_ |= 0x00000004; return this; } /** * * *
       * The result of each dimension for data quality result.
       * The key of the map is the name of the dimension.
       * The value is the bool value depicting whether the dimension result was
       * `pass` or not.
       * 
* * map<string, bool> dimension_passed = 3; */ public Builder putAllDimensionPassed( java.util.Map values) { internalGetMutableDimensionPassed().getMutableMap().putAll(values); bitField0_ |= 0x00000004; return this; } private float score_; /** * * *
       * The table-level data quality score for the data scan job.
       *
       * The data quality score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * float score = 4; * * @return The score. */ @java.lang.Override public float getScore() { return score_; } /** * * *
       * The table-level data quality score for the data scan job.
       *
       * The data quality score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * float score = 4; * * @param value The score to set. * @return This builder for chaining. */ public Builder setScore(float value) { score_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * * *
       * The table-level data quality score for the data scan job.
       *
       * The data quality score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * float score = 4; * * @return This builder for chaining. */ public Builder clearScore() { bitField0_ = (bitField0_ & ~0x00000008); score_ = 0F; onChanged(); return this; } private com.google.protobuf.MapField dimensionScore_; private com.google.protobuf.MapField internalGetDimensionScore() { if (dimensionScore_ == null) { return com.google.protobuf.MapField.emptyMapField( DimensionScoreDefaultEntryHolder.defaultEntry); } return dimensionScore_; } private com.google.protobuf.MapField internalGetMutableDimensionScore() { if (dimensionScore_ == null) { dimensionScore_ = com.google.protobuf.MapField.newMapField( DimensionScoreDefaultEntryHolder.defaultEntry); } if (!dimensionScore_.isMutable()) { dimensionScore_ = dimensionScore_.copy(); } bitField0_ |= 0x00000010; onChanged(); return dimensionScore_; } public int getDimensionScoreCount() { return internalGetDimensionScore().getMap().size(); } /** * * *
       * The score of each dimension for data quality result.
       * The key of the map is the name of the dimension.
       * The value is the data quality score for the dimension.
       *
       * The score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * map<string, float> dimension_score = 5; */ @java.lang.Override public boolean containsDimensionScore(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetDimensionScore().getMap().containsKey(key); } /** Use {@link #getDimensionScoreMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDimensionScore() { return getDimensionScoreMap(); } /** * * *
       * The score of each dimension for data quality result.
       * The key of the map is the name of the dimension.
       * The value is the data quality score for the dimension.
       *
       * The score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * map<string, float> dimension_score = 5; */ @java.lang.Override public java.util.Map getDimensionScoreMap() { return internalGetDimensionScore().getMap(); } /** * * *
       * The score of each dimension for data quality result.
       * The key of the map is the name of the dimension.
       * The value is the data quality score for the dimension.
       *
       * The score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * map<string, float> dimension_score = 5; */ @java.lang.Override public float getDimensionScoreOrDefault(java.lang.String key, float defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDimensionScore().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * * *
       * The score of each dimension for data quality result.
       * The key of the map is the name of the dimension.
       * The value is the data quality score for the dimension.
       *
       * The score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * map<string, float> dimension_score = 5; */ @java.lang.Override public float getDimensionScoreOrThrow(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDimensionScore().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearDimensionScore() { bitField0_ = (bitField0_ & ~0x00000010); internalGetMutableDimensionScore().getMutableMap().clear(); return this; } /** * * *
       * The score of each dimension for data quality result.
       * The key of the map is the name of the dimension.
       * The value is the data quality score for the dimension.
       *
       * The score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * map<string, float> dimension_score = 5; */ public Builder removeDimensionScore(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableDimensionScore().getMutableMap().remove(key); return this; } /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableDimensionScore() { bitField0_ |= 0x00000010; return internalGetMutableDimensionScore().getMutableMap(); } /** * * *
       * The score of each dimension for data quality result.
       * The key of the map is the name of the dimension.
       * The value is the data quality score for the dimension.
       *
       * The score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * map<string, float> dimension_score = 5; */ public Builder putDimensionScore(java.lang.String key, float value) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableDimensionScore().getMutableMap().put(key, value); bitField0_ |= 0x00000010; return this; } /** * * *
       * The score of each dimension for data quality result.
       * The key of the map is the name of the dimension.
       * The value is the data quality score for the dimension.
       *
       * The score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * map<string, float> dimension_score = 5; */ public Builder putAllDimensionScore(java.util.Map values) { internalGetMutableDimensionScore().getMutableMap().putAll(values); bitField0_ |= 0x00000010; return this; } private com.google.protobuf.MapField columnScore_; private com.google.protobuf.MapField internalGetColumnScore() { if (columnScore_ == null) { return com.google.protobuf.MapField.emptyMapField( ColumnScoreDefaultEntryHolder.defaultEntry); } return columnScore_; } private com.google.protobuf.MapField internalGetMutableColumnScore() { if (columnScore_ == null) { columnScore_ = com.google.protobuf.MapField.newMapField(ColumnScoreDefaultEntryHolder.defaultEntry); } if (!columnScore_.isMutable()) { columnScore_ = columnScore_.copy(); } bitField0_ |= 0x00000020; onChanged(); return columnScore_; } public int getColumnScoreCount() { return internalGetColumnScore().getMap().size(); } /** * * *
       * The score of each column scanned in the data scan job.
       * The key of the map is the name of the column.
       * The value is the data quality score for the column.
       *
       * The score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * map<string, float> column_score = 6; */ @java.lang.Override public boolean containsColumnScore(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetColumnScore().getMap().containsKey(key); } /** Use {@link #getColumnScoreMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getColumnScore() { return getColumnScoreMap(); } /** * * *
       * The score of each column scanned in the data scan job.
       * The key of the map is the name of the column.
       * The value is the data quality score for the column.
       *
       * The score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * map<string, float> column_score = 6; */ @java.lang.Override public java.util.Map getColumnScoreMap() { return internalGetColumnScore().getMap(); } /** * * *
       * The score of each column scanned in the data scan job.
       * The key of the map is the name of the column.
       * The value is the data quality score for the column.
       *
       * The score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * map<string, float> column_score = 6; */ @java.lang.Override public float getColumnScoreOrDefault(java.lang.String key, float defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetColumnScore().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * * *
       * The score of each column scanned in the data scan job.
       * The key of the map is the name of the column.
       * The value is the data quality score for the column.
       *
       * The score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * map<string, float> column_score = 6; */ @java.lang.Override public float getColumnScoreOrThrow(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetColumnScore().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearColumnScore() { bitField0_ = (bitField0_ & ~0x00000020); internalGetMutableColumnScore().getMutableMap().clear(); return this; } /** * * *
       * The score of each column scanned in the data scan job.
       * The key of the map is the name of the column.
       * The value is the data quality score for the column.
       *
       * The score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * map<string, float> column_score = 6; */ public Builder removeColumnScore(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableColumnScore().getMutableMap().remove(key); return this; } /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableColumnScore() { bitField0_ |= 0x00000020; return internalGetMutableColumnScore().getMutableMap(); } /** * * *
       * The score of each column scanned in the data scan job.
       * The key of the map is the name of the column.
       * The value is the data quality score for the column.
       *
       * The score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * map<string, float> column_score = 6; */ public Builder putColumnScore(java.lang.String key, float value) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableColumnScore().getMutableMap().put(key, value); bitField0_ |= 0x00000020; return this; } /** * * *
       * The score of each column scanned in the data scan job.
       * The key of the map is the name of the column.
       * The value is the data quality score for the column.
       *
       * The score ranges between [0, 100] (up to two decimal
       * points).
       * 
* * map<string, float> column_score = 6; */ public Builder putAllColumnScore(java.util.Map values) { internalGetMutableColumnScore().getMutableMap().putAll(values); bitField0_ |= 0x00000020; 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.DataScanEvent.DataQualityResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) private static final com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult(); } public static com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.DataQualityResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DataProfileAppliedConfigsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) com.google.protobuf.MessageOrBuilder { /** * * *
     * The percentage of the records selected from the dataset for DataScan.
     *
     * * Value ranges between 0.0 and 100.0.
     * * Value 0.0 or 100.0 imply that sampling was not applied.
     * 
* * float sampling_percent = 1; * * @return The samplingPercent. */ float getSamplingPercent(); /** * * *
     * Boolean indicating whether a row filter was applied in the DataScan job.
     * 
* * bool row_filter_applied = 2; * * @return The rowFilterApplied. */ boolean getRowFilterApplied(); /** * * *
     * Boolean indicating whether a column filter was applied in the DataScan
     * job.
     * 
* * bool column_filter_applied = 3; * * @return The columnFilterApplied. */ boolean getColumnFilterApplied(); } /** * * *
   * Applied configs for data profile type data scan job.
   * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs} */ public static final class DataProfileAppliedConfigs extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) DataProfileAppliedConfigsOrBuilder { private static final long serialVersionUID = 0L; // Use DataProfileAppliedConfigs.newBuilder() to construct. private DataProfileAppliedConfigs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DataProfileAppliedConfigs() {} @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataProfileAppliedConfigs(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.class, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder.class); } public static final int SAMPLING_PERCENT_FIELD_NUMBER = 1; private float samplingPercent_ = 0F; /** * * *
     * The percentage of the records selected from the dataset for DataScan.
     *
     * * Value ranges between 0.0 and 100.0.
     * * Value 0.0 or 100.0 imply that sampling was not applied.
     * 
* * float sampling_percent = 1; * * @return The samplingPercent. */ @java.lang.Override public float getSamplingPercent() { return samplingPercent_; } public static final int ROW_FILTER_APPLIED_FIELD_NUMBER = 2; private boolean rowFilterApplied_ = false; /** * * *
     * Boolean indicating whether a row filter was applied in the DataScan job.
     * 
* * bool row_filter_applied = 2; * * @return The rowFilterApplied. */ @java.lang.Override public boolean getRowFilterApplied() { return rowFilterApplied_; } public static final int COLUMN_FILTER_APPLIED_FIELD_NUMBER = 3; private boolean columnFilterApplied_ = false; /** * * *
     * Boolean indicating whether a column filter was applied in the DataScan
     * job.
     * 
* * bool column_filter_applied = 3; * * @return The columnFilterApplied. */ @java.lang.Override public boolean getColumnFilterApplied() { return columnFilterApplied_; } 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 (java.lang.Float.floatToRawIntBits(samplingPercent_) != 0) { output.writeFloat(1, samplingPercent_); } if (rowFilterApplied_ != false) { output.writeBool(2, rowFilterApplied_); } if (columnFilterApplied_ != false) { output.writeBool(3, columnFilterApplied_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (java.lang.Float.floatToRawIntBits(samplingPercent_) != 0) { size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, samplingPercent_); } if (rowFilterApplied_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, rowFilterApplied_); } if (columnFilterApplied_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, columnFilterApplied_); } 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.DataScanEvent.DataProfileAppliedConfigs)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs other = (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) obj; if (java.lang.Float.floatToIntBits(getSamplingPercent()) != java.lang.Float.floatToIntBits(other.getSamplingPercent())) return false; if (getRowFilterApplied() != other.getRowFilterApplied()) return false; if (getColumnFilterApplied() != other.getColumnFilterApplied()) 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) + SAMPLING_PERCENT_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits(getSamplingPercent()); hash = (37 * hash) + ROW_FILTER_APPLIED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRowFilterApplied()); hash = (37 * hash) + COLUMN_FILTER_APPLIED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getColumnFilterApplied()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs 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.DataScanEvent.DataProfileAppliedConfigs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs 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.DataScanEvent.DataProfileAppliedConfigs parseFrom( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs 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.DataScanEvent.DataProfileAppliedConfigs parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs 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.DataScanEvent.DataProfileAppliedConfigs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs 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.DataScanEvent.DataProfileAppliedConfigs 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.DataScanEvent.DataProfileAppliedConfigs 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.DataScanEvent.DataProfileAppliedConfigs 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; } /** * * *
     * Applied configs for data profile type data scan job.
     * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.class, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder.class); } // Construct using // com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; samplingPercent_ = 0F; rowFilterApplied_ = false; columnFilterApplied_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataProfileAppliedConfigs_descriptor; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs build() { com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs buildPartial() { com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs result = new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0( com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.samplingPercent_ = samplingPercent_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.rowFilterApplied_ = rowFilterApplied_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.columnFilterApplied_ = columnFilterApplied_; } } @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.DataScanEvent.DataProfileAppliedConfigs) { return mergeFrom( (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom( com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs other) { if (other == com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs .getDefaultInstance()) return this; if (other.getSamplingPercent() != 0F) { setSamplingPercent(other.getSamplingPercent()); } if (other.getRowFilterApplied() != false) { setRowFilterApplied(other.getRowFilterApplied()); } if (other.getColumnFilterApplied() != false) { setColumnFilterApplied(other.getColumnFilterApplied()); } 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 13: { samplingPercent_ = input.readFloat(); bitField0_ |= 0x00000001; break; } // case 13 case 16: { rowFilterApplied_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { columnFilterApplied_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 24 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 float samplingPercent_; /** * * *
       * The percentage of the records selected from the dataset for DataScan.
       *
       * * Value ranges between 0.0 and 100.0.
       * * Value 0.0 or 100.0 imply that sampling was not applied.
       * 
* * float sampling_percent = 1; * * @return The samplingPercent. */ @java.lang.Override public float getSamplingPercent() { return samplingPercent_; } /** * * *
       * The percentage of the records selected from the dataset for DataScan.
       *
       * * Value ranges between 0.0 and 100.0.
       * * Value 0.0 or 100.0 imply that sampling was not applied.
       * 
* * float sampling_percent = 1; * * @param value The samplingPercent to set. * @return This builder for chaining. */ public Builder setSamplingPercent(float value) { samplingPercent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
       * The percentage of the records selected from the dataset for DataScan.
       *
       * * Value ranges between 0.0 and 100.0.
       * * Value 0.0 or 100.0 imply that sampling was not applied.
       * 
* * float sampling_percent = 1; * * @return This builder for chaining. */ public Builder clearSamplingPercent() { bitField0_ = (bitField0_ & ~0x00000001); samplingPercent_ = 0F; onChanged(); return this; } private boolean rowFilterApplied_; /** * * *
       * Boolean indicating whether a row filter was applied in the DataScan job.
       * 
* * bool row_filter_applied = 2; * * @return The rowFilterApplied. */ @java.lang.Override public boolean getRowFilterApplied() { return rowFilterApplied_; } /** * * *
       * Boolean indicating whether a row filter was applied in the DataScan job.
       * 
* * bool row_filter_applied = 2; * * @param value The rowFilterApplied to set. * @return This builder for chaining. */ public Builder setRowFilterApplied(boolean value) { rowFilterApplied_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
       * Boolean indicating whether a row filter was applied in the DataScan job.
       * 
* * bool row_filter_applied = 2; * * @return This builder for chaining. */ public Builder clearRowFilterApplied() { bitField0_ = (bitField0_ & ~0x00000002); rowFilterApplied_ = false; onChanged(); return this; } private boolean columnFilterApplied_; /** * * *
       * Boolean indicating whether a column filter was applied in the DataScan
       * job.
       * 
* * bool column_filter_applied = 3; * * @return The columnFilterApplied. */ @java.lang.Override public boolean getColumnFilterApplied() { return columnFilterApplied_; } /** * * *
       * Boolean indicating whether a column filter was applied in the DataScan
       * job.
       * 
* * bool column_filter_applied = 3; * * @param value The columnFilterApplied to set. * @return This builder for chaining. */ public Builder setColumnFilterApplied(boolean value) { columnFilterApplied_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * * *
       * Boolean indicating whether a column filter was applied in the DataScan
       * job.
       * 
* * bool column_filter_applied = 3; * * @return This builder for chaining. */ public Builder clearColumnFilterApplied() { bitField0_ = (bitField0_ & ~0x00000004); columnFilterApplied_ = false; 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.DataScanEvent.DataProfileAppliedConfigs) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) private static final com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs(); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataProfileAppliedConfigs 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.DataScanEvent.DataProfileAppliedConfigs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DataQualityAppliedConfigsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) com.google.protobuf.MessageOrBuilder { /** * * *
     * The percentage of the records selected from the dataset for DataScan.
     *
     * * Value ranges between 0.0 and 100.0.
     * * Value 0.0 or 100.0 imply that sampling was not applied.
     * 
* * float sampling_percent = 1; * * @return The samplingPercent. */ float getSamplingPercent(); /** * * *
     * Boolean indicating whether a row filter was applied in the DataScan job.
     * 
* * bool row_filter_applied = 2; * * @return The rowFilterApplied. */ boolean getRowFilterApplied(); } /** * * *
   * Applied configs for data quality type data scan job.
   * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs} */ public static final class DataQualityAppliedConfigs extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) DataQualityAppliedConfigsOrBuilder { private static final long serialVersionUID = 0L; // Use DataQualityAppliedConfigs.newBuilder() to construct. private DataQualityAppliedConfigs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DataQualityAppliedConfigs() {} @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataQualityAppliedConfigs(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.class, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder.class); } public static final int SAMPLING_PERCENT_FIELD_NUMBER = 1; private float samplingPercent_ = 0F; /** * * *
     * The percentage of the records selected from the dataset for DataScan.
     *
     * * Value ranges between 0.0 and 100.0.
     * * Value 0.0 or 100.0 imply that sampling was not applied.
     * 
* * float sampling_percent = 1; * * @return The samplingPercent. */ @java.lang.Override public float getSamplingPercent() { return samplingPercent_; } public static final int ROW_FILTER_APPLIED_FIELD_NUMBER = 2; private boolean rowFilterApplied_ = false; /** * * *
     * Boolean indicating whether a row filter was applied in the DataScan job.
     * 
* * bool row_filter_applied = 2; * * @return The rowFilterApplied. */ @java.lang.Override public boolean getRowFilterApplied() { return rowFilterApplied_; } 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 (java.lang.Float.floatToRawIntBits(samplingPercent_) != 0) { output.writeFloat(1, samplingPercent_); } if (rowFilterApplied_ != false) { output.writeBool(2, rowFilterApplied_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (java.lang.Float.floatToRawIntBits(samplingPercent_) != 0) { size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, samplingPercent_); } if (rowFilterApplied_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, rowFilterApplied_); } 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.DataScanEvent.DataQualityAppliedConfigs)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs other = (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) obj; if (java.lang.Float.floatToIntBits(getSamplingPercent()) != java.lang.Float.floatToIntBits(other.getSamplingPercent())) return false; if (getRowFilterApplied() != other.getRowFilterApplied()) 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) + SAMPLING_PERCENT_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits(getSamplingPercent()); hash = (37 * hash) + ROW_FILTER_APPLIED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRowFilterApplied()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs 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.DataScanEvent.DataQualityAppliedConfigs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs 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.DataScanEvent.DataQualityAppliedConfigs parseFrom( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs 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.DataScanEvent.DataQualityAppliedConfigs parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs 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.DataScanEvent.DataQualityAppliedConfigs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs 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.DataScanEvent.DataQualityAppliedConfigs 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.DataScanEvent.DataQualityAppliedConfigs 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.DataScanEvent.DataQualityAppliedConfigs 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; } /** * * *
     * Applied configs for data quality type data scan job.
     * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.class, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder.class); } // Construct using // com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; samplingPercent_ = 0F; rowFilterApplied_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_DataQualityAppliedConfigs_descriptor; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs build() { com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs buildPartial() { com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs result = new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0( com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.samplingPercent_ = samplingPercent_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.rowFilterApplied_ = rowFilterApplied_; } } @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.DataScanEvent.DataQualityAppliedConfigs) { return mergeFrom( (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom( com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs other) { if (other == com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs .getDefaultInstance()) return this; if (other.getSamplingPercent() != 0F) { setSamplingPercent(other.getSamplingPercent()); } if (other.getRowFilterApplied() != false) { setRowFilterApplied(other.getRowFilterApplied()); } 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 13: { samplingPercent_ = input.readFloat(); bitField0_ |= 0x00000001; break; } // case 13 case 16: { rowFilterApplied_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 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 float samplingPercent_; /** * * *
       * The percentage of the records selected from the dataset for DataScan.
       *
       * * Value ranges between 0.0 and 100.0.
       * * Value 0.0 or 100.0 imply that sampling was not applied.
       * 
* * float sampling_percent = 1; * * @return The samplingPercent. */ @java.lang.Override public float getSamplingPercent() { return samplingPercent_; } /** * * *
       * The percentage of the records selected from the dataset for DataScan.
       *
       * * Value ranges between 0.0 and 100.0.
       * * Value 0.0 or 100.0 imply that sampling was not applied.
       * 
* * float sampling_percent = 1; * * @param value The samplingPercent to set. * @return This builder for chaining. */ public Builder setSamplingPercent(float value) { samplingPercent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
       * The percentage of the records selected from the dataset for DataScan.
       *
       * * Value ranges between 0.0 and 100.0.
       * * Value 0.0 or 100.0 imply that sampling was not applied.
       * 
* * float sampling_percent = 1; * * @return This builder for chaining. */ public Builder clearSamplingPercent() { bitField0_ = (bitField0_ & ~0x00000001); samplingPercent_ = 0F; onChanged(); return this; } private boolean rowFilterApplied_; /** * * *
       * Boolean indicating whether a row filter was applied in the DataScan job.
       * 
* * bool row_filter_applied = 2; * * @return The rowFilterApplied. */ @java.lang.Override public boolean getRowFilterApplied() { return rowFilterApplied_; } /** * * *
       * Boolean indicating whether a row filter was applied in the DataScan job.
       * 
* * bool row_filter_applied = 2; * * @param value The rowFilterApplied to set. * @return This builder for chaining. */ public Builder setRowFilterApplied(boolean value) { rowFilterApplied_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
       * Boolean indicating whether a row filter was applied in the DataScan job.
       * 
* * bool row_filter_applied = 2; * * @return This builder for chaining. */ public Builder clearRowFilterApplied() { bitField0_ = (bitField0_ & ~0x00000002); rowFilterApplied_ = false; 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.DataScanEvent.DataQualityAppliedConfigs) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) private static final com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs(); } public static com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataQualityAppliedConfigs 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.DataScanEvent.DataQualityAppliedConfigs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PostScanActionsResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) com.google.protobuf.MessageOrBuilder { /** * * *
     * The result of BigQuery export post scan action.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * * * @return Whether the bigqueryExportResult field is set. */ boolean hasBigqueryExportResult(); /** * * *
     * The result of BigQuery export post scan action.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * * * @return The bigqueryExportResult. */ com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult(); /** * * *
     * The result of BigQuery export post scan action.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * */ com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder(); } /** * * *
   * Post scan actions result for data scan job.
   * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult} */ public static final class PostScanActionsResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.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.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder.class); } public interface BigQueryExportResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) com.google.protobuf.MessageOrBuilder { /** * * *
       * Execution state for the BigQuery exporting.
       * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** * * *
       * Execution state for the BigQuery exporting.
       * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * * * @return The state. */ com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State getState(); /** * * *
       * Additional information about the BigQuery exporting.
       * 
* * string message = 2; * * @return The message. */ java.lang.String getMessage(); /** * * *
       * Additional information about the BigQuery exporting.
       * 
* * string message = 2; * * @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.DataScanEvent.PostScanActionsResult.BigQueryExportResult} */ public static final class BigQueryExportResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScanEvent.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.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult.Builder.class); } /** * * *
       * Execution state for the exporting.
       * 
* * Protobuf enum {@code * google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.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.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State) } public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; /** * * *
       * Execution state for the BigQuery exporting.
       * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * * * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { return state_; } /** * * *
       * Execution state for the BigQuery exporting.
       * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult .State getState() { com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State result = com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult .State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** * * *
       * Additional information about the BigQuery exporting.
       * 
* * string message = 2; * * @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; } } /** * * *
       * Additional information about the BigQuery exporting.
       * 
* * string message = 2; * * @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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.PostScanActionsResult .BigQueryExportResult)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult other = (com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.PostScanActionsResult .BigQueryExportResult parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.PostScanActionsResult .BigQueryExportResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.PostScanActionsResult .BigQueryExportResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.PostScanActionsResult.BigQueryExportResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult.class, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult.Builder.class); } // Construct using // com.google.cloud.dataplex.v1.DataScanEvent.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.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_BigQueryExportResult_descriptor; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult build() { com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult buildPartial() { com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult result = new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0( com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.PostScanActionsResult .BigQueryExportResult) { return mergeFrom( (com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom( com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult other) { if (other == com.google.cloud.dataplex.v1.DataScanEvent.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; /** * * *
         * Execution state for the BigQuery exporting.
         * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * * * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { return state_; } /** * * *
         * Execution state for the BigQuery exporting.
         * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * * * @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; } /** * * *
         * Execution state for the BigQuery exporting.
         * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult .State getState() { com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult .State result = com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult.State.UNRECOGNIZED : result; } /** * * *
         * Execution state for the BigQuery exporting.
         * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * * * @param value The state to set. * @return This builder for chaining. */ public Builder setState( com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult .State value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; state_ = value.getNumber(); onChanged(); return this; } /** * * *
         * Execution state for the BigQuery exporting.
         * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State state = 1; * * * @return This builder for chaining. */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000001); state_ = 0; onChanged(); return this; } private java.lang.Object message_ = ""; /** * * *
         * Additional information about the BigQuery exporting.
         * 
* * string message = 2; * * @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; } } /** * * *
         * Additional information about the BigQuery exporting.
         * 
* * string message = 2; * * @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; } } /** * * *
         * Additional information about the BigQuery exporting.
         * 
* * string message = 2; * * @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; } /** * * *
         * Additional information about the BigQuery exporting.
         * 
* * string message = 2; * * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * * *
         * Additional information about the BigQuery exporting.
         * 
* * string message = 2; * * @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.DataScanEvent.PostScanActionsResult.BigQueryExportResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult) private static final com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult(); } public static com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.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.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigqueryExportResult_; /** * * *
     * The result of BigQuery export post scan action.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * * * @return Whether the bigqueryExportResult field is set. */ @java.lang.Override public boolean hasBigqueryExportResult() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
     * The result of BigQuery export post scan action.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * * * @return The bigqueryExportResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult() { return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult .getDefaultInstance() : bigqueryExportResult_; } /** * * *
     * The result of BigQuery export post scan action.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.PostScanActionsResult)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult other = (com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.PostScanActionsResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.PostScanActionsResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.PostScanActionsResult parseFrom( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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.DataScanEvent.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; } /** * * *
     * Post scan actions result for data scan job.
     * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.class, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder.class); } // Construct using // com.google.cloud.dataplex.v1.DataScanEvent.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.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_PostScanActionsResult_descriptor; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult build() { com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult buildPartial() { com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult result = new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0( com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.PostScanActionsResult) { return mergeFrom( (com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom( com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult other) { if (other == com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigqueryExportResult_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult .Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResultOrBuilder> bigqueryExportResultBuilder_; /** * * *
       * The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * * * @return Whether the bigqueryExportResult field is set. */ public boolean hasBigqueryExportResult() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
       * The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * * * @return The bigqueryExportResult. */ public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult getBigqueryExportResult() { if (bigqueryExportResultBuilder_ == null) { return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } else { return bigqueryExportResultBuilder_.getMessage(); } } /** * * *
       * The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * */ public Builder setBigqueryExportResult( com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult value) { if (bigqueryExportResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } bigqueryExportResult_ = value; } else { bigqueryExportResultBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
       * The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * */ public Builder setBigqueryExportResult( com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult .Builder builderForValue) { if (bigqueryExportResultBuilder_ == null) { bigqueryExportResult_ = builderForValue.build(); } else { bigqueryExportResultBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
       * The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * */ public Builder mergeBigqueryExportResult( com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult value) { if (bigqueryExportResultBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && bigqueryExportResult_ != null && bigqueryExportResult_ != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult.getDefaultInstance()) { getBigqueryExportResultBuilder().mergeFrom(value); } else { bigqueryExportResult_ = value; } } else { bigqueryExportResultBuilder_.mergeFrom(value); } if (bigqueryExportResult_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * * *
       * The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * */ public Builder clearBigqueryExportResult() { bitField0_ = (bitField0_ & ~0x00000001); bigqueryExportResult_ = null; if (bigqueryExportResultBuilder_ != null) { bigqueryExportResultBuilder_.dispose(); bigqueryExportResultBuilder_ = null; } onChanged(); return this; } /** * * *
       * The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * */ public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult .Builder getBigqueryExportResultBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryExportResultFieldBuilder().getBuilder(); } /** * * *
       * The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * */ public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResultOrBuilder getBigqueryExportResultOrBuilder() { if (bigqueryExportResultBuilder_ != null) { return bigqueryExportResultBuilder_.getMessageOrBuilder(); } else { return bigqueryExportResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult.getDefaultInstance() : bigqueryExportResult_; } } /** * * *
       * The result of BigQuery export post scan action.
       * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult .Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResultOrBuilder> getBigqueryExportResultFieldBuilder() { if (bigqueryExportResultBuilder_ == null) { bigqueryExportResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .BigQueryExportResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.PostScanActionsResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult) private static final com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult(); } public static com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent.PostScanActionsResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; private int resultCase_ = 0; @SuppressWarnings("serial") private java.lang.Object result_; public enum ResultCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_PROFILE(101), DATA_QUALITY(102), RESULT_NOT_SET(0); private final int value; private ResultCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ResultCase valueOf(int value) { return forNumber(value); } public static ResultCase forNumber(int value) { switch (value) { case 101: return DATA_PROFILE; case 102: return DATA_QUALITY; case 0: return RESULT_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ResultCase getResultCase() { return ResultCase.forNumber(resultCase_); } private int appliedConfigsCase_ = 0; @SuppressWarnings("serial") private java.lang.Object appliedConfigs_; public enum AppliedConfigsCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_PROFILE_CONFIGS(201), DATA_QUALITY_CONFIGS(202), APPLIEDCONFIGS_NOT_SET(0); private final int value; private AppliedConfigsCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static AppliedConfigsCase valueOf(int value) { return forNumber(value); } public static AppliedConfigsCase forNumber(int value) { switch (value) { case 201: return DATA_PROFILE_CONFIGS; case 202: return DATA_QUALITY_CONFIGS; case 0: return APPLIEDCONFIGS_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public AppliedConfigsCase getAppliedConfigsCase() { return AppliedConfigsCase.forNumber(appliedConfigsCase_); } public static final int DATA_SOURCE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object dataSource_ = ""; /** * * *
   * The data source of the data scan
   * 
* * string data_source = 1; * * @return The dataSource. */ @java.lang.Override public java.lang.String getDataSource() { java.lang.Object ref = dataSource_; 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(); dataSource_ = s; return s; } } /** * * *
   * The data source of the data scan
   * 
* * string data_source = 1; * * @return The bytes for dataSource. */ @java.lang.Override public com.google.protobuf.ByteString getDataSourceBytes() { java.lang.Object ref = dataSource_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int JOB_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object jobId_ = ""; /** * * *
   * The identifier of the specific data scan job this log entry is for.
   * 
* * string job_id = 2; * * @return The jobId. */ @java.lang.Override public java.lang.String getJobId() { java.lang.Object ref = jobId_; 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(); jobId_ = s; return s; } } /** * * *
   * The identifier of the specific data scan job this log entry is for.
   * 
* * string job_id = 2; * * @return The bytes for jobId. */ @java.lang.Override public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CREATE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp createTime_; /** * * *
   * The time when the data scan job was created.
   * 
* * .google.protobuf.Timestamp create_time = 12; * * @return Whether the createTime field is set. */ @java.lang.Override public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
   * The time when the data scan job was created.
   * 
* * .google.protobuf.Timestamp create_time = 12; * * @return The createTime. */ @java.lang.Override public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** * * *
   * The time when the data scan job was created.
   * 
* * .google.protobuf.Timestamp create_time = 12; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** * * *
   * The time when the data scan job started to run.
   * 
* * .google.protobuf.Timestamp start_time = 3; * * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** * * *
   * The time when the data scan job started to run.
   * 
* * .google.protobuf.Timestamp start_time = 3; * * @return The startTime. */ @java.lang.Override public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** * * *
   * The time when the data scan job started to run.
   * 
* * .google.protobuf.Timestamp start_time = 3; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** * * *
   * The time when the data scan job finished.
   * 
* * .google.protobuf.Timestamp end_time = 4; * * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
   * The time when the data scan job finished.
   * 
* * .google.protobuf.Timestamp end_time = 4; * * @return The endTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** * * *
   * The time when the data scan job finished.
   * 
* * .google.protobuf.Timestamp end_time = 4; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } public static final int TYPE_FIELD_NUMBER = 5; private int type_ = 0; /** * * *
   * The type of the data scan.
   * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; * * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * * *
   * The type of the data scan.
   * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.ScanType getType() { com.google.cloud.dataplex.v1.DataScanEvent.ScanType result = com.google.cloud.dataplex.v1.DataScanEvent.ScanType.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.ScanType.UNRECOGNIZED : result; } public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** * * *
   * The status of the data scan job.
   * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; * * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { return state_; } /** * * *
   * The status of the data scan job.
   * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.State getState() { com.google.cloud.dataplex.v1.DataScanEvent.State result = com.google.cloud.dataplex.v1.DataScanEvent.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 7; @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** * * *
   * The message describing the data scan job event.
   * 
* * string message = 7; * * @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; } } /** * * *
   * The message describing the data scan job event.
   * 
* * string message = 7; * * @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; } } public static final int SPEC_VERSION_FIELD_NUMBER = 8; @SuppressWarnings("serial") private volatile java.lang.Object specVersion_ = ""; /** * * *
   * A version identifier of the spec which was used to execute this job.
   * 
* * string spec_version = 8; * * @return The specVersion. */ @java.lang.Override public java.lang.String getSpecVersion() { java.lang.Object ref = specVersion_; 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(); specVersion_ = s; return s; } } /** * * *
   * A version identifier of the spec which was used to execute this job.
   * 
* * string spec_version = 8; * * @return The bytes for specVersion. */ @java.lang.Override public com.google.protobuf.ByteString getSpecVersionBytes() { java.lang.Object ref = specVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); specVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TRIGGER_FIELD_NUMBER = 9; private int trigger_ = 0; /** * * *
   * The trigger type of the data scan job.
   * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; * * @return The enum numeric value on the wire for trigger. */ @java.lang.Override public int getTriggerValue() { return trigger_; } /** * * *
   * The trigger type of the data scan job.
   * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; * * @return The trigger. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.Trigger getTrigger() { com.google.cloud.dataplex.v1.DataScanEvent.Trigger result = com.google.cloud.dataplex.v1.DataScanEvent.Trigger.forNumber(trigger_); return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.Trigger.UNRECOGNIZED : result; } public static final int SCOPE_FIELD_NUMBER = 10; private int scope_ = 0; /** * * *
   * The scope of the data scan (e.g. full, incremental).
   * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; * * @return The enum numeric value on the wire for scope. */ @java.lang.Override public int getScopeValue() { return scope_; } /** * * *
   * The scope of the data scan (e.g. full, incremental).
   * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; * * @return The scope. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.Scope getScope() { com.google.cloud.dataplex.v1.DataScanEvent.Scope result = com.google.cloud.dataplex.v1.DataScanEvent.Scope.forNumber(scope_); return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.Scope.UNRECOGNIZED : result; } public static final int DATA_PROFILE_FIELD_NUMBER = 101; /** * * *
   * Data profile result for data profile type data scan.
   * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; * * @return Whether the dataProfile field is set. */ @java.lang.Override public boolean hasDataProfile() { return resultCase_ == 101; } /** * * *
   * Data profile result for data profile type data scan.
   * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; * * @return The dataProfile. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDataProfile() { if (resultCase_ == 101) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); } /** * * *
   * Data profile result for data profile type data scan.
   * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder getDataProfileOrBuilder() { if (resultCase_ == 101) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); } public static final int DATA_QUALITY_FIELD_NUMBER = 102; /** * * *
   * Data quality result for data quality type data scan.
   * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; * * @return Whether the dataQuality field is set. */ @java.lang.Override public boolean hasDataQuality() { return resultCase_ == 102; } /** * * *
   * Data quality result for data quality type data scan.
   * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; * * @return The dataQuality. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDataQuality() { if (resultCase_ == 102) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); } /** * * *
   * Data quality result for data quality type data scan.
   * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder getDataQualityOrBuilder() { if (resultCase_ == 102) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); } public static final int DATA_PROFILE_CONFIGS_FIELD_NUMBER = 201; /** * * *
   * Applied configs for data profile type data scan.
   * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * * * @return Whether the dataProfileConfigs field is set. */ @java.lang.Override public boolean hasDataProfileConfigs() { return appliedConfigsCase_ == 201; } /** * * *
   * Applied configs for data profile type data scan.
   * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * * * @return The dataProfileConfigs. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDataProfileConfigs() { if (appliedConfigsCase_ == 201) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs .getDefaultInstance(); } /** * * *
   * Applied configs for data profile type data scan.
   * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder getDataProfileConfigsOrBuilder() { if (appliedConfigsCase_ == 201) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs .getDefaultInstance(); } public static final int DATA_QUALITY_CONFIGS_FIELD_NUMBER = 202; /** * * *
   * Applied configs for data quality type data scan.
   * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * * * @return Whether the dataQualityConfigs field is set. */ @java.lang.Override public boolean hasDataQualityConfigs() { return appliedConfigsCase_ == 202; } /** * * *
   * Applied configs for data quality type data scan.
   * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * * * @return The dataQualityConfigs. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDataQualityConfigs() { if (appliedConfigsCase_ == 202) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs .getDefaultInstance(); } /** * * *
   * Applied configs for data quality type data scan.
   * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder getDataQualityConfigsOrBuilder() { if (appliedConfigsCase_ == 202) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs .getDefaultInstance(); } public static final int POST_SCAN_ACTIONS_RESULT_FIELD_NUMBER = 11; private com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult postScanActionsResult_; /** * * *
   * The result of post scan actions.
   * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * * * @return Whether the postScanActionsResult field is set. */ @java.lang.Override public boolean hasPostScanActionsResult() { return ((bitField0_ & 0x00000008) != 0); } /** * * *
   * The result of post scan actions.
   * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * * * @return The postScanActionsResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult getPostScanActionsResult() { return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } /** * * *
   * The result of post scan actions.
   * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataSource_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jobId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getStartTime()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getEndTime()); } if (type_ != com.google.cloud.dataplex.v1.DataScanEvent.ScanType.SCAN_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, type_); } if (state_ != com.google.cloud.dataplex.v1.DataScanEvent.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(6, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, message_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(specVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, specVersion_); } if (trigger_ != com.google.cloud.dataplex.v1.DataScanEvent.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { output.writeEnum(9, trigger_); } if (scope_ != com.google.cloud.dataplex.v1.DataScanEvent.Scope.SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(10, scope_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(11, getPostScanActionsResult()); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(12, getCreateTime()); } if (resultCase_ == 101) { output.writeMessage( 101, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_); } if (resultCase_ == 102) { output.writeMessage( 102, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_); } if (appliedConfigsCase_ == 201) { output.writeMessage( 201, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_); } if (appliedConfigsCase_ == 202) { output.writeMessage( 202, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dataSource_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); } if (type_ != com.google.cloud.dataplex.v1.DataScanEvent.ScanType.SCAN_TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); } if (state_ != com.google.cloud.dataplex.v1.DataScanEvent.State.STATE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, message_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(specVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, specVersion_); } if (trigger_ != com.google.cloud.dataplex.v1.DataScanEvent.Trigger.TRIGGER_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, trigger_); } if (scope_ != com.google.cloud.dataplex.v1.DataScanEvent.Scope.SCOPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, scope_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getPostScanActionsResult()); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCreateTime()); } if (resultCase_ == 101) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 101, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_); } if (resultCase_ == 102) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 102, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_); } if (appliedConfigsCase_ == 201) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 201, (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_); } if (appliedConfigsCase_ == 202) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 202, (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_); } 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.DataScanEvent)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataScanEvent other = (com.google.cloud.dataplex.v1.DataScanEvent) obj; if (!getDataSource().equals(other.getDataSource())) return false; if (!getJobId().equals(other.getJobId())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { if (!getEndTime().equals(other.getEndTime())) return false; } if (type_ != other.type_) return false; if (state_ != other.state_) return false; if (!getMessage().equals(other.getMessage())) return false; if (!getSpecVersion().equals(other.getSpecVersion())) return false; if (trigger_ != other.trigger_) return false; if (scope_ != other.scope_) return false; if (hasPostScanActionsResult() != other.hasPostScanActionsResult()) return false; if (hasPostScanActionsResult()) { if (!getPostScanActionsResult().equals(other.getPostScanActionsResult())) return false; } if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 101: if (!getDataProfile().equals(other.getDataProfile())) return false; break; case 102: if (!getDataQuality().equals(other.getDataQuality())) return false; break; case 0: default: } if (!getAppliedConfigsCase().equals(other.getAppliedConfigsCase())) return false; switch (appliedConfigsCase_) { case 201: if (!getDataProfileConfigs().equals(other.getDataProfileConfigs())) return false; break; case 202: if (!getDataQualityConfigs().equals(other.getDataQualityConfigs())) return false; break; case 0: default: } 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) + DATA_SOURCE_FIELD_NUMBER; hash = (53 * hash) + getDataSource().hashCode(); hash = (37 * hash) + JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); } if (hasStartTime()) { hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + getStartTime().hashCode(); } if (hasEndTime()) { hash = (37 * hash) + END_TIME_FIELD_NUMBER; hash = (53 * hash) + getEndTime().hashCode(); } hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (37 * hash) + SPEC_VERSION_FIELD_NUMBER; hash = (53 * hash) + getSpecVersion().hashCode(); hash = (37 * hash) + TRIGGER_FIELD_NUMBER; hash = (53 * hash) + trigger_; hash = (37 * hash) + SCOPE_FIELD_NUMBER; hash = (53 * hash) + scope_; if (hasPostScanActionsResult()) { hash = (37 * hash) + POST_SCAN_ACTIONS_RESULT_FIELD_NUMBER; hash = (53 * hash) + getPostScanActionsResult().hashCode(); } switch (resultCase_) { case 101: hash = (37 * hash) + DATA_PROFILE_FIELD_NUMBER; hash = (53 * hash) + getDataProfile().hashCode(); break; case 102: hash = (37 * hash) + DATA_QUALITY_FIELD_NUMBER; hash = (53 * hash) + getDataQuality().hashCode(); break; case 0: default: } switch (appliedConfigsCase_) { case 201: hash = (37 * hash) + DATA_PROFILE_CONFIGS_FIELD_NUMBER; hash = (53 * hash) + getDataProfileConfigs().hashCode(); break; case 202: hash = (37 * hash) + DATA_QUALITY_CONFIGS_FIELD_NUMBER; hash = (53 * hash) + getDataQualityConfigs().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataScanEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent 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.DataScanEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent 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.DataScanEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScanEvent 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.DataScanEvent parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScanEvent 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.DataScanEvent parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScanEvent 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.DataScanEvent 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.DataScanEvent 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.DataScanEvent 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; } /** * * *
   * These messages contain information about the execution of a datascan.
   * The monitored resource is 'DataScan'
   * Next ID: 13
   * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScanEvent} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScanEvent) com.google.cloud.dataplex.v1.DataScanEventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScanEvent.class, com.google.cloud.dataplex.v1.DataScanEvent.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScanEvent.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCreateTimeFieldBuilder(); getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); getPostScanActionsResultFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; dataSource_ = ""; jobId_ = ""; createTime_ = null; if (createTimeBuilder_ != null) { createTimeBuilder_.dispose(); createTimeBuilder_ = null; } startTime_ = null; if (startTimeBuilder_ != null) { startTimeBuilder_.dispose(); startTimeBuilder_ = null; } endTime_ = null; if (endTimeBuilder_ != null) { endTimeBuilder_.dispose(); endTimeBuilder_ = null; } type_ = 0; state_ = 0; message_ = ""; specVersion_ = ""; trigger_ = 0; scope_ = 0; if (dataProfileBuilder_ != null) { dataProfileBuilder_.clear(); } if (dataQualityBuilder_ != null) { dataQualityBuilder_.clear(); } if (dataProfileConfigsBuilder_ != null) { dataProfileConfigsBuilder_.clear(); } if (dataQualityConfigsBuilder_ != null) { dataQualityConfigsBuilder_.clear(); } postScanActionsResult_ = null; if (postScanActionsResultBuilder_ != null) { postScanActionsResultBuilder_.dispose(); postScanActionsResultBuilder_ = null; } resultCase_ = 0; result_ = null; appliedConfigsCase_ = 0; appliedConfigs_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.cloud.dataplex.v1.LogsProto .internal_static_google_cloud_dataplex_v1_DataScanEvent_descriptor; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataScanEvent.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent build() { com.google.cloud.dataplex.v1.DataScanEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent buildPartial() { com.google.cloud.dataplex.v1.DataScanEvent result = new com.google.cloud.dataplex.v1.DataScanEvent(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(com.google.cloud.dataplex.v1.DataScanEvent result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.dataSource_ = dataSource_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.jobId_ = jobId_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000020) != 0)) { result.type_ = type_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.state_ = state_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.message_ = message_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.specVersion_ = specVersion_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.trigger_ = trigger_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.scope_ = scope_; } if (((from_bitField0_ & 0x00008000) != 0)) { result.postScanActionsResult_ = postScanActionsResultBuilder_ == null ? postScanActionsResult_ : postScanActionsResultBuilder_.build(); to_bitField0_ |= 0x00000008; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScanEvent result) { result.resultCase_ = resultCase_; result.result_ = this.result_; if (resultCase_ == 101 && dataProfileBuilder_ != null) { result.result_ = dataProfileBuilder_.build(); } if (resultCase_ == 102 && dataQualityBuilder_ != null) { result.result_ = dataQualityBuilder_.build(); } result.appliedConfigsCase_ = appliedConfigsCase_; result.appliedConfigs_ = this.appliedConfigs_; if (appliedConfigsCase_ == 201 && dataProfileConfigsBuilder_ != null) { result.appliedConfigs_ = dataProfileConfigsBuilder_.build(); } if (appliedConfigsCase_ == 202 && dataQualityConfigsBuilder_ != null) { result.appliedConfigs_ = dataQualityConfigsBuilder_.build(); } } @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.DataScanEvent) { return mergeFrom((com.google.cloud.dataplex.v1.DataScanEvent) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScanEvent other) { if (other == com.google.cloud.dataplex.v1.DataScanEvent.getDefaultInstance()) return this; if (!other.getDataSource().isEmpty()) { dataSource_ = other.dataSource_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getJobId().isEmpty()) { jobId_ = other.jobId_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } if (other.hasStartTime()) { mergeStartTime(other.getStartTime()); } if (other.hasEndTime()) { mergeEndTime(other.getEndTime()); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (other.state_ != 0) { setStateValue(other.getStateValue()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000080; onChanged(); } if (!other.getSpecVersion().isEmpty()) { specVersion_ = other.specVersion_; bitField0_ |= 0x00000100; onChanged(); } if (other.trigger_ != 0) { setTriggerValue(other.getTriggerValue()); } if (other.scope_ != 0) { setScopeValue(other.getScopeValue()); } if (other.hasPostScanActionsResult()) { mergePostScanActionsResult(other.getPostScanActionsResult()); } switch (other.getResultCase()) { case DATA_PROFILE: { mergeDataProfile(other.getDataProfile()); break; } case DATA_QUALITY: { mergeDataQuality(other.getDataQuality()); break; } case RESULT_NOT_SET: { break; } } switch (other.getAppliedConfigsCase()) { case DATA_PROFILE_CONFIGS: { mergeDataProfileConfigs(other.getDataProfileConfigs()); break; } case DATA_QUALITY_CONFIGS: { mergeDataQualityConfigs(other.getDataQualityConfigs()); break; } case APPLIEDCONFIGS_NOT_SET: { break; } } 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: { dataSource_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { jobId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 26 case 34: { input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 34 case 40: { type_ = input.readEnum(); bitField0_ |= 0x00000020; break; } // case 40 case 48: { state_ = input.readEnum(); bitField0_ |= 0x00000040; break; } // case 48 case 58: { message_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000080; break; } // case 58 case 66: { specVersion_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000100; break; } // case 66 case 72: { trigger_ = input.readEnum(); bitField0_ |= 0x00000200; break; } // case 72 case 80: { scope_ = input.readEnum(); bitField0_ |= 0x00000400; break; } // case 80 case 90: { input.readMessage( getPostScanActionsResultFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00008000; break; } // case 90 case 98: { input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 98 case 810: { input.readMessage(getDataProfileFieldBuilder().getBuilder(), extensionRegistry); resultCase_ = 101; break; } // case 810 case 818: { input.readMessage(getDataQualityFieldBuilder().getBuilder(), extensionRegistry); resultCase_ = 102; break; } // case 818 case 1610: { input.readMessage( getDataProfileConfigsFieldBuilder().getBuilder(), extensionRegistry); appliedConfigsCase_ = 201; break; } // case 1610 case 1618: { input.readMessage( getDataQualityConfigsFieldBuilder().getBuilder(), extensionRegistry); appliedConfigsCase_ = 202; break; } // case 1618 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 resultCase_ = 0; private java.lang.Object result_; public ResultCase getResultCase() { return ResultCase.forNumber(resultCase_); } public Builder clearResult() { resultCase_ = 0; result_ = null; onChanged(); return this; } private int appliedConfigsCase_ = 0; private java.lang.Object appliedConfigs_; public AppliedConfigsCase getAppliedConfigsCase() { return AppliedConfigsCase.forNumber(appliedConfigsCase_); } public Builder clearAppliedConfigs() { appliedConfigsCase_ = 0; appliedConfigs_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object dataSource_ = ""; /** * * *
     * The data source of the data scan
     * 
* * string data_source = 1; * * @return The dataSource. */ public java.lang.String getDataSource() { java.lang.Object ref = dataSource_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataSource_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
     * The data source of the data scan
     * 
* * string data_source = 1; * * @return The bytes for dataSource. */ public com.google.protobuf.ByteString getDataSourceBytes() { java.lang.Object ref = dataSource_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataSource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
     * The data source of the data scan
     * 
* * string data_source = 1; * * @param value The dataSource to set. * @return This builder for chaining. */ public Builder setDataSource(java.lang.String value) { if (value == null) { throw new NullPointerException(); } dataSource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
     * The data source of the data scan
     * 
* * string data_source = 1; * * @return This builder for chaining. */ public Builder clearDataSource() { dataSource_ = getDefaultInstance().getDataSource(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * * *
     * The data source of the data scan
     * 
* * string data_source = 1; * * @param value The bytes for dataSource to set. * @return This builder for chaining. */ public Builder setDataSourceBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataSource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object jobId_ = ""; /** * * *
     * The identifier of the specific data scan job this log entry is for.
     * 
* * string job_id = 2; * * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobId_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
     * The identifier of the specific data scan job this log entry is for.
     * 
* * string job_id = 2; * * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
     * The identifier of the specific data scan job this log entry is for.
     * 
* * string job_id = 2; * * @param value The jobId to set. * @return This builder for chaining. */ public Builder setJobId(java.lang.String value) { if (value == null) { throw new NullPointerException(); } jobId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
     * The identifier of the specific data scan job this log entry is for.
     * 
* * string job_id = 2; * * @return This builder for chaining. */ public Builder clearJobId() { jobId_ = getDefaultInstance().getJobId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * * *
     * The identifier of the specific data scan job this log entry is for.
     * 
* * string job_id = 2; * * @param value The bytes for jobId to set. * @return This builder for chaining. */ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); jobId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** * * *
     * The time when the data scan job was created.
     * 
* * .google.protobuf.Timestamp create_time = 12; * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
     * The time when the data scan job was created.
     * 
* * .google.protobuf.Timestamp create_time = 12; * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** * * *
     * The time when the data scan job was created.
     * 
* * .google.protobuf.Timestamp create_time = 12; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } createTime_ = value; } else { createTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * * *
     * The time when the data scan job was created.
     * 
* * .google.protobuf.Timestamp create_time = 12; */ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { createTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * * *
     * The time when the data scan job was created.
     * 
* * .google.protobuf.Timestamp create_time = 12; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && createTime_ != null && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; } } else { createTimeBuilder_.mergeFrom(value); } if (createTime_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * * *
     * The time when the data scan job was created.
     * 
* * .google.protobuf.Timestamp create_time = 12; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); createTime_ = null; if (createTimeBuilder_ != null) { createTimeBuilder_.dispose(); createTimeBuilder_ = null; } onChanged(); return this; } /** * * *
     * The time when the data scan job was created.
     * 
* * .google.protobuf.Timestamp create_time = 12; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** * * *
     * The time when the data scan job was created.
     * 
* * .google.protobuf.Timestamp create_time = 12; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** * * *
     * The time when the data scan job was created.
     * 
* * .google.protobuf.Timestamp create_time = 12; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; } private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** * * *
     * The time when the data scan job started to run.
     * 
* * .google.protobuf.Timestamp start_time = 3; * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000008) != 0); } /** * * *
     * The time when the data scan job started to run.
     * 
* * .google.protobuf.Timestamp start_time = 3; * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** * * *
     * The time when the data scan job started to run.
     * 
* * .google.protobuf.Timestamp start_time = 3; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } startTime_ = value; } else { startTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * * *
     * The time when the data scan job started to run.
     * 
* * .google.protobuf.Timestamp start_time = 3; */ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { startTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * * *
     * The time when the data scan job started to run.
     * 
* * .google.protobuf.Timestamp start_time = 3; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && startTime_ != null && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; } } else { startTimeBuilder_.mergeFrom(value); } if (startTime_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** * * *
     * The time when the data scan job started to run.
     * 
* * .google.protobuf.Timestamp start_time = 3; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000008); startTime_ = null; if (startTimeBuilder_ != null) { startTimeBuilder_.dispose(); startTimeBuilder_ = null; } onChanged(); return this; } /** * * *
     * The time when the data scan job started to run.
     * 
* * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000008; onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** * * *
     * The time when the data scan job started to run.
     * 
* * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** * * *
     * The time when the data scan job started to run.
     * 
* * .google.protobuf.Timestamp start_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; } private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** * * *
     * The time when the data scan job finished.
     * 
* * .google.protobuf.Timestamp end_time = 4; * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000010) != 0); } /** * * *
     * The time when the data scan job finished.
     * 
* * .google.protobuf.Timestamp end_time = 4; * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { if (endTimeBuilder_ == null) { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } else { return endTimeBuilder_.getMessage(); } } /** * * *
     * The time when the data scan job finished.
     * 
* * .google.protobuf.Timestamp end_time = 4; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } endTime_ = value; } else { endTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * * *
     * The time when the data scan job finished.
     * 
* * .google.protobuf.Timestamp end_time = 4; */ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { endTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * * *
     * The time when the data scan job finished.
     * 
* * .google.protobuf.Timestamp end_time = 4; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && endTime_ != null && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; } } else { endTimeBuilder_.mergeFrom(value); } if (endTime_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** * * *
     * The time when the data scan job finished.
     * 
* * .google.protobuf.Timestamp end_time = 4; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000010); endTime_ = null; if (endTimeBuilder_ != null) { endTimeBuilder_.dispose(); endTimeBuilder_ = null; } onChanged(); return this; } /** * * *
     * The time when the data scan job finished.
     * 
* * .google.protobuf.Timestamp end_time = 4; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000010; onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** * * *
     * The time when the data scan job finished.
     * 
* * .google.protobuf.Timestamp end_time = 4; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** * * *
     * The time when the data scan job finished.
     * 
* * .google.protobuf.Timestamp end_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } private int type_ = 0; /** * * *
     * The type of the data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; * * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * * *
     * The type of the data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { type_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * * *
     * The type of the data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.ScanType getType() { com.google.cloud.dataplex.v1.DataScanEvent.ScanType result = com.google.cloud.dataplex.v1.DataScanEvent.ScanType.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.ScanType.UNRECOGNIZED : result; } /** * * *
     * The type of the data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; * * @param value The type to set. * @return This builder for chaining. */ public Builder setType(com.google.cloud.dataplex.v1.DataScanEvent.ScanType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; type_ = value.getNumber(); onChanged(); return this; } /** * * *
     * The type of the data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5; * * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000020); type_ = 0; onChanged(); return this; } private int state_ = 0; /** * * *
     * The status of the data scan job.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; * * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { return state_; } /** * * *
     * The status of the data scan job.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; * * @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_ |= 0x00000040; onChanged(); return this; } /** * * *
     * The status of the data scan job.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.State getState() { com.google.cloud.dataplex.v1.DataScanEvent.State result = com.google.cloud.dataplex.v1.DataScanEvent.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.State.UNRECOGNIZED : result; } /** * * *
     * The status of the data scan job.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; * * @param value The state to set. * @return This builder for chaining. */ public Builder setState(com.google.cloud.dataplex.v1.DataScanEvent.State value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; state_ = value.getNumber(); onChanged(); return this; } /** * * *
     * The status of the data scan job.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.State state = 6; * * @return This builder for chaining. */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000040); state_ = 0; onChanged(); return this; } private java.lang.Object message_ = ""; /** * * *
     * The message describing the data scan job event.
     * 
* * string message = 7; * * @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; } } /** * * *
     * The message describing the data scan job event.
     * 
* * string message = 7; * * @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; } } /** * * *
     * The message describing the data scan job event.
     * 
* * string message = 7; * * @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_ |= 0x00000080; onChanged(); return this; } /** * * *
     * The message describing the data scan job event.
     * 
* * string message = 7; * * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } /** * * *
     * The message describing the data scan job event.
     * 
* * string message = 7; * * @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_ |= 0x00000080; onChanged(); return this; } private java.lang.Object specVersion_ = ""; /** * * *
     * A version identifier of the spec which was used to execute this job.
     * 
* * string spec_version = 8; * * @return The specVersion. */ public java.lang.String getSpecVersion() { java.lang.Object ref = specVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); specVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
     * A version identifier of the spec which was used to execute this job.
     * 
* * string spec_version = 8; * * @return The bytes for specVersion. */ public com.google.protobuf.ByteString getSpecVersionBytes() { java.lang.Object ref = specVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); specVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
     * A version identifier of the spec which was used to execute this job.
     * 
* * string spec_version = 8; * * @param value The specVersion to set. * @return This builder for chaining. */ public Builder setSpecVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } specVersion_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** * * *
     * A version identifier of the spec which was used to execute this job.
     * 
* * string spec_version = 8; * * @return This builder for chaining. */ public Builder clearSpecVersion() { specVersion_ = getDefaultInstance().getSpecVersion(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** * * *
     * A version identifier of the spec which was used to execute this job.
     * 
* * string spec_version = 8; * * @param value The bytes for specVersion to set. * @return This builder for chaining. */ public Builder setSpecVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); specVersion_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } private int trigger_ = 0; /** * * *
     * The trigger type of the data scan job.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; * * @return The enum numeric value on the wire for trigger. */ @java.lang.Override public int getTriggerValue() { return trigger_; } /** * * *
     * The trigger type of the data scan job.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; * * @param value The enum numeric value on the wire for trigger to set. * @return This builder for chaining. */ public Builder setTriggerValue(int value) { trigger_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** * * *
     * The trigger type of the data scan job.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; * * @return The trigger. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.Trigger getTrigger() { com.google.cloud.dataplex.v1.DataScanEvent.Trigger result = com.google.cloud.dataplex.v1.DataScanEvent.Trigger.forNumber(trigger_); return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.Trigger.UNRECOGNIZED : result; } /** * * *
     * The trigger type of the data scan job.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; * * @param value The trigger to set. * @return This builder for chaining. */ public Builder setTrigger(com.google.cloud.dataplex.v1.DataScanEvent.Trigger value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; trigger_ = value.getNumber(); onChanged(); return this; } /** * * *
     * The trigger type of the data scan job.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9; * * @return This builder for chaining. */ public Builder clearTrigger() { bitField0_ = (bitField0_ & ~0x00000200); trigger_ = 0; onChanged(); return this; } private int scope_ = 0; /** * * *
     * The scope of the data scan (e.g. full, incremental).
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; * * @return The enum numeric value on the wire for scope. */ @java.lang.Override public int getScopeValue() { return scope_; } /** * * *
     * The scope of the data scan (e.g. full, incremental).
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { scope_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** * * *
     * The scope of the data scan (e.g. full, incremental).
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; * * @return The scope. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.Scope getScope() { com.google.cloud.dataplex.v1.DataScanEvent.Scope result = com.google.cloud.dataplex.v1.DataScanEvent.Scope.forNumber(scope_); return result == null ? com.google.cloud.dataplex.v1.DataScanEvent.Scope.UNRECOGNIZED : result; } /** * * *
     * The scope of the data scan (e.g. full, incremental).
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; * * @param value The scope to set. * @return This builder for chaining. */ public Builder setScope(com.google.cloud.dataplex.v1.DataScanEvent.Scope value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; scope_ = value.getNumber(); onChanged(); return this; } /** * * *
     * The scope of the data scan (e.g. full, incremental).
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10; * * @return This builder for chaining. */ public Builder clearScope() { bitField0_ = (bitField0_ & ~0x00000400); scope_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder> dataProfileBuilder_; /** * * *
     * Data profile result for data profile type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; * * @return Whether the dataProfile field is set. */ @java.lang.Override public boolean hasDataProfile() { return resultCase_ == 101; } /** * * *
     * Data profile result for data profile type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; * * @return The dataProfile. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult getDataProfile() { if (dataProfileBuilder_ == null) { if (resultCase_ == 101) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); } else { if (resultCase_ == 101) { return dataProfileBuilder_.getMessage(); } return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); } } /** * * *
     * Data profile result for data profile type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ public Builder setDataProfile( com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult value) { if (dataProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; onChanged(); } else { dataProfileBuilder_.setMessage(value); } resultCase_ = 101; return this; } /** * * *
     * Data profile result for data profile type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ public Builder setDataProfile( com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder builderForValue) { if (dataProfileBuilder_ == null) { result_ = builderForValue.build(); onChanged(); } else { dataProfileBuilder_.setMessage(builderForValue.build()); } resultCase_ = 101; return this; } /** * * *
     * Data profile result for data profile type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ public Builder mergeDataProfile( com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult value) { if (dataProfileBuilder_ == null) { if (resultCase_ == 101 && result_ != com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult .getDefaultInstance()) { result_ = com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.newBuilder( (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_) .mergeFrom(value) .buildPartial(); } else { result_ = value; } onChanged(); } else { if (resultCase_ == 101) { dataProfileBuilder_.mergeFrom(value); } else { dataProfileBuilder_.setMessage(value); } } resultCase_ = 101; return this; } /** * * *
     * Data profile result for data profile type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ public Builder clearDataProfile() { if (dataProfileBuilder_ == null) { if (resultCase_ == 101) { resultCase_ = 0; result_ = null; onChanged(); } } else { if (resultCase_ == 101) { resultCase_ = 0; result_ = null; } dataProfileBuilder_.clear(); } return this; } /** * * *
     * Data profile result for data profile type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder getDataProfileBuilder() { return getDataProfileFieldBuilder().getBuilder(); } /** * * *
     * Data profile result for data profile type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder getDataProfileOrBuilder() { if ((resultCase_ == 101) && (dataProfileBuilder_ != null)) { return dataProfileBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 101) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); } } /** * * *
     * Data profile result for data profile type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder> getDataProfileFieldBuilder() { if (dataProfileBuilder_ == null) { if (!(resultCase_ == 101)) { result_ = com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.getDefaultInstance(); } dataProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultOrBuilder>( (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 101; onChanged(); return dataProfileBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder> dataQualityBuilder_; /** * * *
     * Data quality result for data quality type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; * * @return Whether the dataQuality field is set. */ @java.lang.Override public boolean hasDataQuality() { return resultCase_ == 102; } /** * * *
     * Data quality result for data quality type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; * * @return The dataQuality. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult getDataQuality() { if (dataQualityBuilder_ == null) { if (resultCase_ == 102) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); } else { if (resultCase_ == 102) { return dataQualityBuilder_.getMessage(); } return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); } } /** * * *
     * Data quality result for data quality type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ public Builder setDataQuality( com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult value) { if (dataQualityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; onChanged(); } else { dataQualityBuilder_.setMessage(value); } resultCase_ = 102; return this; } /** * * *
     * Data quality result for data quality type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ public Builder setDataQuality( com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder builderForValue) { if (dataQualityBuilder_ == null) { result_ = builderForValue.build(); onChanged(); } else { dataQualityBuilder_.setMessage(builderForValue.build()); } resultCase_ = 102; return this; } /** * * *
     * Data quality result for data quality type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ public Builder mergeDataQuality( com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult value) { if (dataQualityBuilder_ == null) { if (resultCase_ == 102 && result_ != com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult .getDefaultInstance()) { result_ = com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.newBuilder( (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_) .mergeFrom(value) .buildPartial(); } else { result_ = value; } onChanged(); } else { if (resultCase_ == 102) { dataQualityBuilder_.mergeFrom(value); } else { dataQualityBuilder_.setMessage(value); } } resultCase_ = 102; return this; } /** * * *
     * Data quality result for data quality type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ public Builder clearDataQuality() { if (dataQualityBuilder_ == null) { if (resultCase_ == 102) { resultCase_ = 0; result_ = null; onChanged(); } } else { if (resultCase_ == 102) { resultCase_ = 0; result_ = null; } dataQualityBuilder_.clear(); } return this; } /** * * *
     * Data quality result for data quality type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder getDataQualityBuilder() { return getDataQualityFieldBuilder().getBuilder(); } /** * * *
     * Data quality result for data quality type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder getDataQualityOrBuilder() { if ((resultCase_ == 102) && (dataQualityBuilder_ != null)) { return dataQualityBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 102) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); } } /** * * *
     * Data quality result for data quality type data scan.
     * 
* * .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder> getDataQualityFieldBuilder() { if (dataQualityBuilder_ == null) { if (!(resultCase_ == 102)) { result_ = com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.getDefaultInstance(); } dataQualityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultOrBuilder>( (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 102; onChanged(); return dataQualityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder> dataProfileConfigsBuilder_; /** * * *
     * Applied configs for data profile type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * * * @return Whether the dataProfileConfigs field is set. */ @java.lang.Override public boolean hasDataProfileConfigs() { return appliedConfigsCase_ == 201; } /** * * *
     * Applied configs for data profile type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * * * @return The dataProfileConfigs. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs getDataProfileConfigs() { if (dataProfileConfigsBuilder_ == null) { if (appliedConfigsCase_ == 201) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs .getDefaultInstance(); } else { if (appliedConfigsCase_ == 201) { return dataProfileConfigsBuilder_.getMessage(); } return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs .getDefaultInstance(); } } /** * * *
     * Applied configs for data profile type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * */ public Builder setDataProfileConfigs( com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs value) { if (dataProfileConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } appliedConfigs_ = value; onChanged(); } else { dataProfileConfigsBuilder_.setMessage(value); } appliedConfigsCase_ = 201; return this; } /** * * *
     * Applied configs for data profile type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * */ public Builder setDataProfileConfigs( com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder builderForValue) { if (dataProfileConfigsBuilder_ == null) { appliedConfigs_ = builderForValue.build(); onChanged(); } else { dataProfileConfigsBuilder_.setMessage(builderForValue.build()); } appliedConfigsCase_ = 201; return this; } /** * * *
     * Applied configs for data profile type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * */ public Builder mergeDataProfileConfigs( com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs value) { if (dataProfileConfigsBuilder_ == null) { if (appliedConfigsCase_ == 201 && appliedConfigs_ != com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs .getDefaultInstance()) { appliedConfigs_ = com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.newBuilder( (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_) .mergeFrom(value) .buildPartial(); } else { appliedConfigs_ = value; } onChanged(); } else { if (appliedConfigsCase_ == 201) { dataProfileConfigsBuilder_.mergeFrom(value); } else { dataProfileConfigsBuilder_.setMessage(value); } } appliedConfigsCase_ = 201; return this; } /** * * *
     * Applied configs for data profile type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * */ public Builder clearDataProfileConfigs() { if (dataProfileConfigsBuilder_ == null) { if (appliedConfigsCase_ == 201) { appliedConfigsCase_ = 0; appliedConfigs_ = null; onChanged(); } } else { if (appliedConfigsCase_ == 201) { appliedConfigsCase_ = 0; appliedConfigs_ = null; } dataProfileConfigsBuilder_.clear(); } return this; } /** * * *
     * Applied configs for data profile type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * */ public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder getDataProfileConfigsBuilder() { return getDataProfileConfigsFieldBuilder().getBuilder(); } /** * * *
     * Applied configs for data profile type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder getDataProfileConfigsOrBuilder() { if ((appliedConfigsCase_ == 201) && (dataProfileConfigsBuilder_ != null)) { return dataProfileConfigsBuilder_.getMessageOrBuilder(); } else { if (appliedConfigsCase_ == 201) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs .getDefaultInstance(); } } /** * * *
     * Applied configs for data profile type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder> getDataProfileConfigsFieldBuilder() { if (dataProfileConfigsBuilder_ == null) { if (!(appliedConfigsCase_ == 201)) { appliedConfigs_ = com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs .getDefaultInstance(); } dataProfileConfigsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsOrBuilder>( (com.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs) appliedConfigs_, getParentForChildren(), isClean()); appliedConfigs_ = null; } appliedConfigsCase_ = 201; onChanged(); return dataProfileConfigsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder> dataQualityConfigsBuilder_; /** * * *
     * Applied configs for data quality type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * * * @return Whether the dataQualityConfigs field is set. */ @java.lang.Override public boolean hasDataQualityConfigs() { return appliedConfigsCase_ == 202; } /** * * *
     * Applied configs for data quality type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * * * @return The dataQualityConfigs. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs getDataQualityConfigs() { if (dataQualityConfigsBuilder_ == null) { if (appliedConfigsCase_ == 202) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs .getDefaultInstance(); } else { if (appliedConfigsCase_ == 202) { return dataQualityConfigsBuilder_.getMessage(); } return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs .getDefaultInstance(); } } /** * * *
     * Applied configs for data quality type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * */ public Builder setDataQualityConfigs( com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs value) { if (dataQualityConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } appliedConfigs_ = value; onChanged(); } else { dataQualityConfigsBuilder_.setMessage(value); } appliedConfigsCase_ = 202; return this; } /** * * *
     * Applied configs for data quality type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * */ public Builder setDataQualityConfigs( com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder builderForValue) { if (dataQualityConfigsBuilder_ == null) { appliedConfigs_ = builderForValue.build(); onChanged(); } else { dataQualityConfigsBuilder_.setMessage(builderForValue.build()); } appliedConfigsCase_ = 202; return this; } /** * * *
     * Applied configs for data quality type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * */ public Builder mergeDataQualityConfigs( com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs value) { if (dataQualityConfigsBuilder_ == null) { if (appliedConfigsCase_ == 202 && appliedConfigs_ != com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs .getDefaultInstance()) { appliedConfigs_ = com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.newBuilder( (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_) .mergeFrom(value) .buildPartial(); } else { appliedConfigs_ = value; } onChanged(); } else { if (appliedConfigsCase_ == 202) { dataQualityConfigsBuilder_.mergeFrom(value); } else { dataQualityConfigsBuilder_.setMessage(value); } } appliedConfigsCase_ = 202; return this; } /** * * *
     * Applied configs for data quality type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * */ public Builder clearDataQualityConfigs() { if (dataQualityConfigsBuilder_ == null) { if (appliedConfigsCase_ == 202) { appliedConfigsCase_ = 0; appliedConfigs_ = null; onChanged(); } } else { if (appliedConfigsCase_ == 202) { appliedConfigsCase_ = 0; appliedConfigs_ = null; } dataQualityConfigsBuilder_.clear(); } return this; } /** * * *
     * Applied configs for data quality type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * */ public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder getDataQualityConfigsBuilder() { return getDataQualityConfigsFieldBuilder().getBuilder(); } /** * * *
     * Applied configs for data quality type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder getDataQualityConfigsOrBuilder() { if ((appliedConfigsCase_ == 202) && (dataQualityConfigsBuilder_ != null)) { return dataQualityConfigsBuilder_.getMessageOrBuilder(); } else { if (appliedConfigsCase_ == 202) { return (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_; } return com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs .getDefaultInstance(); } } /** * * *
     * Applied configs for data quality type data scan.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder> getDataQualityConfigsFieldBuilder() { if (dataQualityConfigsBuilder_ == null) { if (!(appliedConfigsCase_ == 202)) { appliedConfigs_ = com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs .getDefaultInstance(); } dataQualityConfigsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs.Builder, com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsOrBuilder>( (com.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs) appliedConfigs_, getParentForChildren(), isClean()); appliedConfigs_ = null; } appliedConfigsCase_ = 202; onChanged(); return dataQualityConfigsBuilder_; } private com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult postScanActionsResult_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder> postScanActionsResultBuilder_; /** * * *
     * The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * * * @return Whether the postScanActionsResult field is set. */ public boolean hasPostScanActionsResult() { return ((bitField0_ & 0x00008000) != 0); } /** * * *
     * The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * * * @return The postScanActionsResult. */ public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult getPostScanActionsResult() { if (postScanActionsResultBuilder_ == null) { return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } else { return postScanActionsResultBuilder_.getMessage(); } } /** * * *
     * The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * */ public Builder setPostScanActionsResult( com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } postScanActionsResult_ = value; } else { postScanActionsResultBuilder_.setMessage(value); } bitField0_ |= 0x00008000; onChanged(); return this; } /** * * *
     * The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * */ public Builder setPostScanActionsResult( com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder builderForValue) { if (postScanActionsResultBuilder_ == null) { postScanActionsResult_ = builderForValue.build(); } else { postScanActionsResultBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00008000; onChanged(); return this; } /** * * *
     * The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * */ public Builder mergePostScanActionsResult( com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult value) { if (postScanActionsResultBuilder_ == null) { if (((bitField0_ & 0x00008000) != 0) && postScanActionsResult_ != null && postScanActionsResult_ != com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult .getDefaultInstance()) { getPostScanActionsResultBuilder().mergeFrom(value); } else { postScanActionsResult_ = value; } } else { postScanActionsResultBuilder_.mergeFrom(value); } if (postScanActionsResult_ != null) { bitField0_ |= 0x00008000; onChanged(); } return this; } /** * * *
     * The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * */ public Builder clearPostScanActionsResult() { bitField0_ = (bitField0_ & ~0x00008000); postScanActionsResult_ = null; if (postScanActionsResultBuilder_ != null) { postScanActionsResultBuilder_.dispose(); postScanActionsResultBuilder_ = null; } onChanged(); return this; } /** * * *
     * The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * */ public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder getPostScanActionsResultBuilder() { bitField0_ |= 0x00008000; onChanged(); return getPostScanActionsResultFieldBuilder().getBuilder(); } /** * * *
     * The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * */ public com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder() { if (postScanActionsResultBuilder_ != null) { return postScanActionsResultBuilder_.getMessageOrBuilder(); } else { return postScanActionsResult_ == null ? com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.getDefaultInstance() : postScanActionsResult_; } } /** * * *
     * The result of post scan actions.
     * 
* * * .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResultOrBuilder> getPostScanActionsResultFieldBuilder() { if (postScanActionsResultBuilder_ == null) { postScanActionsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult, com.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.Builder, com.google.cloud.dataplex.v1.DataScanEvent.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.DataScanEvent) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScanEvent) private static final com.google.cloud.dataplex.v1.DataScanEvent DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScanEvent(); } public static com.google.cloud.dataplex.v1.DataScanEvent getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataScanEvent 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.DataScanEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy