Class BuildProvenance (2.60.0)

  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
Type
Description
int

BUILD_OPTIONS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 BUILD_OPTIONS_FIELD_NUMBER 
 
Field Value
Type
Description
int

BUILT_ARTIFACTS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 BUILT_ARTIFACTS_FIELD_NUMBER 
 
Field Value
Type
Description
int

COMMANDS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 COMMANDS_FIELD_NUMBER 
 
Field Value
Type
Description
int

CREATE_TIME_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CREATE_TIME_FIELD_NUMBER 
 
Field Value
Type
Description
int

CREATOR_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CREATOR_FIELD_NUMBER 
 
Field Value
Type
Description
int

END_TIME_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 END_TIME_FIELD_NUMBER 
 
Field Value
Type
Description
int

ID_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 ID_FIELD_NUMBER 
 
Field Value
Type
Description
int

LOGS_URI_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 LOGS_URI_FIELD_NUMBER 
 
Field Value
Type
Description
int

PROJECT_ID_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 PROJECT_ID_FIELD_NUMBER 
 
Field Value
Type
Description
int

SOURCE_PROVENANCE_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 SOURCE_PROVENANCE_FIELD_NUMBER 
 
Field Value
Type
Description
int

START_TIME_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 START_TIME_FIELD_NUMBER 
 
Field Value
Type
Description
int

TRIGGER_ID_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 TRIGGER_ID_FIELD_NUMBER 
 
Field Value
Type
Description
int

Static Methods

getDefaultInstance()

  public 
  
 static 
  
 BuildProvenance 
  
 getDefaultInstance 
 () 
 
Returns
Type
Description

getDescriptor()

  public 
  
 static 
  
 final 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptor 
 () 
 
Returns
Type
Description

newBuilder()

  public 
  
 static 
  
 BuildProvenance 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description

newBuilder(BuildProvenance prototype)

  public 
  
 static 
  
 BuildProvenance 
 . 
 Builder 
  
 newBuilder 
 ( 
 BuildProvenance 
  
 prototype 
 ) 
 
Parameter
Name
Description
prototype
Returns
Type
Description

parseDelimitedFrom(InputStream input)

  public 
  
 static 
  
 BuildProvenance 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 BuildProvenance 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(byte[] data)

  public 
  
 static 
  
 BuildProvenance 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 ) 
 
Parameter
Name
Description
data
byte []
Returns
Type
Description
Exceptions
Type
Description

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 BuildProvenance 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
byte []
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteString data)

  public 
  
 static 
  
 BuildProvenance 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 BuildProvenance 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(CodedInputStream input)

  public 
  
 static 
  
 BuildProvenance 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Exceptions
Type
Description

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 BuildProvenance 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(InputStream input)

  public 
  
 static 
  
 BuildProvenance 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 BuildProvenance 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteBuffer data)

  public 
  
 static 
  
 BuildProvenance 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 BuildProvenance 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parser()

  public 
  
 static 
  
 Parser<BuildProvenance> 
  
 parser 
 () 
 
Returns
Type
Description

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
Name
Description
key
Returns
Type
Description

equals(Object obj)

  public 
  
 boolean 
  
 equals 
 ( 
 Object 
  
 obj 
 ) 
 
Parameter
Name
Description
obj
Returns
Type
Description
Overrides

getBuildOptions() (deprecated)

  public 
  
 Map<String 
 , 
 String 
>  
 getBuildOptions 
 () 
 

Use #getBuildOptionsMap() instead.

Returns
Type
Description
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.

map<string, string> build_options = 12;

Returns
Type
Description
int

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
Type
Description
Map < String , String >

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
Name
Description
key
defaultValue
Returns
Type
Description

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
Name
Description
key
Returns
Type
Description

getBuilderVersion()

  public 
  
 String 
  
 getBuilderVersion 
 () 
 

Version string of the builder at the time this build was executed.

string builder_version = 13;

Returns
Type
Description

The builderVersion.

getBuilderVersionBytes()

  public 
  
 ByteString 
  
 getBuilderVersionBytes 
 () 
 

Version string of the builder at the time this build was executed.

string builder_version = 13;

Returns
Type
Description

The bytes for builderVersion.

getBuiltArtifacts(int index)

  public 
  
 Artifact 
  
 getBuiltArtifacts 
 ( 
 int 
  
 index 
 ) 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Parameter
Name
Description
index
int
Returns
Type
Description

getBuiltArtifactsCount()

  public 
  
 int 
  
 getBuiltArtifactsCount 
 () 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Returns
Type
Description
int

getBuiltArtifactsList()

  public 
  
 List<Artifact> 
  
 getBuiltArtifactsList 
 () 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Returns
Type
Description

getBuiltArtifactsOrBuilder(int index)

  public 
  
 ArtifactOrBuilder 
  
 getBuiltArtifactsOrBuilder 
 ( 
 int 
  
 index 
 ) 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Parameter
Name
Description
index
int
Returns
Type
Description

getBuiltArtifactsOrBuilderList()

  public 
  
 List 
< ? 
  
 extends 
  
 ArtifactOrBuilder 
>  
 getBuiltArtifactsOrBuilderList 
 () 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Returns
Type
Description
List < ? extends io.grafeas.v1.ArtifactOrBuilder >

getCommands(int index)

  public 
  
 Command 
  
 getCommands 
 ( 
 int 
  
 index 
 ) 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Parameter
Name
Description
index
int
Returns
Type
Description

getCommandsCount()

  public 
  
 int 
  
 getCommandsCount 
 () 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Returns
Type
Description
int

getCommandsList()

  public 
  
 List<Command> 
  
 getCommandsList 
 () 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Returns
Type
Description

getCommandsOrBuilder(int index)

  public 
  
 CommandOrBuilder 
  
 getCommandsOrBuilder 
 ( 
 int 
  
 index 
 ) 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Parameter
Name
Description
index
int
Returns
Type
Description

getCommandsOrBuilderList()

  public 
  
 List 
< ? 
  
 extends 
  
 CommandOrBuilder 
>  
 getCommandsOrBuilderList 
 () 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Returns
Type
Description
List < ? extends io.grafeas.v1.CommandOrBuilder >

getCreateTime()

  public 
  
 Timestamp 
  
 getCreateTime 
 () 
 

Time at which the build was created.

.google.protobuf.Timestamp create_time = 5;

Returns
Type
Description

The createTime.

getCreateTimeOrBuilder()

  public 
  
 TimestampOrBuilder 
  
 getCreateTimeOrBuilder 
 () 
 

Time at which the build was created.

.google.protobuf.Timestamp create_time = 5;

Returns
Type
Description

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
Type
Description

The creator.

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
Type
Description

The bytes for creator.

getDefaultInstanceForType()

  public 
  
 BuildProvenance 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getEndTime()

  public 
  
 Timestamp 
  
 getEndTime 
 () 
 

Time at which execution of the build was finished.

.google.protobuf.Timestamp end_time = 7;

Returns
Type
Description

The endTime.

getEndTimeOrBuilder()

  public 
  
 TimestampOrBuilder 
  
 getEndTimeOrBuilder 
 () 
 

Time at which execution of the build was finished.

.google.protobuf.Timestamp end_time = 7;

Returns
Type
Description

getId()

  public 
  
 String 
  
 getId 
 () 
 

Required. Unique identifier of the build.

string id = 1;

Returns
Type
Description

The id.

getIdBytes()

  public 
  
 ByteString 
  
 getIdBytes 
 () 
 

Required. Unique identifier of the build.

string id = 1;

Returns
Type
Description

The bytes for id.

getLogsUri()

  public 
  
 String 
  
 getLogsUri 
 () 
 

URI where any logs for this provenance were written.

string logs_uri = 9;

Returns
Type
Description

The logsUri.

getLogsUriBytes()

  public 
  
 ByteString 
  
 getLogsUriBytes 
 () 
 

URI where any logs for this provenance were written.

string logs_uri = 9;

Returns
Type
Description

The bytes for logsUri.

getParserForType()

  public 
  
 Parser<BuildProvenance> 
  
 getParserForType 
 () 
 
Returns
Type
Description
Overrides

getProjectId()

  public 
  
 String 
  
 getProjectId 
 () 
 

ID of the project.

string project_id = 2;

Returns
Type
Description

The projectId.

getProjectIdBytes()

  public 
  
 ByteString 
  
 getProjectIdBytes 
 () 
 

ID of the project.

string project_id = 2;

Returns
Type
Description

The bytes for projectId.

getSerializedSize()

  public 
  
 int 
  
 getSerializedSize 
 () 
 
Returns
Type
Description
int
Overrides

getSourceProvenance()

  public 
  
 Source 
  
 getSourceProvenance 
 () 
 

Details of the Source input to the build.

.grafeas.v1.Source source_provenance = 10;

Returns
Type
Description

The sourceProvenance.

getSourceProvenanceOrBuilder()

  public 
  
 SourceOrBuilder 
  
 getSourceProvenanceOrBuilder 
 () 
 

Details of the Source input to the build.

.grafeas.v1.Source source_provenance = 10;

Returns
Type
Description

getStartTime()

  public 
  
 Timestamp 
  
 getStartTime 
 () 
 

Time at which execution of the build was started.

.google.protobuf.Timestamp start_time = 6;

Returns
Type
Description

The startTime.

getStartTimeOrBuilder()

  public 
  
 TimestampOrBuilder 
  
 getStartTimeOrBuilder 
 () 
 

Time at which execution of the build was started.

.google.protobuf.Timestamp start_time = 6;

Returns
Type
Description

getTriggerId()

  public 
  
 String 
  
 getTriggerId 
 () 
 

Trigger identifier if the build was triggered automatically; empty if not.

string trigger_id = 11;

Returns
Type
Description

The triggerId.

getTriggerIdBytes()

  public 
  
 ByteString 
  
 getTriggerIdBytes 
 () 
 

Trigger identifier if the build was triggered automatically; empty if not.

string trigger_id = 11;

Returns
Type
Description

The bytes for triggerId.

hasCreateTime()

  public 
  
 boolean 
  
 hasCreateTime 
 () 
 

Time at which the build was created.

.google.protobuf.Timestamp create_time = 5;

Returns
Type
Description

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

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

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

Whether the startTime field is set.

hashCode()

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type
Description
int
Overrides

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

internalGetMapFieldReflection(int number)

  protected 
  
 MapFieldReflectionAccessor 
  
 internalGetMapFieldReflection 
 ( 
 int 
  
 number 
 ) 
 
Parameter
Name
Description
number
int
Returns
Type
Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

newBuilderForType()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 newBuilderForType 
 () 
 
Returns
Type
Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

  protected 
  
 BuildProvenance 
 . 
 Builder 
  
 newBuilderForType 
 ( 
 GeneratedMessageV3 
 . 
 BuilderParent 
  
 parent 
 ) 
 
Parameter
Name
Description
parent
Returns
Type
Description
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

  protected 
  
 Object 
  
 newInstance 
 ( 
 GeneratedMessageV3 
 . 
 UnusedPrivateParameter 
  
 unused 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Overrides

toBuilder()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 toBuilder 
 () 
 
Returns
Type
Description

writeTo(CodedOutputStream output)

  public 
  
 void 
  
 writeTo 
 ( 
 CodedOutputStream 
  
 output 
 ) 
 
Parameter
Name
Description
Overrides
Exceptions
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: