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 Summary
Modifier and TypeMethodDescriptionOptional.intOptional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.booleanOptional.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
-
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()
-