Interface StorageSourceOrBuilder (0.56.0)

publicinterface StorageSourceOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucket()

publicabstractStringgetBucket()

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()

publicabstractByteStringgetBucketBytes()

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()

publicabstractlonggetGeneration()

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()

publicabstractStringgetObject()

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()

publicabstractByteStringgetObjectBytes()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.