Class TransferTypes.AwsS3CompatibleData

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

public static final class TransferTypes.AwsS3CompatibleData extends com.google.protobuf.GeneratedMessage implements TransferTypes.AwsS3CompatibleDataOrBuilder
 An AwsS3CompatibleData resource.
 
Protobuf type google.storagetransfer.v1.AwsS3CompatibleData
See Also:
  • Field Details

  • 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
    • getDataProviderCase

      Specified by:
      getDataProviderCase in interface TransferTypes.AwsS3CompatibleDataOrBuilder
    • getBucketName

      public String getBucketName()
       Required. Specifies the name of the bucket.
       
      string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBucketName in interface TransferTypes.AwsS3CompatibleDataOrBuilder
      Returns:
      The bucketName.
    • getBucketNameBytes

      public com.google.protobuf.ByteString getBucketNameBytes()
       Required. Specifies the name of the bucket.
       
      string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBucketNameBytes in interface TransferTypes.AwsS3CompatibleDataOrBuilder
      Returns:
      The bytes for bucketName.
    • getPath

      public String getPath()
       Specifies the root path to transfer objects.
      
       Must be an empty string or full path name that ends with a '/'. This
       field is treated as an object prefix. As such, it should generally not
       begin with a '/'.
       
      string path = 2;
      Specified by:
      getPath in interface TransferTypes.AwsS3CompatibleDataOrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
       Specifies the root path to transfer objects.
      
       Must be an empty string or full path name that ends with a '/'. This
       field is treated as an object prefix. As such, it should generally not
       begin with a '/'.
       
      string path = 2;
      Specified by:
      getPathBytes in interface TransferTypes.AwsS3CompatibleDataOrBuilder
      Returns:
      The bytes for path.
    • getEndpoint

      public String getEndpoint()
       Required. Specifies the endpoint of the storage service.
       
      string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEndpoint in interface TransferTypes.AwsS3CompatibleDataOrBuilder
      Returns:
      The endpoint.
    • getEndpointBytes

      public com.google.protobuf.ByteString getEndpointBytes()
       Required. Specifies the endpoint of the storage service.
       
      string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEndpointBytes in interface TransferTypes.AwsS3CompatibleDataOrBuilder
      Returns:
      The bytes for endpoint.
    • getRegion

      public String getRegion()
       Specifies the region to sign requests with. This can be left blank if
       requests should be signed with an empty region.
       
      string region = 5;
      Specified by:
      getRegion in interface TransferTypes.AwsS3CompatibleDataOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
       Specifies the region to sign requests with. This can be left blank if
       requests should be signed with an empty region.
       
      string region = 5;
      Specified by:
      getRegionBytes in interface TransferTypes.AwsS3CompatibleDataOrBuilder
      Returns:
      The bytes for region.
    • hasS3Metadata

      public boolean hasS3Metadata()
       A S3 compatible metadata.
       
      .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;
      Specified by:
      hasS3Metadata in interface TransferTypes.AwsS3CompatibleDataOrBuilder
      Returns:
      Whether the s3Metadata field is set.
    • getS3Metadata

      public TransferTypes.S3CompatibleMetadata getS3Metadata()
       A S3 compatible metadata.
       
      .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;
      Specified by:
      getS3Metadata in interface TransferTypes.AwsS3CompatibleDataOrBuilder
      Returns:
      The s3Metadata.
    • getS3MetadataOrBuilder

      public TransferTypes.S3CompatibleMetadataOrBuilder getS3MetadataOrBuilder()
       A S3 compatible metadata.
       
      .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;
      Specified by:
      getS3MetadataOrBuilder in interface TransferTypes.AwsS3CompatibleDataOrBuilder
    • 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.AwsS3CompatibleData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static TransferTypes.AwsS3CompatibleData 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.AwsS3CompatibleData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

      public static TransferTypes.AwsS3CompatibleData.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.AwsS3CompatibleData.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static TransferTypes.AwsS3CompatibleData getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<TransferTypes.AwsS3CompatibleData> 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.AwsS3CompatibleData getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder