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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int AUTH_METHOD_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int LIST_API_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PROTOCOL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int REQUEST_MODEL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static TransferTypes.S3CompatibleMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static TransferTypes.S3CompatibleMetadata.Builder newBuilder()
public static TransferTypes.S3CompatibleMetadata.Builder newBuilder(TransferTypes.S3CompatibleMetadata prototype)
public static TransferTypes.S3CompatibleMetadata parseDelimitedFrom(InputStream input)
public static TransferTypes.S3CompatibleMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.S3CompatibleMetadata parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static TransferTypes.S3CompatibleMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.S3CompatibleMetadata parseFrom(ByteString data)
public static TransferTypes.S3CompatibleMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.S3CompatibleMetadata parseFrom(CodedInputStream input)
public static TransferTypes.S3CompatibleMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.S3CompatibleMetadata parseFrom(InputStream input)
public static TransferTypes.S3CompatibleMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.S3CompatibleMetadata parseFrom(ByteBuffer data)
public static TransferTypes.S3CompatibleMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<TransferTypes.S3CompatibleMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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;
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()
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;
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()
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;
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;
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 |
Type |
Description |
int |
|
Overrides
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TransferTypes.S3CompatibleMetadata.Builder newBuilderForType()
protected TransferTypes.S3CompatibleMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public TransferTypes.S3CompatibleMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides