Interface Artifacts.ArtifactObjectsOrBuilder (3.51.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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the timing field is set.