public static final class DataPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataPolicy.Builder> implements DataPolicyOrBuilder
Represents the label-policy binding.Protobuf type
google.cloud.bigquery.datapolicies.v1beta1.DataPolicy| Modifier and Type | Method and Description |
|---|---|
DataPolicy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DataPolicy |
build() |
DataPolicy |
buildPartial() |
DataPolicy.Builder |
clear() |
DataPolicy.Builder |
clearDataMaskingPolicy()
The data masking policy that specifies the data masking rule to use.
|
DataPolicy.Builder |
clearDataPolicyId()
User-assigned (human readable) ID of the data policy that needs to be
unique within a project.
|
DataPolicy.Builder |
clearDataPolicyType()
Type of data policy.
|
DataPolicy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DataPolicy.Builder |
clearMatchingLabel() |
DataPolicy.Builder |
clearName()
Output only.
|
DataPolicy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DataPolicy.Builder |
clearPolicy() |
DataPolicy.Builder |
clearPolicyTag()
Policy tag resource name, in the format of
`projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.
|
DataPolicy.Builder |
clone() |
DataMaskingPolicy |
getDataMaskingPolicy()
The data masking policy that specifies the data masking rule to use.
|
DataMaskingPolicy.Builder |
getDataMaskingPolicyBuilder()
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.
|
DataPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DataPolicy.MatchingLabelCase |
getMatchingLabelCase() |
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
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}`.
|
boolean |
hasDataMaskingPolicy()
The data masking policy that specifies the data masking rule to use.
|
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() |
DataPolicy.Builder |
mergeDataMaskingPolicy(DataMaskingPolicy value)
The data masking policy that specifies the data masking rule to use.
|
DataPolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DataPolicy.Builder |
mergeFrom(DataPolicy other) |
DataPolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
DataPolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DataPolicy.Builder |
setDataMaskingPolicy(DataMaskingPolicy.Builder builderForValue)
The data masking policy that specifies the data masking rule to use.
|
DataPolicy.Builder |
setDataMaskingPolicy(DataMaskingPolicy value)
The data masking policy that specifies the data masking rule to use.
|
DataPolicy.Builder |
setDataPolicyId(String value)
User-assigned (human readable) ID of the data policy that needs to be
unique within a project.
|
DataPolicy.Builder |
setDataPolicyIdBytes(com.google.protobuf.ByteString value)
User-assigned (human readable) ID of the data policy that needs to be
unique within a project.
|
DataPolicy.Builder |
setDataPolicyType(DataPolicy.DataPolicyType value)
Type of data policy.
|
DataPolicy.Builder |
setDataPolicyTypeValue(int value)
Type of data policy.
|
DataPolicy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DataPolicy.Builder |
setName(String value)
Output only.
|
DataPolicy.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
DataPolicy.Builder |
setPolicyTag(String value)
Policy tag resource name, in the format of
`projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.
|
DataPolicy.Builder |
setPolicyTagBytes(com.google.protobuf.ByteString value)
Policy tag resource name, in the format of
`projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.
|
DataPolicy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DataPolicy.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DataPolicy.Builder>public DataPolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DataPolicy.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DataPolicy.Builder>public DataPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DataPolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DataPolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DataPolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DataPolicy.Builder>public DataPolicy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DataPolicy.Builder>public DataPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DataPolicy.Builder>public DataPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DataPolicy.Builder>public DataPolicy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataPolicy.Builder>public DataPolicy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataPolicy.Builder>public DataPolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataPolicy.Builder>public DataPolicy.Builder mergeFrom(DataPolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DataPolicy.Builder>public DataPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataPolicy.Builder>IOExceptionpublic DataPolicy.MatchingLabelCase getMatchingLabelCase()
getMatchingLabelCase in interface DataPolicyOrBuilderpublic DataPolicy.Builder clearMatchingLabel()
public DataPolicy.PolicyCase getPolicyCase()
getPolicyCase in interface DataPolicyOrBuilderpublic DataPolicy.Builder clearPolicy()
public 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 DataPolicy.Builder setPolicyTag(String value)
Policy tag resource name, in the format of
`projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.
string policy_tag = 4;value - The policyTag to set.public DataPolicy.Builder clearPolicyTag()
Policy tag resource name, in the format of
`projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.
string policy_tag = 4;public DataPolicy.Builder setPolicyTagBytes(com.google.protobuf.ByteString value)
Policy tag resource name, in the format of
`projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.
string policy_tag = 4;value - The bytes for policyTag to set.public 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 DataPolicy.Builder setDataMaskingPolicy(DataMaskingPolicy value)
The data masking policy that specifies the data masking rule to use.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy data_masking_policy = 5;
public DataPolicy.Builder setDataMaskingPolicy(DataMaskingPolicy.Builder builderForValue)
The data masking policy that specifies the data masking rule to use.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy data_masking_policy = 5;
public DataPolicy.Builder mergeDataMaskingPolicy(DataMaskingPolicy value)
The data masking policy that specifies the data masking rule to use.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy data_masking_policy = 5;
public DataPolicy.Builder clearDataMaskingPolicy()
The data masking policy that specifies the data masking rule to use.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy data_masking_policy = 5;
public DataMaskingPolicy.Builder getDataMaskingPolicyBuilder()
The data masking policy that specifies the data masking rule to use.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy data_masking_policy = 5;
public 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 DataPolicy.Builder setName(String value)
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];value - The name to set.public DataPolicy.Builder clearName()
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];public DataPolicy.Builder setNameBytes(com.google.protobuf.ByteString value)
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];value - The bytes for name to set.public int getDataPolicyTypeValue()
Type of data policy.
.google.cloud.bigquery.datapolicies.v1beta1.DataPolicy.DataPolicyType data_policy_type = 2;
getDataPolicyTypeValue in interface DataPolicyOrBuilderpublic DataPolicy.Builder setDataPolicyTypeValue(int value)
Type of data policy.
.google.cloud.bigquery.datapolicies.v1beta1.DataPolicy.DataPolicyType data_policy_type = 2;
value - The enum numeric value on the wire for dataPolicyType to set.public DataPolicy.DataPolicyType getDataPolicyType()
Type of data policy.
.google.cloud.bigquery.datapolicies.v1beta1.DataPolicy.DataPolicyType data_policy_type = 2;
getDataPolicyType in interface DataPolicyOrBuilderpublic DataPolicy.Builder setDataPolicyType(DataPolicy.DataPolicyType value)
Type of data policy.
.google.cloud.bigquery.datapolicies.v1beta1.DataPolicy.DataPolicyType data_policy_type = 2;
value - The dataPolicyType to set.public DataPolicy.Builder clearDataPolicyType()
Type of data policy.
.google.cloud.bigquery.datapolicies.v1beta1.DataPolicy.DataPolicyType data_policy_type = 2;
public 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 DataPolicy.Builder setDataPolicyId(String value)
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;value - The dataPolicyId to set.public DataPolicy.Builder clearDataPolicyId()
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;public DataPolicy.Builder setDataPolicyIdBytes(com.google.protobuf.ByteString value)
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;value - The bytes for dataPolicyId to set.public final DataPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataPolicy.Builder>public final DataPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataPolicy.Builder>Copyright © 2024 Google LLC. All rights reserved.