Interface StorageSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StorageSource
,StorageSource.Builder
public interface StorageSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBucket()
Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).com.google.protobuf.ByteString
getBucketBytes()
Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).long
getGeneration()
Google Cloud Storage generation for the object.String
getObject()
Google Cloud Storage object containing the source.com.google.protobuf.ByteString
getObjectBytes()
Google Cloud Storage object containing the source.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getBucket
String getBucket()
Google 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()
Google 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()
Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
string object = 2;
- Returns:
- The object.
-
getObjectBytes
com.google.protobuf.ByteString getObjectBytes()
Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
string object = 2;
- Returns:
- The bytes for object.
-
getGeneration
long getGeneration()
Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
int64 generation = 3;
- Returns:
- The generation.
-
-