Package com.google.cloudbuild.v1
Interface Artifacts.ArtifactObjectsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Artifacts.ArtifactObjects,Artifacts.ArtifactObjects.Builder
- Enclosing class:
- Artifacts
public static interface Artifacts.ArtifactObjectsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionCloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/".com.google.protobuf.ByteStringCloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/".getPaths(int index) Path globs used to match files in the build's workspace.com.google.protobuf.ByteStringgetPathsBytes(int index) Path globs used to match files in the build's workspace.intPath globs used to match files in the build's workspace.Path globs used to match files in the build's workspace.Output only.Output only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLocation
String getLocation()Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#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:
- The location.
-
getLocationBytes
com.google.protobuf.ByteString getLocationBytes()Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#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:
- The bytes for location.
-
getPathsList
Path globs used to match files in the build's workspace.
repeated string paths = 2;- Returns:
- A list containing the paths.
-
getPathsCount
int getPathsCount()Path globs used to match files in the build's workspace.
repeated string paths = 2;- Returns:
- The count of paths.
-
getPaths
Path globs used to match files in the build's workspace.
repeated string paths = 2;- Parameters:
index- The index of the element to return.- Returns:
- The paths at the given index.
-
getPathsBytes
com.google.protobuf.ByteString getPathsBytes(int index) Path globs used to match files in the build's workspace.
repeated string paths = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the paths at the given index.
-
hasTiming
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:
- Whether the timing field is set.
-
getTiming
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:
- The timing.
-
getTimingOrBuilder
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];
-