Class TransferTypes.AwsS3CompatibleData.Builder (1.40.0)

public static final class TransferTypes.AwsS3CompatibleData.Builder extends GeneratedMessageV3.Builder<TransferTypes.AwsS3CompatibleData.Builder> implements TransferTypes.AwsS3CompatibleDataOrBuilder

An AwsS3CompatibleData resource.

Protobuf type google.storagetransfer.v1.AwsS3CompatibleData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransferTypes.AwsS3CompatibleData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder
Overrides

build()

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

buildPartial()

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

clear()

public TransferTypes.AwsS3CompatibleData.Builder clear()
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder
Overrides

clearBucketName()

public TransferTypes.AwsS3CompatibleData.Builder clearBucketName()

Required. Specifies the name of the bucket.

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

Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

This builder for chaining.

clearDataProvider()

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

clearEndpoint()

public TransferTypes.AwsS3CompatibleData.Builder clearEndpoint()

Required. Specifies the endpoint of the storage service.

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

Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TransferTypes.AwsS3CompatibleData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TransferTypes.AwsS3CompatibleData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder
Overrides

clearPath()

public TransferTypes.AwsS3CompatibleData.Builder clearPath()

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
TransferTypes.AwsS3CompatibleData.Builder

This builder for chaining.

clearRegion()

public TransferTypes.AwsS3CompatibleData.Builder clearRegion()

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
TransferTypes.AwsS3CompatibleData.Builder

This builder for chaining.

clearS3Metadata()

public TransferTypes.AwsS3CompatibleData.Builder clearS3Metadata()

A S3 compatible metadata.

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

Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

clone()

public TransferTypes.AwsS3CompatibleData.Builder clone()
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

getS3MetadataBuilder()

public TransferTypes.S3CompatibleMetadata.Builder getS3MetadataBuilder()

A S3 compatible metadata.

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

Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder

getS3MetadataOrBuilder()

public TransferTypes.S3CompatibleMetadataOrBuilder getS3MetadataOrBuilder()

A S3 compatible metadata.

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

Returns
Type Description
TransferTypes.S3CompatibleMetadataOrBuilder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransferTypes.AwsS3CompatibleData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TransferTypes.AwsS3CompatibleData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder
Overrides

mergeFrom(TransferTypes.AwsS3CompatibleData other)

public TransferTypes.AwsS3CompatibleData.Builder mergeFrom(TransferTypes.AwsS3CompatibleData other)
Parameter
Name Description
other TransferTypes.AwsS3CompatibleData
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

mergeS3Metadata(TransferTypes.S3CompatibleMetadata value)

public TransferTypes.AwsS3CompatibleData.Builder mergeS3Metadata(TransferTypes.S3CompatibleMetadata value)

A S3 compatible metadata.

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

Parameter
Name Description
value TransferTypes.S3CompatibleMetadata
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransferTypes.AwsS3CompatibleData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder
Overrides

setBucketName(String value)

public TransferTypes.AwsS3CompatibleData.Builder setBucketName(String value)

Required. Specifies the name of the bucket.

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

Parameter
Name Description
value String

The bucketName to set.

Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

This builder for chaining.

setBucketNameBytes(ByteString value)

public TransferTypes.AwsS3CompatibleData.Builder setBucketNameBytes(ByteString value)

Required. Specifies the name of the bucket.

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

Parameter
Name Description
value ByteString

The bytes for bucketName to set.

Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

This builder for chaining.

setEndpoint(String value)

public TransferTypes.AwsS3CompatibleData.Builder setEndpoint(String value)

Required. Specifies the endpoint of the storage service.

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

Parameter
Name Description
value String

The endpoint to set.

Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

This builder for chaining.

setEndpointBytes(ByteString value)

public TransferTypes.AwsS3CompatibleData.Builder setEndpointBytes(ByteString value)

Required. Specifies the endpoint of the storage service.

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

Parameter
Name Description
value ByteString

The bytes for endpoint to set.

Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TransferTypes.AwsS3CompatibleData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder
Overrides

setPath(String value)

public TransferTypes.AwsS3CompatibleData.Builder setPath(String value)

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;

Parameter
Name Description
value String

The path to set.

Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

This builder for chaining.

setPathBytes(ByteString value)

public TransferTypes.AwsS3CompatibleData.Builder setPathBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

This builder for chaining.

setRegion(String value)

public TransferTypes.AwsS3CompatibleData.Builder setRegion(String value)

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

string region = 5;

Parameter
Name Description
value String

The region to set.

Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public TransferTypes.AwsS3CompatibleData.Builder setRegionBytes(ByteString value)

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

string region = 5;

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TransferTypes.AwsS3CompatibleData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder
Overrides

setS3Metadata(TransferTypes.S3CompatibleMetadata value)

public TransferTypes.AwsS3CompatibleData.Builder setS3Metadata(TransferTypes.S3CompatibleMetadata value)

A S3 compatible metadata.

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

Parameter
Name Description
value TransferTypes.S3CompatibleMetadata
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

setS3Metadata(TransferTypes.S3CompatibleMetadata.Builder builderForValue)

public TransferTypes.AwsS3CompatibleData.Builder setS3Metadata(TransferTypes.S3CompatibleMetadata.Builder builderForValue)

A S3 compatible metadata.

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

Parameter
Name Description
builderForValue TransferTypes.S3CompatibleMetadata.Builder
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TransferTypes.AwsS3CompatibleData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransferTypes.AwsS3CompatibleData.Builder
Overrides