Class TransferTypes.S3CompatibleMetadata.Builder (1.7.0)

public static final class TransferTypes.S3CompatibleMetadata.Builder extends GeneratedMessageV3.Builder<TransferTypes.S3CompatibleMetadata.Builder> implements TransferTypes.S3CompatibleMetadataOrBuilder

S3CompatibleMetadata contains the metadata fields that apply to the basic types of S3-compatible data providers.

Protobuf type google.storagetransfer.v1.S3CompatibleMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearAuthMethod()

public TransferTypes.S3CompatibleMetadata.Builder clearAuthMethod()

Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use.

.google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1;

Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearListApi()

public TransferTypes.S3CompatibleMetadata.Builder clearListApi()

The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.

.google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4;

Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProtocol()

public TransferTypes.S3CompatibleMetadata.Builder clearProtocol()

Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.

.google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3;

Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder

This builder for chaining.

clearRequestModel()

public TransferTypes.S3CompatibleMetadata.Builder clearRequestModel()

Specifies the API request model used to call the storage service. When not specified, the default value of RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.

.google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2;

Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder

This builder for chaining.

clone()

public TransferTypes.S3CompatibleMetadata.Builder clone()
Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder
Overrides

getAuthMethod()

public TransferTypes.S3CompatibleMetadata.AuthMethod getAuthMethod()

Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use.

.google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1;

Returns
Type Description
TransferTypes.S3CompatibleMetadata.AuthMethod

The authMethod.

getAuthMethodValue()

public int getAuthMethodValue()

Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use.

.google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1;

Returns
Type Description
int

The enum numeric value on the wire for authMethod.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getListApi()

public TransferTypes.S3CompatibleMetadata.ListApi getListApi()

The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.

.google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4;

Returns
Type Description
TransferTypes.S3CompatibleMetadata.ListApi

The listApi.

getListApiValue()

public int getListApiValue()

The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.

.google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4;

Returns
Type Description
int

The enum numeric value on the wire for listApi.

getProtocol()

public TransferTypes.S3CompatibleMetadata.NetworkProtocol getProtocol()

Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.

.google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3;

Returns
Type Description
TransferTypes.S3CompatibleMetadata.NetworkProtocol

The protocol.

getProtocolValue()

public int getProtocolValue()

Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.

.google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3;

Returns
Type Description
int

The enum numeric value on the wire for protocol.

getRequestModel()

public TransferTypes.S3CompatibleMetadata.RequestModel getRequestModel()

Specifies the API request model used to call the storage service. When not specified, the default value of RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.

.google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2;

Returns
Type Description
TransferTypes.S3CompatibleMetadata.RequestModel

The requestModel.

getRequestModelValue()

public int getRequestModelValue()

Specifies the API request model used to call the storage service. When not specified, the default value of RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.

.google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2;

Returns
Type Description
int

The enum numeric value on the wire for requestModel.

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.S3CompatibleMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(TransferTypes.S3CompatibleMetadata other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAuthMethod(TransferTypes.S3CompatibleMetadata.AuthMethod value)

public TransferTypes.S3CompatibleMetadata.Builder setAuthMethod(TransferTypes.S3CompatibleMetadata.AuthMethod value)

Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use.

.google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1;

Parameter
Name Description
value TransferTypes.S3CompatibleMetadata.AuthMethod

The authMethod to set.

Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder

This builder for chaining.

setAuthMethodValue(int value)

public TransferTypes.S3CompatibleMetadata.Builder setAuthMethodValue(int value)

Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use.

.google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for authMethod to set.

Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setListApi(TransferTypes.S3CompatibleMetadata.ListApi value)

public TransferTypes.S3CompatibleMetadata.Builder setListApi(TransferTypes.S3CompatibleMetadata.ListApi value)

The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.

.google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4;

Parameter
Name Description
value TransferTypes.S3CompatibleMetadata.ListApi

The listApi to set.

Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder

This builder for chaining.

setListApiValue(int value)

public TransferTypes.S3CompatibleMetadata.Builder setListApiValue(int value)

The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.

.google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for listApi to set.

Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder

This builder for chaining.

setProtocol(TransferTypes.S3CompatibleMetadata.NetworkProtocol value)

public TransferTypes.S3CompatibleMetadata.Builder setProtocol(TransferTypes.S3CompatibleMetadata.NetworkProtocol value)

Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.

.google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3;

Parameter
Name Description
value TransferTypes.S3CompatibleMetadata.NetworkProtocol

The protocol to set.

Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder

This builder for chaining.

setProtocolValue(int value)

public TransferTypes.S3CompatibleMetadata.Builder setProtocolValue(int value)

Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.

.google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for protocol to set.

Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder

This builder for chaining.

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

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

setRequestModel(TransferTypes.S3CompatibleMetadata.RequestModel value)

public TransferTypes.S3CompatibleMetadata.Builder setRequestModel(TransferTypes.S3CompatibleMetadata.RequestModel value)

Specifies the API request model used to call the storage service. When not specified, the default value of RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.

.google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2;

Parameter
Name Description
value TransferTypes.S3CompatibleMetadata.RequestModel

The requestModel to set.

Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder

This builder for chaining.

setRequestModelValue(int value)

public TransferTypes.S3CompatibleMetadata.Builder setRequestModelValue(int value)

Specifies the API request model used to call the storage service. When not specified, the default value of RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.

.google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for requestModel to set.

Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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