Class OtherCloudResourceRegex (3.56.0)

public final class OtherCloudResourceRegex extends GeneratedMessageV3 implements OtherCloudResourceRegexOrBuilder

A pattern to match against one or more resources. At least one pattern must be specified. Regular expressions use RE2 syntax; a guide can be found under the google/re2 repository on GitHub.

Protobuf type google.privacy.dlp.v2.OtherCloudResourceRegex

Static Fields

AMAZON_S3_BUCKET_REGEX_FIELD_NUMBER

public static final int AMAZON_S3_BUCKET_REGEX_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OtherCloudResourceRegex getDefaultInstance()
Returns
Type Description
OtherCloudResourceRegex

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static OtherCloudResourceRegex.Builder newBuilder()
Returns
Type Description
OtherCloudResourceRegex.Builder

newBuilder(OtherCloudResourceRegex prototype)

public static OtherCloudResourceRegex.Builder newBuilder(OtherCloudResourceRegex prototype)
Parameter
Name Description
prototype OtherCloudResourceRegex
Returns
Type Description
OtherCloudResourceRegex.Builder

parseDelimitedFrom(InputStream input)

public static OtherCloudResourceRegex parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OtherCloudResourceRegex
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OtherCloudResourceRegex parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OtherCloudResourceRegex
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OtherCloudResourceRegex parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OtherCloudResourceRegex
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OtherCloudResourceRegex parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OtherCloudResourceRegex
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OtherCloudResourceRegex parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OtherCloudResourceRegex
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OtherCloudResourceRegex parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OtherCloudResourceRegex
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OtherCloudResourceRegex parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OtherCloudResourceRegex
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OtherCloudResourceRegex parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OtherCloudResourceRegex
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OtherCloudResourceRegex parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OtherCloudResourceRegex
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OtherCloudResourceRegex parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OtherCloudResourceRegex
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OtherCloudResourceRegex parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OtherCloudResourceRegex
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OtherCloudResourceRegex parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OtherCloudResourceRegex
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OtherCloudResourceRegex> parser()
Returns
Type Description
Parser<OtherCloudResourceRegex>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAmazonS3BucketRegex()

public AmazonS3BucketRegex getAmazonS3BucketRegex()

Regex for Amazon S3 buckets.

.google.privacy.dlp.v2.AmazonS3BucketRegex amazon_s3_bucket_regex = 1;

Returns
Type Description
AmazonS3BucketRegex

The amazonS3BucketRegex.

getAmazonS3BucketRegexOrBuilder()

public AmazonS3BucketRegexOrBuilder getAmazonS3BucketRegexOrBuilder()

Regex for Amazon S3 buckets.

.google.privacy.dlp.v2.AmazonS3BucketRegex amazon_s3_bucket_regex = 1;

Returns
Type Description
AmazonS3BucketRegexOrBuilder

getDefaultInstanceForType()

public OtherCloudResourceRegex getDefaultInstanceForType()
Returns
Type Description
OtherCloudResourceRegex

getParserForType()

public Parser<OtherCloudResourceRegex> getParserForType()
Returns
Type Description
Parser<OtherCloudResourceRegex>
Overrides

getResourceRegexCase()

public OtherCloudResourceRegex.ResourceRegexCase getResourceRegexCase()
Returns
Type Description
OtherCloudResourceRegex.ResourceRegexCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAmazonS3BucketRegex()

public boolean hasAmazonS3BucketRegex()

Regex for Amazon S3 buckets.

.google.privacy.dlp.v2.AmazonS3BucketRegex amazon_s3_bucket_regex = 1;

Returns
Type Description
boolean

Whether the amazonS3BucketRegex field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public OtherCloudResourceRegex.Builder newBuilderForType()
Returns
Type Description
OtherCloudResourceRegex.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OtherCloudResourceRegex.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OtherCloudResourceRegex.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public OtherCloudResourceRegex.Builder toBuilder()
Returns
Type Description
OtherCloudResourceRegex.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException