Class AmazonS3BucketRegex (3.58.0)

public final class AmazonS3BucketRegex extends GeneratedMessageV3 implements AmazonS3BucketRegexOrBuilder

Amazon S3 bucket regex.

Protobuf type google.privacy.dlp.v2.AmazonS3BucketRegex

Static Fields

AWS_ACCOUNT_REGEX_FIELD_NUMBER

public static final int AWS_ACCOUNT_REGEX_FIELD_NUMBER
Field Value
Type Description
int

BUCKET_NAME_REGEX_FIELD_NUMBER

public static final int BUCKET_NAME_REGEX_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AmazonS3BucketRegex getDefaultInstance()
Returns
Type Description
AmazonS3BucketRegex

getDescriptor()

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

newBuilder()

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

newBuilder(AmazonS3BucketRegex prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAwsAccountRegex()

public AwsAccountRegex getAwsAccountRegex()

The AWS account regex.

.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;

Returns
Type Description
AwsAccountRegex

The awsAccountRegex.

getAwsAccountRegexOrBuilder()

public AwsAccountRegexOrBuilder getAwsAccountRegexOrBuilder()

The AWS account regex.

.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;

Returns
Type Description
AwsAccountRegexOrBuilder

getBucketNameRegex()

public String getBucketNameRegex()

Optional. Regex to test the bucket name against. If empty, all buckets match.

string bucket_name_regex = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The bucketNameRegex.

getBucketNameRegexBytes()

public ByteString getBucketNameRegexBytes()

Optional. Regex to test the bucket name against. If empty, all buckets match.

string bucket_name_regex = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for bucketNameRegex.

getDefaultInstanceForType()

public AmazonS3BucketRegex getDefaultInstanceForType()
Returns
Type Description
AmazonS3BucketRegex

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAwsAccountRegex()

public boolean hasAwsAccountRegex()

The AWS account regex.

.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;

Returns
Type Description
boolean

Whether the awsAccountRegex 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 AmazonS3BucketRegex.Builder newBuilderForType()
Returns
Type Description
AmazonS3BucketRegex.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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