Class SlsaProvenance.SlsaCompleteness (2.52.0)

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
Type Description
int

ENVIRONMENT_FIELD_NUMBER

public static final int ENVIRONMENT_FIELD_NUMBER
Field Value
Type Description
int

MATERIALS_FIELD_NUMBER

public static final int MATERIALS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SlsaProvenance.SlsaCompleteness getDefaultInstance()
Returns
Type Description
SlsaProvenance.SlsaCompleteness

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SlsaProvenance.SlsaCompleteness.Builder newBuilder()
Returns
Type Description
SlsaProvenance.SlsaCompleteness.Builder

newBuilder(SlsaProvenance.SlsaCompleteness prototype)

public static SlsaProvenance.SlsaCompleteness.Builder newBuilder(SlsaProvenance.SlsaCompleteness prototype)
Parameter
Name Description
prototype SlsaProvenance.SlsaCompleteness
Returns
Type Description
SlsaProvenance.SlsaCompleteness.Builder

parseDelimitedFrom(InputStream input)

public static SlsaProvenance.SlsaCompleteness parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SlsaProvenance.SlsaCompleteness
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenance.SlsaCompleteness parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlsaProvenance.SlsaCompleteness
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SlsaProvenance.SlsaCompleteness parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SlsaProvenance.SlsaCompleteness
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenance.SlsaCompleteness parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlsaProvenance.SlsaCompleteness
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SlsaProvenance.SlsaCompleteness parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SlsaProvenance.SlsaCompleteness
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenance.SlsaCompleteness parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlsaProvenance.SlsaCompleteness
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SlsaProvenance.SlsaCompleteness parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SlsaProvenance.SlsaCompleteness
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenance.SlsaCompleteness parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlsaProvenance.SlsaCompleteness
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SlsaProvenance.SlsaCompleteness parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SlsaProvenance.SlsaCompleteness
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenance.SlsaCompleteness parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlsaProvenance.SlsaCompleteness
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SlsaProvenance.SlsaCompleteness parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SlsaProvenance.SlsaCompleteness
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenance.SlsaCompleteness parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlsaProvenance.SlsaCompleteness
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Type Description
boolean

The arguments.

getDefaultInstanceForType()

public SlsaProvenance.SlsaCompleteness getDefaultInstanceForType()
Returns
Type Description
SlsaProvenance.SlsaCompleteness

getEnvironment()

public boolean getEnvironment()

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

bool environment = 2;

Returns
Type Description
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
Type Description
boolean

The materials.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SlsaProvenance.SlsaCompleteness.Builder newBuilderForType()
Returns
Type Description
SlsaProvenance.SlsaCompleteness.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SlsaProvenance.SlsaCompleteness.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SlsaProvenance.SlsaCompleteness.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SlsaProvenance.SlsaCompleteness.Builder toBuilder()
Returns
Type Description
SlsaProvenance.SlsaCompleteness.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException