Class Manifest.Builder (0.23.0)

public static final class Manifest.Builder extends GeneratedMessage.Builder<Manifest.Builder> implements ManifestOrBuilder

Describes list of objects to be transformed.

Protobuf type google.cloud.storagebatchoperations.v1.Manifest

Implements

ManifestOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public Manifest build()
Returns
Type Description
Manifest

buildPartial()

public Manifest buildPartial()
Returns
Type Description
Manifest

clear()

public Manifest.Builder clear()
Returns
Type Description
Manifest.Builder
Overrides

clearManifestLocation()

public Manifest.Builder clearManifestLocation()

Required. manifest_location must contain the manifest source file that is a CSV file in a Google Cloud Storage bucket. Each row in the file must include the object details i.e. BucketId and Name. Generation may optionally be specified. When it is not specified the live object is acted upon. manifest_location should either be 1) An absolute path to the object in the format of gs://bucket_name/path/file_name.csv. 2) An absolute path with a single wildcard character in the file name, for example gs://bucket_name/path/file_name*.csv. If manifest location is specified with a wildcard, objects in all manifest files matching the pattern will be acted upon.

string manifest_location = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Manifest.Builder

This builder for chaining.

getDefaultInstanceForType()

public Manifest getDefaultInstanceForType()
Returns
Type Description
Manifest

getDescriptorForType()

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

getManifestLocation()

public String getManifestLocation()

Required. manifest_location must contain the manifest source file that is a CSV file in a Google Cloud Storage bucket. Each row in the file must include the object details i.e. BucketId and Name. Generation may optionally be specified. When it is not specified the live object is acted upon. manifest_location should either be 1) An absolute path to the object in the format of gs://bucket_name/path/file_name.csv. 2) An absolute path with a single wildcard character in the file name, for example gs://bucket_name/path/file_name*.csv. If manifest location is specified with a wildcard, objects in all manifest files matching the pattern will be acted upon.

string manifest_location = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The manifestLocation.

getManifestLocationBytes()

public ByteString getManifestLocationBytes()

Required. manifest_location must contain the manifest source file that is a CSV file in a Google Cloud Storage bucket. Each row in the file must include the object details i.e. BucketId and Name. Generation may optionally be specified. When it is not specified the live object is acted upon. manifest_location should either be 1) An absolute path to the object in the format of gs://bucket_name/path/file_name.csv. 2) An absolute path with a single wildcard character in the file name, for example gs://bucket_name/path/file_name*.csv. If manifest location is specified with a wildcard, objects in all manifest files matching the pattern will be acted upon.

string manifest_location = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for manifestLocation.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Manifest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setManifestLocation(String value)

public Manifest.Builder setManifestLocation(String value)

Required. manifest_location must contain the manifest source file that is a CSV file in a Google Cloud Storage bucket. Each row in the file must include the object details i.e. BucketId and Name. Generation may optionally be specified. When it is not specified the live object is acted upon. manifest_location should either be 1) An absolute path to the object in the format of gs://bucket_name/path/file_name.csv. 2) An absolute path with a single wildcard character in the file name, for example gs://bucket_name/path/file_name*.csv. If manifest location is specified with a wildcard, objects in all manifest files matching the pattern will be acted upon.

string manifest_location = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The manifestLocation to set.

Returns
Type Description
Manifest.Builder

This builder for chaining.

setManifestLocationBytes(ByteString value)

public Manifest.Builder setManifestLocationBytes(ByteString value)

Required. manifest_location must contain the manifest source file that is a CSV file in a Google Cloud Storage bucket. Each row in the file must include the object details i.e. BucketId and Name. Generation may optionally be specified. When it is not specified the live object is acted upon. manifest_location should either be 1) An absolute path to the object in the format of gs://bucket_name/path/file_name.csv. 2) An absolute path with a single wildcard character in the file name, for example gs://bucket_name/path/file_name*.csv. If manifest location is specified with a wildcard, objects in all manifest files matching the pattern will be acted upon.

string manifest_location = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for manifestLocation to set.

Returns
Type Description
Manifest.Builder

This builder for chaining.