Class TransferTypes.S3CompatibleMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TransferTypes.S3CompatibleMetadataOrBuilder, Serializable
Enclosing class:
TransferTypes

public static final class TransferTypes.S3CompatibleMetadata extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • AUTH_METHOD_FIELD_NUMBER

      public static final int AUTH_METHOD_FIELD_NUMBER
      See Also:
    • REQUEST_MODEL_FIELD_NUMBER

      public static final int REQUEST_MODEL_FIELD_NUMBER
      See Also:
    • PROTOCOL_FIELD_NUMBER

      public static final int PROTOCOL_FIELD_NUMBER
      See Also:
    • LIST_API_FIELD_NUMBER

      public static final int LIST_API_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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;
      Specified by:
      getAuthMethodValue in interface TransferTypes.S3CompatibleMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for 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;
      Specified by:
      getAuthMethod in interface TransferTypes.S3CompatibleMetadataOrBuilder
      Returns:
      The authMethod.
    • 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;
      Specified by:
      getRequestModelValue in interface TransferTypes.S3CompatibleMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for 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;
      Specified by:
      getRequestModel in interface TransferTypes.S3CompatibleMetadataOrBuilder
      Returns:
      The requestModel.
    • 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;
      Specified by:
      getProtocolValue in interface TransferTypes.S3CompatibleMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for protocol.
    • 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;
      Specified by:
      getProtocol in interface TransferTypes.S3CompatibleMetadataOrBuilder
      Returns:
      The protocol.
    • 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;
      Specified by:
      getListApiValue in interface TransferTypes.S3CompatibleMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for 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;
      Specified by:
      getListApi in interface TransferTypes.S3CompatibleMetadataOrBuilder
      Returns:
      The listApi.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static TransferTypes.S3CompatibleMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.S3CompatibleMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.S3CompatibleMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.S3CompatibleMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.S3CompatibleMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.S3CompatibleMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.S3CompatibleMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransferTypes.S3CompatibleMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TransferTypes.S3CompatibleMetadata parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TransferTypes.S3CompatibleMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransferTypes.S3CompatibleMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransferTypes.S3CompatibleMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public TransferTypes.S3CompatibleMetadata.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static TransferTypes.S3CompatibleMetadata.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected TransferTypes.S3CompatibleMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static TransferTypes.S3CompatibleMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TransferTypes.S3CompatibleMetadata> parser()
    • getParserForType

      public com.google.protobuf.Parser<TransferTypes.S3CompatibleMetadata> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public TransferTypes.S3CompatibleMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder