public static final class DataMaskingPolicy.Builder extends GeneratedMessageV3.Builder<DataMaskingPolicy.Builder> implements DataMaskingPolicyOrBuilder
The data masking policy that is used to specify data masking rule.
Protobuf type google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataMaskingPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DataMaskingPolicy build()
buildPartial()
public DataMaskingPolicy buildPartial()
clear()
public DataMaskingPolicy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DataMaskingPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMaskingExpression()
public DataMaskingPolicy.Builder clearMaskingExpression()
clearOneof(Descriptors.OneofDescriptor oneof)
public DataMaskingPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPredefinedExpression()
public DataMaskingPolicy.Builder clearPredefinedExpression()
A predefined masking expression.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy.PredefinedExpression predefined_expression = 1;
clone()
public DataMaskingPolicy.Builder clone()
Overrides
getDefaultInstanceForType()
public DataMaskingPolicy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMaskingExpressionCase()
public DataMaskingPolicy.MaskingExpressionCase getMaskingExpressionCase()
getPredefinedExpression()
public DataMaskingPolicy.PredefinedExpression getPredefinedExpression()
A predefined masking expression.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy.PredefinedExpression predefined_expression = 1;
getPredefinedExpressionValue()
public int getPredefinedExpressionValue()
A predefined masking expression.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy.PredefinedExpression predefined_expression = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for predefinedExpression.
|
hasPredefinedExpression()
public boolean hasPredefinedExpression()
A predefined masking expression.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy.PredefinedExpression predefined_expression = 1;
Returns |
---|
Type | Description |
boolean | Whether the predefinedExpression field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DataMaskingPolicy other)
public DataMaskingPolicy.Builder mergeFrom(DataMaskingPolicy other)
public DataMaskingPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DataMaskingPolicy.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataMaskingPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DataMaskingPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPredefinedExpression(DataMaskingPolicy.PredefinedExpression value)
public DataMaskingPolicy.Builder setPredefinedExpression(DataMaskingPolicy.PredefinedExpression value)
A predefined masking expression.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy.PredefinedExpression predefined_expression = 1;
setPredefinedExpressionValue(int value)
public DataMaskingPolicy.Builder setPredefinedExpressionValue(int value)
A predefined masking expression.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy.PredefinedExpression predefined_expression = 1;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for predefinedExpression to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataMaskingPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataMaskingPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides