Class BuildProvenance.Builder (2.74.0)

  public 
  
 static 
  
 final 
  
 class 
 BuildProvenance 
 . 
 Builder 
  
 extends 
  
 GeneratedMessageV3 
 . 
 Builder<BuildProvenance 
 . 
 Builder 
>  
 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 Methods

getDescriptor()

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

Methods

addAllBuiltArtifacts(Iterable<? extends Artifact> values)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 addAllBuiltArtifacts 
 ( 
 Iterable 
< ? 
  
 extends 
  
 Artifact 
>  
 values 
 ) 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Parameter
Name
Description
values
Iterable < ? extends io.grafeas.v1.Artifact >
Returns
Type
Description

addAllCommands(Iterable<? extends Command> values)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 addAllCommands 
 ( 
 Iterable 
< ? 
  
 extends 
  
 Command 
>  
 values 
 ) 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Parameter
Name
Description
values
Iterable < ? extends io.grafeas.v1.Command >
Returns
Type
Description

addBuiltArtifacts(int index, Artifact value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 addBuiltArtifacts 
 ( 
 int 
  
 index 
 , 
  
 Artifact 
  
 value 
 ) 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Parameters
Name
Description
index
int
value
Returns
Type
Description

addBuiltArtifacts(int index, Artifact.Builder builderForValue)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 addBuiltArtifacts 
 ( 
 int 
  
 index 
 , 
  
 Artifact 
 . 
 Builder 
  
 builderForValue 
 ) 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Parameters
Name
Description
index
int
builderForValue
Returns
Type
Description

addBuiltArtifacts(Artifact value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 addBuiltArtifacts 
 ( 
 Artifact 
  
 value 
 ) 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Parameter
Name
Description
value
Returns
Type
Description

addBuiltArtifacts(Artifact.Builder builderForValue)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 addBuiltArtifacts 
 ( 
 Artifact 
 . 
 Builder 
  
 builderForValue 
 ) 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Parameter
Name
Description
builderForValue
Returns
Type
Description

addBuiltArtifactsBuilder()

  public 
  
 Artifact 
 . 
 Builder 
  
 addBuiltArtifactsBuilder 
 () 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Returns
Type
Description

addBuiltArtifactsBuilder(int index)

  public 
  
 Artifact 
 . 
 Builder 
  
 addBuiltArtifactsBuilder 
 ( 
 int 
  
 index 
 ) 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Parameter
Name
Description
index
int
Returns
Type
Description

addCommands(int index, Command value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 addCommands 
 ( 
 int 
  
 index 
 , 
  
 Command 
  
 value 
 ) 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Parameters
Name
Description
index
int
value
Returns
Type
Description

addCommands(int index, Command.Builder builderForValue)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 addCommands 
 ( 
 int 
  
 index 
 , 
  
 Command 
 . 
 Builder 
  
 builderForValue 
 ) 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Parameters
Name
Description
index
int
builderForValue
Returns
Type
Description

addCommands(Command value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 addCommands 
 ( 
 Command 
  
 value 
 ) 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Parameter
Name
Description
value
Returns
Type
Description

addCommands(Command.Builder builderForValue)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 addCommands 
 ( 
 Command 
 . 
 Builder 
  
 builderForValue 
 ) 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Parameter
Name
Description
builderForValue
Returns
Type
Description

addCommandsBuilder()

  public 
  
 Command 
 . 
 Builder 
  
 addCommandsBuilder 
 () 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Returns
Type
Description

addCommandsBuilder(int index)

  public 
  
 Command 
 . 
 Builder 
  
 addCommandsBuilder 
 ( 
 int 
  
 index 
 ) 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Parameter
Name
Description
index
int
Returns
Type
Description

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 addRepeatedField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 , 
  
 Object 
  
 value 
 ) 
 
Parameters
Name
Description
value
Returns
Type
Description
Overrides

build()

  public 
  
 BuildProvenance 
  
 build 
 () 
 
Returns
Type
Description

buildPartial()

  public 
  
 BuildProvenance 
  
 buildPartial 
 () 
 
Returns
Type
Description

clear()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clear 
 () 
 
Returns
Type
Description
Overrides

clearBuildOptions()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clearBuildOptions 
 () 
 
Returns
Type
Description

clearBuilderVersion()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clearBuilderVersion 
 () 
 

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

string builder_version = 13;

Returns
Type
Description

This builder for chaining.

clearBuiltArtifacts()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clearBuiltArtifacts 
 () 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Returns
Type
Description

clearCommands()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clearCommands 
 () 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Returns
Type
Description

clearCreateTime()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clearCreateTime 
 () 
 

Time at which the build was created.

.google.protobuf.Timestamp create_time = 5;

Returns
Type
Description

clearCreator()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clearCreator 
 () 
 

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

This builder for chaining.

clearEndTime()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clearEndTime 
 () 
 

Time at which execution of the build was finished.

.google.protobuf.Timestamp end_time = 7;

Returns
Type
Description

clearField(Descriptors.FieldDescriptor field)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clearField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Overrides

clearId()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clearId 
 () 
 

Required. Unique identifier of the build.

string id = 1;

Returns
Type
Description

This builder for chaining.

clearLogsUri()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clearLogsUri 
 () 
 

URI where any logs for this provenance were written.

string logs_uri = 9;

Returns
Type
Description

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clearOneof 
 ( 
 Descriptors 
 . 
 OneofDescriptor 
  
 oneof 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Overrides

clearProjectId()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clearProjectId 
 () 
 

ID of the project.

string project_id = 2;

Returns
Type
Description

This builder for chaining.

clearSourceProvenance()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clearSourceProvenance 
 () 
 

Details of the Source input to the build.

.grafeas.v1.Source source_provenance = 10;

Returns
Type
Description

clearStartTime()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clearStartTime 
 () 
 

Time at which execution of the build was started.

.google.protobuf.Timestamp start_time = 6;

Returns
Type
Description

clearTriggerId()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clearTriggerId 
 () 
 

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

string trigger_id = 11;

Returns
Type
Description

This builder for chaining.

clone()

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 clone 
 () 
 
Returns
Type
Description
Overrides

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

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

getBuiltArtifactsBuilder(int index)

  public 
  
 Artifact 
 . 
 Builder 
  
 getBuiltArtifactsBuilder 
 ( 
 int 
  
 index 
 ) 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Parameter
Name
Description
index
int
Returns
Type
Description

getBuiltArtifactsBuilderList()

  public 
  
 List<Artifact 
 . 
 Builder 
>  
 getBuiltArtifactsBuilderList 
 () 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

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

getCommandsBuilder(int index)

  public 
  
 Command 
 . 
 Builder 
  
 getCommandsBuilder 
 ( 
 int 
  
 index 
 ) 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Parameter
Name
Description
index
int
Returns
Type
Description

getCommandsBuilderList()

  public 
  
 List<Command 
 . 
 Builder 
>  
 getCommandsBuilderList 
 () 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

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.

getCreateTimeBuilder()

  public 
  
 Timestamp 
 . 
 Builder 
  
 getCreateTimeBuilder 
 () 
 

Time at which the build was created.

.google.protobuf.Timestamp create_time = 5;

Returns
Type
Description

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

getDescriptorForType()

  public 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptorForType 
 () 
 
Returns
Type
Description
Overrides

getEndTime()

  public 
  
 Timestamp 
  
 getEndTime 
 () 
 

Time at which execution of the build was finished.

.google.protobuf.Timestamp end_time = 7;

Returns
Type
Description

The endTime.

getEndTimeBuilder()

  public 
  
 Timestamp 
 . 
 Builder 
  
 getEndTimeBuilder 
 () 
 

Time at which execution of the build was finished.

.google.protobuf.Timestamp end_time = 7;

Returns
Type
Description

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.

getMutableBuildOptions() (deprecated)

  public 
  
 Map<String 
 , 
 String 
>  
 getMutableBuildOptions 
 () 
 

Use alternate mutation accessors instead.

Returns
Type
Description
Map < String , String >

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.

getSourceProvenance()

  public 
  
 Source 
  
 getSourceProvenance 
 () 
 

Details of the Source input to the build.

.grafeas.v1.Source source_provenance = 10;

Returns
Type
Description

The sourceProvenance.

getSourceProvenanceBuilder()

  public 
  
 Source 
 . 
 Builder 
  
 getSourceProvenanceBuilder 
 () 
 

Details of the Source input to the build.

.grafeas.v1.Source source_provenance = 10;

Returns
Type
Description

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.

getStartTimeBuilder()

  public 
  
 Timestamp 
 . 
 Builder 
  
 getStartTimeBuilder 
 () 
 

Time at which execution of the build was started.

.google.protobuf.Timestamp start_time = 6;

Returns
Type
Description

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.

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.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

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

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

mergeCreateTime(Timestamp value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 mergeCreateTime 
 ( 
 Timestamp 
  
 value 
 ) 
 

Time at which the build was created.

.google.protobuf.Timestamp create_time = 5;

Parameter
Name
Description
value
Returns
Type
Description

mergeEndTime(Timestamp value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 mergeEndTime 
 ( 
 Timestamp 
  
 value 
 ) 
 

Time at which execution of the build was finished.

.google.protobuf.Timestamp end_time = 7;

Parameter
Name
Description
value
Returns
Type
Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 mergeFrom 
 ( 
 CodedInputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
extensionRegistry
Returns
Type
Description
Overrides
Exceptions
Type
Description

mergeFrom(Message other)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 mergeFrom 
 ( 
 Message 
  
 other 
 ) 
 
Parameter
Name
Description
other
Returns
Type
Description
Overrides

mergeFrom(BuildProvenance other)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 mergeFrom 
 ( 
 BuildProvenance 
  
 other 
 ) 
 
Parameter
Name
Description
Returns
Type
Description

mergeSourceProvenance(Source value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 mergeSourceProvenance 
 ( 
 Source 
  
 value 
 ) 
 

Details of the Source input to the build.

.grafeas.v1.Source source_provenance = 10;

Parameter
Name
Description
value
Returns
Type
Description

mergeStartTime(Timestamp value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 mergeStartTime 
 ( 
 Timestamp 
  
 value 
 ) 
 

Time at which execution of the build was started.

.google.protobuf.Timestamp start_time = 6;

Parameter
Name
Description
value
Returns
Type
Description

mergeUnknownFields(UnknownFieldSet unknownFields)

  public 
  
 final 
  
 BuildProvenance 
 . 
 Builder 
  
 mergeUnknownFields 
 ( 
 UnknownFieldSet 
  
 unknownFields 
 ) 
 
Parameter
Name
Description
unknownFields
Returns
Type
Description
Overrides

putAllBuildOptions(Map<String,String> values)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 putAllBuildOptions 
 ( 
 Map<String 
 , 
 String 
>  
 values 
 ) 
 

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

putBuildOptions(String key, String value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 putBuildOptions 
 ( 
 String 
  
 key 
 , 
  
 String 
  
 value 
 ) 
 

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

removeBuildOptions(String key)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 removeBuildOptions 
 ( 
 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

removeBuiltArtifacts(int index)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 removeBuiltArtifacts 
 ( 
 int 
  
 index 
 ) 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Parameter
Name
Description
index
int
Returns
Type
Description

removeCommands(int index)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 removeCommands 
 ( 
 int 
  
 index 
 ) 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Parameter
Name
Description
index
int
Returns
Type
Description

setBuilderVersion(String value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setBuilderVersion 
 ( 
 String 
  
 value 
 ) 
 

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

string builder_version = 13;

Parameter
Name
Description
value
String

The builderVersion to set.

Returns
Type
Description

This builder for chaining.

setBuilderVersionBytes(ByteString value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setBuilderVersionBytes 
 ( 
 ByteString 
  
 value 
 ) 
 

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

string builder_version = 13;

Parameter
Name
Description
value
ByteString

The bytes for builderVersion to set.

Returns
Type
Description

This builder for chaining.

setBuiltArtifacts(int index, Artifact value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setBuiltArtifacts 
 ( 
 int 
  
 index 
 , 
  
 Artifact 
  
 value 
 ) 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Parameters
Name
Description
index
int
value
Returns
Type
Description

setBuiltArtifacts(int index, Artifact.Builder builderForValue)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setBuiltArtifacts 
 ( 
 int 
  
 index 
 , 
  
 Artifact 
 . 
 Builder 
  
 builderForValue 
 ) 
 

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Parameters
Name
Description
index
int
builderForValue
Returns
Type
Description

setCommands(int index, Command value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setCommands 
 ( 
 int 
  
 index 
 , 
  
 Command 
  
 value 
 ) 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Parameters
Name
Description
index
int
value
Returns
Type
Description

setCommands(int index, Command.Builder builderForValue)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setCommands 
 ( 
 int 
  
 index 
 , 
  
 Command 
 . 
 Builder 
  
 builderForValue 
 ) 
 

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Parameters
Name
Description
index
int
builderForValue
Returns
Type
Description

setCreateTime(Timestamp value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setCreateTime 
 ( 
 Timestamp 
  
 value 
 ) 
 

Time at which the build was created.

.google.protobuf.Timestamp create_time = 5;

Parameter
Name
Description
value
Returns
Type
Description

setCreateTime(Timestamp.Builder builderForValue)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setCreateTime 
 ( 
 Timestamp 
 . 
 Builder 
  
 builderForValue 
 ) 
 

Time at which the build was created.

.google.protobuf.Timestamp create_time = 5;

Parameter
Name
Description
builderForValue
Returns
Type
Description

setCreator(String value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setCreator 
 ( 
 String 
  
 value 
 ) 
 

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;

Parameter
Name
Description
value
String

The creator to set.

Returns
Type
Description

This builder for chaining.

setCreatorBytes(ByteString value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setCreatorBytes 
 ( 
 ByteString 
  
 value 
 ) 
 

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;

Parameter
Name
Description
value
ByteString

The bytes for creator to set.

Returns
Type
Description

This builder for chaining.

setEndTime(Timestamp value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setEndTime 
 ( 
 Timestamp 
  
 value 
 ) 
 

Time at which execution of the build was finished.

.google.protobuf.Timestamp end_time = 7;

Parameter
Name
Description
value
Returns
Type
Description

setEndTime(Timestamp.Builder builderForValue)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setEndTime 
 ( 
 Timestamp 
 . 
 Builder 
  
 builderForValue 
 ) 
 

Time at which execution of the build was finished.

.google.protobuf.Timestamp end_time = 7;

Parameter
Name
Description
builderForValue
Returns
Type
Description

setField(Descriptors.FieldDescriptor field, Object value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 , 
  
 Object 
  
 value 
 ) 
 
Parameters
Name
Description
value
Returns
Type
Description
Overrides

setId(String value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setId 
 ( 
 String 
  
 value 
 ) 
 

Required. Unique identifier of the build.

string id = 1;

Parameter
Name
Description
value
String

The id to set.

Returns
Type
Description

This builder for chaining.

setIdBytes(ByteString value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setIdBytes 
 ( 
 ByteString 
  
 value 
 ) 
 

Required. Unique identifier of the build.

string id = 1;

Parameter
Name
Description
value
ByteString

The bytes for id to set.

Returns
Type
Description

This builder for chaining.

setLogsUri(String value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setLogsUri 
 ( 
 String 
  
 value 
 ) 
 

URI where any logs for this provenance were written.

string logs_uri = 9;

Parameter
Name
Description
value
String

The logsUri to set.

Returns
Type
Description

This builder for chaining.

setLogsUriBytes(ByteString value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setLogsUriBytes 
 ( 
 ByteString 
  
 value 
 ) 
 

URI where any logs for this provenance were written.

string logs_uri = 9;

Parameter
Name
Description
value
ByteString

The bytes for logsUri to set.

Returns
Type
Description

This builder for chaining.

setProjectId(String value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setProjectId 
 ( 
 String 
  
 value 
 ) 
 

ID of the project.

string project_id = 2;

Parameter
Name
Description
value
String

The projectId to set.

Returns
Type
Description

This builder for chaining.

setProjectIdBytes(ByteString value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setProjectIdBytes 
 ( 
 ByteString 
  
 value 
 ) 
 

ID of the project.

string project_id = 2;

Parameter
Name
Description
value
ByteString

The bytes for projectId to set.

Returns
Type
Description

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setRepeatedField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 , 
  
 int 
  
 index 
 , 
  
 Object 
  
 value 
 ) 
 
Parameters
Name
Description
index
int
value
Returns
Type
Description
Overrides

setSourceProvenance(Source value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setSourceProvenance 
 ( 
 Source 
  
 value 
 ) 
 

Details of the Source input to the build.

.grafeas.v1.Source source_provenance = 10;

Parameter
Name
Description
value
Returns
Type
Description

setSourceProvenance(Source.Builder builderForValue)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setSourceProvenance 
 ( 
 Source 
 . 
 Builder 
  
 builderForValue 
 ) 
 

Details of the Source input to the build.

.grafeas.v1.Source source_provenance = 10;

Parameter
Name
Description
builderForValue
Returns
Type
Description

setStartTime(Timestamp value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setStartTime 
 ( 
 Timestamp 
  
 value 
 ) 
 

Time at which execution of the build was started.

.google.protobuf.Timestamp start_time = 6;

Parameter
Name
Description
value
Returns
Type
Description

setStartTime(Timestamp.Builder builderForValue)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setStartTime 
 ( 
 Timestamp 
 . 
 Builder 
  
 builderForValue 
 ) 
 

Time at which execution of the build was started.

.google.protobuf.Timestamp start_time = 6;

Parameter
Name
Description
builderForValue
Returns
Type
Description

setTriggerId(String value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setTriggerId 
 ( 
 String 
  
 value 
 ) 
 

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

string trigger_id = 11;

Parameter
Name
Description
value
String

The triggerId to set.

Returns
Type
Description

This builder for chaining.

setTriggerIdBytes(ByteString value)

  public 
  
 BuildProvenance 
 . 
 Builder 
  
 setTriggerIdBytes 
 ( 
 ByteString 
  
 value 
 ) 
 

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

string trigger_id = 11;

Parameter
Name
Description
value
ByteString

The bytes for triggerId to set.

Returns
Type
Description

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

  public 
  
 final 
  
 BuildProvenance 
 . 
 Builder 
  
 setUnknownFields 
 ( 
 UnknownFieldSet 
  
 unknownFields 
 ) 
 
Parameter
Name
Description
unknownFields
Returns
Type
Description
Overrides
Design a Mobile Site
View Site in Mobile | Classic
Share by: