Class TransferTypes.AwsS3CompatibleData.Builder

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

public static final class TransferTypes.AwsS3CompatibleData.Builder extends com.google.protobuf.GeneratedMessage.Builder<TransferTypes.AwsS3CompatibleData.Builder> implements TransferTypes.AwsS3CompatibleDataOrBuilder
 An AwsS3CompatibleData resource.
 
Protobuf type google.storagetransfer.v1.AwsS3CompatibleData
  • 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.Builder<TransferTypes.AwsS3CompatibleData.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<TransferTypes.AwsS3CompatibleData.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TransferTypes.AwsS3CompatibleData.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public TransferTypes.AwsS3CompatibleData.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransferTypes.AwsS3CompatibleData.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<TransferTypes.AwsS3CompatibleData.Builder>
    • mergeFrom

      public TransferTypes.AwsS3CompatibleData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransferTypes.AwsS3CompatibleData.Builder>
      Throws:
      IOException
    • getDataProviderCase

      Specified by:
      getDataProviderCase in interface TransferTypes.AwsS3CompatibleDataOrBuilder
    • clearDataProvider

      public TransferTypes.AwsS3CompatibleData.Builder clearDataProvider()
    • 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.
    • setBucketName

      public TransferTypes.AwsS3CompatibleData.Builder setBucketName(String value)
       Required. Specifies the name of the bucket.
       
      string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bucketName to set.
      Returns:
      This builder for chaining.
    • clearBucketName

       Required. Specifies the name of the bucket.
       
      string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setBucketNameBytes

      public TransferTypes.AwsS3CompatibleData.Builder setBucketNameBytes(com.google.protobuf.ByteString value)
       Required. Specifies the name of the bucket.
       
      string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for bucketName to set.
      Returns:
      This builder for chaining.
    • 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.
    • setPath

       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;
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

       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;
      Returns:
      This builder for chaining.
    • setPathBytes

      public TransferTypes.AwsS3CompatibleData.Builder setPathBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for path to set.
      Returns:
      This builder for chaining.
    • 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.
    • setEndpoint

       Required. Specifies the endpoint of the storage service.
       
      string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The endpoint to set.
      Returns:
      This builder for chaining.
    • clearEndpoint

       Required. Specifies the endpoint of the storage service.
       
      string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setEndpointBytes

      public TransferTypes.AwsS3CompatibleData.Builder setEndpointBytes(com.google.protobuf.ByteString value)
       Required. Specifies the endpoint of the storage service.
       
      string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for endpoint to set.
      Returns:
      This builder for chaining.
    • 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.
    • setRegion

       Specifies the region to sign requests with. This can be left blank if
       requests should be signed with an empty region.
       
      string region = 5;
      Parameters:
      value - The region to set.
      Returns:
      This builder for chaining.
    • clearRegion

       Specifies the region to sign requests with. This can be left blank if
       requests should be signed with an empty region.
       
      string region = 5;
      Returns:
      This builder for chaining.
    • setRegionBytes

      public TransferTypes.AwsS3CompatibleData.Builder setRegionBytes(com.google.protobuf.ByteString value)
       Specifies the region to sign requests with. This can be left blank if
       requests should be signed with an empty region.
       
      string region = 5;
      Parameters:
      value - The bytes for region to set.
      Returns:
      This builder for chaining.
    • 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.
    • setS3Metadata

       A S3 compatible metadata.
       
      .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;
    • setS3Metadata

       A S3 compatible metadata.
       
      .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;
    • mergeS3Metadata

       A S3 compatible metadata.
       
      .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;
    • clearS3Metadata

       A S3 compatible metadata.
       
      .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;
    • getS3MetadataBuilder

      public TransferTypes.S3CompatibleMetadata.Builder getS3MetadataBuilder()
       A S3 compatible metadata.
       
      .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;
    • getS3MetadataOrBuilder

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