Interface DataPolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataPolicy
,DataPolicy.Builder
public interface DataPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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}`.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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()
-
-