Class Manifest (0.2.0)

public final class Manifest extends GeneratedMessageV3 implements ManifestOrBuilder

Describes list of objects to be transformed.

Protobuf type google.cloud.storagebatchoperations.v1.Manifest

Implements

ManifestOrBuilder

Static Fields

MANIFEST_LOCATION_FIELD_NUMBER

public static final int MANIFEST_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Manifest getDefaultInstance()
Returns
Type Description
Manifest

getDescriptor()

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

newBuilder()

public static Manifest.Builder newBuilder()
Returns
Type Description
Manifest.Builder

newBuilder(Manifest prototype)

public static Manifest.Builder newBuilder(Manifest prototype)
Parameter
Name Description
prototype Manifest
Returns
Type Description
Manifest.Builder

parseDelimitedFrom(InputStream input)

public static Manifest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Manifest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Manifest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Manifest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Manifest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Manifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Manifest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Manifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Manifest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Manifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Manifest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Manifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Manifest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Manifest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Manifest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Manifest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Manifest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Manifest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Manifest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Manifest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Manifest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Manifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Manifest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Manifest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Manifest> parser()
Returns
Type Description
Parser<Manifest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Manifest getDefaultInstanceForType()
Returns
Type Description
Manifest

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.

getParserForType()

public Parser<Manifest> getParserForType()
Returns
Type Description
Parser<Manifest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Manifest.Builder newBuilderForType()
Returns
Type Description
Manifest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Manifest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Manifest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Manifest.Builder toBuilder()
Returns
Type Description
Manifest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException