- 2.74.0 (latest)
- 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
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
()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public
BuildOccurrence
.
Builder
addRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
build()
public
BuildOccurrence
build
()
buildPartial()
public
BuildOccurrence
buildPartial
()
clear()
public
BuildOccurrence
.
Builder
clear
()
clearField(Descriptors.FieldDescriptor field)
public
BuildOccurrence
.
Builder
clearField
(
Descriptors
.
FieldDescriptor
field
)
clearInTotoSlsaProvenanceV1()
public
BuildOccurrence
.
Builder
clearInTotoSlsaProvenanceV1
()
In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance.
.grafeas.v1.InTotoSlsaProvenanceV1 in_toto_slsa_provenance_v1 = 5;
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;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public
BuildOccurrence
.
Builder
clearOneof
(
Descriptors
.
OneofDescriptor
oneof
)
clearProvenance()
public
BuildOccurrence
.
Builder
clearProvenance
()
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
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;
clone()
public
BuildOccurrence
.
Builder
clone
()
getDefaultInstanceForType()
public
BuildOccurrence
getDefaultInstanceForType
()
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
getInTotoSlsaProvenanceV1()
public
InTotoSlsaProvenanceV1
getInTotoSlsaProvenanceV1
()
In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance.
.grafeas.v1.InTotoSlsaProvenanceV1 in_toto_slsa_provenance_v1 = 5;
getInTotoSlsaProvenanceV1Builder()
public
InTotoSlsaProvenanceV1
.
Builder
getInTotoSlsaProvenanceV1Builder
()
In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance.
.grafeas.v1.InTotoSlsaProvenanceV1 in_toto_slsa_provenance_v1 = 5;
getInTotoSlsaProvenanceV1OrBuilder()
public
InTotoSlsaProvenanceV1OrBuilder
getInTotoSlsaProvenanceV1OrBuilder
()
In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance.
.grafeas.v1.InTotoSlsaProvenanceV1 in_toto_slsa_provenance_v1 = 5;
getIntotoProvenance()
public
InTotoProvenance
getIntotoProvenance
()
Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
.grafeas.v1.InTotoProvenance intoto_provenance = 3;
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;
getIntotoProvenanceOrBuilder()
public
InTotoProvenanceOrBuilder
getIntotoProvenanceOrBuilder
()
Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
.grafeas.v1.InTotoProvenance intoto_provenance = 3;
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;
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;
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;
getProvenance()
public
BuildProvenance
getProvenance
()
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
getProvenanceBuilder()
public
BuildProvenance
.
Builder
getProvenanceBuilder
()
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
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;
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;
getProvenanceOrBuilder()
public
BuildProvenanceOrBuilder
getProvenanceOrBuilder
()
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
hasInTotoSlsaProvenanceV1()
public
boolean
hasInTotoSlsaProvenanceV1
()
In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance.
.grafeas.v1.InTotoSlsaProvenanceV1 in_toto_slsa_provenance_v1 = 5;
hasIntotoProvenance()
public
boolean
hasIntotoProvenance
()
Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
.grafeas.v1.InTotoProvenance intoto_provenance = 3;
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;
hasProvenance()
public
boolean
hasProvenance
()
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
BuildOccurrence
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
mergeFrom(Message other)
public
BuildOccurrence
.
Builder
mergeFrom
(
Message
other
)
mergeFrom(BuildOccurrence other)
public
BuildOccurrence
.
Builder
mergeFrom
(
BuildOccurrence
other
)
mergeInTotoSlsaProvenanceV1(InTotoSlsaProvenanceV1 value)
public
BuildOccurrence
.
Builder
mergeInTotoSlsaProvenanceV1
(
InTotoSlsaProvenanceV1
value
)
In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance.
.grafeas.v1.InTotoSlsaProvenanceV1 in_toto_slsa_provenance_v1 = 5;
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;
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;
mergeProvenance(BuildProvenance value)
public
BuildOccurrence
.
Builder
mergeProvenance
(
BuildProvenance
value
)
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public
final
BuildOccurrence
.
Builder
mergeUnknownFields
(
UnknownFieldSet
unknownFields
)
setField(Descriptors.FieldDescriptor field, Object value)
public
BuildOccurrence
.
Builder
setField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
setInTotoSlsaProvenanceV1(InTotoSlsaProvenanceV1 value)
public
BuildOccurrence
.
Builder
setInTotoSlsaProvenanceV1
(
InTotoSlsaProvenanceV1
value
)
In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance.
.grafeas.v1.InTotoSlsaProvenanceV1 in_toto_slsa_provenance_v1 = 5;
setInTotoSlsaProvenanceV1(InTotoSlsaProvenanceV1.Builder builderForValue)
public
BuildOccurrence
.
Builder
setInTotoSlsaProvenanceV1
(
InTotoSlsaProvenanceV1
.
Builder
builderForValue
)
In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance.
.grafeas.v1.InTotoSlsaProvenanceV1 in_toto_slsa_provenance_v1 = 5;
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;
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;
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;
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;
setProvenance(BuildProvenance value)
public
BuildOccurrence
.
Builder
setProvenance
(
BuildProvenance
value
)
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
setProvenance(BuildProvenance.Builder builderForValue)
public
BuildOccurrence
.
Builder
setProvenance
(
BuildProvenance
.
Builder
builderForValue
)
The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public
BuildOccurrence
.
Builder
setRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
int
index
,
Object
value
)
setUnknownFields(UnknownFieldSet unknownFields)
public
final
BuildOccurrence
.
Builder
setUnknownFields
(
UnknownFieldSet
unknownFields
)