Class TransferTypes.TransferManifest.Builder

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

public static final class TransferTypes.TransferManifest.Builder extends com.google.protobuf.GeneratedMessage.Builder<TransferTypes.TransferManifest.Builder> implements TransferTypes.TransferManifestOrBuilder
 Specifies where the manifest is located.
 
Protobuf type google.storagetransfer.v1.TransferManifest
  • 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.TransferManifest.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.TransferManifest.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.TransferManifest.Builder>
    • getDefaultInstanceForType

      public TransferTypes.TransferManifest 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.TransferManifest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public TransferTypes.TransferManifest.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.TransferManifest.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.TransferManifest.Builder>
    • mergeFrom

      public TransferTypes.TransferManifest.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.TransferManifest.Builder>
      Throws:
      IOException
    • getLocation

      public String getLocation()
       Specifies the path to the manifest in Cloud Storage. The Google-managed
       service account for the transfer must have `storage.objects.get`
       permission for this object. An example path is
       `gs://bucket_name/path/manifest.csv`.
       
      string location = 1;
      Specified by:
      getLocation in interface TransferTypes.TransferManifestOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       Specifies the path to the manifest in Cloud Storage. The Google-managed
       service account for the transfer must have `storage.objects.get`
       permission for this object. An example path is
       `gs://bucket_name/path/manifest.csv`.
       
      string location = 1;
      Specified by:
      getLocationBytes in interface TransferTypes.TransferManifestOrBuilder
      Returns:
      The bytes for location.
    • setLocation

      public TransferTypes.TransferManifest.Builder setLocation(String value)
       Specifies the path to the manifest in Cloud Storage. The Google-managed
       service account for the transfer must have `storage.objects.get`
       permission for this object. An example path is
       `gs://bucket_name/path/manifest.csv`.
       
      string location = 1;
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

       Specifies the path to the manifest in Cloud Storage. The Google-managed
       service account for the transfer must have `storage.objects.get`
       permission for this object. An example path is
       `gs://bucket_name/path/manifest.csv`.
       
      string location = 1;
      Returns:
      This builder for chaining.
    • setLocationBytes

      public TransferTypes.TransferManifest.Builder setLocationBytes(com.google.protobuf.ByteString value)
       Specifies the path to the manifest in Cloud Storage. The Google-managed
       service account for the transfer must have `storage.objects.get`
       permission for this object. An example path is
       `gs://bucket_name/path/manifest.csv`.
       
      string location = 1;
      Parameters:
      value - The bytes for location to set.
      Returns:
      This builder for chaining.