- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BuildProvenance.BuilderImplements
BuildProvenanceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
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;
Name | Description |
values | Iterable<? extends io.grafeas.v1.Artifact> |
Type | Description |
BuildProvenance.Builder |
addAllCommands(Iterable<? extends Command> values)
public BuildProvenance.Builder addAllCommands(Iterable<? extends Command> values)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Name | Description |
values | Iterable<? extends io.grafeas.v1.Command> |
Type | Description |
BuildProvenance.Builder |
addBuiltArtifacts(int index, Artifact value)
public BuildProvenance.Builder addBuiltArtifacts(int index, Artifact value)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Name | Description |
index | int |
value | Artifact |
Type | Description |
BuildProvenance.Builder |
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;
Name | Description |
index | int |
builderForValue | Artifact.Builder |
Type | Description |
BuildProvenance.Builder |
addBuiltArtifacts(Artifact value)
public BuildProvenance.Builder addBuiltArtifacts(Artifact value)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Name | Description |
value | Artifact |
Type | Description |
BuildProvenance.Builder |
addBuiltArtifacts(Artifact.Builder builderForValue)
public BuildProvenance.Builder addBuiltArtifacts(Artifact.Builder builderForValue)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Name | Description |
builderForValue | Artifact.Builder |
Type | Description |
BuildProvenance.Builder |
addBuiltArtifactsBuilder()
public Artifact.Builder addBuiltArtifactsBuilder()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Type | Description |
Artifact.Builder |
addBuiltArtifactsBuilder(int index)
public Artifact.Builder addBuiltArtifactsBuilder(int index)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Name | Description |
index | int |
Type | Description |
Artifact.Builder |
addCommands(int index, Command value)
public BuildProvenance.Builder addCommands(int index, Command value)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Name | Description |
index | int |
value | Command |
Type | Description |
BuildProvenance.Builder |
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;
Name | Description |
index | int |
builderForValue | Command.Builder |
Type | Description |
BuildProvenance.Builder |
addCommands(Command value)
public BuildProvenance.Builder addCommands(Command value)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Name | Description |
value | Command |
Type | Description |
BuildProvenance.Builder |
addCommands(Command.Builder builderForValue)
public BuildProvenance.Builder addCommands(Command.Builder builderForValue)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Name | Description |
builderForValue | Command.Builder |
Type | Description |
BuildProvenance.Builder |
addCommandsBuilder()
public Command.Builder addCommandsBuilder()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Type | Description |
Command.Builder |
addCommandsBuilder(int index)
public Command.Builder addCommandsBuilder(int index)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Name | Description |
index | int |
Type | Description |
Command.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BuildProvenance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BuildProvenance.Builder |
build()
public BuildProvenance build()
Type | Description |
BuildProvenance |
buildPartial()
public BuildProvenance buildPartial()
Type | Description |
BuildProvenance |
clear()
public BuildProvenance.Builder clear()
Type | Description |
BuildProvenance.Builder |
clearBuildOptions()
public BuildProvenance.Builder clearBuildOptions()
Type | Description |
BuildProvenance.Builder |
clearBuilderVersion()
public BuildProvenance.Builder clearBuilderVersion()
Version string of the builder at the time this build was executed.
string builder_version = 13;
Type | Description |
BuildProvenance.Builder | This builder for chaining. |
clearBuiltArtifacts()
public BuildProvenance.Builder clearBuiltArtifacts()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Type | Description |
BuildProvenance.Builder |
clearCommands()
public BuildProvenance.Builder clearCommands()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Type | Description |
BuildProvenance.Builder |
clearCreateTime()
public BuildProvenance.Builder clearCreateTime()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
BuildProvenance.Builder |
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;
Type | Description |
BuildProvenance.Builder | This builder for chaining. |
clearEndTime()
public BuildProvenance.Builder clearEndTime()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
Type | Description |
BuildProvenance.Builder |
clearField(Descriptors.FieldDescriptor field)
public BuildProvenance.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BuildProvenance.Builder |
clearId()
public BuildProvenance.Builder clearId()
Required. Unique identifier of the build.
string id = 1;
Type | Description |
BuildProvenance.Builder | This builder for chaining. |
clearLogsUri()
public BuildProvenance.Builder clearLogsUri()
URI where any logs for this provenance were written.
string logs_uri = 9;
Type | Description |
BuildProvenance.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BuildProvenance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BuildProvenance.Builder |
clearProjectId()
public BuildProvenance.Builder clearProjectId()
ID of the project.
string project_id = 2;
Type | Description |
BuildProvenance.Builder | This builder for chaining. |
clearSourceProvenance()
public BuildProvenance.Builder clearSourceProvenance()
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;
Type | Description |
BuildProvenance.Builder |
clearStartTime()
public BuildProvenance.Builder clearStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
Type | Description |
BuildProvenance.Builder |
clearTriggerId()
public BuildProvenance.Builder clearTriggerId()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;
Type | Description |
BuildProvenance.Builder | This builder for chaining. |
clone()
public BuildProvenance.Builder clone()
Type | Description |
BuildProvenance.Builder |
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;
Name | Description |
key | String |
Type | Description |
boolean |
getBuildOptions()
public Map<String,String> getBuildOptions()
Use #getBuildOptionsMap() instead.
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;
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;
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;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
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;
Name | Description |
key | String |
Type | Description |
String |
getBuilderVersion()
public String getBuilderVersion()
Version string of the builder at the time this build was executed.
string builder_version = 13;
Type | Description |
String | The builderVersion. |
getBuilderVersionBytes()
public ByteString getBuilderVersionBytes()
Version string of the builder at the time this build was executed.
string builder_version = 13;
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;
Name | Description |
index | int |
Type | Description |
Artifact |
getBuiltArtifactsBuilder(int index)
public Artifact.Builder getBuiltArtifactsBuilder(int index)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Name | Description |
index | int |
Type | Description |
Artifact.Builder |
getBuiltArtifactsBuilderList()
public List<Artifact.Builder> getBuiltArtifactsBuilderList()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Type | Description |
List<Builder> |
getBuiltArtifactsCount()
public int getBuiltArtifactsCount()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Type | Description |
int |
getBuiltArtifactsList()
public List<Artifact> getBuiltArtifactsList()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Type | Description |
List<Artifact> |
getBuiltArtifactsOrBuilder(int index)
public ArtifactOrBuilder getBuiltArtifactsOrBuilder(int index)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Name | Description |
index | int |
Type | Description |
ArtifactOrBuilder |
getBuiltArtifactsOrBuilderList()
public List<? extends ArtifactOrBuilder> getBuiltArtifactsOrBuilderList()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
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;
Name | Description |
index | int |
Type | Description |
Command |
getCommandsBuilder(int index)
public Command.Builder getCommandsBuilder(int index)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Name | Description |
index | int |
Type | Description |
Command.Builder |
getCommandsBuilderList()
public List<Command.Builder> getCommandsBuilderList()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Type | Description |
List<Builder> |
getCommandsCount()
public int getCommandsCount()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Type | Description |
int |
getCommandsList()
public List<Command> getCommandsList()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Type | Description |
List<Command> |
getCommandsOrBuilder(int index)
public CommandOrBuilder getCommandsOrBuilder(int index)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Name | Description |
index | int |
Type | Description |
CommandOrBuilder |
getCommandsOrBuilderList()
public List<? extends CommandOrBuilder> getCommandsOrBuilderList()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
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;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
TimestampOrBuilder |
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;
Type | Description |
String | 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;
Type | Description |
ByteString | The bytes for creator. |
getDefaultInstanceForType()
public BuildProvenance getDefaultInstanceForType()
Type | Description |
BuildProvenance |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
Type | Description |
Timestamp | The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
Type | Description |
TimestampOrBuilder |
getId()
public String getId()
Required. Unique identifier of the build.
string id = 1;
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
Required. Unique identifier of the build.
string id = 1;
Type | Description |
ByteString | The bytes for id. |
getLogsUri()
public String getLogsUri()
URI where any logs for this provenance were written.
string logs_uri = 9;
Type | Description |
String | The logsUri. |
getLogsUriBytes()
public ByteString getLogsUriBytes()
URI where any logs for this provenance were written.
string logs_uri = 9;
Type | Description |
ByteString | The bytes for logsUri. |
getMutableBuildOptions()
public Map<String,String> getMutableBuildOptions()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getProjectId()
public String getProjectId()
ID of the project.
string project_id = 2;
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
ID of the project.
string project_id = 2;
Type | Description |
ByteString | The bytes for projectId. |
getSourceProvenance()
public Source getSourceProvenance()
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;
Type | Description |
Source | The sourceProvenance. |
getSourceProvenanceBuilder()
public Source.Builder getSourceProvenanceBuilder()
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;
Type | Description |
Source.Builder |
getSourceProvenanceOrBuilder()
public SourceOrBuilder getSourceProvenanceOrBuilder()
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;
Type | Description |
SourceOrBuilder |
getStartTime()
public Timestamp getStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
Type | Description |
Timestamp | The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
Type | Description |
TimestampOrBuilder |
getTriggerId()
public String getTriggerId()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;
Type | Description |
String | The triggerId. |
getTriggerIdBytes()
public ByteString getTriggerIdBytes()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;
Type | Description |
ByteString | The bytes for triggerId. |
hasCreateTime()
public boolean hasCreateTime()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
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;
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;
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;
Type | Description |
boolean | Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public BuildProvenance.Builder mergeCreateTime(Timestamp value)
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
BuildProvenance.Builder |
mergeEndTime(Timestamp value)
public BuildProvenance.Builder mergeEndTime(Timestamp value)
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
Name | Description |
value | Timestamp |
Type | Description |
BuildProvenance.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BuildProvenance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BuildProvenance.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BuildProvenance.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BuildProvenance.Builder |
mergeFrom(BuildProvenance other)
public BuildProvenance.Builder mergeFrom(BuildProvenance other)
Name | Description |
other | BuildProvenance |
Type | Description |
BuildProvenance.Builder |
mergeSourceProvenance(Source value)
public BuildProvenance.Builder mergeSourceProvenance(Source value)
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;
Name | Description |
value | Source |
Type | Description |
BuildProvenance.Builder |
mergeStartTime(Timestamp value)
public BuildProvenance.Builder mergeStartTime(Timestamp value)
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
Name | Description |
value | Timestamp |
Type | Description |
BuildProvenance.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BuildProvenance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BuildProvenance.Builder |
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;
Name | Description |
values | Map<String,String> |
Type | Description |
BuildProvenance.Builder |
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;
Name | Description |
key | String |
value | String |
Type | Description |
BuildProvenance.Builder |
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;
Name | Description |
key | String |
Type | Description |
BuildProvenance.Builder |
removeBuiltArtifacts(int index)
public BuildProvenance.Builder removeBuiltArtifacts(int index)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Name | Description |
index | int |
Type | Description |
BuildProvenance.Builder |
removeCommands(int index)
public BuildProvenance.Builder removeCommands(int index)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Name | Description |
index | int |
Type | Description |
BuildProvenance.Builder |
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;
Name | Description |
value | String The builderVersion to set. |
Type | Description |
BuildProvenance.Builder | 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;
Name | Description |
value | ByteString The bytes for builderVersion to set. |
Type | Description |
BuildProvenance.Builder | 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;
Name | Description |
index | int |
value | Artifact |
Type | Description |
BuildProvenance.Builder |
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;
Name | Description |
index | int |
builderForValue | Artifact.Builder |
Type | Description |
BuildProvenance.Builder |
setCommands(int index, Command value)
public BuildProvenance.Builder setCommands(int index, Command value)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Name | Description |
index | int |
value | Command |
Type | Description |
BuildProvenance.Builder |
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;
Name | Description |
index | int |
builderForValue | Command.Builder |
Type | Description |
BuildProvenance.Builder |
setCreateTime(Timestamp value)
public BuildProvenance.Builder setCreateTime(Timestamp value)
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
BuildProvenance.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public BuildProvenance.Builder setCreateTime(Timestamp.Builder builderForValue)
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
Name | Description |
builderForValue | Builder |
Type | Description |
BuildProvenance.Builder |
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;
Name | Description |
value | String The creator to set. |
Type | Description |
BuildProvenance.Builder | 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;
Name | Description |
value | ByteString The bytes for creator to set. |
Type | Description |
BuildProvenance.Builder | 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;
Name | Description |
value | Timestamp |
Type | Description |
BuildProvenance.Builder |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
BuildProvenance.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BuildProvenance.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BuildProvenance.Builder |
setId(String value)
public BuildProvenance.Builder setId(String value)
Required. Unique identifier of the build.
string id = 1;
Name | Description |
value | String The id to set. |
Type | Description |
BuildProvenance.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public BuildProvenance.Builder setIdBytes(ByteString value)
Required. Unique identifier of the build.
string id = 1;
Name | Description |
value | ByteString The bytes for id to set. |
Type | Description |
BuildProvenance.Builder | 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;
Name | Description |
value | String The logsUri to set. |
Type | Description |
BuildProvenance.Builder | 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;
Name | Description |
value | ByteString The bytes for logsUri to set. |
Type | Description |
BuildProvenance.Builder | This builder for chaining. |
setProjectId(String value)
public BuildProvenance.Builder setProjectId(String value)
ID of the project.
string project_id = 2;
Name | Description |
value | String The projectId to set. |
Type | Description |
BuildProvenance.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
public BuildProvenance.Builder setProjectIdBytes(ByteString value)
ID of the project.
string project_id = 2;
Name | Description |
value | ByteString The bytes for projectId to set. |
Type | Description |
BuildProvenance.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BuildProvenance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BuildProvenance.Builder |
setSourceProvenance(Source value)
public BuildProvenance.Builder setSourceProvenance(Source value)
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;
Name | Description |
value | Source |
Type | Description |
BuildProvenance.Builder |
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;
Name | Description |
builderForValue | Source.Builder |
Type | Description |
BuildProvenance.Builder |
setStartTime(Timestamp value)
public BuildProvenance.Builder setStartTime(Timestamp value)
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
Name | Description |
value | Timestamp |
Type | Description |
BuildProvenance.Builder |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
BuildProvenance.Builder |
setTriggerId(String value)
public BuildProvenance.Builder setTriggerId(String value)
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;
Name | Description |
value | String The triggerId to set. |
Type | Description |
BuildProvenance.Builder | 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;
Name | Description |
value | ByteString The bytes for triggerId to set. |
Type | Description |
BuildProvenance.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BuildProvenance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BuildProvenance.Builder |