Class TransferTypes.S3CompatibleMetadata (1.45.0)

public static final class TransferTypes.S3CompatibleMetadata extends GeneratedMessageV3 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

Inheritance

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

Static Fields

AUTH_METHOD_FIELD_NUMBER

public static final int AUTH_METHOD_FIELD_NUMBER
Field Value
Type Description
int

LIST_API_FIELD_NUMBER

public static final int LIST_API_FIELD_NUMBER
Field Value
Type Description
int

PROTOCOL_FIELD_NUMBER

public static final int PROTOCOL_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_MODEL_FIELD_NUMBER

public static final int REQUEST_MODEL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(TransferTypes.S3CompatibleMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.S3CompatibleMetadata.Builder newBuilderForType()
Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransferTypes.S3CompatibleMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TransferTypes.S3CompatibleMetadata.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.S3CompatibleMetadata.Builder toBuilder()
Returns
Type Description
TransferTypes.S3CompatibleMetadata.Builder

writeTo(CodedOutputStream output)

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