Class Artifacts.ArtifactObjects (3.33.0)

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
TypeDescription
int

PATHS_FIELD_NUMBER

public static final int PATHS_FIELD_NUMBER
Field Value
TypeDescription
int

TIMING_FIELD_NUMBER

public static final int TIMING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Artifacts.ArtifactObjects getDefaultInstance()
Returns
TypeDescription
Artifacts.ArtifactObjects

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Artifacts.ArtifactObjects.Builder newBuilder()
Returns
TypeDescription
Artifacts.ArtifactObjects.Builder

newBuilder(Artifacts.ArtifactObjects prototype)

public static Artifacts.ArtifactObjects.Builder newBuilder(Artifacts.ArtifactObjects prototype)
Parameter
NameDescription
prototypeArtifacts.ArtifactObjects
Returns
TypeDescription
Artifacts.ArtifactObjects.Builder

parseDelimitedFrom(InputStream input)

public static Artifacts.ArtifactObjects parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Artifacts.ArtifactObjects
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Artifacts.ArtifactObjects parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Artifacts.ArtifactObjects
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Artifacts.ArtifactObjects parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Artifacts.ArtifactObjects
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Artifacts.ArtifactObjects parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Artifacts.ArtifactObjects
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Artifacts.ArtifactObjects parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Artifacts.ArtifactObjects
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Artifacts.ArtifactObjects parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Artifacts.ArtifactObjects
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Artifacts.ArtifactObjects parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Artifacts.ArtifactObjects
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Artifacts.ArtifactObjects parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Artifacts.ArtifactObjects
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Artifacts.ArtifactObjects parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Artifacts.ArtifactObjects
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Artifacts.ArtifactObjects parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Artifacts.ArtifactObjects
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Artifacts.ArtifactObjects parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Artifacts.ArtifactObjects
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Artifacts.ArtifactObjects parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Artifacts.ArtifactObjects
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Artifacts.ArtifactObjects> parser()
Returns
TypeDescription
Parser<ArtifactObjects>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Artifacts.ArtifactObjects getDefaultInstanceForType()
Returns
TypeDescription
Artifacts.ArtifactObjects

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
TypeDescription
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
TypeDescription
ByteString

The bytes for location.

getParserForType()

public Parser<Artifacts.ArtifactObjects> getParserForType()
Returns
TypeDescription
Parser<ArtifactObjects>
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the paths.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
TypeDescription
TimeSpan

The timing.

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
TypeDescription
TimeSpanOrBuilder

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
TypeDescription
boolean

Whether the timing field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Artifacts.ArtifactObjects.Builder newBuilderForType()
Returns
TypeDescription
Artifacts.ArtifactObjects.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Artifacts.ArtifactObjects.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Artifacts.ArtifactObjects.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Artifacts.ArtifactObjects.Builder toBuilder()
Returns
TypeDescription
Artifacts.ArtifactObjects.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException