Interface StorageSourceOrBuilder (3.41.0)

public interface StorageSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucket()

public abstract String getBucket()

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

string bucket = 1;

Returns
TypeDescription
String

The bucket.

getBucketBytes()

public abstract ByteString getBucketBytes()

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

string bucket = 1;

Returns
TypeDescription
ByteString

The bytes for bucket.

getGeneration()

public abstract long getGeneration()

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 abstract String getObject()

Cloud Storage object containing the source.

This object must be a zipped (.zip) or gzipped archive file (.tar.gz) containing source to build.

string object = 2;

Returns
TypeDescription
String

The object.

getObjectBytes()

public abstract ByteString getObjectBytes()

Cloud Storage object containing the source.

This object must be a zipped (.zip) or gzipped archive file (.tar.gz) containing source to build.

string object = 2;

Returns
TypeDescription
ByteString

The bytes for object.

getSourceFetcher()

public abstract StorageSource.SourceFetcher getSourceFetcher()

Option to specify the tool to fetch the source file for the build.

.google.devtools.cloudbuild.v1.StorageSource.SourceFetcher source_fetcher = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
StorageSource.SourceFetcher

The sourceFetcher.

getSourceFetcherValue()

public abstract int getSourceFetcherValue()

Option to specify the tool to fetch the source file for the build.

.google.devtools.cloudbuild.v1.StorageSource.SourceFetcher source_fetcher = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for sourceFetcher.