- 2.77.0 (latest)
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 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 Metadata.Builder extends GeneratedMessageV3.Builder<Metadata.Builder> implements MetadataOrBuilderOther properties of the build.
Protobuf type grafeas.v1.Metadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Metadata.BuilderImplements
MetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Metadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
build()
public Metadata build()| Returns | |
|---|---|
| Type | Description |
Metadata |
|
buildPartial()
public Metadata buildPartial()| Returns | |
|---|---|
| Type | Description |
Metadata |
|
clear()
public Metadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
clearBuildFinishedOn()
public Metadata.Builder clearBuildFinishedOn()The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
clearBuildInvocationId()
public Metadata.Builder clearBuildInvocationId()Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
string build_invocation_id = 1;
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
This builder for chaining. |
clearBuildStartedOn()
public Metadata.Builder clearBuildStartedOn()The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
clearCompleteness()
public Metadata.Builder clearCompleteness()Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.Completeness completeness = 4;
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public Metadata.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public Metadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
clearReproducible()
public Metadata.Builder clearReproducible()If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
bool reproducible = 5;
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
This builder for chaining. |
clone()
public Metadata.Builder clone()| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
getBuildFinishedOn()
public Timestamp getBuildFinishedOn()The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The buildFinishedOn. |
getBuildFinishedOnBuilder()
public Timestamp.Builder getBuildFinishedOnBuilder()The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getBuildFinishedOnOrBuilder()
public TimestampOrBuilder getBuildFinishedOnOrBuilder()The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getBuildInvocationId()
public String getBuildInvocationId()Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
string build_invocation_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The buildInvocationId. |
getBuildInvocationIdBytes()
public ByteString getBuildInvocationIdBytes()Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
string build_invocation_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for buildInvocationId. |
getBuildStartedOn()
public Timestamp getBuildStartedOn()The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The buildStartedOn. |
getBuildStartedOnBuilder()
public Timestamp.Builder getBuildStartedOnBuilder()The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getBuildStartedOnOrBuilder()
public TimestampOrBuilder getBuildStartedOnOrBuilder()The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getCompleteness()
public Completeness getCompleteness()Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.Completeness completeness = 4;
| Returns | |
|---|---|
| Type | Description |
Completeness |
The completeness. |
getCompletenessBuilder()
public Completeness.Builder getCompletenessBuilder()Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.Completeness completeness = 4;
| Returns | |
|---|---|
| Type | Description |
Completeness.Builder |
|
getCompletenessOrBuilder()
public CompletenessOrBuilder getCompletenessOrBuilder()Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.Completeness completeness = 4;
| Returns | |
|---|---|
| Type | Description |
CompletenessOrBuilder |
|
getDefaultInstanceForType()
public Metadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Metadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getReproducible()
public boolean getReproducible()If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
bool reproducible = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
The reproducible. |
hasBuildFinishedOn()
public boolean hasBuildFinishedOn()The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the buildFinishedOn field is set. |
hasBuildStartedOn()
public boolean hasBuildStartedOn()The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the buildStartedOn field is set. |
hasCompleteness()
public boolean hasCompleteness()Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.Completeness completeness = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the completeness field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBuildFinishedOn(Timestamp value)
public Metadata.Builder mergeBuildFinishedOn(Timestamp value)The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
mergeBuildStartedOn(Timestamp value)
public Metadata.Builder mergeBuildStartedOn(Timestamp value)The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
mergeCompleteness(Completeness value)
public Metadata.Builder mergeCompleteness(Completeness value)Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.Completeness completeness = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Completeness |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Metadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Metadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
mergeFrom(Metadata other)
public Metadata.Builder mergeFrom(Metadata other)| Parameter | |
|---|---|
| Name | Description |
other |
Metadata |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Metadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
setBuildFinishedOn(Timestamp value)
public Metadata.Builder setBuildFinishedOn(Timestamp value)The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
setBuildFinishedOn(Timestamp.Builder builderForValue)
public Metadata.Builder setBuildFinishedOn(Timestamp.Builder builderForValue)The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
setBuildInvocationId(String value)
public Metadata.Builder setBuildInvocationId(String value)Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
string build_invocation_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe buildInvocationId to set. |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
This builder for chaining. |
setBuildInvocationIdBytes(ByteString value)
public Metadata.Builder setBuildInvocationIdBytes(ByteString value)Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
string build_invocation_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for buildInvocationId to set. |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
This builder for chaining. |
setBuildStartedOn(Timestamp value)
public Metadata.Builder setBuildStartedOn(Timestamp value)The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
setBuildStartedOn(Timestamp.Builder builderForValue)
public Metadata.Builder setBuildStartedOn(Timestamp.Builder builderForValue)The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
setCompleteness(Completeness value)
public Metadata.Builder setCompleteness(Completeness value)Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.Completeness completeness = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Completeness |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
setCompleteness(Completeness.Builder builderForValue)
public Metadata.Builder setCompleteness(Completeness.Builder builderForValue)Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.Completeness completeness = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Completeness.Builder |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public Metadata.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Metadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
setReproducible(boolean value)
public Metadata.Builder setReproducible(boolean value)If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
bool reproducible = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe reproducible to set. |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Metadata.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|