Interface DataMaskingPolicyOrBuilder (0.38.0)

public interface DataMaskingPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaskingExpressionCase()

public abstract DataMaskingPolicy.MaskingExpressionCase getMaskingExpressionCase()
Returns
TypeDescription
DataMaskingPolicy.MaskingExpressionCase

getPredefinedExpression()

public abstract DataMaskingPolicy.PredefinedExpression getPredefinedExpression()

A predefined masking expression.

.google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy.PredefinedExpression predefined_expression = 1;

Returns
TypeDescription
DataMaskingPolicy.PredefinedExpression

The predefinedExpression.

getPredefinedExpressionValue()

public abstract int getPredefinedExpressionValue()

A predefined masking expression.

.google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy.PredefinedExpression predefined_expression = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for predefinedExpression.

getRoutine()

public abstract 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
TypeDescription
String

The routine.

getRoutineBytes()

public abstract 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
TypeDescription
ByteString

The bytes for routine.

hasPredefinedExpression()

public abstract boolean hasPredefinedExpression()

A predefined masking expression.

.google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy.PredefinedExpression predefined_expression = 1;

Returns
TypeDescription
boolean

Whether the predefinedExpression field is set.

hasRoutine()

public abstract 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
TypeDescription
boolean

Whether the routine field is set.