Class SlsaProvenance.SlsaCompleteness (2.4.2)

public static final class SlsaProvenance.SlsaCompleteness extends GeneratedMessageV3 implements SlsaProvenance.SlsaCompletenessOrBuilder

Indicates that the builder claims certain fields in this message to be complete.

Protobuf type grafeas.v1.SlsaProvenance.SlsaCompleteness

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SlsaProvenance.SlsaCompleteness

Static Fields

ARGUMENTS_FIELD_NUMBER

public static final int ARGUMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

ENVIRONMENT_FIELD_NUMBER

public static final int ENVIRONMENT_FIELD_NUMBER
Field Value
TypeDescription
int

MATERIALS_FIELD_NUMBER

public static final int MATERIALS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SlsaProvenance.SlsaCompleteness getDefaultInstance()
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SlsaProvenance.SlsaCompleteness.Builder newBuilder()
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness.Builder

newBuilder(SlsaProvenance.SlsaCompleteness prototype)

public static SlsaProvenance.SlsaCompleteness.Builder newBuilder(SlsaProvenance.SlsaCompleteness prototype)
Parameter
NameDescription
prototypeSlsaProvenance.SlsaCompleteness
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness.Builder

parseDelimitedFrom(InputStream input)

public static SlsaProvenance.SlsaCompleteness parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenance.SlsaCompleteness parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SlsaProvenance.SlsaCompleteness parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenance.SlsaCompleteness parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SlsaProvenance.SlsaCompleteness parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenance.SlsaCompleteness parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SlsaProvenance.SlsaCompleteness parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenance.SlsaCompleteness parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SlsaProvenance.SlsaCompleteness parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenance.SlsaCompleteness parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SlsaProvenance.SlsaCompleteness parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenance.SlsaCompleteness parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SlsaProvenance.SlsaCompleteness> parser()
Returns
TypeDescription
Parser<SlsaCompleteness>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getArguments()

public boolean getArguments()

If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.

bool arguments = 1;

Returns
TypeDescription
boolean

The arguments.

getDefaultInstanceForType()

public SlsaProvenance.SlsaCompleteness getDefaultInstanceForType()
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness

getEnvironment()

public boolean getEnvironment()

If true, the builder claims that recipe.environment is claimed to be complete.

bool environment = 2;

Returns
TypeDescription
boolean

The environment.

getMaterials()

public boolean getMaterials()

If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called "hermetic".

bool materials = 3;

Returns
TypeDescription
boolean

The materials.

getParserForType()

public Parser<SlsaProvenance.SlsaCompleteness> getParserForType()
Returns
TypeDescription
Parser<SlsaCompleteness>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SlsaProvenance.SlsaCompleteness.Builder newBuilderForType()
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SlsaProvenance.SlsaCompleteness.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SlsaProvenance.SlsaCompleteness.Builder toBuilder()
Returns
TypeDescription
SlsaProvenance.SlsaCompleteness.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException