Package com.google.cloudbuild.v1
Interface StorageSourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StorageSource,StorageSource.Builder
@Generated
public interface StorageSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionCloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).com.google.protobuf.ByteStringCloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).longOptional.Required.com.google.protobuf.ByteStringRequired.Optional.intOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getBucket
String getBucket()Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
string bucket = 1;- Returns:
- The bucket.
-
getBucketBytes
com.google.protobuf.ByteString getBucketBytes()Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
string bucket = 1;- Returns:
- The bytes for bucket.
-
getObject
String getObject()Required. 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 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The object.
-
getObjectBytes
com.google.protobuf.ByteString getObjectBytes()Required. 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 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for object.
-
getGeneration
long getGeneration()Optional. Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
int64 generation = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The generation.
-
getSourceFetcherValue
int getSourceFetcherValue()Optional. 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:
- The enum numeric value on the wire for sourceFetcher.
-
getSourceFetcher
StorageSource.SourceFetcher getSourceFetcher()Optional. 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:
- The sourceFetcher.
-