public final class Results extends GeneratedMessageV3 implements ResultsOrBuilder
Artifacts created by the build pipeline.
Protobuf type google.events.cloud.cloudbuild.v1.Results
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ARTIFACT_MANIFEST_FIELD_NUMBER
public static final int ARTIFACT_MANIFEST_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ARTIFACT_TIMING_FIELD_NUMBER
public static final int ARTIFACT_TIMING_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
BUILD_STEP_IMAGES_FIELD_NUMBER
public static final int BUILD_STEP_IMAGES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
BUILD_STEP_OUTPUTS_FIELD_NUMBER
public static final int BUILD_STEP_OUTPUTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IMAGES_FIELD_NUMBER
public static final int IMAGES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NUM_ARTIFACTS_FIELD_NUMBER
public static final int NUM_ARTIFACTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Results getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Results.Builder newBuilder()
newBuilder(Results prototype)
public static Results.Builder newBuilder(Results prototype)
Parameter |
---|
Name | Description |
prototype | Results
|
public static Results parseDelimitedFrom(InputStream input)
public static Results parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Results parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Results parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Results parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Results parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Results parseFrom(CodedInputStream input)
public static Results parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Results parseFrom(InputStream input)
public static Results parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Results parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Results parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Results> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getArtifactManifest()
public String getArtifactManifest()
Path to the artifact manifest. Only populated when artifacts are uploaded.
string artifact_manifest = 4;
Returns |
---|
Type | Description |
String | The artifactManifest.
|
getArtifactManifestBytes()
public ByteString getArtifactManifestBytes()
Path to the artifact manifest. Only populated when artifacts are uploaded.
string artifact_manifest = 4;
Returns |
---|
Type | Description |
ByteString | The bytes for artifactManifest.
|
getArtifactTiming()
public TimeSpan getArtifactTiming()
Time to push all non-container artifacts.
.google.events.cloud.cloudbuild.v1.TimeSpan artifact_timing = 7;
Returns |
---|
Type | Description |
TimeSpan | The artifactTiming.
|
getArtifactTimingOrBuilder()
public TimeSpanOrBuilder getArtifactTimingOrBuilder()
Time to push all non-container artifacts.
.google.events.cloud.cloudbuild.v1.TimeSpan artifact_timing = 7;
getBuildStepImages(int index)
public String getBuildStepImages(int index)
List of build step digests, in the order corresponding to build step
indices.
repeated string build_step_images = 3;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The buildStepImages at the given index.
|
getBuildStepImagesBytes(int index)
public ByteString getBuildStepImagesBytes(int index)
List of build step digests, in the order corresponding to build step
indices.
repeated string build_step_images = 3;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the buildStepImages at the given index.
|
getBuildStepImagesCount()
public int getBuildStepImagesCount()
List of build step digests, in the order corresponding to build step
indices.
repeated string build_step_images = 3;
Returns |
---|
Type | Description |
int | The count of buildStepImages.
|
getBuildStepImagesList()
public ProtocolStringList getBuildStepImagesList()
List of build step digests, in the order corresponding to build step
indices.
repeated string build_step_images = 3;
getBuildStepOutputs(int index)
public ByteString getBuildStepOutputs(int index)
List of build step outputs, produced by builder images, in the order
corresponding to build step indices.
Cloud Builders
can produce this output by writing to $BUILDER_OUTPUT/output
.
Only the first 4KB of data is stored.
repeated bytes build_step_outputs = 6;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
ByteString | The buildStepOutputs at the given index.
|
getBuildStepOutputsCount()
public int getBuildStepOutputsCount()
List of build step outputs, produced by builder images, in the order
corresponding to build step indices.
Cloud Builders
can produce this output by writing to $BUILDER_OUTPUT/output
.
Only the first 4KB of data is stored.
repeated bytes build_step_outputs = 6;
Returns |
---|
Type | Description |
int | The count of buildStepOutputs.
|
getBuildStepOutputsList()
public List<ByteString> getBuildStepOutputsList()
List of build step outputs, produced by builder images, in the order
corresponding to build step indices.
Cloud Builders
can produce this output by writing to $BUILDER_OUTPUT/output
.
Only the first 4KB of data is stored.
repeated bytes build_step_outputs = 6;
Returns |
---|
Type | Description |
List<ByteString> | A list containing the buildStepOutputs.
|
getDefaultInstanceForType()
public Results getDefaultInstanceForType()
getImages(int index)
public BuiltImage getImages(int index)
Container images that were built as a part of the build.
repeated .google.events.cloud.cloudbuild.v1.BuiltImage images = 2;
Parameter |
---|
Name | Description |
index | int
|
getImagesCount()
public int getImagesCount()
Container images that were built as a part of the build.
repeated .google.events.cloud.cloudbuild.v1.BuiltImage images = 2;
Returns |
---|
Type | Description |
int | |
getImagesList()
public List<BuiltImage> getImagesList()
Container images that were built as a part of the build.
repeated .google.events.cloud.cloudbuild.v1.BuiltImage images = 2;
getImagesOrBuilder(int index)
public BuiltImageOrBuilder getImagesOrBuilder(int index)
Container images that were built as a part of the build.
repeated .google.events.cloud.cloudbuild.v1.BuiltImage images = 2;
Parameter |
---|
Name | Description |
index | int
|
getImagesOrBuilderList()
public List<? extends BuiltImageOrBuilder> getImagesOrBuilderList()
Container images that were built as a part of the build.
repeated .google.events.cloud.cloudbuild.v1.BuiltImage images = 2;
Returns |
---|
Type | Description |
List<? extends com.google.events.cloud.cloudbuild.v1.BuiltImageOrBuilder> | |
getNumArtifacts()
public long getNumArtifacts()
Number of artifacts uploaded. Only populated when artifacts are uploaded.
int64 num_artifacts = 5;
Returns |
---|
Type | Description |
long | The numArtifacts.
|
getParserForType()
public Parser<Results> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasArtifactTiming()
public boolean hasArtifactTiming()
Time to push all non-container artifacts.
.google.events.cloud.cloudbuild.v1.TimeSpan artifact_timing = 7;
Returns |
---|
Type | Description |
boolean | Whether the artifactTiming field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Results.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Results.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Results.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides