public interface StorageSourceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBucket()
public abstract String getBucket()
Cloud Storage bucket containing the source (see Bucket Name Requirements).
string bucket = 1;
Returns | |
---|---|
Type | Description |
String | The bucket. |
getBucketBytes()
public abstract ByteString getBucketBytes()
Cloud Storage bucket containing the source (see Bucket Name Requirements).
string bucket = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int | The enum numeric value on the wire for sourceFetcher. |