Class TransferTypes.TransferManifest.Builder (1.83.0)

public static final class TransferTypes.TransferManifest.Builder extends GeneratedMessage.Builder<TransferTypes.TransferManifest.Builder> implements TransferTypes.TransferManifestOrBuilder

Specifies where the manifest is located.

Protobuf type google.storagetransfer.v1.TransferManifest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public TransferTypes.TransferManifest build()
Returns
Type Description
TransferTypes.TransferManifest

buildPartial()

public TransferTypes.TransferManifest buildPartial()
Returns
Type Description
TransferTypes.TransferManifest

clear()

public TransferTypes.TransferManifest.Builder clear()
Returns
Type Description
TransferTypes.TransferManifest.Builder
Overrides

clearLocation()

public TransferTypes.TransferManifest.Builder 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
Type Description
TransferTypes.TransferManifest.Builder

This builder for chaining.

getDefaultInstanceForType()

public TransferTypes.TransferManifest getDefaultInstanceForType()
Returns
Type Description
TransferTypes.TransferManifest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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;

Returns
Type Description
String

The location.

getLocationBytes()

public 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;

Returns
Type Description
ByteString

The bytes for location.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransferTypes.TransferManifest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.TransferManifest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TransferTypes.TransferManifest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TransferTypes.TransferManifest.Builder
Overrides

mergeFrom(TransferTypes.TransferManifest other)

public TransferTypes.TransferManifest.Builder mergeFrom(TransferTypes.TransferManifest other)
Parameter
Name Description
other TransferTypes.TransferManifest
Returns
Type Description
TransferTypes.TransferManifest.Builder

setLocation(String value)

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;

Parameter
Name Description
value String

The location to set.

Returns
Type Description
TransferTypes.TransferManifest.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public TransferTypes.TransferManifest.Builder setLocationBytes(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;

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
TransferTypes.TransferManifest.Builder

This builder for chaining.