Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dataplex/v1/data_profile.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.dataplex.v1;
/**
*
*
*
* DataProfileScan related setting.
*
*
* Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec}
*/
public final class DataProfileSpec extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileSpec)
DataProfileSpecOrBuilder {
private static final long serialVersionUID = 0L;
// Use DataProfileSpec.newBuilder() to construct.
private DataProfileSpec(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DataProfileSpec() {
rowFilter_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DataProfileSpec();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dataplex.v1.DataProfileProto
.internal_static_google_cloud_dataplex_v1_DataProfileSpec_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dataplex.v1.DataProfileProto
.internal_static_google_cloud_dataplex_v1_DataProfileSpec_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dataplex.v1.DataProfileSpec.class,
com.google.cloud.dataplex.v1.DataProfileSpec.Builder.class);
}
public interface PostScanActionsOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Optional. If set, results will be exported to the provided BigQuery
* table.
*
*
*
* .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the bigqueryExport field is set.
*/
boolean hasBigqueryExport();
/**
*
*
*
* Optional. If set, results will be exported to the provided BigQuery
* table.
*
* The configuration of post scan actions of DataProfileScan job.
*
*
* Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.PostScanActions}
*/
public static final class PostScanActions extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions)
PostScanActionsOrBuilder {
private static final long serialVersionUID = 0L;
// Use PostScanActions.newBuilder() to construct.
private PostScanActions(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PostScanActions() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new PostScanActions();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dataplex.v1.DataProfileProto
.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dataplex.v1.DataProfileProto
.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.class,
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.Builder.class);
}
public interface BigQueryExportOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Optional. The BigQuery table to export DataProfileScan results to.
* Format:
* //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
*
* Optional. The BigQuery table to export DataProfileScan results to.
* Format:
* //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
*
* The configuration of BigQuery export post scan action.
*
*
* Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport}
*/
public static final class BigQueryExport extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport)
BigQueryExportOrBuilder {
private static final long serialVersionUID = 0L;
// Use BigQueryExport.newBuilder() to construct.
private BigQueryExport(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BigQueryExport() {
resultsTable_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BigQueryExport();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dataplex.v1.DataProfileProto
.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dataplex.v1.DataProfileProto
.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.class,
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder
.class);
}
public static final int RESULTS_TABLE_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object resultsTable_ = "";
/**
*
*
*
* Optional. The BigQuery table to export DataProfileScan results to.
* Format:
* //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
*
* Optional. The BigQuery table to export DataProfileScan results to.
* Format:
* //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
*
*
* string results_table = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for resultsTable.
*/
@java.lang.Override
public com.google.protobuf.ByteString getResultsTableBytes() {
java.lang.Object ref = resultsTable_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
resultsTable_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resultsTable_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resultsTable_);
}
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(resultsTable_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resultsTable_);
}
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.DataProfileSpec.PostScanActions.BigQueryExport)) {
return super.equals(obj);
}
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport other =
(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport) obj;
if (!getResultsTable().equals(other.getResultsTable())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RESULTS_TABLE_FIELD_NUMBER;
hash = (53 * hash) + getResultsTable().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport
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.DataProfileSpec.PostScanActions.BigQueryExport
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport
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.DataProfileSpec.PostScanActions.BigQueryExport
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport
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.DataProfileSpec.PostScanActions.BigQueryExport
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport
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.DataProfileSpec.PostScanActions.BigQueryExport
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport
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.DataProfileSpec.PostScanActions.BigQueryExport
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.DataProfileSpec.PostScanActions.BigQueryExport
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.DataProfileSpec.PostScanActions.BigQueryExport prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
*
*
* The configuration of BigQuery export post scan action.
*
*
* Protobuf type {@code
* google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder
implements
// @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport)
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dataplex.v1.DataProfileProto
.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dataplex.v1.DataProfileProto
.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.class,
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport
.Builder.class);
}
// Construct using
// com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.newBuilder()
private Builder() {}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
resultsTable_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.cloud.dataplex.v1.DataProfileProto
.internal_static_google_cloud_dataplex_v1_DataProfileSpec_PostScanActions_BigQueryExport_descriptor;
}
@java.lang.Override
public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport
getDefaultInstanceForType() {
return com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport
.getDefaultInstance();
}
@java.lang.Override
public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport build() {
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport
buildPartial() {
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport result =
new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport(this);
if (bitField0_ != 0) {
buildPartial0(result);
}
onBuilt();
return result;
}
private void buildPartial0(
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.resultsTable_ = resultsTable_;
}
}
@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.DataProfileSpec.PostScanActions.BigQueryExport) {
return mergeFrom(
(com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport)
other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport other) {
if (other
== com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport
.getDefaultInstance()) return this;
if (!other.getResultsTable().isEmpty()) {
resultsTable_ = other.resultsTable_;
bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10:
{
resultsTable_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object resultsTable_ = "";
/**
*
*
*
* Optional. The BigQuery table to export DataProfileScan results to.
* Format:
* //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
*
* Optional. The BigQuery table to export DataProfileScan results to.
* Format:
* //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
*
* Optional. The BigQuery table to export DataProfileScan results to.
* Format:
* //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
*
*
* string results_table = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The resultsTable to set.
* @return This builder for chaining.
*/
public Builder setResultsTable(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
resultsTable_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
*
*
* Optional. The BigQuery table to export DataProfileScan results to.
* Format:
* //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
*
* Optional. The BigQuery table to export DataProfileScan results to.
* Format:
* //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
*
*
* string results_table = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The bytes for resultsTable to set.
* @return This builder for chaining.
*/
public Builder setResultsTableBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
resultsTable_ = value;
bitField0_ |= 0x00000001;
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.DataProfileSpec.PostScanActions.BigQueryExport)
}
// @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport)
private static final com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions
.BigQueryExport
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport();
}
public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BigQueryExport 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.DataProfileSpec.PostScanActions.BigQueryExport
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int BIGQUERY_EXPORT_FIELD_NUMBER = 1;
private com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport
bigqueryExport_;
/**
*
*
*
* Optional. If set, results will be exported to the provided BigQuery
* table.
*
*
*
* .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the bigqueryExport field is set.
*/
@java.lang.Override
public boolean hasBigqueryExport() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
*
*
* Optional. If set, results will be exported to the provided BigQuery
* table.
*
* Optional. If set, results will be exported to the provided BigQuery
* table.
*
*
*
* .google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport,
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport.Builder,
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportOrBuilder>
getBigqueryExportFieldBuilder() {
if (bigqueryExportBuilder_ == null) {
bigqueryExportBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport,
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport
.Builder,
com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions
.BigQueryExportOrBuilder>(
getBigqueryExport(), getParentForChildren(), isClean());
bigqueryExport_ = null;
}
return bigqueryExportBuilder_;
}
@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.DataProfileSpec.PostScanActions)
}
// @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileSpec.PostScanActions)
private static final com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions();
}
public static com.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PostScanActions 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.DataProfileSpec.PostScanActions
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SelectedFieldsOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataProfileSpec.SelectedFields)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return A list containing the fieldNames.
*/
java.util.List getFieldNamesList();
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The count of fieldNames.
*/
int getFieldNamesCount();
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the element to return.
* @return The fieldNames at the given index.
*/
java.lang.String getFieldNames(int index);
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the value to return.
* @return The bytes of the fieldNames at the given index.
*/
com.google.protobuf.ByteString getFieldNamesBytes(int index);
}
/**
*
*
*
* The specification for fields to include or exclude in data profile scan.
*
*
* Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.SelectedFields}
*/
public static final class SelectedFields extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataProfileSpec.SelectedFields)
SelectedFieldsOrBuilder {
private static final long serialVersionUID = 0L;
// Use SelectedFields.newBuilder() to construct.
private SelectedFields(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SelectedFields() {
fieldNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new SelectedFields();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dataplex.v1.DataProfileProto
.internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dataplex.v1.DataProfileProto
.internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.class,
com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder.class);
}
public static final int FIELD_NAMES_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList fieldNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return A list containing the fieldNames.
*/
public com.google.protobuf.ProtocolStringList getFieldNamesList() {
return fieldNames_;
}
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The count of fieldNames.
*/
public int getFieldNamesCount() {
return fieldNames_.size();
}
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the element to return.
* @return The fieldNames at the given index.
*/
public java.lang.String getFieldNames(int index) {
return fieldNames_.get(index);
}
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the value to return.
* @return The bytes of the fieldNames at the given index.
*/
public com.google.protobuf.ByteString getFieldNamesBytes(int index) {
return fieldNames_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
for (int i = 0; i < fieldNames_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldNames_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < fieldNames_.size(); i++) {
dataSize += computeStringSizeNoTag(fieldNames_.getRaw(i));
}
size += dataSize;
size += 1 * getFieldNamesList().size();
}
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.DataProfileSpec.SelectedFields)) {
return super.equals(obj);
}
com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields other =
(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) obj;
if (!getFieldNamesList().equals(other.getFieldNamesList())) 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 (getFieldNamesCount() > 0) {
hash = (37 * hash) + FIELD_NAMES_FIELD_NUMBER;
hash = (53 * hash) + getFieldNamesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields 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.DataProfileSpec.SelectedFields parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields 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.DataProfileSpec.SelectedFields parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields 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.DataProfileSpec.SelectedFields parseFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields 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.DataProfileSpec.SelectedFields parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields 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.DataProfileSpec.SelectedFields 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.DataProfileSpec.SelectedFields 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.DataProfileSpec.SelectedFields prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
*
*
* The specification for fields to include or exclude in data profile scan.
*
*
* Protobuf type {@code google.cloud.dataplex.v1.DataProfileSpec.SelectedFields}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder
implements
// @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataProfileSpec.SelectedFields)
com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dataplex.v1.DataProfileProto
.internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dataplex.v1.DataProfileProto
.internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.class,
com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.Builder.class);
}
// Construct using com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.newBuilder()
private Builder() {}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
fieldNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.cloud.dataplex.v1.DataProfileProto
.internal_static_google_cloud_dataplex_v1_DataProfileSpec_SelectedFields_descriptor;
}
@java.lang.Override
public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields
getDefaultInstanceForType() {
return com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance();
}
@java.lang.Override
public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields build() {
com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields buildPartial() {
com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields result =
new com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields(this);
if (bitField0_ != 0) {
buildPartial0(result);
}
onBuilt();
return result;
}
private void buildPartial0(
com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
fieldNames_.makeImmutable();
result.fieldNames_ = fieldNames_;
}
}
@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.DataProfileSpec.SelectedFields) {
return mergeFrom((com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields other) {
if (other
== com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields.getDefaultInstance())
return this;
if (!other.fieldNames_.isEmpty()) {
if (fieldNames_.isEmpty()) {
fieldNames_ = other.fieldNames_;
bitField0_ |= 0x00000001;
} else {
ensureFieldNamesIsMutable();
fieldNames_.addAll(other.fieldNames_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10:
{
java.lang.String s = input.readStringRequireUtf8();
ensureFieldNamesIsMutable();
fieldNames_.add(s);
break;
} // case 10
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringArrayList fieldNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureFieldNamesIsMutable() {
if (!fieldNames_.isModifiable()) {
fieldNames_ = new com.google.protobuf.LazyStringArrayList(fieldNames_);
}
bitField0_ |= 0x00000001;
}
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return A list containing the fieldNames.
*/
public com.google.protobuf.ProtocolStringList getFieldNamesList() {
fieldNames_.makeImmutable();
return fieldNames_;
}
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The count of fieldNames.
*/
public int getFieldNamesCount() {
return fieldNames_.size();
}
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the element to return.
* @return The fieldNames at the given index.
*/
public java.lang.String getFieldNames(int index) {
return fieldNames_.get(index);
}
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the value to return.
* @return The bytes of the fieldNames at the given index.
*/
public com.google.protobuf.ByteString getFieldNamesBytes(int index) {
return fieldNames_.getByteString(index);
}
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index to set the value at.
* @param value The fieldNames to set.
* @return This builder for chaining.
*/
public Builder setFieldNames(int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldNamesIsMutable();
fieldNames_.set(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The fieldNames to add.
* @return This builder for chaining.
*/
public Builder addFieldNames(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldNamesIsMutable();
fieldNames_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @param values The fieldNames to add.
* @return This builder for chaining.
*/
public Builder addAllFieldNames(java.lang.Iterable values) {
ensureFieldNamesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldNames_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
*
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
* Optional. Expected input is a list of fully qualified names of fields as
* in the schema.
*
* Only top-level field names for nested fields are supported.
* For instance, if 'x' is of nested field type, listing 'x' is supported
* but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
* 'x'.
*
*
* repeated string field_names = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The bytes of the fieldNames to add.
* @return This builder for chaining.
*/
public Builder addFieldNamesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureFieldNamesIsMutable();
fieldNames_.add(value);
bitField0_ |= 0x00000001;
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.DataProfileSpec.SelectedFields)
}
// @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataProfileSpec.SelectedFields)
private static final com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields();
}
public static com.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SelectedFields 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.DataProfileSpec.SelectedFields getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int SAMPLING_PERCENT_FIELD_NUMBER = 2;
private float samplingPercent_ = 0F;
/**
*
*
*