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_quality.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.dataplex.v1;
/**
*
*
*
* The output of a DataQualityScan.
*
*
* Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult}
*/
public final class DataQualityResult extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityResult)
DataQualityResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use DataQualityResult.newBuilder() to construct.
private DataQualityResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DataQualityResult() {
dimensions_ = java.util.Collections.emptyList();
columns_ = java.util.Collections.emptyList();
rules_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DataQualityResult();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dataplex.v1.DataQualityProto
.internal_static_google_cloud_dataplex_v1_DataQualityResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dataplex.v1.DataQualityProto
.internal_static_google_cloud_dataplex_v1_DataQualityResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dataplex.v1.DataQualityResult.class,
com.google.cloud.dataplex.v1.DataQualityResult.Builder.class);
}
public interface PostScanActionsResultOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. The result of BigQuery export post scan action.
*
*
*
* .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the bigqueryExportResult field is set.
*/
boolean hasBigqueryExportResult();
/**
*
*
*
* Output only. The result of BigQuery export post scan action.
*
* The result of post scan actions of DataQualityScan job.
*
*
* Protobuf type {@code google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult}
*/
public static final class PostScanActionsResult extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult)
PostScanActionsResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use PostScanActionsResult.newBuilder() to construct.
private PostScanActionsResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PostScanActionsResult() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new PostScanActionsResult();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dataplex.v1.DataQualityProto
.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dataplex.v1.DataQualityProto
.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.class,
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.Builder.class);
}
public interface BigQueryExportResultOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. Execution state for the BigQuery exporting.
*
*
*
* .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
*
* Output only. Execution state for the BigQuery exporting.
*
*
* STATE_UNSPECIFIED = 0;
*/
public static final int STATE_UNSPECIFIED_VALUE = 0;
/**
*
*
*
* The exporting completed successfully.
*
*
* SUCCEEDED = 1;
*/
public static final int SUCCEEDED_VALUE = 1;
/**
*
*
*
* The exporting is no longer running due to an error.
*
*
* FAILED = 2;
*/
public static final int FAILED_VALUE = 2;
/**
*
*
*
* The exporting is skipped due to no valid scan result to export
* (usually caused by scan failed).
*
*
* SKIPPED = 3;
*/
public static final int SKIPPED_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static State valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static State forNumber(int value) {
switch (value) {
case 0:
return STATE_UNSPECIFIED;
case 1:
return SUCCEEDED;
case 2:
return FAILED;
case 3:
return SKIPPED;
default:
return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public State findValueByNumber(int number) {
return State.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult.getDescriptor()
.getEnumTypes()
.get(0);
}
private static final State[] VALUES = values();
public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private State(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State)
}
public static final int STATE_FIELD_NUMBER = 1;
private int state_ = 0;
/**
*
*
*
* Output only. Execution state for the BigQuery exporting.
*
*
*
* .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for state.
*/
@java.lang.Override
public int getStateValue() {
return state_;
}
/**
*
*
*
* Output only. Execution state for the BigQuery exporting.
*
*
*
* .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The state.
*/
@java.lang.Override
public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult.State
getState() {
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult
.State
result =
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult.State.forNumber(state_);
return result == null
? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult.State.UNRECOGNIZED
: result;
}
public static final int MESSAGE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object message_ = "";
/**
*
*
*
* Output only. Additional information about the BigQuery exporting.
*
* The result of BigQuery export post scan action.
*
*
* Protobuf type {@code
* google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder
implements
// @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult)
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dataplex.v1.DataQualityProto
.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dataplex.v1.DataQualityProto
.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult.class,
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult.Builder.class);
}
// Construct using
// com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.newBuilder()
private Builder() {}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
state_ = 0;
message_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.cloud.dataplex.v1.DataQualityProto
.internal_static_google_cloud_dataplex_v1_DataQualityResult_PostScanActionsResult_BigQueryExportResult_descriptor;
}
@java.lang.Override
public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult
getDefaultInstanceForType() {
return com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult.getDefaultInstance();
}
@java.lang.Override
public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult
build() {
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult
result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult
buildPartial() {
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult
result =
new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult(this);
if (bitField0_ != 0) {
buildPartial0(result);
}
onBuilt();
return result;
}
private void buildPartial0(
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult
result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.state_ = state_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.message_ = message_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other
instanceof
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult) {
return mergeFrom(
(com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult)
other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult
other) {
if (other
== com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult.getDefaultInstance()) return this;
if (other.state_ != 0) {
setStateValue(other.getStateValue());
}
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8:
{
state_ = input.readEnum();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18:
{
message_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int state_ = 0;
/**
*
*
*
* Output only. Execution state for the BigQuery exporting.
*
*
*
* .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for state.
*/
@java.lang.Override
public int getStateValue() {
return state_;
}
/**
*
*
*
* Output only. Execution state for the BigQuery exporting.
*
*
*
* .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @param value The enum numeric value on the wire for state to set.
* @return This builder for chaining.
*/
public Builder setStateValue(int value) {
state_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
*
*
* Output only. Execution state for the BigQuery exporting.
*
*
*
* .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The state.
*/
@java.lang.Override
public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult.State
getState() {
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult
.State
result =
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult.State.forNumber(state_);
return result == null
? com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult.State.UNRECOGNIZED
: result;
}
/**
*
*
*
* Output only. Execution state for the BigQuery exporting.
*
*
*
* .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @param value The state to set.
* @return This builder for chaining.
*/
public Builder setState(
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult.State
value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
state_ = value.getNumber();
onChanged();
return this;
}
/**
*
*
*
* Output only. Execution state for the BigQuery exporting.
*
* Output only. The result of BigQuery export post scan action.
*
*
*
* .google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult bigquery_export_result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult,
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult.Builder,
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResultOrBuilder>
getBigqueryExportResultFieldBuilder() {
if (bigqueryExportResultBuilder_ == null) {
bigqueryExportResultBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult,
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResult.Builder,
com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
.BigQueryExportResultOrBuilder>(
getBigqueryExportResult(), getParentForChildren(), isClean());
bigqueryExportResult_ = null;
}
return bigqueryExportResultBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult)
}
// @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult)
private static final com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult();
}
public static com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PostScanActionsResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException()
.setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int PASSED_FIELD_NUMBER = 5;
private boolean passed_ = false;
/**
*
*
*
* Overall data quality result -- `true` if all rules passed.
*
*
* bool passed = 5;
*
* @return The passed.
*/
@java.lang.Override
public boolean getPassed() {
return passed_;
}
public static final int SCORE_FIELD_NUMBER = 9;
private float score_ = 0F;
/**
*
*
*
* Output only. The overall data quality score.
*
* The score ranges between [0, 100] (up to two decimal points).
*
*
* optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return Whether the score field is set.
*/
@java.lang.Override
public boolean hasScore() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
*
*
* Output only. The overall data quality score.
*
* The score ranges between [0, 100] (up to two decimal points).
*
*
* optional float score = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The score.
*/
@java.lang.Override
public float getScore() {
return score_;
}
public static final int DIMENSIONS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List dimensions_;
/**
*
*
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
*
* repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
*/
@java.lang.Override
public int getDimensionsCount() {
return dimensions_.size();
}
/**
*
*
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
*
* repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
*/
@java.lang.Override
public com.google.cloud.dataplex.v1.DataQualityDimensionResultOrBuilder getDimensionsOrBuilder(
int index) {
return dimensions_.get(index);
}
public static final int COLUMNS_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private java.util.List columns_;
/**
*
*
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
*
*
* repeated .google.cloud.dataplex.v1.DataQualityColumnResult columns = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
@java.lang.Override
public com.google.cloud.dataplex.v1.DataQualityColumnResultOrBuilder getColumnsOrBuilder(
int index) {
return columns_.get(index);
}
public static final int RULES_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List rules_;
/**
*
*
*
* A list of all the rules in a job, and their results.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
*
* repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
*/
public int getDimensionsCount() {
if (dimensionsBuilder_ == null) {
return dimensions_.size();
} else {
return dimensionsBuilder_.getCount();
}
}
/**
*
*
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
*
* repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
*/
public Builder setDimensions(
int index, com.google.cloud.dataplex.v1.DataQualityDimensionResult value) {
if (dimensionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDimensionsIsMutable();
dimensions_.set(index, value);
onChanged();
} else {
dimensionsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
*
* repeated .google.cloud.dataplex.v1.DataQualityDimensionResult dimensions = 2;
*/
public Builder addDimensions(
int index, com.google.cloud.dataplex.v1.DataQualityDimensionResult value) {
if (dimensionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDimensionsIsMutable();
dimensions_.add(index, value);
onChanged();
} else {
dimensionsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* A list of results at the dimension level.
*
* A dimension will have a corresponding `DataQualityDimensionResult` if and
* only if there is at least one rule with the 'dimension' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*
* Output only. A list of results at the column level.
*
* A column will have a corresponding `DataQualityColumnResult` if and only if
* there is at least one rule with the 'column' field set to it.
*