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
BUILD_OPTIONS_FIELD_NUMBER
public
static
final
int
BUILD_OPTIONS_FIELD_NUMBER
Field Value
BUILT_ARTIFACTS_FIELD_NUMBER
public
static
final
int
BUILT_ARTIFACTS_FIELD_NUMBER
Field Value
COMMANDS_FIELD_NUMBER
public
static
final
int
COMMANDS_FIELD_NUMBER
Field Value
CREATE_TIME_FIELD_NUMBER
public
static
final
int
CREATE_TIME_FIELD_NUMBER
Field Value
CREATOR_FIELD_NUMBER
public
static
final
int
CREATOR_FIELD_NUMBER
Field Value
END_TIME_FIELD_NUMBER
public
static
final
int
END_TIME_FIELD_NUMBER
Field Value
ID_FIELD_NUMBER
public
static
final
int
ID_FIELD_NUMBER
Field Value
LOGS_URI_FIELD_NUMBER
public
static
final
int
LOGS_URI_FIELD_NUMBER
Field Value
PROJECT_ID_FIELD_NUMBER
public
static
final
int
PROJECT_ID_FIELD_NUMBER
Field Value
SOURCE_PROVENANCE_FIELD_NUMBER
public
static
final
int
SOURCE_PROVENANCE_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public
static
final
int
START_TIME_FIELD_NUMBER
Field Value
TRIGGER_ID_FIELD_NUMBER
public
static
final
int
TRIGGER_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public
static
BuildProvenance
getDefaultInstance
()
Returns
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Returns
newBuilder()
public
static
BuildProvenance
.
Builder
newBuilder
()
Returns
newBuilder(BuildProvenance prototype)
public
static
BuildProvenance
.
Builder
newBuilder
(
BuildProvenance
prototype
)
Parameter
Returns
public
static
BuildProvenance
parseDelimitedFrom
(
InputStream
input
)
Parameter
Returns
Exceptions
public
static
BuildProvenance
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public
static
BuildProvenance
parseFrom
(
byte
[]
data
)
Parameter
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
BuildProvenance
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public
static
BuildProvenance
parseFrom
(
ByteString
data
)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
BuildProvenance
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
public
static
BuildProvenance
parseFrom
(
CodedInputStream
input
)
Parameter
Returns
Exceptions
public
static
BuildProvenance
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
public
static
BuildProvenance
parseFrom
(
InputStream
input
)
Parameter
Returns
Exceptions
public
static
BuildProvenance
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public
static
BuildProvenance
parseFrom
(
ByteBuffer
data
)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
BuildProvenance
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parser()
public
static
Parser<BuildProvenance>
parser
()
Returns
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
Returns
equals(Object obj)
public
boolean
equals
(
Object
obj
)
Parameter
Returns
Overrides
getBuildOptions()
public
Map<String
,
String
>
getBuildOptions
()
Returns
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.
map<string, string> build_options = 12;
Returns
getBuildOptionsMap()
public
Map<String
,
String
>
getBuildOptionsMap
()
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;
Returns
getBuildOptionsOrDefault(String key, String defaultValue)
public
String
getBuildOptionsOrDefault
(
String
key
,
String
defaultValue
)
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;
Parameters
Returns
getBuildOptionsOrThrow(String key)
public
String
getBuildOptionsOrThrow
(
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
Returns
getBuilderVersion()
public
String
getBuilderVersion
()
Version string of the builder at the time this build was executed.
string builder_version = 13;
Returns
getBuilderVersionBytes()
public
ByteString
getBuilderVersionBytes
()
Version string of the builder at the time this build was executed.
string builder_version = 13;
Returns Type |
Description |
ByteString
|
The bytes for builderVersion.
|
getBuiltArtifacts(int index)
public
Artifact
getBuiltArtifacts
(
int
index
)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Parameter
Returns
getBuiltArtifactsCount()
public
int
getBuiltArtifactsCount
()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Returns
getBuiltArtifactsList()
public
List<Artifact>
getBuiltArtifactsList
()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Returns
getBuiltArtifactsOrBuilder(int index)
public
ArtifactOrBuilder
getBuiltArtifactsOrBuilder
(
int
index
)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Parameter
Returns
getBuiltArtifactsOrBuilderList()
public
List
< ?
extends
ArtifactOrBuilder
>
getBuiltArtifactsOrBuilderList
()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Returns
getCommands(int index)
public
Command
getCommands
(
int
index
)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Parameter
Returns
getCommandsCount()
public
int
getCommandsCount
()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Returns
getCommandsList()
public
List<Command>
getCommandsList
()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Returns
getCommandsOrBuilder(int index)
public
CommandOrBuilder
getCommandsOrBuilder
(
int
index
)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Parameter
Returns
getCommandsOrBuilderList()
public
List
< ?
extends
CommandOrBuilder
>
getCommandsOrBuilderList
()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Returns
getCreateTime()
public
Timestamp
getCreateTime
()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
Returns
getCreateTimeOrBuilder()
public
TimestampOrBuilder
getCreateTimeOrBuilder
()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
Returns
getCreator()
public
String
getCreator
()
E-mail address of the user who initiated this build. Note that this was the
user's e-mail address at the time the build was initiated; this address may
not represent the same end-user for all time.
string creator = 8;
Returns
getCreatorBytes()
public
ByteString
getCreatorBytes
()
E-mail address of the user who initiated this build. Note that this was the
user's e-mail address at the time the build was initiated; this address may
not represent the same end-user for all time.
string creator = 8;
Returns
getDefaultInstanceForType()
public
BuildProvenance
getDefaultInstanceForType
()
Returns
getEndTime()
public
Timestamp
getEndTime
()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
Returns
getEndTimeOrBuilder()
public
TimestampOrBuilder
getEndTimeOrBuilder
()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
Returns
getId()
Required. Unique identifier of the build.
string id = 1;
Returns
getIdBytes()
public
ByteString
getIdBytes
()
Required. Unique identifier of the build.
string id = 1;
Returns
getLogsUri()
public
String
getLogsUri
()
URI where any logs for this provenance were written.
string logs_uri = 9;
Returns
getLogsUriBytes()
public
ByteString
getLogsUriBytes
()
URI where any logs for this provenance were written.
string logs_uri = 9;
Returns
getParserForType()
public
Parser<BuildProvenance>
getParserForType
()
Returns
Overrides
getProjectId()
public
String
getProjectId
()
ID of the project.
string project_id = 2;
Returns
getProjectIdBytes()
public
ByteString
getProjectIdBytes
()
ID of the project.
string project_id = 2;
Returns
getSerializedSize()
public
int
getSerializedSize
()
Returns
Overrides
getSourceProvenance()
public
Source
getSourceProvenance
()
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;
Returns
getSourceProvenanceOrBuilder()
public
SourceOrBuilder
getSourceProvenanceOrBuilder
()
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;
Returns
getStartTime()
public
Timestamp
getStartTime
()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
Returns
getStartTimeOrBuilder()
public
TimestampOrBuilder
getStartTimeOrBuilder
()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
Returns
getTriggerId()
public
String
getTriggerId
()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;
Returns
getTriggerIdBytes()
public
ByteString
getTriggerIdBytes
()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;
Returns
getUnknownFields()
public
final
UnknownFieldSet
getUnknownFields
()
Returns
Overrides
hasCreateTime()
public
boolean
hasCreateTime
()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
Returns Type |
Description |
boolean
|
Whether the createTime field is set.
|
hasEndTime()
public
boolean
hasEndTime
()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
Returns Type |
Description |
boolean
|
Whether the endTime field is set.
|
hasSourceProvenance()
public
boolean
hasSourceProvenance
()
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;
Returns Type |
Description |
boolean
|
Whether the sourceProvenance field is set.
|
hasStartTime()
public
boolean
hasStartTime
()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
Returns Type |
Description |
boolean
|
Whether the startTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
Returns
Overrides
internalGetMapField(int number)
protected
MapField
internalGetMapField
(
int
number
)
Parameter
Returns
Overrides
isInitialized()
public
final
boolean
isInitialized
()
Returns
Overrides
newBuilderForType()
public
BuildProvenance
.
Builder
newBuilderForType
()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
BuildProvenance
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
Parameter
Returns
Overrides
toBuilder()
public
BuildProvenance
.
Builder
toBuilder
()
Returns
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)
Parameter
Overrides
Exceptions