- 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 BuildOccurrence.Builder extends GeneratedMessageV3.Builder<BuildOccurrence.Builder> implements BuildOccurrenceOrBuilder
Details of a build occurrence.
Protobuf type grafeas.v1.BuildOccurrence
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BuildOccurrence.BuilderImplements
BuildOccurrenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BuildOccurrence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BuildOccurrence.Builder |
build()
public BuildOccurrence build()
Type | Description |
BuildOccurrence |
buildPartial()
public BuildOccurrence buildPartial()
Type | Description |
BuildOccurrence |
clear()
public BuildOccurrence.Builder clear()
Type | Description |
BuildOccurrence.Builder |
clearField(Descriptors.FieldDescriptor field)
public BuildOccurrence.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BuildOccurrence.Builder |
clearIntotoProvenance()
public BuildOccurrence.Builder clearIntotoProvenance()
Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
.grafeas.v1.InTotoProvenance intoto_provenance = 3;
Type | Description |
BuildOccurrence.Builder |
clearIntotoStatement()
public BuildOccurrence.Builder clearIntotoStatement()
In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope.
.grafeas.v1.InTotoStatement intoto_statement = 4;
Type | Description |
BuildOccurrence.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BuildOccurrence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BuildOccurrence.Builder |
clearProvenance()
public BuildOccurrence.Builder clearProvenance()
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
Type | Description |
BuildOccurrence.Builder |
clearProvenanceBytes()
public BuildOccurrence.Builder clearProvenanceBytes()
Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature, provenance_bytes
can be unmarshalled and compared to the
provenance to confirm that it is unchanged. A base64-encoded string
representation of the provenance bytes is used for the signature in order
to interoperate with openssl which expects this format for signature
verification.
The serialized form is captured both to avoid ambiguity in how the
provenance is marshalled to json as well to prevent incompatibilities with
future changes.
string provenance_bytes = 2;
Type | Description |
BuildOccurrence.Builder | This builder for chaining. |
clone()
public BuildOccurrence.Builder clone()
Type | Description |
BuildOccurrence.Builder |
getDefaultInstanceForType()
public BuildOccurrence getDefaultInstanceForType()
Type | Description |
BuildOccurrence |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getIntotoProvenance()
public InTotoProvenance getIntotoProvenance()
Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
.grafeas.v1.InTotoProvenance intoto_provenance = 3;
Type | Description |
InTotoProvenance | The intotoProvenance. |
getIntotoProvenanceBuilder()
public InTotoProvenance.Builder getIntotoProvenanceBuilder()
Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
.grafeas.v1.InTotoProvenance intoto_provenance = 3;
Type | Description |
InTotoProvenance.Builder |
getIntotoProvenanceOrBuilder()
public InTotoProvenanceOrBuilder getIntotoProvenanceOrBuilder()
Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
.grafeas.v1.InTotoProvenance intoto_provenance = 3;
Type | Description |
InTotoProvenanceOrBuilder |
getIntotoStatement()
public InTotoStatement getIntotoStatement()
In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope.
.grafeas.v1.InTotoStatement intoto_statement = 4;
Type | Description |
InTotoStatement | The intotoStatement. |
getIntotoStatementBuilder()
public InTotoStatement.Builder getIntotoStatementBuilder()
In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope.
.grafeas.v1.InTotoStatement intoto_statement = 4;
Type | Description |
InTotoStatement.Builder |
getIntotoStatementOrBuilder()
public InTotoStatementOrBuilder getIntotoStatementOrBuilder()
In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope.
.grafeas.v1.InTotoStatement intoto_statement = 4;
Type | Description |
InTotoStatementOrBuilder |
getProvenance()
public BuildProvenance getProvenance()
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
Type | Description |
BuildProvenance | The provenance. |
getProvenanceBuilder()
public BuildProvenance.Builder getProvenanceBuilder()
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
Type | Description |
BuildProvenance.Builder |
getProvenanceBytes()
public String getProvenanceBytes()
Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature, provenance_bytes
can be unmarshalled and compared to the
provenance to confirm that it is unchanged. A base64-encoded string
representation of the provenance bytes is used for the signature in order
to interoperate with openssl which expects this format for signature
verification.
The serialized form is captured both to avoid ambiguity in how the
provenance is marshalled to json as well to prevent incompatibilities with
future changes.
string provenance_bytes = 2;
Type | Description |
String | The provenanceBytes. |
getProvenanceBytesBytes()
public ByteString getProvenanceBytesBytes()
Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature, provenance_bytes
can be unmarshalled and compared to the
provenance to confirm that it is unchanged. A base64-encoded string
representation of the provenance bytes is used for the signature in order
to interoperate with openssl which expects this format for signature
verification.
The serialized form is captured both to avoid ambiguity in how the
provenance is marshalled to json as well to prevent incompatibilities with
future changes.
string provenance_bytes = 2;
Type | Description |
ByteString | The bytes for provenanceBytes. |
getProvenanceOrBuilder()
public BuildProvenanceOrBuilder getProvenanceOrBuilder()
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
Type | Description |
BuildProvenanceOrBuilder |
hasIntotoProvenance()
public boolean hasIntotoProvenance()
Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
.grafeas.v1.InTotoProvenance intoto_provenance = 3;
Type | Description |
boolean | Whether the intotoProvenance field is set. |
hasIntotoStatement()
public boolean hasIntotoStatement()
In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope.
.grafeas.v1.InTotoStatement intoto_statement = 4;
Type | Description |
boolean | Whether the intotoStatement field is set. |
hasProvenance()
public boolean hasProvenance()
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
Type | Description |
boolean | Whether the provenance field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BuildOccurrence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BuildOccurrence.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BuildOccurrence.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BuildOccurrence.Builder |
mergeFrom(BuildOccurrence other)
public BuildOccurrence.Builder mergeFrom(BuildOccurrence other)
Name | Description |
other | BuildOccurrence |
Type | Description |
BuildOccurrence.Builder |
mergeIntotoProvenance(InTotoProvenance value)
public BuildOccurrence.Builder mergeIntotoProvenance(InTotoProvenance value)
Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
.grafeas.v1.InTotoProvenance intoto_provenance = 3;
Name | Description |
value | InTotoProvenance |
Type | Description |
BuildOccurrence.Builder |
mergeIntotoStatement(InTotoStatement value)
public BuildOccurrence.Builder mergeIntotoStatement(InTotoStatement value)
In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope.
.grafeas.v1.InTotoStatement intoto_statement = 4;
Name | Description |
value | InTotoStatement |
Type | Description |
BuildOccurrence.Builder |
mergeProvenance(BuildProvenance value)
public BuildOccurrence.Builder mergeProvenance(BuildProvenance value)
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
Name | Description |
value | BuildProvenance |
Type | Description |
BuildOccurrence.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BuildOccurrence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BuildOccurrence.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BuildOccurrence.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BuildOccurrence.Builder |
setIntotoProvenance(InTotoProvenance value)
public BuildOccurrence.Builder setIntotoProvenance(InTotoProvenance value)
Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
.grafeas.v1.InTotoProvenance intoto_provenance = 3;
Name | Description |
value | InTotoProvenance |
Type | Description |
BuildOccurrence.Builder |
setIntotoProvenance(InTotoProvenance.Builder builderForValue)
public BuildOccurrence.Builder setIntotoProvenance(InTotoProvenance.Builder builderForValue)
Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
.grafeas.v1.InTotoProvenance intoto_provenance = 3;
Name | Description |
builderForValue | InTotoProvenance.Builder |
Type | Description |
BuildOccurrence.Builder |
setIntotoStatement(InTotoStatement value)
public BuildOccurrence.Builder setIntotoStatement(InTotoStatement value)
In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope.
.grafeas.v1.InTotoStatement intoto_statement = 4;
Name | Description |
value | InTotoStatement |
Type | Description |
BuildOccurrence.Builder |
setIntotoStatement(InTotoStatement.Builder builderForValue)
public BuildOccurrence.Builder setIntotoStatement(InTotoStatement.Builder builderForValue)
In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope.
.grafeas.v1.InTotoStatement intoto_statement = 4;
Name | Description |
builderForValue | InTotoStatement.Builder |
Type | Description |
BuildOccurrence.Builder |
setProvenance(BuildProvenance value)
public BuildOccurrence.Builder setProvenance(BuildProvenance value)
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
Name | Description |
value | BuildProvenance |
Type | Description |
BuildOccurrence.Builder |
setProvenance(BuildProvenance.Builder builderForValue)
public BuildOccurrence.Builder setProvenance(BuildProvenance.Builder builderForValue)
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
Name | Description |
builderForValue | BuildProvenance.Builder |
Type | Description |
BuildOccurrence.Builder |
setProvenanceBytes(String value)
public BuildOccurrence.Builder setProvenanceBytes(String value)
Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature, provenance_bytes
can be unmarshalled and compared to the
provenance to confirm that it is unchanged. A base64-encoded string
representation of the provenance bytes is used for the signature in order
to interoperate with openssl which expects this format for signature
verification.
The serialized form is captured both to avoid ambiguity in how the
provenance is marshalled to json as well to prevent incompatibilities with
future changes.
string provenance_bytes = 2;
Name | Description |
value | String The provenanceBytes to set. |
Type | Description |
BuildOccurrence.Builder | This builder for chaining. |
setProvenanceBytesBytes(ByteString value)
public BuildOccurrence.Builder setProvenanceBytesBytes(ByteString value)
Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature, provenance_bytes
can be unmarshalled and compared to the
provenance to confirm that it is unchanged. A base64-encoded string
representation of the provenance bytes is used for the signature in order
to interoperate with openssl which expects this format for signature
verification.
The serialized form is captured both to avoid ambiguity in how the
provenance is marshalled to json as well to prevent incompatibilities with
future changes.
string provenance_bytes = 2;
Name | Description |
value | ByteString The bytes for provenanceBytes to set. |
Type | Description |
BuildOccurrence.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BuildOccurrence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BuildOccurrence.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BuildOccurrence.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BuildOccurrence.Builder |