Class Manifest.Builder (0.2.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Manifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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