Class BuildProvenance (2.10.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class BuildProvenance extends GeneratedMessageV3 implements BuildProvenanceOrBuilder

Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.

Protobuf type grafeas.v1.BuildProvenance

Static Fields

BUILDER_VERSION_FIELD_NUMBER

public static final int BUILDER_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

BUILD_OPTIONS_FIELD_NUMBER

public static final int BUILD_OPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

BUILT_ARTIFACTS_FIELD_NUMBER

public static final int BUILT_ARTIFACTS_FIELD_NUMBER
Field Value
TypeDescription
int

COMMANDS_FIELD_NUMBER

public static final int COMMANDS_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

CREATOR_FIELD_NUMBER

public static final int CREATOR_FIELD_NUMBER
Field Value
TypeDescription
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

LOGS_URI_FIELD_NUMBER

public static final int LOGS_URI_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_ID_FIELD_NUMBER

public static final int PROJECT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_PROVENANCE_FIELD_NUMBER

public static final int SOURCE_PROVENANCE_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

TRIGGER_ID_FIELD_NUMBER

public static final int TRIGGER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BuildProvenance getDefaultInstance()
Returns
TypeDescription
BuildProvenance

getDescriptor()

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

newBuilder()

public static BuildProvenance.Builder newBuilder()
Returns
TypeDescription
BuildProvenance.Builder

newBuilder(BuildProvenance prototype)

public static BuildProvenance.Builder newBuilder(BuildProvenance prototype)
Parameter
NameDescription
prototypeBuildProvenance
Returns
TypeDescription
BuildProvenance.Builder

parseDelimitedFrom(InputStream input)

public static BuildProvenance parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BuildProvenance
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static BuildProvenance parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BuildProvenance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static BuildProvenance parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BuildProvenance
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static BuildProvenance parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BuildProvenance
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static BuildProvenance parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BuildProvenance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<BuildProvenance> parser()
Returns
TypeDescription
Parser<BuildProvenance>

Methods

containsBuildOptions(String key)

public boolean containsBuildOptions(String key)

Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.

map<string, string> build_options = 12;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

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

getBuildOptions()

public Map<String,String> getBuildOptions()

Use #getBuildOptionsMap() instead.

Returns
TypeDescription
Map<String,String>

getBuildOptionsCount()

public int getBuildOptionsCount()

Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.