Class StorageSourceManifest (3.4.1)

public final class StorageSourceManifest extends GeneratedMessageV3 implements StorageSourceManifestOrBuilder

Location of the source manifest in Google Cloud Storage. This feature is in Preview; see description here.

Protobuf type google.devtools.cloudbuild.v1.StorageSourceManifest

Static Fields

BUCKET_FIELD_NUMBER

public static final int BUCKET_FIELD_NUMBER
Field Value
TypeDescription
int

GENERATION_FIELD_NUMBER

public static final int GENERATION_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECT_FIELD_NUMBER

public static final int OBJECT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StorageSourceManifest getDefaultInstance()
Returns
TypeDescription
StorageSourceManifest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StorageSourceManifest.Builder newBuilder()
Returns
TypeDescription
StorageSourceManifest.Builder

newBuilder(StorageSourceManifest prototype)

public static StorageSourceManifest.Builder newBuilder(StorageSourceManifest prototype)
Parameter
NameDescription
prototypeStorageSourceManifest
Returns
TypeDescription
StorageSourceManifest.Builder

parseDelimitedFrom(InputStream input)

public static StorageSourceManifest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StorageSourceManifest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageSourceManifest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageSourceManifest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StorageSourceManifest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StorageSourceManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StorageSourceManifest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageSourceManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StorageSourceManifest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StorageSourceManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StorageSourceManifest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageSourceManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StorageSourceManifest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StorageSourceManifest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageSourceManifest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageSourceManifest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StorageSourceManifest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StorageSourceManifest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageSourceManifest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageSourceManifest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StorageSourceManifest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StorageSourceManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StorageSourceManifest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageSourceManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StorageSourceManifest> parser()
Returns
TypeDescription
Parser<StorageSourceManifest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBucket()

public String getBucket()

Google Cloud Storage bucket containing the source manifest (see Bucket Name Requirements).

string bucket = 1;

Returns
TypeDescription
String

The bucket.

getBucketBytes()

public ByteString getBucketBytes()

Google Cloud Storage bucket containing the source manifest (see Bucket Name Requirements).

string bucket = 1;

Returns
TypeDescription
ByteString

The bytes for bucket.

getDefaultInstanceForType()

public StorageSourceManifest getDefaultInstanceForType()
Returns
TypeDescription
StorageSourceManifest

getGeneration()

public long getGeneration()

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

int64 generation = 3;

Returns
TypeDescription
long

The generation.

getObject()

public String getObject()

Google Cloud Storage object containing the source manifest. This object must be a JSON file.

string object = 2;

Returns
TypeDescription
String

The object.

getObjectBytes()

public ByteString getObjectBytes()

Google Cloud Storage object containing the source manifest. This object must be a JSON file.

string object = 2;

Returns
TypeDescription
ByteString

The bytes for object.

getParserForType()

public Parser<StorageSourceManifest> getParserForType()
Returns
TypeDescription
Parser<StorageSourceManifest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StorageSourceManifest.Builder newBuilderForType()
Returns
TypeDescription
StorageSourceManifest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StorageSourceManifest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StorageSourceManifest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StorageSourceManifest.Builder toBuilder()
Returns
TypeDescription
StorageSourceManifest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException