Interface DataMaskingPolicyOrBuilder

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

    public interface DataMaskingPolicyOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      DataMaskingPolicy.MaskingExpressionCase getMaskingExpressionCase()  
      DataMaskingPolicy.PredefinedExpression getPredefinedExpression()
      A predefined masking expression.
      int getPredefinedExpressionValue()
      A predefined masking expression.
      String getRoutine()
      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}`.
      com.google.protobuf.ByteString getRoutineBytes()
      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}`.
      boolean hasPredefinedExpression()
      A predefined masking expression.
      boolean hasRoutine()
      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}`.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasPredefinedExpression

        boolean hasPredefinedExpression()
         A predefined masking expression.
         
        .google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy.PredefinedExpression predefined_expression = 1;
        Returns:
        Whether the predefinedExpression field is set.
      • getPredefinedExpressionValue

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

        DataMaskingPolicy.PredefinedExpression getPredefinedExpression()
         A predefined masking expression.
         
        .google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy.PredefinedExpression predefined_expression = 1;
        Returns:
        The predefinedExpression.
      • hasRoutine

        boolean hasRoutine()
         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 = 3;
        Returns:
        Whether the routine field is set.
      • getRoutine

        String getRoutine()
         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 = 3;
        Returns:
        The routine.
      • getRoutineBytes

        com.google.protobuf.ByteString getRoutineBytes()
         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 = 3;
        Returns:
        The bytes for routine.