public static final class Artifacts.ArtifactObjects extends GeneratedMessageV3 implements Artifacts.ArtifactObjectsOrBuilder
Files in the workspace to upload to Cloud Storage upon successful
completion of all build steps.
Protobuf type google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects
Static Fields
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value
PATHS_FIELD_NUMBER
public static final int PATHS_FIELD_NUMBER
Field Value
TIMING_FIELD_NUMBER
public static final int TIMING_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Artifacts.ArtifactObjects getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Artifacts.ArtifactObjects.Builder newBuilder()
Returns
newBuilder(Artifacts.ArtifactObjects prototype)
public static Artifacts.ArtifactObjects.Builder newBuilder(Artifacts.ArtifactObjects prototype)
Parameter
Returns
public static Artifacts.ArtifactObjects parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Artifacts.ArtifactObjects parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Artifacts.ArtifactObjects parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Artifacts.ArtifactObjects parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Artifacts.ArtifactObjects parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Artifacts.ArtifactObjects parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Artifacts.ArtifactObjects parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Artifacts.ArtifactObjects parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Artifacts.ArtifactObjects parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Artifacts.ArtifactObjects parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Artifacts.ArtifactObjects parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Artifacts.ArtifactObjects parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Artifacts.ArtifactObjects> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Artifacts.ArtifactObjects getDefaultInstanceForType()
Returns
getLocation()
public 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 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
getParserForType()
public Parser<Artifacts.ArtifactObjects> getParserForType()
Returns
Overrides
getPaths(int index)
public 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 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 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 ProtocolStringList getPathsList()
Path globs used to match files in the build's workspace.
repeated string paths = 2;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTiming()
public 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
getTimingOrBuilder()
public 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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasTiming()
public 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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Artifacts.ArtifactObjects.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Artifacts.ArtifactObjects.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Artifacts.ArtifactObjects.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions