Interface DataPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataPolicy,DataPolicy.Builder
@Generated
public interface DataPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe data masking policy that specifies the data masking rule to use.The data masking policy that specifies the data masking rule to use.User-assigned (human readable) ID of the data policy that needs to be unique within a project.com.google.protobuf.ByteStringUser-assigned (human readable) ID of the data policy that needs to be unique within a project.Type of data policy.intType of data policy.getName()Output only.com.google.protobuf.ByteStringOutput only.Policy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.com.google.protobuf.ByteStringPolicy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.booleanThe data masking policy that specifies the data masking rule to use.booleanPolicy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasPolicyTag
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;- Returns:
- Whether the policyTag field is set.
-
getPolicyTag
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;- Returns:
- The policyTag.
-
getPolicyTagBytes
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;- Returns:
- The bytes for policyTag.
-
hasDataMaskingPolicy
boolean hasDataMaskingPolicy()The data masking policy that specifies the data masking rule to use.
.google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy data_masking_policy = 5;- Returns:
- Whether the dataMaskingPolicy field is set.
-
getDataMaskingPolicy
DataMaskingPolicy getDataMaskingPolicy()The data masking policy that specifies the data masking rule to use.
.google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy data_masking_policy = 5;- Returns:
- The dataMaskingPolicy.
-
getDataMaskingPolicyOrBuilder
DataMaskingPolicyOrBuilder getDataMaskingPolicyOrBuilder()The data masking policy that specifies the data masking rule to use.
.google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy data_masking_policy = 5; -
getName
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];- Returns:
- The name.
-
getNameBytes
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];- Returns:
- The bytes for name.
-
getDataPolicyTypeValue
int getDataPolicyTypeValue()Type of data policy.
.google.cloud.bigquery.datapolicies.v1.DataPolicy.DataPolicyType data_policy_type = 2;- Returns:
- The enum numeric value on the wire for dataPolicyType.
-
getDataPolicyType
DataPolicy.DataPolicyType getDataPolicyType()Type of data policy.
.google.cloud.bigquery.datapolicies.v1.DataPolicy.DataPolicyType data_policy_type = 2;- Returns:
- The dataPolicyType.
-
getDataPolicyId
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;- Returns:
- The dataPolicyId.
-
getDataPolicyIdBytes
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;- Returns:
- The bytes for dataPolicyId.
-
getMatchingLabelCase
DataPolicy.MatchingLabelCase getMatchingLabelCase() -
getPolicyCase
DataPolicy.PolicyCase getPolicyCase()
-