Class TransferTypes.AwsS3CompatibleData (1.28.0)

public static final class TransferTypes.AwsS3CompatibleData extends GeneratedMessageV3 implements TransferTypes.AwsS3CompatibleDataOrBuilder

An AwsS3CompatibleData resource.

Protobuf type google.storagetransfer.v1.AwsS3CompatibleData

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TransferTypes.AwsS3CompatibleData

Static Fields

BUCKET_NAME_FIELD_NUMBER

public static final int BUCKET_NAME_FIELD_NUMBER
Field Value
Type Description
int

ENDPOINT_FIELD_NUMBER

public static final int ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
Type Description
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
Type Description
int

S3_METADATA_FIELD_NUMBER

public static final int S3_METADATA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransferTypes.AwsS3CompatibleData getDefaultInstance()
Returns
Type Description
TransferTypes.AwsS3CompatibleData

getDescriptor()

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

newBuilder()

public static TransferTypes.AwsS3CompatibleData.Builder newBuilder()
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

newBuilder(TransferTypes.AwsS3CompatibleData prototype)

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

parseDelimitedFrom(InputStream input)

public static TransferTypes.AwsS3CompatibleData parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferTypes.AwsS3CompatibleData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static TransferTypes.AwsS3CompatibleData parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TransferTypes.AwsS3CompatibleData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static TransferTypes.AwsS3CompatibleData parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TransferTypes.AwsS3CompatibleData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static TransferTypes.AwsS3CompatibleData parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferTypes.AwsS3CompatibleData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static TransferTypes.AwsS3CompatibleData parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TransferTypes.AwsS3CompatibleData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<TransferTypes.AwsS3CompatibleData> parser()
Returns
Type Description
Parser<AwsS3CompatibleData>

Methods

equals(Object obj)

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

getBucketName()

public String getBucketName()

Required. Specifies the name of the bucket.

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

Returns
Type Description
String

The bucketName.

getBucketNameBytes()

public ByteString getBucketNameBytes()

Required. Specifies the name of the bucket.

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

Returns
Type Description
ByteString

The bytes for bucketName.

getDataProviderCase()

public TransferTypes.AwsS3CompatibleData.DataProviderCase getDataProviderCase()
Returns
Type Description
TransferTypes.AwsS3CompatibleData.DataProviderCase

getDefaultInstanceForType()

public TransferTypes.AwsS3CompatibleData getDefaultInstanceForType()
Returns
Type Description
TransferTypes.AwsS3CompatibleData

getEndpoint()

public String getEndpoint()

Required. Specifies the endpoint of the storage service.

string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

Required. Specifies the endpoint of the storage service.

string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for endpoint.

getParserForType()

public Parser<TransferTypes.AwsS3CompatibleData> getParserForType()
Returns
Type Description
Parser<AwsS3CompatibleData>
Overrides

getPath()

public String getPath()

Specifies the root path to transfer objects.

Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.

string path = 2;

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Specifies the root path to transfer objects.

Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.

string path = 2;

Returns
Type Description
ByteString

The bytes for path.

getRegion()

public String getRegion()

Specifies the region to sign requests with. This can be left blank if requests should be signed with an empty region.

string region = 5;

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Specifies the region to sign requests with. This can be left blank if requests should be signed with an empty region.

string region = 5;

Returns
Type Description
ByteString

The bytes for region.

getS3Metadata()

public TransferTypes.S3CompatibleMetadata getS3Metadata()

A S3 compatible metadata.

.google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;

Returns
Type Description
TransferTypes.S3CompatibleMetadata

The s3Metadata.

getS3MetadataOrBuilder()

public TransferTypes.S3CompatibleMetadataOrBuilder getS3MetadataOrBuilder()

A S3 compatible metadata.

.google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;

Returns
Type Description
TransferTypes.S3CompatibleMetadataOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasS3Metadata()

public boolean hasS3Metadata()

A S3 compatible metadata.

.google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;

Returns
Type Description
boolean

Whether the s3Metadata 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 TransferTypes.AwsS3CompatibleData.Builder newBuilderForType()
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public TransferTypes.AwsS3CompatibleData.Builder toBuilder()
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

writeTo(CodedOutputStream output)

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