- 2.54.0 (latest)
- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends io.grafeas.v1.Artifact> |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends io.grafeas.v1.Command> |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | Artifact |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Artifact.Builder |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
addBuiltArtifacts(Artifact value)
public BuildProvenance.Builder addBuiltArtifacts(Artifact value)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Parameter | |
---|---|
Name | Description |
value | Artifact |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Artifact.Builder |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
addBuiltArtifactsBuilder()
public Artifact.Builder addBuiltArtifactsBuilder()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Returns | |
---|---|
Type | Description |
Artifact.Builder |
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 |
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | Command |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Command.Builder |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
addCommands(Command value)
public BuildProvenance.Builder addCommands(Command value)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Parameter | |
---|---|
Name | Description |
value | Command |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Command.Builder |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
addCommandsBuilder()
public Command.Builder addCommandsBuilder()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Returns | |
---|---|
Type | Description |
Command.Builder |
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 |
Command.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BuildProvenance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
build()
public BuildProvenance build()
Returns | |
---|---|
Type | Description |
BuildProvenance |
buildPartial()
public BuildProvenance buildPartial()
Returns | |
---|---|
Type | Description |
BuildProvenance |
clear()
public BuildProvenance.Builder clear()
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
clearBuildOptions()
public BuildProvenance.Builder clearBuildOptions()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder | This builder for chaining. |
clearBuiltArtifacts()
public BuildProvenance.Builder clearBuiltArtifacts()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
clearCommands()
public BuildProvenance.Builder clearCommands()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
clearCreateTime()
public BuildProvenance.Builder clearCreateTime()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
clearField(Descriptors.FieldDescriptor field)
public BuildProvenance.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
clearId()
public BuildProvenance.Builder clearId()
Required. Unique identifier of the build.
string id = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BuildProvenance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
clearProjectId()
public BuildProvenance.Builder clearProjectId()
ID of the project.
string project_id = 2;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
clearStartTime()
public BuildProvenance.Builder clearStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
clearTriggerId()
public BuildProvenance.Builder clearTriggerId()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder | This builder for chaining. |
clone()
public BuildProvenance.Builder clone()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
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 | String |
defaultValue | String |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getBuilderVersion()
public String getBuilderVersion()
Version string of the builder at the time this build was executed.
string builder_version = 13;
Returns | |
---|---|
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;
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Artifact |
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 |
Artifact.Builder |
getBuiltArtifactsBuilderList()
public List<Artifact.Builder> getBuiltArtifactsBuilderList()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
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 |
List<Artifact> |
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 |
ArtifactOrBuilder |
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 |
Command |
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 |
Command.Builder |
getCommandsBuilderList()
public List<Command.Builder> getCommandsBuilderList()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Returns | |
---|---|
Type | Description |
List<Builder> |
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 |
List<Command> |
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 |
CommandOrBuilder |
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 |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for creator. |
getDefaultInstanceForType()
public BuildProvenance getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BuildProvenance |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getId()
public String getId()
Required. Unique identifier of the build.
string id = 1;
Returns | |
---|---|
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
Required. Unique identifier of the build.
string id = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for id. |
getLogsUri()
public String getLogsUri()
URI where any logs for this provenance were written.
string logs_uri = 9;
Returns | |
---|---|
Type | Description |
String | The logsUri. |
getLogsUriBytes()
public ByteString getLogsUriBytes()
URI where any logs for this provenance were written.
string logs_uri = 9;
Returns | |
---|---|
Type | Description |
ByteString | 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 |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
ID of the project.
string project_id = 2;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Source | The sourceProvenance. |
getSourceProvenanceBuilder()
public Source.Builder getSourceProvenanceBuilder()
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;
Returns | |
---|---|
Type | Description |
Source.Builder |
getSourceProvenanceOrBuilder()
public SourceOrBuilder getSourceProvenanceOrBuilder()
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;
Returns | |
---|---|
Type | Description |
SourceOrBuilder |
getStartTime()
public Timestamp getStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getTriggerId()
public String getTriggerId()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;
Returns | |
---|---|
Type | Description |
String | The triggerId. |
getTriggerIdBytes()
public ByteString getTriggerIdBytes()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for triggerId. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BuildProvenance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BuildProvenance.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
mergeFrom(BuildProvenance other)
public BuildProvenance.Builder mergeFrom(BuildProvenance other)
Parameter | |
---|---|
Name | Description |
other | BuildProvenance |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Source |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BuildProvenance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
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 |
BuildProvenance.Builder |
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 |
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;
Parameter | |
---|---|
Name | Description |
value | String The builderVersion to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for builderVersion to set. |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | Artifact |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Artifact.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | Command |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Command.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The creator to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for creator to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BuildProvenance.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |
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 |
BuildProvenance.Builder | 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 |
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;
Parameter | |
---|---|
Name | Description |
value | String The logsUri to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for logsUri to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The projectId to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for projectId to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Source |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Source.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The triggerId to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for triggerId to set. |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BuildProvenance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BuildProvenance.Builder |