Class AmazonS3Bucket (3.59.0)

public final class AmazonS3Bucket extends GeneratedMessageV3 implements AmazonS3BucketOrBuilder

Amazon S3 bucket.

Protobuf type google.privacy.dlp.v2.AmazonS3Bucket

Static Fields

AWS_ACCOUNT_FIELD_NUMBER

public static final int AWS_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

BUCKET_NAME_FIELD_NUMBER

public static final int BUCKET_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AmazonS3Bucket getDefaultInstance()
Returns
Type Description
AmazonS3Bucket

getDescriptor()

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

newBuilder()

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

newBuilder(AmazonS3Bucket prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAwsAccount()

public AwsAccount getAwsAccount()

The AWS account.

.google.privacy.dlp.v2.AwsAccount aws_account = 1;

Returns
Type Description
AwsAccount

The awsAccount.

getAwsAccountOrBuilder()

public AwsAccountOrBuilder getAwsAccountOrBuilder()

The AWS account.

.google.privacy.dlp.v2.AwsAccount aws_account = 1;

Returns
Type Description
AwsAccountOrBuilder

getBucketName()

public String getBucketName()

Required. The bucket name.

string bucket_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The bucketName.

getBucketNameBytes()

public ByteString getBucketNameBytes()

Required. The bucket name.

string bucket_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for bucketName.

getDefaultInstanceForType()

public AmazonS3Bucket getDefaultInstanceForType()
Returns
Type Description
AmazonS3Bucket

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAwsAccount()

public boolean hasAwsAccount()

The AWS account.

.google.privacy.dlp.v2.AwsAccount aws_account = 1;

Returns
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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