Interface DataMaskingPolicyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DataMaskingPolicy, DataMaskingPolicy.Builder

@Generated public interface DataMaskingPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasPredefinedExpression

      boolean hasPredefinedExpression()
       Optional. A predefined masking expression.
       
      .google.cloud.bigquery.datapolicies.v2.DataMaskingPolicy.PredefinedExpression predefined_expression = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the predefinedExpression field is set.
    • getPredefinedExpressionValue

      int getPredefinedExpressionValue()
       Optional. A predefined masking expression.
       
      .google.cloud.bigquery.datapolicies.v2.DataMaskingPolicy.PredefinedExpression predefined_expression = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for predefinedExpression.
    • getPredefinedExpression

      DataMaskingPolicy.PredefinedExpression getPredefinedExpression()
       Optional. A predefined masking expression.
       
      .google.cloud.bigquery.datapolicies.v2.DataMaskingPolicy.PredefinedExpression predefined_expression = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The predefinedExpression.
    • hasRoutine

      boolean hasRoutine()
       Optional. The name of the BigQuery routine that contains the custom
       masking routine, in the format of
       `projects/{project_number}/datasets/{dataset_id}/routines/{routine_id}`.
       
      string routine = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      Whether the routine field is set.
    • getRoutine

      String getRoutine()
       Optional. The name of the BigQuery routine that contains the custom
       masking routine, in the format of
       `projects/{project_number}/datasets/{dataset_id}/routines/{routine_id}`.
       
      string routine = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The routine.
    • getRoutineBytes

      com.google.protobuf.ByteString getRoutineBytes()
       Optional. The name of the BigQuery routine that contains the custom
       masking routine, in the format of
       `projects/{project_number}/datasets/{dataset_id}/routines/{routine_id}`.
       
      string routine = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for routine.
    • getMaskingExpressionCase

      DataMaskingPolicy.MaskingExpressionCase getMaskingExpressionCase()