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.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()
Returns
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InTotoStatement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSubject(int index, Subject value)
public InTotoStatement.Builder addSubject(int index, Subject value)
repeated .grafeas.v1.Subject subject = 2;
Parameters
Returns
addSubject(int index, Subject.Builder builderForValue)
public InTotoStatement.Builder addSubject(int index, Subject.Builder builderForValue)
repeated .grafeas.v1.Subject subject = 2;
Parameters
Returns
addSubject(Subject value)
public InTotoStatement.Builder addSubject(Subject value)
repeated .grafeas.v1.Subject subject = 2;
Parameter
Returns
addSubject(Subject.Builder builderForValue)
public InTotoStatement.Builder addSubject(Subject.Builder builderForValue)
repeated .grafeas.v1.Subject subject = 2;
Parameter
Returns
addSubjectBuilder()
public Subject.Builder addSubjectBuilder()
repeated .grafeas.v1.Subject subject = 2;
Returns
addSubjectBuilder(int index)
public Subject.Builder addSubjectBuilder(int index)
repeated .grafeas.v1.Subject subject = 2;
Parameter
Returns
build()
public InTotoStatement build()
Returns
buildPartial()
public InTotoStatement buildPartial()
Returns
clear()
public InTotoStatement.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public InTotoStatement.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InTotoStatement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPredicate()
public InTotoStatement.Builder clearPredicate()
Returns
clearPredicateType()
public InTotoStatement.Builder clearPredicateType()
Returns
clearProvenance()
public InTotoStatement.Builder clearProvenance()
.grafeas.v1.InTotoProvenance provenance = 4;
Returns
clearSlsaProvenance()
public InTotoStatement.Builder clearSlsaProvenance()
.grafeas.v1.SlsaProvenance slsa_provenance = 5;
Returns
clearSlsaProvenanceZeroTwo()
public InTotoStatement.Builder clearSlsaProvenanceZeroTwo()
.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
Returns
clearSubject()
public InTotoStatement.Builder clearSubject()
repeated .grafeas.v1.Subject subject = 2;
Returns
clearType()
public InTotoStatement.Builder clearType()
Returns
clone()
public InTotoStatement.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public InTotoStatement getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPredicateCase()
public InTotoStatement.PredicateCase getPredicateCase()
Returns
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;
Returns
getProvenanceBuilder()
public InTotoProvenance.Builder getProvenanceBuilder()
.grafeas.v1.InTotoProvenance provenance = 4;
Returns
getProvenanceOrBuilder()
public InTotoProvenanceOrBuilder getProvenanceOrBuilder()
.grafeas.v1.InTotoProvenance provenance = 4;
Returns
getSlsaProvenance()
public SlsaProvenance getSlsaProvenance()
.grafeas.v1.SlsaProvenance slsa_provenance = 5;
Returns
getSlsaProvenanceBuilder()
public SlsaProvenance.Builder getSlsaProvenanceBuilder()
.grafeas.v1.SlsaProvenance slsa_provenance = 5;
Returns
getSlsaProvenanceOrBuilder()
public SlsaProvenanceOrBuilder getSlsaProvenanceOrBuilder()
.grafeas.v1.SlsaProvenance slsa_provenance = 5;
Returns
getSlsaProvenanceZeroTwo()
public SlsaProvenanceZeroTwo getSlsaProvenanceZeroTwo()
.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
Returns
getSlsaProvenanceZeroTwoBuilder()
public SlsaProvenanceZeroTwo.Builder getSlsaProvenanceZeroTwoBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
Returns
getSlsaProvenanceZeroTwoOrBuilder()
public SlsaProvenanceZeroTwoOrBuilder getSlsaProvenanceZeroTwoOrBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
Returns
getSubject(int index)
public Subject getSubject(int index)
repeated .grafeas.v1.Subject subject = 2;
Parameter
Returns
getSubjectBuilder(int index)
public Subject.Builder getSubjectBuilder(int index)
repeated .grafeas.v1.Subject subject = 2;
Parameter
Returns
getSubjectBuilderList()
public List<Subject.Builder> getSubjectBuilderList()
repeated .grafeas.v1.Subject subject = 2;
Returns
getSubjectCount()
public int getSubjectCount()
repeated .grafeas.v1.Subject subject = 2;
Returns
getSubjectList()
public List<Subject> getSubjectList()
repeated .grafeas.v1.Subject subject = 2;
Returns
getSubjectOrBuilder(int index)
public SubjectOrBuilder getSubjectOrBuilder(int index)
repeated .grafeas.v1.Subject subject = 2;
Parameter
Returns
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
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public InTotoStatement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InTotoStatement.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(InTotoStatement other)
public InTotoStatement.Builder mergeFrom(InTotoStatement other)
Parameter
Returns
mergeProvenance(InTotoProvenance value)
public InTotoStatement.Builder mergeProvenance(InTotoProvenance value)
.grafeas.v1.InTotoProvenance provenance = 4;
Parameter
Returns
mergeSlsaProvenance(SlsaProvenance value)
public InTotoStatement.Builder mergeSlsaProvenance(SlsaProvenance value)
.grafeas.v1.SlsaProvenance slsa_provenance = 5;
Parameter
Returns
mergeSlsaProvenanceZeroTwo(SlsaProvenanceZeroTwo value)
public InTotoStatement.Builder mergeSlsaProvenanceZeroTwo(SlsaProvenanceZeroTwo value)
.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InTotoStatement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeSubject(int index)
public InTotoStatement.Builder removeSubject(int index)
repeated .grafeas.v1.Subject subject = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public InTotoStatement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPredicateType(String value)
public InTotoStatement.Builder setPredicateType(String value)
Parameter
Name | Description |
value | String
The predicateType to set.
|
Returns
setPredicateTypeBytes(ByteString value)
public InTotoStatement.Builder setPredicateTypeBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for predicateType to set.
|
Returns
setProvenance(InTotoProvenance value)
public InTotoStatement.Builder setProvenance(InTotoProvenance value)
.grafeas.v1.InTotoProvenance provenance = 4;
Parameter
Returns
setProvenance(InTotoProvenance.Builder builderForValue)
public InTotoStatement.Builder setProvenance(InTotoProvenance.Builder builderForValue)
.grafeas.v1.InTotoProvenance provenance = 4;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InTotoStatement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSlsaProvenance(SlsaProvenance value)
public InTotoStatement.Builder setSlsaProvenance(SlsaProvenance value)
.grafeas.v1.SlsaProvenance slsa_provenance = 5;
Parameter
Returns
setSlsaProvenance(SlsaProvenance.Builder builderForValue)
public InTotoStatement.Builder setSlsaProvenance(SlsaProvenance.Builder builderForValue)
.grafeas.v1.SlsaProvenance slsa_provenance = 5;
Parameter
Returns
setSlsaProvenanceZeroTwo(SlsaProvenanceZeroTwo value)
public InTotoStatement.Builder setSlsaProvenanceZeroTwo(SlsaProvenanceZeroTwo value)
.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
Parameter
Returns
setSlsaProvenanceZeroTwo(SlsaProvenanceZeroTwo.Builder builderForValue)
public InTotoStatement.Builder setSlsaProvenanceZeroTwo(SlsaProvenanceZeroTwo.Builder builderForValue)
.grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
Parameter
Returns
setSubject(int index, Subject value)
public InTotoStatement.Builder setSubject(int index, Subject value)
repeated .grafeas.v1.Subject subject = 2;
Parameters
Returns
setSubject(int index, Subject.Builder builderForValue)
public InTotoStatement.Builder setSubject(int index, Subject.Builder builderForValue)
repeated .grafeas.v1.Subject subject = 2;
Parameters
Returns
setType(String value)
public InTotoStatement.Builder setType(String value)
Parameter
Name | Description |
value | String
The type to set.
|
Returns
setTypeBytes(ByteString value)
public InTotoStatement.Builder setTypeBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for type to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final InTotoStatement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides