Class TransferTypes.AwsS3CompatibleData (1.41.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
TypeDescription
int

ENDPOINT_FIELD_NUMBER

public static final int ENDPOINT_FIELD_NUMBER
Field Value
TypeDescription
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
TypeDescription
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
TypeDescription
int

S3_METADATA_FIELD_NUMBER

public static final int S3_METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransferTypes.AwsS3CompatibleData getDefaultInstance()
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TransferTypes.AwsS3CompatibleData.Builder newBuilder()
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder

newBuilder(TransferTypes.AwsS3CompatibleData prototype)

public static TransferTypes.AwsS3CompatibleData.Builder newBuilder(TransferTypes.AwsS3CompatibleData prototype)
Parameter
NameDescription
prototypeTransferTypes.AwsS3CompatibleData
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder

parseDelimitedFrom(InputStream input)

public static TransferTypes.AwsS3CompatibleData parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AwsS3CompatibleData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TransferTypes.AwsS3CompatibleData parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AwsS3CompatibleData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransferTypes.AwsS3CompatibleData parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AwsS3CompatibleData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransferTypes.AwsS3CompatibleData parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AwsS3CompatibleData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TransferTypes.AwsS3CompatibleData parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AwsS3CompatibleData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TransferTypes.AwsS3CompatibleData parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AwsS3CompatibleData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBucketName()

public String getBucketName()

Required. Specifies the name of the bucket.

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

Returns
TypeDescription
String

The bucketName.

getBucketNameBytes()

public ByteString getBucketNameBytes()

Required. Specifies the name of the bucket.

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

Returns
TypeDescription
ByteString

The bytes for bucketName.

getDataProviderCase()

public TransferTypes.AwsS3CompatibleData.DataProviderCase getDataProviderCase()
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData.DataProviderCase

getDefaultInstanceForType()

public TransferTypes.AwsS3CompatibleData getDefaultInstanceForType()
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData

getEndpoint()

public String getEndpoint()

Required. Specifies the endpoint of the storage service.

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

Returns
TypeDescription
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

Required. Specifies the endpoint of the storage service.

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

Returns
TypeDescription
ByteString

The bytes for endpoint.

getParserForType()

public Parser<TransferTypes.AwsS3CompatibleData> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for region.

getS3Metadata()

public TransferTypes.S3CompatibleMetadata getS3Metadata()

A S3 compatible metadata.

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

Returns
TypeDescription
TransferTypes.S3CompatibleMetadata

The s3Metadata.

getS3MetadataOrBuilder()

public TransferTypes.S3CompatibleMetadataOrBuilder getS3MetadataOrBuilder()

A S3 compatible metadata.

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

Returns
TypeDescription
TransferTypes.S3CompatibleMetadataOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasS3Metadata()

public boolean hasS3Metadata()

A S3 compatible metadata.

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

Returns
TypeDescription
boolean

Whether the s3Metadata field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TransferTypes.AwsS3CompatibleData.Builder newBuilderForType()
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransferTypes.AwsS3CompatibleData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TransferTypes.AwsS3CompatibleData.Builder toBuilder()
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException