Interface InTotoStatementOrBuilder (2.46.0)

public interface InTotoStatementOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPredicateCase()

public abstract InTotoStatement.PredicateCase getPredicateCase()
Returns
Type Description
InTotoStatement.PredicateCase

getPredicateType()

public abstract String getPredicateType()

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

string predicate_type = 3;

Returns
Type Description
String

The predicateType.

getPredicateTypeBytes()

public abstract ByteString getPredicateTypeBytes()

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

string predicate_type = 3;

Returns
Type Description
ByteString

The bytes for predicateType.

getProvenance()

public abstract InTotoProvenance getProvenance()

.grafeas.v1.InTotoProvenance provenance = 4;

Returns
Type Description
InTotoProvenance

The provenance.

getProvenanceOrBuilder()

public abstract InTotoProvenanceOrBuilder getProvenanceOrBuilder()

.grafeas.v1.InTotoProvenance provenance = 4;

Returns
Type Description
InTotoProvenanceOrBuilder

getSlsaProvenance()

public abstract SlsaProvenance getSlsaProvenance()

.grafeas.v1.SlsaProvenance slsa_provenance = 5;

Returns
Type Description
SlsaProvenance

The slsaProvenance.

getSlsaProvenanceOrBuilder()

public abstract SlsaProvenanceOrBuilder getSlsaProvenanceOrBuilder()

.grafeas.v1.SlsaProvenance slsa_provenance = 5;

Returns
Type Description
SlsaProvenanceOrBuilder

getSlsaProvenanceZeroTwo()

public abstract SlsaProvenanceZeroTwo getSlsaProvenanceZeroTwo()

.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;

Returns
Type Description
SlsaProvenanceZeroTwo

The slsaProvenanceZeroTwo.

getSlsaProvenanceZeroTwoOrBuilder()

public abstract SlsaProvenanceZeroTwoOrBuilder getSlsaProvenanceZeroTwoOrBuilder()

.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;

Returns
Type Description
SlsaProvenanceZeroTwoOrBuilder

getSubject(int index)

public abstract Subject getSubject(int index)

repeated .grafeas.v1.Subject subject = 2;

Parameter
Name Description
index int
Returns
Type Description
Subject

getSubjectCount()

public abstract int getSubjectCount()

repeated .grafeas.v1.Subject subject = 2;

Returns
Type Description
int

getSubjectList()

public abstract List<Subject> getSubjectList()

repeated .grafeas.v1.Subject subject = 2;

Returns
Type Description
List<Subject>

getSubjectOrBuilder(int index)

public abstract SubjectOrBuilder getSubjectOrBuilder(int index)

repeated .grafeas.v1.Subject subject = 2;

Parameter
Name Description
index int
Returns
Type Description
SubjectOrBuilder

getSubjectOrBuilderList()

public abstract List<? extends SubjectOrBuilder> getSubjectOrBuilderList()

repeated .grafeas.v1.Subject subject = 2;

Returns
Type Description
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
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

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

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

Returns
Type Description
ByteString

The bytes for type.

hasProvenance()

public abstract boolean hasProvenance()

.grafeas.v1.InTotoProvenance provenance = 4;

Returns
Type Description
boolean

Whether the provenance field is set.

hasSlsaProvenance()

public abstract boolean hasSlsaProvenance()

.grafeas.v1.SlsaProvenance slsa_provenance = 5;

Returns
Type Description
boolean

Whether the slsaProvenance field is set.

hasSlsaProvenanceZeroTwo()

public abstract boolean hasSlsaProvenanceZeroTwo()

.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;

Returns
Type Description
boolean

Whether the slsaProvenanceZeroTwo field is set.