Class TransferTypes.TransferManifest.Builder (1.55.0)

public static final class TransferTypes.TransferManifest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransferTypes.TransferManifest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransferTypes.TransferManifest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public TransferTypes.TransferManifest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public TransferTypes.TransferManifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TransferTypes.TransferManifest.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransferTypes.TransferManifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransferTypes.TransferManifest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TransferTypes.TransferManifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransferTypes.TransferManifest.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TransferTypes.TransferManifest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TransferTypes.TransferManifest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TransferTypes.TransferManifest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransferTypes.TransferManifest.Builder
Overrides