public final class DataPolicy extends com.google.protobuf.GeneratedMessageV3 implements DataPolicyOrBuilder
Represents the label-policy binding.Protobuf type
google.cloud.bigquery.datapolicies.v1beta1.DataPolicy| Modifier and Type | Class and Description |
|---|---|
static class |
DataPolicy.Builder
Represents the label-policy binding.
|
static class |
DataPolicy.DataPolicyType
A list of supported data policy types.
|
static class |
DataPolicy.MatchingLabelCase |
static class |
DataPolicy.PolicyCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DATA_MASKING_POLICY_FIELD_NUMBER |
static int |
DATA_POLICY_ID_FIELD_NUMBER |
static int |
DATA_POLICY_TYPE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
POLICY_TAG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
DataMaskingPolicy |
getDataMaskingPolicy()
The data masking policy that specifies the data masking rule to use.
|
DataMaskingPolicyOrBuilder |
getDataMaskingPolicyOrBuilder()
The data masking policy that specifies the data masking rule to use.
|
String |
getDataPolicyId()
User-assigned (human readable) ID of the data policy that needs to be
unique within a project.
|
com.google.protobuf.ByteString |
getDataPolicyIdBytes()
User-assigned (human readable) ID of the data policy that needs to be
unique within a project.
|
DataPolicy.DataPolicyType |
getDataPolicyType()
Type of data policy.
|
int |
getDataPolicyTypeValue()
Type of data policy.
|
static DataPolicy |
getDefaultInstance() |
DataPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DataPolicy.MatchingLabelCase |
getMatchingLabelCase() |
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<DataPolicy> |
getParserForType() |
DataPolicy.PolicyCase |
getPolicyCase() |
String |
getPolicyTag()
Policy tag resource name, in the format of
`projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.
|
com.google.protobuf.ByteString |
getPolicyTagBytes()
Policy tag resource name, in the format of
`projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.
|
int |
getSerializedSize() |
boolean |
hasDataMaskingPolicy()
The data masking policy that specifies the data masking rule to use.
|
int |
hashCode() |
boolean |
hasPolicyTag()
Policy tag resource name, in the format of
`projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DataPolicy.Builder |
newBuilder() |
static DataPolicy.Builder |
newBuilder(DataPolicy prototype) |
DataPolicy.Builder |
newBuilderForType() |
protected DataPolicy.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DataPolicy |
parseDelimitedFrom(InputStream input) |
static DataPolicy |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataPolicy |
parseFrom(byte[] data) |
static DataPolicy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataPolicy |
parseFrom(ByteBuffer data) |
static DataPolicy |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataPolicy |
parseFrom(com.google.protobuf.ByteString data) |
static DataPolicy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataPolicy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DataPolicy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataPolicy |
parseFrom(InputStream input) |
static DataPolicy |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DataPolicy> |
parser() |
DataPolicy.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int POLICY_TAG_FIELD_NUMBER
public static final int DATA_MASKING_POLICY_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int DATA_POLICY_TYPE_FIELD_NUMBER
public static final int DATA_POLICY_ID_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public DataPolicy.MatchingLabelCase getMatchingLabelCase()
getMatchingLabelCase in interface DataPolicyOrBuilderpublic DataPolicy.PolicyCase getPolicyCase()
getPolicyCase in interface DataPolicyOrBuilderpublic boolean hasPolicyTag()
Policy tag resource name, in the format of
`projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.
string policy_tag = 4;hasPolicyTag in interface DataPolicyOrBuilderpublic String getPolicyTag()
Policy tag resource name, in the format of
`projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.
string policy_tag = 4;getPolicyTag in interface DataPolicyOrBuilderpublic com.google.protobuf.ByteString getPolicyTagBytes()
Policy tag resource name, in the format of
`projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.
string policy_tag = 4;getPolicyTagBytes in interface DataPolicyOrBuilderpublic boolean hasDataMaskingPolicy()
The data masking policy that specifies the data masking rule to use.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy data_masking_policy = 5;
hasDataMaskingPolicy in interface DataPolicyOrBuilderpublic DataMaskingPolicy getDataMaskingPolicy()
The data masking policy that specifies the data masking rule to use.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy data_masking_policy = 5;
getDataMaskingPolicy in interface DataPolicyOrBuilderpublic DataMaskingPolicyOrBuilder getDataMaskingPolicyOrBuilder()
The data masking policy that specifies the data masking rule to use.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy data_masking_policy = 5;
getDataMaskingPolicyOrBuilder in interface DataPolicyOrBuilderpublic String getName()
Output only. Resource name of this data policy, in the format of
`projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface DataPolicyOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of this data policy, in the format of
`projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface DataPolicyOrBuilderpublic int getDataPolicyTypeValue()
Type of data policy.
.google.cloud.bigquery.datapolicies.v1beta1.DataPolicy.DataPolicyType data_policy_type = 2;
getDataPolicyTypeValue in interface DataPolicyOrBuilderpublic DataPolicy.DataPolicyType getDataPolicyType()
Type of data policy.
.google.cloud.bigquery.datapolicies.v1beta1.DataPolicy.DataPolicyType data_policy_type = 2;
getDataPolicyType in interface DataPolicyOrBuilderpublic String getDataPolicyId()
User-assigned (human readable) ID of the data policy that needs to be
unique within a project. Used as {data_policy_id} in part of the resource
name.
string data_policy_id = 3;getDataPolicyId in interface DataPolicyOrBuilderpublic com.google.protobuf.ByteString getDataPolicyIdBytes()
User-assigned (human readable) ID of the data policy that needs to be
unique within a project. Used as {data_policy_id} in part of the resource
name.
string data_policy_id = 3;getDataPolicyIdBytes in interface DataPolicyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DataPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataPolicy parseFrom(InputStream input) throws IOException
IOExceptionpublic static DataPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DataPolicy parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DataPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DataPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DataPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DataPolicy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DataPolicy.Builder newBuilder()
public static DataPolicy.Builder newBuilder(DataPolicy prototype)
public DataPolicy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DataPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DataPolicy getDefaultInstance()
public static com.google.protobuf.Parser<DataPolicy> parser()
public com.google.protobuf.Parser<DataPolicy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DataPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.