Interface InTotoStatementOrBuilder (2.28.0)

public interface InTotoStatementOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPredicateCase()

public abstract InTotoStatement.PredicateCase getPredicateCase()
Returns
TypeDescription
InTotoStatement.PredicateCase

getPredicateType()

public abstract String getPredicateType()

https://slsa.dev/provenance/v0.1 for SlsaProvenance.

string predicate_type = 3;

Returns
TypeDescription
String

The predicateType.

getPredicateTypeBytes()

public abstract ByteString getPredicateTypeBytes()

https://slsa.dev/provenance/v0.1 for SlsaProvenance.

string predicate_type = 3;

Returns
TypeDescription
ByteString

The bytes for predicateType.

getProvenance()

public abstract InTotoProvenance getProvenance()

.grafeas.v1.InTotoProvenance provenance = 4;

Returns
TypeDescription
InTotoProvenance

The provenance.

getProvenanceOrBuilder()

public abstract InTotoProvenanceOrBuilder getProvenanceOrBuilder()

.grafeas.v1.InTotoProvenance provenance = 4;

Returns
TypeDescription
InTotoProvenanceOrBuilder

getSlsaProvenance()

public abstract SlsaProvenance getSlsaProvenance()

.grafeas.v1.SlsaProvenance slsa_provenance = 5;

Returns
TypeDescription
SlsaProvenance

The slsaProvenance.

getSlsaProvenanceOrBuilder()

public abstract SlsaProvenanceOrBuilder getSlsaProvenanceOrBuilder()

.grafeas.v1.SlsaProvenance slsa_provenance = 5;

Returns
TypeDescription
SlsaProvenanceOrBuilder

getSlsaProvenanceZeroTwo()

public abstract SlsaProvenanceZeroTwo getSlsaProvenanceZeroTwo()

.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;

Returns
TypeDescription
SlsaProvenanceZeroTwo

The slsaProvenanceZeroTwo.

getSlsaProvenanceZeroTwoOrBuilder()

public abstract SlsaProvenanceZeroTwoOrBuilder getSlsaProvenanceZeroTwoOrBuilder()

.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;

Returns
TypeDescription
SlsaProvenanceZeroTwoOrBuilder

getSubject(int index)

public abstract Subject getSubject(int index)

repeated .grafeas.v1.Subject subject = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Subject

getSubjectCount()

public abstract int getSubjectCount()

repeated .grafeas.v1.Subject subject = 2;

Returns
TypeDescription
int

getSubjectList()

public abstract List<Subject> getSubjectList()

repeated .grafeas.v1.Subject subject = 2;

Returns
TypeDescription
List<Subject>

getSubjectOrBuilder(int index)

public abstract SubjectOrBuilder getSubjectOrBuilder(int index)

repeated .grafeas.v1.Subject subject = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
SubjectOrBuilder

getSubjectOrBuilderList()

public abstract List<? extends SubjectOrBuilder> getSubjectOrBuilderList()

repeated .grafeas.v1.Subject subject = 2;

Returns
TypeDescription
List<? extends io.grafeas.v1.SubjectOrBuilder>

getType()

public abstract String getType()

Always https://in-toto.io/Statement/v0.1.

string type = 1 [json_name = "_type"];

Returns
TypeDescription
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

Always https://in-toto.io/Statement/v0.1.

string type = 1 [json_name = "_type"];

Returns
TypeDescription
ByteString

The bytes for type.

hasProvenance()

public abstract boolean hasProvenance()

.grafeas.v1.InTotoProvenance provenance = 4;

Returns
TypeDescription
boolean

Whether the provenance field is set.

hasSlsaProvenance()

public abstract boolean hasSlsaProvenance()

.grafeas.v1.SlsaProvenance slsa_provenance = 5;

Returns
TypeDescription
boolean

Whether the slsaProvenance field is set.

hasSlsaProvenanceZeroTwo()

public abstract boolean hasSlsaProvenanceZeroTwo()

.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;

Returns
TypeDescription
boolean

Whether the slsaProvenanceZeroTwo field is set.