public static final class InTotoSlsaProvenanceV1.Builder extends GeneratedMessageV3.Builder<InTotoSlsaProvenanceV1.Builder> implements InTotoSlsaProvenanceV1OrBuilder
Protobuf type grafeas.v1.InTotoSlsaProvenanceV1
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 InTotoSlsaProvenanceV1.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 InTotoSlsaProvenanceV1.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSubject(int index, Subject value)
public InTotoSlsaProvenanceV1.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 InTotoSlsaProvenanceV1.Builder addSubject(int index, Subject.Builder builderForValue)
repeated .grafeas.v1.Subject subject = 2;
addSubject(Subject value)
public InTotoSlsaProvenanceV1.Builder addSubject(Subject value)
repeated .grafeas.v1.Subject subject = 2;
Parameter |
Name |
Description |
value |
Subject
|
addSubject(Subject.Builder builderForValue)
public InTotoSlsaProvenanceV1.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 InTotoSlsaProvenanceV1 build()
buildPartial()
public InTotoSlsaProvenanceV1 buildPartial()
clear()
public InTotoSlsaProvenanceV1.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InTotoSlsaProvenanceV1.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InTotoSlsaProvenanceV1.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPredicate()
public InTotoSlsaProvenanceV1.Builder clearPredicate()
.grafeas.v1.InTotoSlsaProvenanceV1.SlsaProvenanceV1 predicate = 4;
clearPredicateType()
public InTotoSlsaProvenanceV1.Builder clearPredicateType()
string predicate_type = 3;
clearSubject()
public InTotoSlsaProvenanceV1.Builder clearSubject()
repeated .grafeas.v1.Subject subject = 2;
clearType()
public InTotoSlsaProvenanceV1.Builder clearType()
clone()
public InTotoSlsaProvenanceV1.Builder clone()
Overrides
getDefaultInstanceForType()
public InTotoSlsaProvenanceV1 getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPredicate()
public InTotoSlsaProvenanceV1.SlsaProvenanceV1 getPredicate()
.grafeas.v1.InTotoSlsaProvenanceV1.SlsaProvenanceV1 predicate = 4;
getPredicateBuilder()
public InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder getPredicateBuilder()
.grafeas.v1.InTotoSlsaProvenanceV1.SlsaProvenanceV1 predicate = 4;
getPredicateOrBuilder()
public InTotoSlsaProvenanceV1.SlsaProvenanceV1OrBuilder getPredicateOrBuilder()
.grafeas.v1.InTotoSlsaProvenanceV1.SlsaProvenanceV1 predicate = 4;
getPredicateType()
public String getPredicateType()
string predicate_type = 3;
Returns |
Type |
Description |
String |
The predicateType.
|
getPredicateTypeBytes()
public ByteString getPredicateTypeBytes()
string predicate_type = 3;
Returns |
Type |
Description |
ByteString |
The bytes for predicateType.
|
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.
|
hasPredicate()
public boolean hasPredicate()
.grafeas.v1.InTotoSlsaProvenanceV1.SlsaProvenanceV1 predicate = 4;
Returns |
Type |
Description |
boolean |
Whether the predicate field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public InTotoSlsaProvenanceV1.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InTotoSlsaProvenanceV1.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(InTotoSlsaProvenanceV1 other)
public InTotoSlsaProvenanceV1.Builder mergeFrom(InTotoSlsaProvenanceV1 other)
mergePredicate(InTotoSlsaProvenanceV1.SlsaProvenanceV1 value)
public InTotoSlsaProvenanceV1.Builder mergePredicate(InTotoSlsaProvenanceV1.SlsaProvenanceV1 value)
.grafeas.v1.InTotoSlsaProvenanceV1.SlsaProvenanceV1 predicate = 4;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InTotoSlsaProvenanceV1.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSubject(int index)
public InTotoSlsaProvenanceV1.Builder removeSubject(int index)
repeated .grafeas.v1.Subject subject = 2;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public InTotoSlsaProvenanceV1.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPredicate(InTotoSlsaProvenanceV1.SlsaProvenanceV1 value)
public InTotoSlsaProvenanceV1.Builder setPredicate(InTotoSlsaProvenanceV1.SlsaProvenanceV1 value)
.grafeas.v1.InTotoSlsaProvenanceV1.SlsaProvenanceV1 predicate = 4;
setPredicate(InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder builderForValue)
public InTotoSlsaProvenanceV1.Builder setPredicate(InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder builderForValue)
.grafeas.v1.InTotoSlsaProvenanceV1.SlsaProvenanceV1 predicate = 4;
setPredicateType(String value)
public InTotoSlsaProvenanceV1.Builder setPredicateType(String value)
string predicate_type = 3;
Parameter |
Name |
Description |
value |
String
The predicateType to set.
|
setPredicateTypeBytes(ByteString value)
public InTotoSlsaProvenanceV1.Builder setPredicateTypeBytes(ByteString value)
string predicate_type = 3;
Parameter |
Name |
Description |
value |
ByteString
The bytes for predicateType to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InTotoSlsaProvenanceV1.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSubject(int index, Subject value)
public InTotoSlsaProvenanceV1.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 InTotoSlsaProvenanceV1.Builder setSubject(int index, Subject.Builder builderForValue)
repeated .grafeas.v1.Subject subject = 2;
setType(String value)
public InTotoSlsaProvenanceV1.Builder setType(String value)
Parameter |
Name |
Description |
value |
String
The type to set.
|
setTypeBytes(ByteString value)
public InTotoSlsaProvenanceV1.Builder setTypeBytes(ByteString value)
Parameter |
Name |
Description |
value |
ByteString
The bytes for type to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final InTotoSlsaProvenanceV1.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides