public static interface Artifacts.ArtifactObjectsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 |
intThe 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 |
intThe 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()Stores timing information for pushing all artifact objects.
.google.events.cloud.cloudbuild.v1.TimeSpan timing = 3;
| Returns | |
|---|---|
| Type | Description |
TimeSpan |
The timing. |
getTimingOrBuilder()
public abstract TimeSpanOrBuilder getTimingOrBuilder()Stores timing information for pushing all artifact objects.
.google.events.cloud.cloudbuild.v1.TimeSpan timing = 3;
| Returns | |
|---|---|
| Type | Description |
TimeSpanOrBuilder |
|
hasTiming()
public abstract boolean hasTiming()Stores timing information for pushing all artifact objects.
.google.events.cloud.cloudbuild.v1.TimeSpan timing = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the timing field is set. |