public final class InTotoStatement extends GeneratedMessageV3 implements InTotoStatementOrBuilder
Static Fields
PREDICATE_TYPE_FIELD_NUMBER
public static final int PREDICATE_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PROVENANCE_FIELD_NUMBER
public static final int PROVENANCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SLSA_PROVENANCE_FIELD_NUMBER
public static final int SLSA_PROVENANCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SLSA_PROVENANCE_ZERO_TWO_FIELD_NUMBER
public static final int SLSA_PROVENANCE_ZERO_TWO_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUBJECT_FIELD_NUMBER
public static final int SUBJECT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static InTotoStatement getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static InTotoStatement.Builder newBuilder()
newBuilder(InTotoStatement prototype)
public static InTotoStatement.Builder newBuilder(InTotoStatement prototype)
public static InTotoStatement parseDelimitedFrom(InputStream input)
public static InTotoStatement parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static InTotoStatement parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InTotoStatement parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static InTotoStatement parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InTotoStatement parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InTotoStatement parseFrom(CodedInputStream input)
public static InTotoStatement parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InTotoStatement parseFrom(InputStream input)
public static InTotoStatement parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static InTotoStatement parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InTotoStatement parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<InTotoStatement> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public InTotoStatement getDefaultInstanceForType()
getParserForType()
public Parser<InTotoStatement> getParserForType()
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;
getProvenanceOrBuilder()
public InTotoProvenanceOrBuilder getProvenanceOrBuilder()
.grafeas.v1.InTotoProvenance provenance = 4;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSlsaProvenance()
public SlsaProvenance getSlsaProvenance()
.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;
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
|
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InTotoStatement.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InTotoStatement.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public InTotoStatement.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides