public static final class InTotoStatement.Builder extends GeneratedMessageV3.Builder<InTotoStatement.Builder> implements InTotoStatementOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllSubject(Iterable<? extends Subject> values)
public InTotoStatement.Builder addAllSubject(Iterable<? extends Subject> values)
repeated .grafeas.v1.Subject subject = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends io.grafeas.v1.Subject>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InTotoStatement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSubject(int index, Subject value)
public InTotoStatement.Builder addSubject(int index, Subject value)
repeated .grafeas.v1.Subject subject = 2;
Parameters |
Name |
Description |
index |
int
|
value |
Subject
|
addSubject(int index, Subject.Builder builderForValue)
public InTotoStatement.Builder addSubject(int index, Subject.Builder builderForValue)
repeated .grafeas.v1.Subject subject = 2;
addSubject(Subject value)
public InTotoStatement.Builder addSubject(Subject value)
repeated .grafeas.v1.Subject subject = 2;
Parameter |
Name |
Description |
value |
Subject
|
addSubject(Subject.Builder builderForValue)
public InTotoStatement.Builder addSubject(Subject.Builder builderForValue)
repeated .grafeas.v1.Subject subject = 2;
addSubjectBuilder()
public Subject.Builder addSubjectBuilder()
repeated .grafeas.v1.Subject subject = 2;
addSubjectBuilder(int index)
public Subject.Builder addSubjectBuilder(int index)
repeated .grafeas.v1.Subject subject = 2;
Parameter |
Name |
Description |
index |
int
|
build()
public InTotoStatement build()
buildPartial()
public InTotoStatement buildPartial()
clear()
public InTotoStatement.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InTotoStatement.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InTotoStatement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPredicate()
public InTotoStatement.Builder clearPredicate()
clearPredicateType()
public InTotoStatement.Builder clearPredicateType()
clearProvenance()
public InTotoStatement.Builder clearProvenance()
.grafeas.v1.InTotoProvenance provenance = 4;
clearSlsaProvenance()
public InTotoStatement.Builder clearSlsaProvenance()
.grafeas.v1.SlsaProvenance slsa_provenance = 5;
clearSlsaProvenanceZeroTwo()
public InTotoStatement.Builder clearSlsaProvenanceZeroTwo()
.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
clearSubject()
public InTotoStatement.Builder clearSubject()
repeated .grafeas.v1.Subject subject = 2;
clearType()
public InTotoStatement.Builder clearType()
clone()
public InTotoStatement.Builder clone()
Overrides
getDefaultInstanceForType()
public InTotoStatement getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPredicateCase()
public InTotoStatement.PredicateCase getPredicateCase()
getPredicateType()
public String getPredicateType()
Returns |
Type |
Description |
String |
The predicateType.
|
getPredicateTypeBytes()
public ByteString getPredicateTypeBytes()
Returns |
Type |
Description |
ByteString |
The bytes for predicateType.
|
getProvenance()
public InTotoProvenance getProvenance()
.grafeas.v1.InTotoProvenance provenance = 4;
getProvenanceBuilder()
public InTotoProvenance.Builder getProvenanceBuilder()
.grafeas.v1.InTotoProvenance provenance = 4;
getProvenanceOrBuilder()
public InTotoProvenanceOrBuilder getProvenanceOrBuilder()
.grafeas.v1.InTotoProvenance provenance = 4;
getSlsaProvenance()
public SlsaProvenance getSlsaProvenance()
.grafeas.v1.SlsaProvenance slsa_provenance = 5;
getSlsaProvenanceBuilder()
public SlsaProvenance.Builder getSlsaProvenanceBuilder()
.grafeas.v1.SlsaProvenance slsa_provenance = 5;
getSlsaProvenanceOrBuilder()
public SlsaProvenanceOrBuilder getSlsaProvenanceOrBuilder()
.grafeas.v1.SlsaProvenance slsa_provenance = 5;
getSlsaProvenanceZeroTwo()
public SlsaProvenanceZeroTwo getSlsaProvenanceZeroTwo()
.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
getSlsaProvenanceZeroTwoBuilder()
public SlsaProvenanceZeroTwo.Builder getSlsaProvenanceZeroTwoBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
getSlsaProvenanceZeroTwoOrBuilder()
public SlsaProvenanceZeroTwoOrBuilder getSlsaProvenanceZeroTwoOrBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
getSubject(int index)
public Subject getSubject(int index)
repeated .grafeas.v1.Subject subject = 2;
Parameter |
Name |
Description |
index |
int
|
getSubjectBuilder(int index)
public Subject.Builder getSubjectBuilder(int index)
repeated .grafeas.v1.Subject subject = 2;
Parameter |
Name |
Description |
index |
int
|
getSubjectBuilderList()
public List<Subject.Builder> getSubjectBuilderList()
repeated .grafeas.v1.Subject subject = 2;
getSubjectCount()
public int getSubjectCount()
repeated .grafeas.v1.Subject subject = 2;
Returns |
Type |
Description |
int |
|
getSubjectList()
public List<Subject> getSubjectList()
repeated .grafeas.v1.Subject subject = 2;
getSubjectOrBuilder(int index)
public SubjectOrBuilder getSubjectOrBuilder(int index)
repeated .grafeas.v1.Subject subject = 2;
Parameter |
Name |
Description |
index |
int
|
getSubjectOrBuilderList()
public List<? extends SubjectOrBuilder> getSubjectOrBuilderList()
repeated .grafeas.v1.Subject subject = 2;
Returns |
Type |
Description |
List<? extends io.grafeas.v1.SubjectOrBuilder> |
|
getType()
Returns |
Type |
Description |
String |
The type.
|
getTypeBytes()
public ByteString getTypeBytes()
Returns |
Type |
Description |
ByteString |
The bytes for type.
|
hasProvenance()
public boolean hasProvenance()
.grafeas.v1.InTotoProvenance provenance = 4;
Returns |
Type |
Description |
boolean |
Whether the provenance field is set.
|
hasSlsaProvenance()
public boolean hasSlsaProvenance()
.grafeas.v1.SlsaProvenance slsa_provenance = 5;
Returns |
Type |
Description |
boolean |
Whether the slsaProvenance field is set.
|
hasSlsaProvenanceZeroTwo()
public boolean hasSlsaProvenanceZeroTwo()
.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
Returns |
Type |
Description |
boolean |
Whether the slsaProvenanceZeroTwo field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public InTotoStatement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InTotoStatement.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(InTotoStatement other)
public InTotoStatement.Builder mergeFrom(InTotoStatement other)
mergeProvenance(InTotoProvenance value)
public InTotoStatement.Builder mergeProvenance(InTotoProvenance value)
.grafeas.v1.InTotoProvenance provenance = 4;
mergeSlsaProvenance(SlsaProvenance value)
public InTotoStatement.Builder mergeSlsaProvenance(SlsaProvenance value)
.grafeas.v1.SlsaProvenance slsa_provenance = 5;
mergeSlsaProvenanceZeroTwo(SlsaProvenanceZeroTwo value)
public InTotoStatement.Builder mergeSlsaProvenanceZeroTwo(SlsaProvenanceZeroTwo value)
.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InTotoStatement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSubject(int index)
public InTotoStatement.Builder removeSubject(int index)
repeated .grafeas.v1.Subject subject = 2;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public InTotoStatement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPredicateType(String value)
public InTotoStatement.Builder setPredicateType(String value)
Parameter |
Name |
Description |
value |
String
The predicateType to set.
|
setPredicateTypeBytes(ByteString value)
public InTotoStatement.Builder setPredicateTypeBytes(ByteString value)
Parameter |
Name |
Description |
value |
ByteString
The bytes for predicateType to set.
|
setProvenance(InTotoProvenance value)
public InTotoStatement.Builder setProvenance(InTotoProvenance value)
.grafeas.v1.InTotoProvenance provenance = 4;
setProvenance(InTotoProvenance.Builder builderForValue)
public InTotoStatement.Builder setProvenance(InTotoProvenance.Builder builderForValue)
.grafeas.v1.InTotoProvenance provenance = 4;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InTotoStatement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSlsaProvenance(SlsaProvenance value)
public InTotoStatement.Builder setSlsaProvenance(SlsaProvenance value)
.grafeas.v1.SlsaProvenance slsa_provenance = 5;
setSlsaProvenance(SlsaProvenance.Builder builderForValue)
public InTotoStatement.Builder setSlsaProvenance(SlsaProvenance.Builder builderForValue)
.grafeas.v1.SlsaProvenance slsa_provenance = 5;
setSlsaProvenanceZeroTwo(SlsaProvenanceZeroTwo value)
public InTotoStatement.Builder setSlsaProvenanceZeroTwo(SlsaProvenanceZeroTwo value)
.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
setSlsaProvenanceZeroTwo(SlsaProvenanceZeroTwo.Builder builderForValue)
public InTotoStatement.Builder setSlsaProvenanceZeroTwo(SlsaProvenanceZeroTwo.Builder builderForValue)
.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
setSubject(int index, Subject value)
public InTotoStatement.Builder setSubject(int index, Subject value)
repeated .grafeas.v1.Subject subject = 2;
Parameters |
Name |
Description |
index |
int
|
value |
Subject
|
setSubject(int index, Subject.Builder builderForValue)
public InTotoStatement.Builder setSubject(int index, Subject.Builder builderForValue)
repeated .grafeas.v1.Subject subject = 2;
setType(String value)
public InTotoStatement.Builder setType(String value)
Parameter |
Name |
Description |
value |
String
The type to set.
|
setTypeBytes(ByteString value)
public InTotoStatement.Builder setTypeBytes(ByteString value)
Parameter |
Name |
Description |
value |
ByteString
The bytes for type to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final InTotoStatement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides