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.events.cloud.cloudbuild.v1.Artifacts.ArtifactObjects
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Artifacts.ArtifactObjectsImplements
Artifacts.ArtifactObjectsOrBuilderStatic Fields
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PATHS_FIELD_NUMBER
public static final int PATHS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TIMING_FIELD_NUMBER
public static final int TIMING_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Artifacts.ArtifactObjects getDefaultInstance()
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Artifacts.ArtifactObjects.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects.Builder |
newBuilder(Artifacts.ArtifactObjects prototype)
public static Artifacts.ArtifactObjects.Builder newBuilder(Artifacts.ArtifactObjects prototype)
Parameter | |
---|---|
Name | Description |
prototype | Artifacts.ArtifactObjects |
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects.Builder |
parseDelimitedFrom(InputStream input)
public static Artifacts.ArtifactObjects parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Artifacts.ArtifactObjects parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static Artifacts.ArtifactObjects parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Artifacts.ArtifactObjects parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Artifacts.ArtifactObjects parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Artifacts.ArtifactObjects parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Artifacts.ArtifactObjects parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Artifacts.ArtifactObjects parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static Artifacts.ArtifactObjects parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Artifacts.ArtifactObjects parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Artifacts.ArtifactObjects parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Artifacts.ArtifactObjects parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Artifacts.ArtifactObjects> parser()
Returns | |
---|---|
Type | Description |
Parser<ArtifactObjects> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public Artifacts.ArtifactObjects getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 | |
---|---|
Type | Description |
ByteString | The bytes for location. |
getParserForType()
public Parser<Artifacts.ArtifactObjects> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ArtifactObjects> |
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 | |
---|---|
Type | Description |
ProtocolStringList | A list containing the paths. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getTiming()
public 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 TimeSpanOrBuilder getTimingOrBuilder()
Stores timing information for pushing all artifact objects.
.google.events.cloud.cloudbuild.v1.TimeSpan timing = 3;
Returns | |
---|---|
Type | Description |
TimeSpanOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
hasTiming()
public 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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public Artifacts.ArtifactObjects.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Artifacts.ArtifactObjects.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Artifacts.ArtifactObjects.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |