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

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

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

/**
 *
 *
 * 
 * Represents a user-visible job which provides the insights for the related
 * data source.
 *
 * For example:
 *
 * * Data Quality: generates queries based on the rules and runs against the
 *   data to get data quality check results.
 * * Data Profile: analyzes the data in table(s) and generates insights about
 *   the structure, content and relationships (such as null percent,
 *   cardinality, min/max/mean, etc).
 * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScan} */ public final class DataScan extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScan) DataScanOrBuilder { private static final long serialVersionUID = 0L; // Use DataScan.newBuilder() to construct. private DataScan(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DataScan() { name_ = ""; uid_ = ""; description_ = ""; displayName_ = ""; state_ = 0; type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataScan(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 5: return internalGetLabels(); 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.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScan.class, com.google.cloud.dataplex.v1.DataScan.Builder.class); } public interface ExecutionSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScan.ExecutionSpec) com.google.protobuf.MessageOrBuilder { /** * * *
     * Optional. Spec related to how often and when a scan should be triggered.
     *
     * If not specified, the default is `OnDemand`, which means the scan will
     * not run until the user calls `RunDataScan` API.
     * 
* * * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the trigger field is set. */ boolean hasTrigger(); /** * * *
     * Optional. Spec related to how often and when a scan should be triggered.
     *
     * If not specified, the default is `OnDemand`, which means the scan will
     * not run until the user calls `RunDataScan` API.
     * 
* * * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The trigger. */ com.google.cloud.dataplex.v1.Trigger getTrigger(); /** * * *
     * Optional. Spec related to how often and when a scan should be triggered.
     *
     * If not specified, the default is `OnDemand`, which means the scan will
     * not run until the user calls `RunDataScan` API.
     * 
* * * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder(); /** * * *
     * Immutable. The unnested field (of type *Date* or *Timestamp*) that
     * contains values which monotonically increase over time.
     *
     * If not specified, a data scan will run for all data in the table.
     * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; * * @return Whether the field field is set. */ boolean hasField(); /** * * *
     * Immutable. The unnested field (of type *Date* or *Timestamp*) that
     * contains values which monotonically increase over time.
     *
     * If not specified, a data scan will run for all data in the table.
     * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The field. */ java.lang.String getField(); /** * * *
     * Immutable. The unnested field (of type *Date* or *Timestamp*) that
     * contains values which monotonically increase over time.
     *
     * If not specified, a data scan will run for all data in the table.
     * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The bytes for field. */ com.google.protobuf.ByteString getFieldBytes(); com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.IncrementalCase getIncrementalCase(); } /** * * *
   * DataScan execution settings.
   * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScan.ExecutionSpec} */ public static final class ExecutionSpec extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScan.ExecutionSpec) ExecutionSpecOrBuilder { private static final long serialVersionUID = 0L; // Use ExecutionSpec.newBuilder() to construct. private ExecutionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecutionSpec() {} @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecutionSpec(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.class, com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder.class); } private int bitField0_; private int incrementalCase_ = 0; @SuppressWarnings("serial") private java.lang.Object incremental_; public enum IncrementalCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FIELD(100), INCREMENTAL_NOT_SET(0); private final int value; private IncrementalCase(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 IncrementalCase valueOf(int value) { return forNumber(value); } public static IncrementalCase forNumber(int value) { switch (value) { case 100: return FIELD; case 0: return INCREMENTAL_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public IncrementalCase getIncrementalCase() { return IncrementalCase.forNumber(incrementalCase_); } public static final int TRIGGER_FIELD_NUMBER = 1; private com.google.cloud.dataplex.v1.Trigger trigger_; /** * * *
     * Optional. Spec related to how often and when a scan should be triggered.
     *
     * If not specified, the default is `OnDemand`, which means the scan will
     * not run until the user calls `RunDataScan` API.
     * 
* * * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the trigger field is set. */ @java.lang.Override public boolean hasTrigger() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
     * Optional. Spec related to how often and when a scan should be triggered.
     *
     * If not specified, the default is `OnDemand`, which means the scan will
     * not run until the user calls `RunDataScan` API.
     * 
* * * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The trigger. */ @java.lang.Override public com.google.cloud.dataplex.v1.Trigger getTrigger() { return trigger_ == null ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() : trigger_; } /** * * *
     * Optional. Spec related to how often and when a scan should be triggered.
     *
     * If not specified, the default is `OnDemand`, which means the scan will
     * not run until the user calls `RunDataScan` API.
     * 
* * * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override public com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder() { return trigger_ == null ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() : trigger_; } public static final int FIELD_FIELD_NUMBER = 100; /** * * *
     * Immutable. The unnested field (of type *Date* or *Timestamp*) that
     * contains values which monotonically increase over time.
     *
     * If not specified, a data scan will run for all data in the table.
     * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; * * @return Whether the field field is set. */ public boolean hasField() { return incrementalCase_ == 100; } /** * * *
     * Immutable. The unnested field (of type *Date* or *Timestamp*) that
     * contains values which monotonically increase over time.
     *
     * If not specified, a data scan will run for all data in the table.
     * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The field. */ public java.lang.String getField() { java.lang.Object ref = ""; if (incrementalCase_ == 100) { ref = incremental_; } 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(); if (incrementalCase_ == 100) { incremental_ = s; } return s; } } /** * * *
     * Immutable. The unnested field (of type *Date* or *Timestamp*) that
     * contains values which monotonically increase over time.
     *
     * If not specified, a data scan will run for all data in the table.
     * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The bytes for field. */ public com.google.protobuf.ByteString getFieldBytes() { java.lang.Object ref = ""; if (incrementalCase_ == 100) { ref = incremental_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (incrementalCase_ == 100) { incremental_ = 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getTrigger()); } if (incrementalCase_ == 100) { com.google.protobuf.GeneratedMessageV3.writeString(output, 100, incremental_); } 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, getTrigger()); } if (incrementalCase_ == 100) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, incremental_); } 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.DataScan.ExecutionSpec)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataScan.ExecutionSpec other = (com.google.cloud.dataplex.v1.DataScan.ExecutionSpec) obj; if (hasTrigger() != other.hasTrigger()) return false; if (hasTrigger()) { if (!getTrigger().equals(other.getTrigger())) return false; } if (!getIncrementalCase().equals(other.getIncrementalCase())) return false; switch (incrementalCase_) { case 100: if (!getField().equals(other.getField())) 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(); if (hasTrigger()) { hash = (37 * hash) + TRIGGER_FIELD_NUMBER; hash = (53 * hash) + getTrigger().hashCode(); } switch (incrementalCase_) { case 100: hash = (37 * hash) + FIELD_FIELD_NUMBER; hash = (53 * hash) + getField().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec 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.DataScan.ExecutionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec 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.DataScan.ExecutionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec 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.DataScan.ExecutionSpec parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec 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.DataScan.ExecutionSpec parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec 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.DataScan.ExecutionSpec 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.DataScan.ExecutionSpec 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.DataScan.ExecutionSpec 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; } /** * * *
     * DataScan execution settings.
     * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScan.ExecutionSpec} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScan.ExecutionSpec) com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.class, com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTriggerFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; trigger_ = null; if (triggerBuilder_ != null) { triggerBuilder_.dispose(); triggerBuilder_ = null; } incrementalCase_ = 0; incremental_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.cloud.dataplex.v1.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionSpec_descriptor; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec build() { com.google.cloud.dataplex.v1.DataScan.ExecutionSpec result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec buildPartial() { com.google.cloud.dataplex.v1.DataScan.ExecutionSpec result = new com.google.cloud.dataplex.v1.DataScan.ExecutionSpec(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(com.google.cloud.dataplex.v1.DataScan.ExecutionSpec result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.trigger_ = triggerBuilder_ == null ? trigger_ : triggerBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScan.ExecutionSpec result) { result.incrementalCase_ = incrementalCase_; result.incremental_ = this.incremental_; } @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.DataScan.ExecutionSpec) { return mergeFrom((com.google.cloud.dataplex.v1.DataScan.ExecutionSpec) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScan.ExecutionSpec other) { if (other == com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance()) return this; if (other.hasTrigger()) { mergeTrigger(other.getTrigger()); } switch (other.getIncrementalCase()) { case FIELD: { incrementalCase_ = 100; incremental_ = other.incremental_; onChanged(); break; } case INCREMENTAL_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: { input.readMessage(getTriggerFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 802: { java.lang.String s = input.readStringRequireUtf8(); incrementalCase_ = 100; incremental_ = s; break; } // case 802 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 incrementalCase_ = 0; private java.lang.Object incremental_; public IncrementalCase getIncrementalCase() { return IncrementalCase.forNumber(incrementalCase_); } public Builder clearIncremental() { incrementalCase_ = 0; incremental_ = null; onChanged(); return this; } private int bitField0_; private com.google.cloud.dataplex.v1.Trigger trigger_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.Trigger, com.google.cloud.dataplex.v1.Trigger.Builder, com.google.cloud.dataplex.v1.TriggerOrBuilder> triggerBuilder_; /** * * *
       * Optional. Spec related to how often and when a scan should be triggered.
       *
       * If not specified, the default is `OnDemand`, which means the scan will
       * not run until the user calls `RunDataScan` API.
       * 
* * * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the trigger field is set. */ public boolean hasTrigger() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
       * Optional. Spec related to how often and when a scan should be triggered.
       *
       * If not specified, the default is `OnDemand`, which means the scan will
       * not run until the user calls `RunDataScan` API.
       * 
* * * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The trigger. */ public com.google.cloud.dataplex.v1.Trigger getTrigger() { if (triggerBuilder_ == null) { return trigger_ == null ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() : trigger_; } else { return triggerBuilder_.getMessage(); } } /** * * *
       * Optional. Spec related to how often and when a scan should be triggered.
       *
       * If not specified, the default is `OnDemand`, which means the scan will
       * not run until the user calls `RunDataScan` API.
       * 
* * * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setTrigger(com.google.cloud.dataplex.v1.Trigger value) { if (triggerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } trigger_ = value; } else { triggerBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
       * Optional. Spec related to how often and when a scan should be triggered.
       *
       * If not specified, the default is `OnDemand`, which means the scan will
       * not run until the user calls `RunDataScan` API.
       * 
* * * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setTrigger(com.google.cloud.dataplex.v1.Trigger.Builder builderForValue) { if (triggerBuilder_ == null) { trigger_ = builderForValue.build(); } else { triggerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
       * Optional. Spec related to how often and when a scan should be triggered.
       *
       * If not specified, the default is `OnDemand`, which means the scan will
       * not run until the user calls `RunDataScan` API.
       * 
* * * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergeTrigger(com.google.cloud.dataplex.v1.Trigger value) { if (triggerBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && trigger_ != null && trigger_ != com.google.cloud.dataplex.v1.Trigger.getDefaultInstance()) { getTriggerBuilder().mergeFrom(value); } else { trigger_ = value; } } else { triggerBuilder_.mergeFrom(value); } if (trigger_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * * *
       * Optional. Spec related to how often and when a scan should be triggered.
       *
       * If not specified, the default is `OnDemand`, which means the scan will
       * not run until the user calls `RunDataScan` API.
       * 
* * * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearTrigger() { bitField0_ = (bitField0_ & ~0x00000001); trigger_ = null; if (triggerBuilder_ != null) { triggerBuilder_.dispose(); triggerBuilder_ = null; } onChanged(); return this; } /** * * *
       * Optional. Spec related to how often and when a scan should be triggered.
       *
       * If not specified, the default is `OnDemand`, which means the scan will
       * not run until the user calls `RunDataScan` API.
       * 
* * * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.dataplex.v1.Trigger.Builder getTriggerBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTriggerFieldBuilder().getBuilder(); } /** * * *
       * Optional. Spec related to how often and when a scan should be triggered.
       *
       * If not specified, the default is `OnDemand`, which means the scan will
       * not run until the user calls `RunDataScan` API.
       * 
* * * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder() { if (triggerBuilder_ != null) { return triggerBuilder_.getMessageOrBuilder(); } else { return trigger_ == null ? com.google.cloud.dataplex.v1.Trigger.getDefaultInstance() : trigger_; } } /** * * *
       * Optional. Spec related to how often and when a scan should be triggered.
       *
       * If not specified, the default is `OnDemand`, which means the scan will
       * not run until the user calls `RunDataScan` API.
       * 
* * * .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.Trigger, com.google.cloud.dataplex.v1.Trigger.Builder, com.google.cloud.dataplex.v1.TriggerOrBuilder> getTriggerFieldBuilder() { if (triggerBuilder_ == null) { triggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.Trigger, com.google.cloud.dataplex.v1.Trigger.Builder, com.google.cloud.dataplex.v1.TriggerOrBuilder>( getTrigger(), getParentForChildren(), isClean()); trigger_ = null; } return triggerBuilder_; } /** * * *
       * Immutable. The unnested field (of type *Date* or *Timestamp*) that
       * contains values which monotonically increase over time.
       *
       * If not specified, a data scan will run for all data in the table.
       * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; * * @return Whether the field field is set. */ @java.lang.Override public boolean hasField() { return incrementalCase_ == 100; } /** * * *
       * Immutable. The unnested field (of type *Date* or *Timestamp*) that
       * contains values which monotonically increase over time.
       *
       * If not specified, a data scan will run for all data in the table.
       * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The field. */ @java.lang.Override public java.lang.String getField() { java.lang.Object ref = ""; if (incrementalCase_ == 100) { ref = incremental_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (incrementalCase_ == 100) { incremental_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * Immutable. The unnested field (of type *Date* or *Timestamp*) that
       * contains values which monotonically increase over time.
       *
       * If not specified, a data scan will run for all data in the table.
       * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The bytes for field. */ @java.lang.Override public com.google.protobuf.ByteString getFieldBytes() { java.lang.Object ref = ""; if (incrementalCase_ == 100) { ref = incremental_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (incrementalCase_ == 100) { incremental_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * Immutable. The unnested field (of type *Date* or *Timestamp*) that
       * contains values which monotonically increase over time.
       *
       * If not specified, a data scan will run for all data in the table.
       * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; * * @param value The field to set. * @return This builder for chaining. */ public Builder setField(java.lang.String value) { if (value == null) { throw new NullPointerException(); } incrementalCase_ = 100; incremental_ = value; onChanged(); return this; } /** * * *
       * Immutable. The unnested field (of type *Date* or *Timestamp*) that
       * contains values which monotonically increase over time.
       *
       * If not specified, a data scan will run for all data in the table.
       * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; * * @return This builder for chaining. */ public Builder clearField() { if (incrementalCase_ == 100) { incrementalCase_ = 0; incremental_ = null; onChanged(); } return this; } /** * * *
       * Immutable. The unnested field (of type *Date* or *Timestamp*) that
       * contains values which monotonically increase over time.
       *
       * If not specified, a data scan will run for all data in the table.
       * 
* * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; * * @param value The bytes for field to set. * @return This builder for chaining. */ public Builder setFieldBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); incrementalCase_ = 100; incremental_ = value; 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.DataScan.ExecutionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScan.ExecutionSpec) private static final com.google.cloud.dataplex.v1.DataScan.ExecutionSpec DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScan.ExecutionSpec(); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecutionSpec 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.DataScan.ExecutionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExecutionStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScan.ExecutionStatus) com.google.protobuf.MessageOrBuilder { /** * * *
     * The time when the latest DataScanJob started.
     * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; * * @return Whether the latestJobStartTime field is set. */ boolean hasLatestJobStartTime(); /** * * *
     * The time when the latest DataScanJob started.
     * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; * * @return The latestJobStartTime. */ com.google.protobuf.Timestamp getLatestJobStartTime(); /** * * *
     * The time when the latest DataScanJob started.
     * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; */ com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder(); /** * * *
     * The time when the latest DataScanJob ended.
     * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; * * @return Whether the latestJobEndTime field is set. */ boolean hasLatestJobEndTime(); /** * * *
     * The time when the latest DataScanJob ended.
     * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; * * @return The latestJobEndTime. */ com.google.protobuf.Timestamp getLatestJobEndTime(); /** * * *
     * The time when the latest DataScanJob ended.
     * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; */ com.google.protobuf.TimestampOrBuilder getLatestJobEndTimeOrBuilder(); /** * * *
     * Optional. The time when the DataScanJob execution was created.
     * 
* * * .google.protobuf.Timestamp latest_job_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the latestJobCreateTime field is set. */ boolean hasLatestJobCreateTime(); /** * * *
     * Optional. The time when the DataScanJob execution was created.
     * 
* * * .google.protobuf.Timestamp latest_job_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The latestJobCreateTime. */ com.google.protobuf.Timestamp getLatestJobCreateTime(); /** * * *
     * Optional. The time when the DataScanJob execution was created.
     * 
* * * .google.protobuf.Timestamp latest_job_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.protobuf.TimestampOrBuilder getLatestJobCreateTimeOrBuilder(); } /** * * *
   * Status of the data scan execution.
   * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScan.ExecutionStatus} */ public static final class ExecutionStatus extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataScan.ExecutionStatus) ExecutionStatusOrBuilder { private static final long serialVersionUID = 0L; // Use ExecutionStatus.newBuilder() to construct. private ExecutionStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecutionStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecutionStatus(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.class, com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder.class); } private int bitField0_; public static final int LATEST_JOB_START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp latestJobStartTime_; /** * * *
     * The time when the latest DataScanJob started.
     * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; * * @return Whether the latestJobStartTime field is set. */ @java.lang.Override public boolean hasLatestJobStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
     * The time when the latest DataScanJob started.
     * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; * * @return The latestJobStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLatestJobStartTime() { return latestJobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobStartTime_; } /** * * *
     * The time when the latest DataScanJob started.
     * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder() { return latestJobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobStartTime_; } public static final int LATEST_JOB_END_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp latestJobEndTime_; /** * * *
     * The time when the latest DataScanJob ended.
     * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; * * @return Whether the latestJobEndTime field is set. */ @java.lang.Override public boolean hasLatestJobEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** * * *
     * The time when the latest DataScanJob ended.
     * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; * * @return The latestJobEndTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLatestJobEndTime() { return latestJobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobEndTime_; } /** * * *
     * The time when the latest DataScanJob ended.
     * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLatestJobEndTimeOrBuilder() { return latestJobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobEndTime_; } public static final int LATEST_JOB_CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp latestJobCreateTime_; /** * * *
     * Optional. The time when the DataScanJob execution was created.
     * 
* * * .google.protobuf.Timestamp latest_job_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the latestJobCreateTime field is set. */ @java.lang.Override public boolean hasLatestJobCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
     * Optional. The time when the DataScanJob execution was created.
     * 
* * * .google.protobuf.Timestamp latest_job_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The latestJobCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLatestJobCreateTime() { return latestJobCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobCreateTime_; } /** * * *
     * Optional. The time when the DataScanJob execution was created.
     * 
* * * .google.protobuf.Timestamp latest_job_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLatestJobCreateTimeOrBuilder() { return latestJobCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobCreateTime_; } 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(4, getLatestJobStartTime()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(5, getLatestJobEndTime()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(6, getLatestJobCreateTime()); } 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(4, getLatestJobStartTime()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLatestJobEndTime()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getLatestJobCreateTime()); } 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.DataScan.ExecutionStatus)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataScan.ExecutionStatus other = (com.google.cloud.dataplex.v1.DataScan.ExecutionStatus) obj; if (hasLatestJobStartTime() != other.hasLatestJobStartTime()) return false; if (hasLatestJobStartTime()) { if (!getLatestJobStartTime().equals(other.getLatestJobStartTime())) return false; } if (hasLatestJobEndTime() != other.hasLatestJobEndTime()) return false; if (hasLatestJobEndTime()) { if (!getLatestJobEndTime().equals(other.getLatestJobEndTime())) return false; } if (hasLatestJobCreateTime() != other.hasLatestJobCreateTime()) return false; if (hasLatestJobCreateTime()) { if (!getLatestJobCreateTime().equals(other.getLatestJobCreateTime())) 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 (hasLatestJobStartTime()) { hash = (37 * hash) + LATEST_JOB_START_TIME_FIELD_NUMBER; hash = (53 * hash) + getLatestJobStartTime().hashCode(); } if (hasLatestJobEndTime()) { hash = (37 * hash) + LATEST_JOB_END_TIME_FIELD_NUMBER; hash = (53 * hash) + getLatestJobEndTime().hashCode(); } if (hasLatestJobCreateTime()) { hash = (37 * hash) + LATEST_JOB_CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getLatestJobCreateTime().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus 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.DataScan.ExecutionStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus 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.DataScan.ExecutionStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus 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.DataScan.ExecutionStatus parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus 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.DataScan.ExecutionStatus parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus 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.DataScan.ExecutionStatus 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.DataScan.ExecutionStatus 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.DataScan.ExecutionStatus 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; } /** * * *
     * Status of the data scan execution.
     * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScan.ExecutionStatus} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScan.ExecutionStatus) com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.class, com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getLatestJobStartTimeFieldBuilder(); getLatestJobEndTimeFieldBuilder(); getLatestJobCreateTimeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; latestJobStartTime_ = null; if (latestJobStartTimeBuilder_ != null) { latestJobStartTimeBuilder_.dispose(); latestJobStartTimeBuilder_ = null; } latestJobEndTime_ = null; if (latestJobEndTimeBuilder_ != null) { latestJobEndTimeBuilder_.dispose(); latestJobEndTimeBuilder_ = null; } latestJobCreateTime_ = null; if (latestJobCreateTimeBuilder_ != null) { latestJobCreateTimeBuilder_.dispose(); latestJobCreateTimeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.cloud.dataplex.v1.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_ExecutionStatus_descriptor; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus build() { com.google.cloud.dataplex.v1.DataScan.ExecutionStatus result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus buildPartial() { com.google.cloud.dataplex.v1.DataScan.ExecutionStatus result = new com.google.cloud.dataplex.v1.DataScan.ExecutionStatus(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.cloud.dataplex.v1.DataScan.ExecutionStatus result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.latestJobStartTime_ = latestJobStartTimeBuilder_ == null ? latestJobStartTime_ : latestJobStartTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.latestJobEndTime_ = latestJobEndTimeBuilder_ == null ? latestJobEndTime_ : latestJobEndTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.latestJobCreateTime_ = latestJobCreateTimeBuilder_ == null ? latestJobCreateTime_ : latestJobCreateTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataplex.v1.DataScan.ExecutionStatus) { return mergeFrom((com.google.cloud.dataplex.v1.DataScan.ExecutionStatus) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScan.ExecutionStatus other) { if (other == com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance()) return this; if (other.hasLatestJobStartTime()) { mergeLatestJobStartTime(other.getLatestJobStartTime()); } if (other.hasLatestJobEndTime()) { mergeLatestJobEndTime(other.getLatestJobEndTime()); } if (other.hasLatestJobCreateTime()) { mergeLatestJobCreateTime(other.getLatestJobCreateTime()); } 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 34: { input.readMessage( getLatestJobStartTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 34 case 42: { input.readMessage( getLatestJobEndTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 42 case 50: { input.readMessage( getLatestJobCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; 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 com.google.protobuf.Timestamp latestJobStartTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> latestJobStartTimeBuilder_; /** * * *
       * The time when the latest DataScanJob started.
       * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; * * @return Whether the latestJobStartTime field is set. */ public boolean hasLatestJobStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
       * The time when the latest DataScanJob started.
       * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; * * @return The latestJobStartTime. */ public com.google.protobuf.Timestamp getLatestJobStartTime() { if (latestJobStartTimeBuilder_ == null) { return latestJobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobStartTime_; } else { return latestJobStartTimeBuilder_.getMessage(); } } /** * * *
       * The time when the latest DataScanJob started.
       * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; */ public Builder setLatestJobStartTime(com.google.protobuf.Timestamp value) { if (latestJobStartTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } latestJobStartTime_ = value; } else { latestJobStartTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
       * The time when the latest DataScanJob started.
       * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; */ public Builder setLatestJobStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (latestJobStartTimeBuilder_ == null) { latestJobStartTime_ = builderForValue.build(); } else { latestJobStartTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
       * The time when the latest DataScanJob started.
       * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; */ public Builder mergeLatestJobStartTime(com.google.protobuf.Timestamp value) { if (latestJobStartTimeBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && latestJobStartTime_ != null && latestJobStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLatestJobStartTimeBuilder().mergeFrom(value); } else { latestJobStartTime_ = value; } } else { latestJobStartTimeBuilder_.mergeFrom(value); } if (latestJobStartTime_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * * *
       * The time when the latest DataScanJob started.
       * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; */ public Builder clearLatestJobStartTime() { bitField0_ = (bitField0_ & ~0x00000001); latestJobStartTime_ = null; if (latestJobStartTimeBuilder_ != null) { latestJobStartTimeBuilder_.dispose(); latestJobStartTimeBuilder_ = null; } onChanged(); return this; } /** * * *
       * The time when the latest DataScanJob started.
       * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; */ public com.google.protobuf.Timestamp.Builder getLatestJobStartTimeBuilder() { bitField0_ |= 0x00000001; onChanged(); return getLatestJobStartTimeFieldBuilder().getBuilder(); } /** * * *
       * The time when the latest DataScanJob started.
       * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; */ public com.google.protobuf.TimestampOrBuilder getLatestJobStartTimeOrBuilder() { if (latestJobStartTimeBuilder_ != null) { return latestJobStartTimeBuilder_.getMessageOrBuilder(); } else { return latestJobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobStartTime_; } } /** * * *
       * The time when the latest DataScanJob started.
       * 
* * .google.protobuf.Timestamp latest_job_start_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLatestJobStartTimeFieldBuilder() { if (latestJobStartTimeBuilder_ == null) { latestJobStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getLatestJobStartTime(), getParentForChildren(), isClean()); latestJobStartTime_ = null; } return latestJobStartTimeBuilder_; } private com.google.protobuf.Timestamp latestJobEndTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> latestJobEndTimeBuilder_; /** * * *
       * The time when the latest DataScanJob ended.
       * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; * * @return Whether the latestJobEndTime field is set. */ public boolean hasLatestJobEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** * * *
       * The time when the latest DataScanJob ended.
       * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; * * @return The latestJobEndTime. */ public com.google.protobuf.Timestamp getLatestJobEndTime() { if (latestJobEndTimeBuilder_ == null) { return latestJobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobEndTime_; } else { return latestJobEndTimeBuilder_.getMessage(); } } /** * * *
       * The time when the latest DataScanJob ended.
       * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; */ public Builder setLatestJobEndTime(com.google.protobuf.Timestamp value) { if (latestJobEndTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } latestJobEndTime_ = value; } else { latestJobEndTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
       * The time when the latest DataScanJob ended.
       * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; */ public Builder setLatestJobEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (latestJobEndTimeBuilder_ == null) { latestJobEndTime_ = builderForValue.build(); } else { latestJobEndTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
       * The time when the latest DataScanJob ended.
       * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; */ public Builder mergeLatestJobEndTime(com.google.protobuf.Timestamp value) { if (latestJobEndTimeBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && latestJobEndTime_ != null && latestJobEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLatestJobEndTimeBuilder().mergeFrom(value); } else { latestJobEndTime_ = value; } } else { latestJobEndTimeBuilder_.mergeFrom(value); } if (latestJobEndTime_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * * *
       * The time when the latest DataScanJob ended.
       * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; */ public Builder clearLatestJobEndTime() { bitField0_ = (bitField0_ & ~0x00000002); latestJobEndTime_ = null; if (latestJobEndTimeBuilder_ != null) { latestJobEndTimeBuilder_.dispose(); latestJobEndTimeBuilder_ = null; } onChanged(); return this; } /** * * *
       * The time when the latest DataScanJob ended.
       * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; */ public com.google.protobuf.Timestamp.Builder getLatestJobEndTimeBuilder() { bitField0_ |= 0x00000002; onChanged(); return getLatestJobEndTimeFieldBuilder().getBuilder(); } /** * * *
       * The time when the latest DataScanJob ended.
       * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; */ public com.google.protobuf.TimestampOrBuilder getLatestJobEndTimeOrBuilder() { if (latestJobEndTimeBuilder_ != null) { return latestJobEndTimeBuilder_.getMessageOrBuilder(); } else { return latestJobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobEndTime_; } } /** * * *
       * The time when the latest DataScanJob ended.
       * 
* * .google.protobuf.Timestamp latest_job_end_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLatestJobEndTimeFieldBuilder() { if (latestJobEndTimeBuilder_ == null) { latestJobEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getLatestJobEndTime(), getParentForChildren(), isClean()); latestJobEndTime_ = null; } return latestJobEndTimeBuilder_; } private com.google.protobuf.Timestamp latestJobCreateTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> latestJobCreateTimeBuilder_; /** * * *
       * Optional. The time when the DataScanJob execution was created.
       * 
* * * .google.protobuf.Timestamp latest_job_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the latestJobCreateTime field is set. */ public boolean hasLatestJobCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
       * Optional. The time when the DataScanJob execution was created.
       * 
* * * .google.protobuf.Timestamp latest_job_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The latestJobCreateTime. */ public com.google.protobuf.Timestamp getLatestJobCreateTime() { if (latestJobCreateTimeBuilder_ == null) { return latestJobCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobCreateTime_; } else { return latestJobCreateTimeBuilder_.getMessage(); } } /** * * *
       * Optional. The time when the DataScanJob execution was created.
       * 
* * * .google.protobuf.Timestamp latest_job_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setLatestJobCreateTime(com.google.protobuf.Timestamp value) { if (latestJobCreateTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } latestJobCreateTime_ = value; } else { latestJobCreateTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * * *
       * Optional. The time when the DataScanJob execution was created.
       * 
* * * .google.protobuf.Timestamp latest_job_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setLatestJobCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (latestJobCreateTimeBuilder_ == null) { latestJobCreateTime_ = builderForValue.build(); } else { latestJobCreateTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * * *
       * Optional. The time when the DataScanJob execution was created.
       * 
* * * .google.protobuf.Timestamp latest_job_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergeLatestJobCreateTime(com.google.protobuf.Timestamp value) { if (latestJobCreateTimeBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && latestJobCreateTime_ != null && latestJobCreateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLatestJobCreateTimeBuilder().mergeFrom(value); } else { latestJobCreateTime_ = value; } } else { latestJobCreateTimeBuilder_.mergeFrom(value); } if (latestJobCreateTime_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * * *
       * Optional. The time when the DataScanJob execution was created.
       * 
* * * .google.protobuf.Timestamp latest_job_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearLatestJobCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); latestJobCreateTime_ = null; if (latestJobCreateTimeBuilder_ != null) { latestJobCreateTimeBuilder_.dispose(); latestJobCreateTimeBuilder_ = null; } onChanged(); return this; } /** * * *
       * Optional. The time when the DataScanJob execution was created.
       * 
* * * .google.protobuf.Timestamp latest_job_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.protobuf.Timestamp.Builder getLatestJobCreateTimeBuilder() { bitField0_ |= 0x00000004; onChanged(); return getLatestJobCreateTimeFieldBuilder().getBuilder(); } /** * * *
       * Optional. The time when the DataScanJob execution was created.
       * 
* * * .google.protobuf.Timestamp latest_job_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.protobuf.TimestampOrBuilder getLatestJobCreateTimeOrBuilder() { if (latestJobCreateTimeBuilder_ != null) { return latestJobCreateTimeBuilder_.getMessageOrBuilder(); } else { return latestJobCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestJobCreateTime_; } } /** * * *
       * Optional. The time when the DataScanJob execution was created.
       * 
* * * .google.protobuf.Timestamp latest_job_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLatestJobCreateTimeFieldBuilder() { if (latestJobCreateTimeBuilder_ == null) { latestJobCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getLatestJobCreateTime(), getParentForChildren(), isClean()); latestJobCreateTime_ = null; } return latestJobCreateTimeBuilder_; } @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.DataScan.ExecutionStatus) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScan.ExecutionStatus) private static final com.google.cloud.dataplex.v1.DataScan.ExecutionStatus DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScan.ExecutionStatus(); } public static com.google.cloud.dataplex.v1.DataScan.ExecutionStatus getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecutionStatus 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.DataScan.ExecutionStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; private int specCase_ = 0; @SuppressWarnings("serial") private java.lang.Object spec_; public enum SpecCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATA_QUALITY_SPEC(100), DATA_PROFILE_SPEC(101), SPEC_NOT_SET(0); private final int value; private SpecCase(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 SpecCase valueOf(int value) { return forNumber(value); } public static SpecCase forNumber(int value) { switch (value) { case 100: return DATA_QUALITY_SPEC; case 101: return DATA_PROFILE_SPEC; case 0: return SPEC_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public SpecCase getSpecCase() { return SpecCase.forNumber(specCase_); } 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_QUALITY_RESULT(200), DATA_PROFILE_RESULT(201), 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 200: return DATA_QUALITY_RESULT; case 201: return DATA_PROFILE_RESULT; case 0: return RESULT_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ResultCase getResultCase() { return ResultCase.forNumber(resultCase_); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * * *
   * Output only. The relative resource name of the scan, of the form:
   * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
   * where `project` refers to a *project_id* or *project_number* and
   * `location_id` refers to a GCP region.
   * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; } } /** * * *
   * Output only. The relative resource name of the scan, of the form:
   * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
   * where `project` refers to a *project_id* or *project_number* and
   * `location_id` refers to a GCP region.
   * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** * * *
   * Output only. System generated globally unique ID for the scan. This ID will
   * be different if the scan is deleted and re-created with the same name.
   * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The uid. */ @java.lang.Override public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; } } /** * * *
   * Output only. System generated globally unique ID for the scan. This ID will
   * be different if the scan is deleted and re-created with the same name.
   * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for uid. */ @java.lang.Override public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** * * *
   * Optional. Description of the scan.
   *
   * * Must be between 1-1024 characters.
   * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; } } /** * * *
   * Optional. Description of the scan.
   *
   * * Must be between 1-1024 characters.
   * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DISPLAY_NAME_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** * * *
   * Optional. User friendly display name.
   *
   * * Must be between 1-256 characters.
   * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The displayName. */ @java.lang.Override public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; 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(); displayName_ = s; return s; } } /** * * *
   * Optional. User friendly display name.
   *
   * * Must be between 1-256 characters.
   * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for displayName. */ @java.lang.Override public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LABELS_FIELD_NUMBER = 5; private static final class LabelsDefaultEntryHolder { static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry.newDefaultInstance( com.google.cloud.dataplex.v1.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } @SuppressWarnings("serial") private com.google.protobuf.MapField labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * * *
   * Optional. User-defined labels for the scan.
   * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public boolean containsLabels(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * * *
   * Optional. User-defined labels for the scan.
   * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * * *
   * Optional. User-defined labels for the scan.
   * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * * *
   * Optional. User-defined labels for the scan.
   * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.lang.String getLabelsOrThrow(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** * * *
   * Output only. Current state of the DataScan.
   * 
* * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { return state_; } /** * * *
   * Output only. Current state of the DataScan.
   * 
* * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp createTime_; /** * * *
   * Output only. The time when the scan was created.
   * 
* * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the createTime field is set. */ @java.lang.Override public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
   * Output only. The time when the scan was created.
   * 
* * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The createTime. */ @java.lang.Override public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** * * *
   * Output only. The time when the scan was created.
   * 
* * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } public static final int UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp updateTime_; /** * * *
   * Output only. The time when the scan was last updated.
   * 
* * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the updateTime field is set. */ @java.lang.Override public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** * * *
   * Output only. The time when the scan was last updated.
   * 
* * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The updateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** * * *
   * Output only. The time when the scan was last updated.
   * 
* * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } public static final int DATA_FIELD_NUMBER = 9; private com.google.cloud.dataplex.v1.DataSource data_; /** * * *
   * Required. The data source for DataScan.
   * 
* * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * * * @return Whether the data field is set. */ @java.lang.Override public boolean hasData() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
   * Required. The data source for DataScan.
   * 
* * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * * * @return The data. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataSource getData() { return data_ == null ? com.google.cloud.dataplex.v1.DataSource.getDefaultInstance() : data_; } /** * * *
   * Required. The data source for DataScan.
   * 
* * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataSourceOrBuilder getDataOrBuilder() { return data_ == null ? com.google.cloud.dataplex.v1.DataSource.getDefaultInstance() : data_; } public static final int EXECUTION_SPEC_FIELD_NUMBER = 10; private com.google.cloud.dataplex.v1.DataScan.ExecutionSpec executionSpec_; /** * * *
   * Optional. DataScan execution settings.
   *
   * If not specified, the fields in it will use their default values.
   * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the executionSpec field is set. */ @java.lang.Override public boolean hasExecutionSpec() { return ((bitField0_ & 0x00000008) != 0); } /** * * *
   * Optional. DataScan execution settings.
   *
   * If not specified, the fields in it will use their default values.
   * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The executionSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getExecutionSpec() { return executionSpec_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() : executionSpec_; } /** * * *
   * Optional. DataScan execution settings.
   *
   * If not specified, the fields in it will use their default values.
   * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder getExecutionSpecOrBuilder() { return executionSpec_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() : executionSpec_; } public static final int EXECUTION_STATUS_FIELD_NUMBER = 11; private com.google.cloud.dataplex.v1.DataScan.ExecutionStatus executionStatus_; /** * * *
   * Output only. Status of the data scan execution.
   * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the executionStatus field is set. */ @java.lang.Override public boolean hasExecutionStatus() { return ((bitField0_ & 0x00000010) != 0); } /** * * *
   * Output only. Status of the data scan execution.
   * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The executionStatus. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus getExecutionStatus() { return executionStatus_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() : executionStatus_; } /** * * *
   * Output only. Status of the data scan execution.
   * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder getExecutionStatusOrBuilder() { return executionStatus_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() : executionStatus_; } public static final int TYPE_FIELD_NUMBER = 12; private int type_ = 0; /** * * *
   * Output only. The type of DataScan.
   * 
* * * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * * *
   * Output only. The type of DataScan.
   * 
* * * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanType getType() { com.google.cloud.dataplex.v1.DataScanType result = com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.DataScanType.UNRECOGNIZED : result; } public static final int DATA_QUALITY_SPEC_FIELD_NUMBER = 100; /** * * *
   * DataQualityScan related setting.
   * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; * * @return Whether the dataQualitySpec field is set. */ @java.lang.Override public boolean hasDataQualitySpec() { return specCase_ == 100; } /** * * *
   * DataQualityScan related setting.
   * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; * * @return The dataQualitySpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec() { if (specCase_ == 100) { return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; } return com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } /** * * *
   * DataQualityScan related setting.
   * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecOrBuilder() { if (specCase_ == 100) { return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; } return com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } public static final int DATA_PROFILE_SPEC_FIELD_NUMBER = 101; /** * * *
   * DataProfileScan related setting.
   * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; * * @return Whether the dataProfileSpec field is set. */ @java.lang.Override public boolean hasDataProfileSpec() { return specCase_ == 101; } /** * * *
   * DataProfileScan related setting.
   * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; * * @return The dataProfileSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec() { if (specCase_ == 101) { return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; } return com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } /** * * *
   * DataProfileScan related setting.
   * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecOrBuilder() { if (specCase_ == 101) { return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; } return com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } public static final int DATA_QUALITY_RESULT_FIELD_NUMBER = 200; /** * * *
   * Output only. The result of the data quality scan.
   * 
* * * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the dataQualityResult field is set. */ @java.lang.Override public boolean hasDataQualityResult() { return resultCase_ == 200; } /** * * *
   * Output only. The result of the data quality scan.
   * 
* * * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The dataQualityResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult getDataQualityResult() { if (resultCase_ == 200) { return (com.google.cloud.dataplex.v1.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } /** * * *
   * Output only. The result of the data quality scan.
   * 
* * * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityResultOrBuilder() { if (resultCase_ == 200) { return (com.google.cloud.dataplex.v1.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } public static final int DATA_PROFILE_RESULT_FIELD_NUMBER = 201; /** * * *
   * Output only. The result of the data profile scan.
   * 
* * * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the dataProfileResult field is set. */ @java.lang.Override public boolean hasDataProfileResult() { return resultCase_ == 201; } /** * * *
   * Output only. The result of the data profile scan.
   * 
* * * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The dataProfileResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult getDataProfileResult() { if (resultCase_ == 201) { return (com.google.cloud.dataplex.v1.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } /** * * *
   * Output only. The result of the data profile scan.
   * 
* * * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileResultOrBuilder() { if (resultCase_ == 201) { return (com.google.cloud.dataplex.v1.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, displayName_); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(6, state_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(7, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(8, getUpdateTime()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(9, getData()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(10, getExecutionSpec()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(11, getExecutionStatus()); } if (type_ != com.google.cloud.dataplex.v1.DataScanType.DATA_SCAN_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(12, type_); } if (specCase_ == 100) { output.writeMessage(100, (com.google.cloud.dataplex.v1.DataQualitySpec) spec_); } if (specCase_ == 101) { output.writeMessage(101, (com.google.cloud.dataplex.v1.DataProfileSpec) spec_); } if (resultCase_ == 200) { output.writeMessage(200, (com.google.cloud.dataplex.v1.DataQualityResult) result_); } if (resultCase_ == 201) { output.writeMessage(201, (com.google.cloud.dataplex.v1.DataProfileResult) result_); } 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(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, displayName_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { com.google.protobuf.MapEntry labels__ = LabelsDefaultEntryHolder.defaultEntry .newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, labels__); } if (state_ != com.google.cloud.dataplex.v1.State.STATE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getData()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getExecutionSpec()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getExecutionStatus()); } if (type_ != com.google.cloud.dataplex.v1.DataScanType.DATA_SCAN_TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, type_); } if (specCase_ == 100) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 100, (com.google.cloud.dataplex.v1.DataQualitySpec) spec_); } if (specCase_ == 101) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 101, (com.google.cloud.dataplex.v1.DataProfileSpec) spec_); } if (resultCase_ == 200) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 200, (com.google.cloud.dataplex.v1.DataQualityResult) result_); } if (resultCase_ == 201) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 201, (com.google.cloud.dataplex.v1.DataProfileResult) result_); } 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.DataScan)) { return super.equals(obj); } com.google.cloud.dataplex.v1.DataScan other = (com.google.cloud.dataplex.v1.DataScan) obj; if (!getName().equals(other.getName())) return false; if (!getUid().equals(other.getUid())) return false; if (!getDescription().equals(other.getDescription())) return false; if (!getDisplayName().equals(other.getDisplayName())) return false; if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasData() != other.hasData()) return false; if (hasData()) { if (!getData().equals(other.getData())) return false; } if (hasExecutionSpec() != other.hasExecutionSpec()) return false; if (hasExecutionSpec()) { if (!getExecutionSpec().equals(other.getExecutionSpec())) return false; } if (hasExecutionStatus() != other.hasExecutionStatus()) return false; if (hasExecutionStatus()) { if (!getExecutionStatus().equals(other.getExecutionStatus())) return false; } if (type_ != other.type_) return false; if (!getSpecCase().equals(other.getSpecCase())) return false; switch (specCase_) { case 100: if (!getDataQualitySpec().equals(other.getDataQualitySpec())) return false; break; case 101: if (!getDataProfileSpec().equals(other.getDataProfileSpec())) return false; break; case 0: default: } if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 200: if (!getDataQualityResult().equals(other.getDataQualityResult())) return false; break; case 201: if (!getDataProfileResult().equals(other.getDataProfileResult())) 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) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDisplayName().hashCode(); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); } hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); } if (hasUpdateTime()) { hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getUpdateTime().hashCode(); } if (hasData()) { hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); } if (hasExecutionSpec()) { hash = (37 * hash) + EXECUTION_SPEC_FIELD_NUMBER; hash = (53 * hash) + getExecutionSpec().hashCode(); } if (hasExecutionStatus()) { hash = (37 * hash) + EXECUTION_STATUS_FIELD_NUMBER; hash = (53 * hash) + getExecutionStatus().hashCode(); } hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; switch (specCase_) { case 100: hash = (37 * hash) + DATA_QUALITY_SPEC_FIELD_NUMBER; hash = (53 * hash) + getDataQualitySpec().hashCode(); break; case 101: hash = (37 * hash) + DATA_PROFILE_SPEC_FIELD_NUMBER; hash = (53 * hash) + getDataProfileSpec().hashCode(); break; case 0: default: } switch (resultCase_) { case 200: hash = (37 * hash) + DATA_QUALITY_RESULT_FIELD_NUMBER; hash = (53 * hash) + getDataQualityResult().hashCode(); break; case 201: hash = (37 * hash) + DATA_PROFILE_RESULT_FIELD_NUMBER; hash = (53 * hash) + getDataProfileResult().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.DataScan parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScan 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.DataScan parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScan 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.DataScan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.DataScan 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.DataScan parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScan 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.DataScan parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.DataScan 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.DataScan 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.DataScan 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.DataScan 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; } /** * * *
   * Represents a user-visible job which provides the insights for the related
   * data source.
   *
   * For example:
   *
   * * Data Quality: generates queries based on the rules and runs against the
   *   data to get data quality check results.
   * * Data Profile: analyzes the data in table(s) and generates insights about
   *   the structure, content and relationships (such as null percent,
   *   cardinality, min/max/mean, etc).
   * 
* * Protobuf type {@code google.cloud.dataplex.v1.DataScan} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataScan) com.google.cloud.dataplex.v1.DataScanOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 5: return internalGetLabels(); default: throw new RuntimeException("Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { switch (number) { case 5: return internalGetMutableLabels(); 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.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.DataScan.class, com.google.cloud.dataplex.v1.DataScan.Builder.class); } // Construct using com.google.cloud.dataplex.v1.DataScan.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(); getUpdateTimeFieldBuilder(); getDataFieldBuilder(); getExecutionSpecFieldBuilder(); getExecutionStatusFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; uid_ = ""; description_ = ""; displayName_ = ""; internalGetMutableLabels().clear(); state_ = 0; createTime_ = null; if (createTimeBuilder_ != null) { createTimeBuilder_.dispose(); createTimeBuilder_ = null; } updateTime_ = null; if (updateTimeBuilder_ != null) { updateTimeBuilder_.dispose(); updateTimeBuilder_ = null; } data_ = null; if (dataBuilder_ != null) { dataBuilder_.dispose(); dataBuilder_ = null; } executionSpec_ = null; if (executionSpecBuilder_ != null) { executionSpecBuilder_.dispose(); executionSpecBuilder_ = null; } executionStatus_ = null; if (executionStatusBuilder_ != null) { executionStatusBuilder_.dispose(); executionStatusBuilder_ = null; } type_ = 0; if (dataQualitySpecBuilder_ != null) { dataQualitySpecBuilder_.clear(); } if (dataProfileSpecBuilder_ != null) { dataProfileSpecBuilder_.clear(); } if (dataQualityResultBuilder_ != null) { dataQualityResultBuilder_.clear(); } if (dataProfileResultBuilder_ != null) { dataProfileResultBuilder_.clear(); } specCase_ = 0; spec_ = null; resultCase_ = 0; result_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.cloud.dataplex.v1.DataScansProto .internal_static_google_cloud_dataplex_v1_DataScan_descriptor; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScan getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.DataScan.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.DataScan build() { com.google.cloud.dataplex.v1.DataScan result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.cloud.dataplex.v1.DataScan buildPartial() { com.google.cloud.dataplex.v1.DataScan result = new com.google.cloud.dataplex.v1.DataScan(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(com.google.cloud.dataplex.v1.DataScan result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.uid_ = uid_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.description_ = description_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.state_ = state_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000040) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000080) != 0)) { result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000100) != 0)) { result.data_ = dataBuilder_ == null ? data_ : dataBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000200) != 0)) { result.executionSpec_ = executionSpecBuilder_ == null ? executionSpec_ : executionSpecBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000400) != 0)) { result.executionStatus_ = executionStatusBuilder_ == null ? executionStatus_ : executionStatusBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000800) != 0)) { result.type_ = type_; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(com.google.cloud.dataplex.v1.DataScan result) { result.specCase_ = specCase_; result.spec_ = this.spec_; if (specCase_ == 100 && dataQualitySpecBuilder_ != null) { result.spec_ = dataQualitySpecBuilder_.build(); } if (specCase_ == 101 && dataProfileSpecBuilder_ != null) { result.spec_ = dataProfileSpecBuilder_.build(); } result.resultCase_ = resultCase_; result.result_ = this.result_; if (resultCase_ == 200 && dataQualityResultBuilder_ != null) { result.result_ = dataQualityResultBuilder_.build(); } if (resultCase_ == 201 && dataProfileResultBuilder_ != null) { result.result_ = dataProfileResultBuilder_.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.DataScan) { return mergeFrom((com.google.cloud.dataplex.v1.DataScan) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.cloud.dataplex.v1.DataScan other) { if (other == com.google.cloud.dataplex.v1.DataScan.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getUid().isEmpty()) { uid_ = other.uid_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000008; onChanged(); } internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000010; if (other.state_ != 0) { setStateValue(other.getStateValue()); } if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } if (other.hasData()) { mergeData(other.getData()); } if (other.hasExecutionSpec()) { mergeExecutionSpec(other.getExecutionSpec()); } if (other.hasExecutionStatus()) { mergeExecutionStatus(other.getExecutionStatus()); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } switch (other.getSpecCase()) { case DATA_QUALITY_SPEC: { mergeDataQualitySpec(other.getDataQualitySpec()); break; } case DATA_PROFILE_SPEC: { mergeDataProfileSpec(other.getDataProfileSpec()); break; } case SPEC_NOT_SET: { break; } } switch (other.getResultCase()) { case DATA_QUALITY_RESULT: { mergeDataQualityResult(other.getDataQualityResult()); break; } case DATA_PROFILE_RESULT: { mergeDataProfileResult(other.getDataProfileResult()); break; } case RESULT_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: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { uid_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { description_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { displayName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 42: { com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableLabels() .getMutableMap() .put(labels__.getKey(), labels__.getValue()); bitField0_ |= 0x00000010; break; } // case 42 case 48: { state_ = input.readEnum(); bitField0_ |= 0x00000020; break; } // case 48 case 58: { input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 58 case 66: { input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 66 case 74: { input.readMessage(getDataFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 74 case 82: { input.readMessage(getExecutionSpecFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000200; break; } // case 82 case 90: { input.readMessage(getExecutionStatusFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 90 case 96: { type_ = input.readEnum(); bitField0_ |= 0x00000800; break; } // case 96 case 802: { input.readMessage(getDataQualitySpecFieldBuilder().getBuilder(), extensionRegistry); specCase_ = 100; break; } // case 802 case 810: { input.readMessage(getDataProfileSpecFieldBuilder().getBuilder(), extensionRegistry); specCase_ = 101; break; } // case 810 case 1602: { input.readMessage( getDataQualityResultFieldBuilder().getBuilder(), extensionRegistry); resultCase_ = 200; break; } // case 1602 case 1610: { input.readMessage( getDataProfileResultFieldBuilder().getBuilder(), extensionRegistry); resultCase_ = 201; break; } // case 1610 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 specCase_ = 0; private java.lang.Object spec_; public SpecCase getSpecCase() { return SpecCase.forNumber(specCase_); } public Builder clearSpec() { specCase_ = 0; spec_ = null; onChanged(); 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 bitField0_; private java.lang.Object name_ = ""; /** * * *
     * Output only. The relative resource name of the scan, of the form:
     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
     * where `project` refers to a *project_id* or *project_number* and
     * `location_id` refers to a GCP region.
     * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
     * Output only. The relative resource name of the scan, of the form:
     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
     * where `project` refers to a *project_id* or *project_number* and
     * `location_id` refers to a GCP region.
     * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
     * Output only. The relative resource name of the scan, of the form:
     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
     * where `project` refers to a *project_id* or *project_number* and
     * `location_id` refers to a GCP region.
     * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The name to set. * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
     * Output only. The relative resource name of the scan, of the form:
     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
     * where `project` refers to a *project_id* or *project_number* and
     * `location_id` refers to a GCP region.
     * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * * *
     * Output only. The relative resource name of the scan, of the form:
     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
     * where `project` refers to a *project_id* or *project_number* and
     * `location_id` refers to a GCP region.
     * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object uid_ = ""; /** * * *
     * Output only. System generated globally unique ID for the scan. This ID will
     * be different if the scan is deleted and re-created with the same name.
     * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
     * Output only. System generated globally unique ID for the scan. This ID will
     * be different if the scan is deleted and re-created with the same name.
     * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for uid. */ public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
     * Output only. System generated globally unique ID for the scan. This ID will
     * be different if the scan is deleted and re-created with the same name.
     * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The uid to set. * @return This builder for chaining. */ public Builder setUid(java.lang.String value) { if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
     * Output only. System generated globally unique ID for the scan. This ID will
     * be different if the scan is deleted and re-created with the same name.
     * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ public Builder clearUid() { uid_ = getDefaultInstance().getUid(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * * *
     * Output only. System generated globally unique ID for the scan. This ID will
     * be different if the scan is deleted and re-created with the same name.
     * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The bytes for uid to set. * @return This builder for chaining. */ public Builder setUidBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object description_ = ""; /** * * *
     * Optional. Description of the scan.
     *
     * * Must be between 1-1024 characters.
     * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
     * Optional. Description of the scan.
     *
     * * Must be between 1-1024 characters.
     * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
     * Optional. Description of the scan.
     *
     * * Must be between 1-1024 characters.
     * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription(java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * * *
     * Optional. Description of the scan.
     *
     * * Must be between 1-1024 characters.
     * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * * *
     * Optional. Description of the scan.
     *
     * * Must be between 1-1024 characters.
     * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object displayName_ = ""; /** * * *
     * Optional. User friendly display name.
     *
     * * Must be between 1-256 characters.
     * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
     * Optional. User friendly display name.
     *
     * * Must be between 1-256 characters.
     * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for displayName. */ public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
     * Optional. User friendly display name.
     *
     * * Must be between 1-256 characters.
     * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The displayName to set. * @return This builder for chaining. */ public Builder setDisplayName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * * *
     * Optional. User friendly display name.
     *
     * * Must be between 1-256 characters.
     * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ public Builder clearDisplayName() { displayName_ = getDefaultInstance().getDisplayName(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * * *
     * Optional. User friendly display name.
     *
     * * Must be between 1-256 characters.
     * 
* * string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for displayName to set. * @return This builder for chaining. */ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private com.google.protobuf.MapField labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } bitField0_ |= 0x00000010; onChanged(); return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * * *
     * Optional. User-defined labels for the scan.
     * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public boolean containsLabels(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * * *
     * Optional. User-defined labels for the scan.
     * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * * *
     * Optional. User-defined labels for the scan.
     * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * * *
     * Optional. User-defined labels for the scan.
     * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.lang.String getLabelsOrThrow(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000010); internalGetMutableLabels().getMutableMap().clear(); return this; } /** * * *
     * Optional. User-defined labels for the scan.
     * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeLabels(java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableLabels().getMutableMap().remove(key); return this; } /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { bitField0_ |= 0x00000010; return internalGetMutableLabels().getMutableMap(); } /** * * *
     * Optional. User-defined labels for the scan.
     * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putLabels(java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000010; return this; } /** * * *
     * Optional. User-defined labels for the scan.
     * 
* * map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putAllLabels(java.util.Map values) { internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000010; return this; } private int state_ = 0; /** * * *
     * Output only. Current state of the DataScan.
     * 
* * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { return state_; } /** * * *
     * Output only. Current state of the DataScan.
     * 
* * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { state_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * * *
     * Output only. Current state of the DataScan.
     * 
* * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The state. */ @java.lang.Override public com.google.cloud.dataplex.v1.State getState() { com.google.cloud.dataplex.v1.State result = com.google.cloud.dataplex.v1.State.forNumber(state_); return result == null ? com.google.cloud.dataplex.v1.State.UNRECOGNIZED : result; } /** * * *
     * Output only. Current state of the DataScan.
     * 
* * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param value The state to set. * @return This builder for chaining. */ public Builder setState(com.google.cloud.dataplex.v1.State value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; state_ = value.getNumber(); onChanged(); return this; } /** * * *
     * Output only. Current state of the DataScan.
     * 
* * .google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return This builder for chaining. */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000020); state_ = 0; 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_; /** * * *
     * Output only. The time when the scan was created.
     * 
* * * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000040) != 0); } /** * * *
     * Output only. The time when the scan was created.
     * 
* * * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @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(); } } /** * * *
     * Output only. The time when the scan was created.
     * 
* * * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } createTime_ = value; } else { createTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** * * *
     * Output only. The time when the scan was created.
     * 
* * * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { createTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** * * *
     * Output only. The time when the scan was created.
     * 
* * * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && createTime_ != null && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; } } else { createTimeBuilder_.mergeFrom(value); } if (createTime_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** * * *
     * Output only. The time when the scan was created.
     * 
* * * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000040); createTime_ = null; if (createTimeBuilder_ != null) { createTimeBuilder_.dispose(); createTimeBuilder_ = null; } onChanged(); return this; } /** * * *
     * Output only. The time when the scan was created.
     * 
* * * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000040; onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** * * *
     * Output only. The time when the scan was created.
     * 
* * * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** * * *
     * Output only. The time when the scan was created.
     * 
* * * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ 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 updateTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** * * *
     * Output only. The time when the scan was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000080) != 0); } /** * * *
     * Output only. The time when the scan was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** * * *
     * Output only. The time when the scan was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } updateTime_ = value; } else { updateTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** * * *
     * Output only. The time when the scan was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { updateTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** * * *
     * Output only. The time when the scan was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && updateTime_ != null && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; } } else { updateTimeBuilder_.mergeFrom(value); } if (updateTime_ != null) { bitField0_ |= 0x00000080; onChanged(); } return this; } /** * * *
     * Output only. The time when the scan was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000080); updateTime_ = null; if (updateTimeBuilder_ != null) { updateTimeBuilder_.dispose(); updateTimeBuilder_ = null; } onChanged(); return this; } /** * * *
     * Output only. The time when the scan was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000080; onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** * * *
     * Output only. The time when the scan was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** * * *
     * Output only. The time when the scan was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } private com.google.cloud.dataplex.v1.DataSource data_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataSource, com.google.cloud.dataplex.v1.DataSource.Builder, com.google.cloud.dataplex.v1.DataSourceOrBuilder> dataBuilder_; /** * * *
     * Required. The data source for DataScan.
     * 
* * * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * * * @return Whether the data field is set. */ public boolean hasData() { return ((bitField0_ & 0x00000100) != 0); } /** * * *
     * Required. The data source for DataScan.
     * 
* * * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * * * @return The data. */ public com.google.cloud.dataplex.v1.DataSource getData() { if (dataBuilder_ == null) { return data_ == null ? com.google.cloud.dataplex.v1.DataSource.getDefaultInstance() : data_; } else { return dataBuilder_.getMessage(); } } /** * * *
     * Required. The data source for DataScan.
     * 
* * * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder setData(com.google.cloud.dataplex.v1.DataSource value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; } else { dataBuilder_.setMessage(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** * * *
     * Required. The data source for DataScan.
     * 
* * * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder setData(com.google.cloud.dataplex.v1.DataSource.Builder builderForValue) { if (dataBuilder_ == null) { data_ = builderForValue.build(); } else { dataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; onChanged(); return this; } /** * * *
     * Required. The data source for DataScan.
     * 
* * * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder mergeData(com.google.cloud.dataplex.v1.DataSource value) { if (dataBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && data_ != null && data_ != com.google.cloud.dataplex.v1.DataSource.getDefaultInstance()) { getDataBuilder().mergeFrom(value); } else { data_ = value; } } else { dataBuilder_.mergeFrom(value); } if (data_ != null) { bitField0_ |= 0x00000100; onChanged(); } return this; } /** * * *
     * Required. The data source for DataScan.
     * 
* * * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000100); data_ = null; if (dataBuilder_ != null) { dataBuilder_.dispose(); dataBuilder_ = null; } onChanged(); return this; } /** * * *
     * Required. The data source for DataScan.
     * 
* * * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.cloud.dataplex.v1.DataSource.Builder getDataBuilder() { bitField0_ |= 0x00000100; onChanged(); return getDataFieldBuilder().getBuilder(); } /** * * *
     * Required. The data source for DataScan.
     * 
* * * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.cloud.dataplex.v1.DataSourceOrBuilder getDataOrBuilder() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilder(); } else { return data_ == null ? com.google.cloud.dataplex.v1.DataSource.getDefaultInstance() : data_; } } /** * * *
     * Required. The data source for DataScan.
     * 
* * * .google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataSource, com.google.cloud.dataplex.v1.DataSource.Builder, com.google.cloud.dataplex.v1.DataSourceOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataSource, com.google.cloud.dataplex.v1.DataSource.Builder, com.google.cloud.dataplex.v1.DataSourceOrBuilder>( getData(), getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; } private com.google.cloud.dataplex.v1.DataScan.ExecutionSpec executionSpec_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScan.ExecutionSpec, com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder> executionSpecBuilder_; /** * * *
     * Optional. DataScan execution settings.
     *
     * If not specified, the fields in it will use their default values.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the executionSpec field is set. */ public boolean hasExecutionSpec() { return ((bitField0_ & 0x00000200) != 0); } /** * * *
     * Optional. DataScan execution settings.
     *
     * If not specified, the fields in it will use their default values.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The executionSpec. */ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getExecutionSpec() { if (executionSpecBuilder_ == null) { return executionSpec_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() : executionSpec_; } else { return executionSpecBuilder_.getMessage(); } } /** * * *
     * Optional. DataScan execution settings.
     *
     * If not specified, the fields in it will use their default values.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setExecutionSpec(com.google.cloud.dataplex.v1.DataScan.ExecutionSpec value) { if (executionSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); } executionSpec_ = value; } else { executionSpecBuilder_.setMessage(value); } bitField0_ |= 0x00000200; onChanged(); return this; } /** * * *
     * Optional. DataScan execution settings.
     *
     * If not specified, the fields in it will use their default values.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setExecutionSpec( com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder builderForValue) { if (executionSpecBuilder_ == null) { executionSpec_ = builderForValue.build(); } else { executionSpecBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; onChanged(); return this; } /** * * *
     * Optional. DataScan execution settings.
     *
     * If not specified, the fields in it will use their default values.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergeExecutionSpec(com.google.cloud.dataplex.v1.DataScan.ExecutionSpec value) { if (executionSpecBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0) && executionSpec_ != null && executionSpec_ != com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance()) { getExecutionSpecBuilder().mergeFrom(value); } else { executionSpec_ = value; } } else { executionSpecBuilder_.mergeFrom(value); } if (executionSpec_ != null) { bitField0_ |= 0x00000200; onChanged(); } return this; } /** * * *
     * Optional. DataScan execution settings.
     *
     * If not specified, the fields in it will use their default values.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearExecutionSpec() { bitField0_ = (bitField0_ & ~0x00000200); executionSpec_ = null; if (executionSpecBuilder_ != null) { executionSpecBuilder_.dispose(); executionSpecBuilder_ = null; } onChanged(); return this; } /** * * *
     * Optional. DataScan execution settings.
     *
     * If not specified, the fields in it will use their default values.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder getExecutionSpecBuilder() { bitField0_ |= 0x00000200; onChanged(); return getExecutionSpecFieldBuilder().getBuilder(); } /** * * *
     * Optional. DataScan execution settings.
     *
     * If not specified, the fields in it will use their default values.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder getExecutionSpecOrBuilder() { if (executionSpecBuilder_ != null) { return executionSpecBuilder_.getMessageOrBuilder(); } else { return executionSpec_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.getDefaultInstance() : executionSpec_; } } /** * * *
     * Optional. DataScan execution settings.
     *
     * If not specified, the fields in it will use their default values.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScan.ExecutionSpec, com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder> getExecutionSpecFieldBuilder() { if (executionSpecBuilder_ == null) { executionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScan.ExecutionSpec, com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder>( getExecutionSpec(), getParentForChildren(), isClean()); executionSpec_ = null; } return executionSpecBuilder_; } private com.google.cloud.dataplex.v1.DataScan.ExecutionStatus executionStatus_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScan.ExecutionStatus, com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder> executionStatusBuilder_; /** * * *
     * Output only. Status of the data scan execution.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the executionStatus field is set. */ public boolean hasExecutionStatus() { return ((bitField0_ & 0x00000400) != 0); } /** * * *
     * Output only. Status of the data scan execution.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The executionStatus. */ public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus getExecutionStatus() { if (executionStatusBuilder_ == null) { return executionStatus_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() : executionStatus_; } else { return executionStatusBuilder_.getMessage(); } } /** * * *
     * Output only. Status of the data scan execution.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setExecutionStatus(com.google.cloud.dataplex.v1.DataScan.ExecutionStatus value) { if (executionStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } executionStatus_ = value; } else { executionStatusBuilder_.setMessage(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** * * *
     * Output only. Status of the data scan execution.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setExecutionStatus( com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder builderForValue) { if (executionStatusBuilder_ == null) { executionStatus_ = builderForValue.build(); } else { executionStatusBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; onChanged(); return this; } /** * * *
     * Output only. Status of the data scan execution.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder mergeExecutionStatus( com.google.cloud.dataplex.v1.DataScan.ExecutionStatus value) { if (executionStatusBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && executionStatus_ != null && executionStatus_ != com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance()) { getExecutionStatusBuilder().mergeFrom(value); } else { executionStatus_ = value; } } else { executionStatusBuilder_.mergeFrom(value); } if (executionStatus_ != null) { bitField0_ |= 0x00000400; onChanged(); } return this; } /** * * *
     * Output only. Status of the data scan execution.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearExecutionStatus() { bitField0_ = (bitField0_ & ~0x00000400); executionStatus_ = null; if (executionStatusBuilder_ != null) { executionStatusBuilder_.dispose(); executionStatusBuilder_ = null; } onChanged(); return this; } /** * * *
     * Output only. Status of the data scan execution.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder getExecutionStatusBuilder() { bitField0_ |= 0x00000400; onChanged(); return getExecutionStatusFieldBuilder().getBuilder(); } /** * * *
     * Output only. Status of the data scan execution.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder getExecutionStatusOrBuilder() { if (executionStatusBuilder_ != null) { return executionStatusBuilder_.getMessageOrBuilder(); } else { return executionStatus_ == null ? com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.getDefaultInstance() : executionStatus_; } } /** * * *
     * Output only. Status of the data scan execution.
     * 
* * * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScan.ExecutionStatus, com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder> getExecutionStatusFieldBuilder() { if (executionStatusBuilder_ == null) { executionStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataScan.ExecutionStatus, com.google.cloud.dataplex.v1.DataScan.ExecutionStatus.Builder, com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder>( getExecutionStatus(), getParentForChildren(), isClean()); executionStatus_ = null; } return executionStatusBuilder_; } private int type_ = 0; /** * * *
     * Output only. The type of DataScan.
     * 
* * * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * * *
     * Output only. The type of DataScan.
     * 
* * * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @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_ |= 0x00000800; onChanged(); return this; } /** * * *
     * Output only. The type of DataScan.
     * 
* * * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The type. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataScanType getType() { com.google.cloud.dataplex.v1.DataScanType result = com.google.cloud.dataplex.v1.DataScanType.forNumber(type_); return result == null ? com.google.cloud.dataplex.v1.DataScanType.UNRECOGNIZED : result; } /** * * *
     * Output only. The type of DataScan.
     * 
* * * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @param value The type to set. * @return This builder for chaining. */ public Builder setType(com.google.cloud.dataplex.v1.DataScanType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; type_ = value.getNumber(); onChanged(); return this; } /** * * *
     * Output only. The type of DataScan.
     * 
* * * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000800); type_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualitySpec, com.google.cloud.dataplex.v1.DataQualitySpec.Builder, com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> dataQualitySpecBuilder_; /** * * *
     * DataQualityScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; * * @return Whether the dataQualitySpec field is set. */ @java.lang.Override public boolean hasDataQualitySpec() { return specCase_ == 100; } /** * * *
     * DataQualityScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; * * @return The dataQualitySpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec() { if (dataQualitySpecBuilder_ == null) { if (specCase_ == 100) { return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; } return com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } else { if (specCase_ == 100) { return dataQualitySpecBuilder_.getMessage(); } return com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } } /** * * *
     * DataQualityScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; */ public Builder setDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec value) { if (dataQualitySpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); } spec_ = value; onChanged(); } else { dataQualitySpecBuilder_.setMessage(value); } specCase_ = 100; return this; } /** * * *
     * DataQualityScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; */ public Builder setDataQualitySpec( com.google.cloud.dataplex.v1.DataQualitySpec.Builder builderForValue) { if (dataQualitySpecBuilder_ == null) { spec_ = builderForValue.build(); onChanged(); } else { dataQualitySpecBuilder_.setMessage(builderForValue.build()); } specCase_ = 100; return this; } /** * * *
     * DataQualityScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; */ public Builder mergeDataQualitySpec(com.google.cloud.dataplex.v1.DataQualitySpec value) { if (dataQualitySpecBuilder_ == null) { if (specCase_ == 100 && spec_ != com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance()) { spec_ = com.google.cloud.dataplex.v1.DataQualitySpec.newBuilder( (com.google.cloud.dataplex.v1.DataQualitySpec) spec_) .mergeFrom(value) .buildPartial(); } else { spec_ = value; } onChanged(); } else { if (specCase_ == 100) { dataQualitySpecBuilder_.mergeFrom(value); } else { dataQualitySpecBuilder_.setMessage(value); } } specCase_ = 100; return this; } /** * * *
     * DataQualityScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; */ public Builder clearDataQualitySpec() { if (dataQualitySpecBuilder_ == null) { if (specCase_ == 100) { specCase_ = 0; spec_ = null; onChanged(); } } else { if (specCase_ == 100) { specCase_ = 0; spec_ = null; } dataQualitySpecBuilder_.clear(); } return this; } /** * * *
     * DataQualityScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; */ public com.google.cloud.dataplex.v1.DataQualitySpec.Builder getDataQualitySpecBuilder() { return getDataQualitySpecFieldBuilder().getBuilder(); } /** * * *
     * DataQualityScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecOrBuilder() { if ((specCase_ == 100) && (dataQualitySpecBuilder_ != null)) { return dataQualitySpecBuilder_.getMessageOrBuilder(); } else { if (specCase_ == 100) { return (com.google.cloud.dataplex.v1.DataQualitySpec) spec_; } return com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } } /** * * *
     * DataQualityScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualitySpec, com.google.cloud.dataplex.v1.DataQualitySpec.Builder, com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder> getDataQualitySpecFieldBuilder() { if (dataQualitySpecBuilder_ == null) { if (!(specCase_ == 100)) { spec_ = com.google.cloud.dataplex.v1.DataQualitySpec.getDefaultInstance(); } dataQualitySpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualitySpec, com.google.cloud.dataplex.v1.DataQualitySpec.Builder, com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder>( (com.google.cloud.dataplex.v1.DataQualitySpec) spec_, getParentForChildren(), isClean()); spec_ = null; } specCase_ = 100; onChanged(); return dataQualitySpecBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataProfileSpec, com.google.cloud.dataplex.v1.DataProfileSpec.Builder, com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> dataProfileSpecBuilder_; /** * * *
     * DataProfileScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; * * @return Whether the dataProfileSpec field is set. */ @java.lang.Override public boolean hasDataProfileSpec() { return specCase_ == 101; } /** * * *
     * DataProfileScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; * * @return The dataProfileSpec. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec() { if (dataProfileSpecBuilder_ == null) { if (specCase_ == 101) { return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; } return com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } else { if (specCase_ == 101) { return dataProfileSpecBuilder_.getMessage(); } return com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } } /** * * *
     * DataProfileScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; */ public Builder setDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec value) { if (dataProfileSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); } spec_ = value; onChanged(); } else { dataProfileSpecBuilder_.setMessage(value); } specCase_ = 101; return this; } /** * * *
     * DataProfileScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; */ public Builder setDataProfileSpec( com.google.cloud.dataplex.v1.DataProfileSpec.Builder builderForValue) { if (dataProfileSpecBuilder_ == null) { spec_ = builderForValue.build(); onChanged(); } else { dataProfileSpecBuilder_.setMessage(builderForValue.build()); } specCase_ = 101; return this; } /** * * *
     * DataProfileScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; */ public Builder mergeDataProfileSpec(com.google.cloud.dataplex.v1.DataProfileSpec value) { if (dataProfileSpecBuilder_ == null) { if (specCase_ == 101 && spec_ != com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance()) { spec_ = com.google.cloud.dataplex.v1.DataProfileSpec.newBuilder( (com.google.cloud.dataplex.v1.DataProfileSpec) spec_) .mergeFrom(value) .buildPartial(); } else { spec_ = value; } onChanged(); } else { if (specCase_ == 101) { dataProfileSpecBuilder_.mergeFrom(value); } else { dataProfileSpecBuilder_.setMessage(value); } } specCase_ = 101; return this; } /** * * *
     * DataProfileScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; */ public Builder clearDataProfileSpec() { if (dataProfileSpecBuilder_ == null) { if (specCase_ == 101) { specCase_ = 0; spec_ = null; onChanged(); } } else { if (specCase_ == 101) { specCase_ = 0; spec_ = null; } dataProfileSpecBuilder_.clear(); } return this; } /** * * *
     * DataProfileScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; */ public com.google.cloud.dataplex.v1.DataProfileSpec.Builder getDataProfileSpecBuilder() { return getDataProfileSpecFieldBuilder().getBuilder(); } /** * * *
     * DataProfileScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecOrBuilder() { if ((specCase_ == 101) && (dataProfileSpecBuilder_ != null)) { return dataProfileSpecBuilder_.getMessageOrBuilder(); } else { if (specCase_ == 101) { return (com.google.cloud.dataplex.v1.DataProfileSpec) spec_; } return com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } } /** * * *
     * DataProfileScan related setting.
     * 
* * .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataProfileSpec, com.google.cloud.dataplex.v1.DataProfileSpec.Builder, com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder> getDataProfileSpecFieldBuilder() { if (dataProfileSpecBuilder_ == null) { if (!(specCase_ == 101)) { spec_ = com.google.cloud.dataplex.v1.DataProfileSpec.getDefaultInstance(); } dataProfileSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataProfileSpec, com.google.cloud.dataplex.v1.DataProfileSpec.Builder, com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder>( (com.google.cloud.dataplex.v1.DataProfileSpec) spec_, getParentForChildren(), isClean()); spec_ = null; } specCase_ = 101; onChanged(); return dataProfileSpecBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityResult, com.google.cloud.dataplex.v1.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> dataQualityResultBuilder_; /** * * *
     * Output only. The result of the data quality scan.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the dataQualityResult field is set. */ @java.lang.Override public boolean hasDataQualityResult() { return resultCase_ == 200; } /** * * *
     * Output only. The result of the data quality scan.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The dataQualityResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResult getDataQualityResult() { if (dataQualityResultBuilder_ == null) { if (resultCase_ == 200) { return (com.google.cloud.dataplex.v1.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } else { if (resultCase_ == 200) { return dataQualityResultBuilder_.getMessage(); } return com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } } /** * * *
     * Output only. The result of the data quality scan.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setDataQualityResult(com.google.cloud.dataplex.v1.DataQualityResult value) { if (dataQualityResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; onChanged(); } else { dataQualityResultBuilder_.setMessage(value); } resultCase_ = 200; return this; } /** * * *
     * Output only. The result of the data quality scan.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setDataQualityResult( com.google.cloud.dataplex.v1.DataQualityResult.Builder builderForValue) { if (dataQualityResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); } else { dataQualityResultBuilder_.setMessage(builderForValue.build()); } resultCase_ = 200; return this; } /** * * *
     * Output only. The result of the data quality scan.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder mergeDataQualityResult(com.google.cloud.dataplex.v1.DataQualityResult value) { if (dataQualityResultBuilder_ == null) { if (resultCase_ == 200 && result_ != com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance()) { result_ = com.google.cloud.dataplex.v1.DataQualityResult.newBuilder( (com.google.cloud.dataplex.v1.DataQualityResult) result_) .mergeFrom(value) .buildPartial(); } else { result_ = value; } onChanged(); } else { if (resultCase_ == 200) { dataQualityResultBuilder_.mergeFrom(value); } else { dataQualityResultBuilder_.setMessage(value); } } resultCase_ = 200; return this; } /** * * *
     * Output only. The result of the data quality scan.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearDataQualityResult() { if (dataQualityResultBuilder_ == null) { if (resultCase_ == 200) { resultCase_ = 0; result_ = null; onChanged(); } } else { if (resultCase_ == 200) { resultCase_ = 0; result_ = null; } dataQualityResultBuilder_.clear(); } return this; } /** * * *
     * Output only. The result of the data quality scan.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.cloud.dataplex.v1.DataQualityResult.Builder getDataQualityResultBuilder() { return getDataQualityResultFieldBuilder().getBuilder(); } /** * * *
     * Output only. The result of the data quality scan.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityResultOrBuilder() { if ((resultCase_ == 200) && (dataQualityResultBuilder_ != null)) { return dataQualityResultBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 200) { return (com.google.cloud.dataplex.v1.DataQualityResult) result_; } return com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } } /** * * *
     * Output only. The result of the data quality scan.
     * 
* * * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityResult, com.google.cloud.dataplex.v1.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataQualityResultOrBuilder> getDataQualityResultFieldBuilder() { if (dataQualityResultBuilder_ == null) { if (!(resultCase_ == 200)) { result_ = com.google.cloud.dataplex.v1.DataQualityResult.getDefaultInstance(); } dataQualityResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataQualityResult, com.google.cloud.dataplex.v1.DataQualityResult.Builder, com.google.cloud.dataplex.v1.DataQualityResultOrBuilder>( (com.google.cloud.dataplex.v1.DataQualityResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 200; onChanged(); return dataQualityResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataProfileResult, com.google.cloud.dataplex.v1.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> dataProfileResultBuilder_; /** * * *
     * Output only. The result of the data profile scan.
     * 
* * * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the dataProfileResult field is set. */ @java.lang.Override public boolean hasDataProfileResult() { return resultCase_ == 201; } /** * * *
     * Output only. The result of the data profile scan.
     * 
* * * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The dataProfileResult. */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResult getDataProfileResult() { if (dataProfileResultBuilder_ == null) { if (resultCase_ == 201) { return (com.google.cloud.dataplex.v1.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } else { if (resultCase_ == 201) { return dataProfileResultBuilder_.getMessage(); } return com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } } /** * * *
     * Output only. The result of the data profile scan.
     * 
* * * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setDataProfileResult(com.google.cloud.dataplex.v1.DataProfileResult value) { if (dataProfileResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; onChanged(); } else { dataProfileResultBuilder_.setMessage(value); } resultCase_ = 201; return this; } /** * * *
     * Output only. The result of the data profile scan.
     * 
* * * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setDataProfileResult( com.google.cloud.dataplex.v1.DataProfileResult.Builder builderForValue) { if (dataProfileResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); } else { dataProfileResultBuilder_.setMessage(builderForValue.build()); } resultCase_ = 201; return this; } /** * * *
     * Output only. The result of the data profile scan.
     * 
* * * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder mergeDataProfileResult(com.google.cloud.dataplex.v1.DataProfileResult value) { if (dataProfileResultBuilder_ == null) { if (resultCase_ == 201 && result_ != com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance()) { result_ = com.google.cloud.dataplex.v1.DataProfileResult.newBuilder( (com.google.cloud.dataplex.v1.DataProfileResult) result_) .mergeFrom(value) .buildPartial(); } else { result_ = value; } onChanged(); } else { if (resultCase_ == 201) { dataProfileResultBuilder_.mergeFrom(value); } else { dataProfileResultBuilder_.setMessage(value); } } resultCase_ = 201; return this; } /** * * *
     * Output only. The result of the data profile scan.
     * 
* * * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearDataProfileResult() { if (dataProfileResultBuilder_ == null) { if (resultCase_ == 201) { resultCase_ = 0; result_ = null; onChanged(); } } else { if (resultCase_ == 201) { resultCase_ = 0; result_ = null; } dataProfileResultBuilder_.clear(); } return this; } /** * * *
     * Output only. The result of the data profile scan.
     * 
* * * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.cloud.dataplex.v1.DataProfileResult.Builder getDataProfileResultBuilder() { return getDataProfileResultFieldBuilder().getBuilder(); } /** * * *
     * Output only. The result of the data profile scan.
     * 
* * * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileResultOrBuilder() { if ((resultCase_ == 201) && (dataProfileResultBuilder_ != null)) { return dataProfileResultBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 201) { return (com.google.cloud.dataplex.v1.DataProfileResult) result_; } return com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } } /** * * *
     * Output only. The result of the data profile scan.
     * 
* * * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataProfileResult, com.google.cloud.dataplex.v1.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataProfileResultOrBuilder> getDataProfileResultFieldBuilder() { if (dataProfileResultBuilder_ == null) { if (!(resultCase_ == 201)) { result_ = com.google.cloud.dataplex.v1.DataProfileResult.getDefaultInstance(); } dataProfileResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.DataProfileResult, com.google.cloud.dataplex.v1.DataProfileResult.Builder, com.google.cloud.dataplex.v1.DataProfileResultOrBuilder>( (com.google.cloud.dataplex.v1.DataProfileResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 201; onChanged(); return dataProfileResultBuilder_; } @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.DataScan) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataScan) private static final com.google.cloud.dataplex.v1.DataScan DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataScan(); } public static com.google.cloud.dataplex.v1.DataScan getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataScan 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.DataScan getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy