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.v1beta1.DataMaskingPolicy
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DataMaskingPolicyImplements
DataMaskingPolicyOrBuilderStatic Fields
PREDEFINED_EXPRESSION_FIELD_NUMBER
public static final int PREDEFINED_EXPRESSION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static DataMaskingPolicy getDefaultInstance()
Type | Description |
DataMaskingPolicy |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static DataMaskingPolicy.Builder newBuilder()
Type | Description |
DataMaskingPolicy.Builder |
newBuilder(DataMaskingPolicy prototype)
public static DataMaskingPolicy.Builder newBuilder(DataMaskingPolicy prototype)
Name | Description |
prototype | DataMaskingPolicy |
Type | Description |
DataMaskingPolicy.Builder |
parseDelimitedFrom(InputStream input)
public static DataMaskingPolicy parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
DataMaskingPolicy |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DataMaskingPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DataMaskingPolicy |
Type | Description |
IOException |
parseFrom(byte[] data)
public static DataMaskingPolicy parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
DataMaskingPolicy |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataMaskingPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DataMaskingPolicy |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static DataMaskingPolicy parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
DataMaskingPolicy |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataMaskingPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DataMaskingPolicy |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static DataMaskingPolicy parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
DataMaskingPolicy |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataMaskingPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DataMaskingPolicy |
Type | Description |
IOException |
parseFrom(InputStream input)
public static DataMaskingPolicy parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
DataMaskingPolicy |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DataMaskingPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DataMaskingPolicy |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static DataMaskingPolicy parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
DataMaskingPolicy |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataMaskingPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DataMaskingPolicy |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<DataMaskingPolicy> parser()
Type | Description |
Parser<DataMaskingPolicy> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public DataMaskingPolicy getDefaultInstanceForType()
Type | Description |
DataMaskingPolicy |
getMaskingExpressionCase()
public DataMaskingPolicy.MaskingExpressionCase getMaskingExpressionCase()
Type | Description |
DataMaskingPolicy.MaskingExpressionCase |
getParserForType()
public Parser<DataMaskingPolicy> getParserForType()
Type | Description |
Parser<DataMaskingPolicy> |
getPredefinedExpression()
public DataMaskingPolicy.PredefinedExpression getPredefinedExpression()
A predefined masking expression.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy.PredefinedExpression predefined_expression = 1;
Type | Description |
DataMaskingPolicy.PredefinedExpression | The predefinedExpression. |
getPredefinedExpressionValue()
public int getPredefinedExpressionValue()
A predefined masking expression.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy.PredefinedExpression predefined_expression = 1;
Type | Description |
int | The enum numeric value on the wire for predefinedExpression. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasPredefinedExpression()
public boolean hasPredefinedExpression()
A predefined masking expression.
.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy.PredefinedExpression predefined_expression = 1;
Type | Description |
boolean | Whether the predefinedExpression field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public DataMaskingPolicy.Builder newBuilderForType()
Type | Description |
DataMaskingPolicy.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataMaskingPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
DataMaskingPolicy.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public DataMaskingPolicy.Builder toBuilder()
Type | Description |
DataMaskingPolicy.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |