Class TransferTypes.AwsS3CompatibleData.Builder (1.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransferTypes.AwsS3CompatibleData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder
Overrides

build()

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

buildPartial()

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

clear()

public TransferTypes.AwsS3CompatibleData.Builder clear()
Returns
TypeDescription
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
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder

This builder for chaining.

clearDataProvider()

public TransferTypes.AwsS3CompatibleData.Builder clearDataProvider()
Returns
TypeDescription
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
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TransferTypes.AwsS3CompatibleData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TransferTypes.AwsS3CompatibleData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

getS3MetadataBuilder()

public TransferTypes.S3CompatibleMetadata.Builder getS3MetadataBuilder()

A S3 compatible metadata.

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

Returns
TypeDescription
TransferTypes.S3CompatibleMetadata.Builder

getS3MetadataOrBuilder()

public TransferTypes.S3CompatibleMetadataOrBuilder getS3MetadataOrBuilder()

A S3 compatible metadata.

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

Returns
TypeDescription
TransferTypes.S3CompatibleMetadataOrBuilder

hasS3Metadata()

public boolean hasS3Metadata()

A S3 compatible metadata.

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

Returns
TypeDescription
boolean

Whether the s3Metadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransferTypes.AwsS3CompatibleData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TransferTypes.AwsS3CompatibleData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder
Overrides

mergeFrom(TransferTypes.AwsS3CompatibleData other)

public TransferTypes.AwsS3CompatibleData.Builder mergeFrom(TransferTypes.AwsS3CompatibleData other)
Parameter
NameDescription
otherTransferTypes.AwsS3CompatibleData
Returns
TypeDescription
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
NameDescription
valueTransferTypes.S3CompatibleMetadata
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransferTypes.AwsS3CompatibleData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The bucketName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for bucketName to set.

Returns
TypeDescription
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
NameDescription
valueString

The endpoint to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for endpoint to set.

Returns
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TransferTypes.AwsS3CompatibleData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The path to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for path to set.

Returns
TypeDescription
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
NameDescription
valueString

The region to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for region to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTransferTypes.S3CompatibleMetadata
Returns
TypeDescription
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
NameDescription
builderForValueTransferTypes.S3CompatibleMetadata.Builder
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TransferTypes.AwsS3CompatibleData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder
Overrides