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
Static Fields
public static final int AUTH_METHOD_FIELD_NUMBER
Field Value
public static final int LIST_API_FIELD_NUMBER
Field Value
public static final int PROTOCOL_FIELD_NUMBER
Field Value
public static final int REQUEST_MODEL_FIELD_NUMBER
Field Value
Static Methods
public static TransferTypes.S3CompatibleMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static TransferTypes.S3CompatibleMetadata.Builder newBuilder()
Returns
public static TransferTypes.S3CompatibleMetadata.Builder newBuilder(TransferTypes.S3CompatibleMetadata prototype)
Parameter
Returns
public static TransferTypes.S3CompatibleMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferTypes.S3CompatibleMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferTypes.S3CompatibleMetadata parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
public static TransferTypes.S3CompatibleMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferTypes.S3CompatibleMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static TransferTypes.S3CompatibleMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferTypes.S3CompatibleMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransferTypes.S3CompatibleMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferTypes.S3CompatibleMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferTypes.S3CompatibleMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferTypes.S3CompatibleMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static TransferTypes.S3CompatibleMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<TransferTypes.S3CompatibleMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
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.
|
public TransferTypes.S3CompatibleMetadata getDefaultInstanceForType()
Returns
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
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.
|
public Parser<TransferTypes.S3CompatibleMetadata> getParserForType()
Returns
Overrides
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
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.
|
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
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.
|
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TransferTypes.S3CompatibleMetadata.Builder newBuilderForType()
Returns
protected TransferTypes.S3CompatibleMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public TransferTypes.S3CompatibleMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions