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 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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.