Class DataMaskingPolicy (0.11.0)

public final class DataMaskingPolicy extends GeneratedMessageV3 implements DataMaskingPolicyOrBuilder

The data masking policy that is used to specify data masking rule.

Protobuf type google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy

Static Fields

PREDEFINED_EXPRESSION_FIELD_NUMBER

public static final int PREDEFINED_EXPRESSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataMaskingPolicy getDefaultInstance()
Returns
TypeDescription
DataMaskingPolicy

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DataMaskingPolicy.Builder newBuilder()
Returns
TypeDescription
DataMaskingPolicy.Builder

newBuilder(DataMaskingPolicy prototype)

public static DataMaskingPolicy.Builder newBuilder(DataMaskingPolicy prototype)
Parameter
NameDescription
prototypeDataMaskingPolicy
Returns
TypeDescription
DataMaskingPolicy.Builder

parseDelimitedFrom(InputStream input)

public static DataMaskingPolicy parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataMaskingPolicy
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataMaskingPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataMaskingPolicy
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DataMaskingPolicy parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DataMaskingPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataMaskingPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataMaskingPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataMaskingPolicy parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DataMaskingPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataMaskingPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataMaskingPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataMaskingPolicy parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DataMaskingPolicy
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataMaskingPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataMaskingPolicy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DataMaskingPolicy parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataMaskingPolicy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataMaskingPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataMaskingPolicy
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DataMaskingPolicy parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DataMaskingPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataMaskingPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataMaskingPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DataMaskingPolicy> parser()
Returns
TypeDescription
Parser<DataMaskingPolicy>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DataMaskingPolicy getDefaultInstanceForType()
Returns
TypeDescription
DataMaskingPolicy

getMaskingExpressionCase()

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

getParserForType()

public Parser<DataMaskingPolicy> getParserForType()
Returns
TypeDescription
Parser<DataMaskingPolicy>
Overrides

getPredefinedExpression()

public 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 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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasPredefinedExpression()

public 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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DataMaskingPolicy.Builder newBuilderForType()
Returns
TypeDescription
DataMaskingPolicy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataMaskingPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DataMaskingPolicy.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DataMaskingPolicy.Builder toBuilder()
Returns
TypeDescription
DataMaskingPolicy.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException