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

LIST_API_FIELD_NUMBER

public static final int LIST_API_FIELD_NUMBER
Field Value
TypeDescription
int

PROTOCOL_FIELD_NUMBER

public static final int PROTOCOL_FIELD_NUMBER
Field Value
TypeDescription
int

REQUEST_MODEL_FIELD_NUMBER

public static final int REQUEST_MODEL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(TransferTypes.S3CompatibleMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for authMethod.

getDefaultInstanceForType()

public TransferTypes.S3CompatibleMetadata getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for listApi.

getParserForType()

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

The enum numeric value on the wire for requestModel.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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