Interface Artifacts.ArtifactObjectsOrBuilder (3.9.0)

public static interface Artifacts.ArtifactObjectsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLocation()

public abstract String getLocation()

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

string location = 1;

Returns
TypeDescription
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

string location = 1;

Returns
TypeDescription
ByteString

The bytes for location.

getPaths(int index)

public abstract String getPaths(int index)

Path globs used to match files in the build's workspace.

repeated string paths = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The paths at the given index.

getPathsBytes(int index)

public abstract ByteString getPathsBytes(int index)

Path globs used to match files in the build's workspace.

repeated string paths = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the paths at the given index.

getPathsCount()

public abstract int getPathsCount()

Path globs used to match files in the build's workspace.

repeated string paths = 2;

Returns
TypeDescription
int

The count of paths.

getPathsList()

public abstract List<String> getPathsList()

Path globs used to match files in the build's workspace.

repeated string paths = 2;

Returns
TypeDescription
List<String>

A list containing the paths.

getTiming()

public abstract TimeSpan getTiming()

Output only. Stores timing information for pushing all artifact objects.

.google.devtools.cloudbuild.v1.TimeSpan timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimeSpan

The timing.

getTimingOrBuilder()

public abstract TimeSpanOrBuilder getTimingOrBuilder()

Output only. Stores timing information for pushing all artifact objects.

.google.devtools.cloudbuild.v1.TimeSpan timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimeSpanOrBuilder

hasTiming()

public abstract boolean hasTiming()

Output only. Stores timing information for pushing all artifact objects.

.google.devtools.cloudbuild.v1.TimeSpan timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the timing field is set.