Interface StorageSourceOrBuilder (0.55.0)

public interface StorageSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucket()

public abstract String getBucket()

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

string bucket = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The bucket.

getBucketBytes()

public abstract ByteString getBucketBytes()

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

string bucket = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for bucket.

getGeneration()

public abstract long getGeneration()

Optional. Google 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
Type Description
long

The generation.

getObject()

public abstract String getObject()

Required. Google Cloud Storage object containing the source.

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

string object = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The object.

getObjectBytes()

public abstract ByteString getObjectBytes()

Required. Google Cloud Storage object containing the source.

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

string object = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for object.