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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static 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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Artifacts.ArtifactObjects.Builder newBuilder()
newBuilder(Artifacts.ArtifactObjects prototype)
public static Artifacts.ArtifactObjects.Builder newBuilder(Artifacts.ArtifactObjects prototype)
public static Artifacts.ArtifactObjects parseDelimitedFrom(InputStream input)
public static Artifacts.ArtifactObjects parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Artifacts.ArtifactObjects parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Artifacts.ArtifactObjects parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Artifacts.ArtifactObjects parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Artifacts.ArtifactObjects parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Artifacts.ArtifactObjects parseFrom(CodedInputStream input)
public static Artifacts.ArtifactObjects parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Artifacts.ArtifactObjects parseFrom(InputStream input)
public static Artifacts.ArtifactObjects parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Artifacts.ArtifactObjects parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Artifacts.ArtifactObjects parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Artifacts.ArtifactObjects> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Artifacts.ArtifactObjects getDefaultInstanceForType()
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()
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;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
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 |
---|
Type | Description |
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];
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Artifacts.ArtifactObjects.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Artifacts.ArtifactObjects.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Artifacts.ArtifactObjects.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides