Class SlsaProvenanceZeroTwo.SlsaCompleteness (2.21.0)

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

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

Protobuf type grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness

Inheritance

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

Static Fields

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

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(SlsaProvenanceZeroTwo.SlsaCompleteness prototype)

public static SlsaProvenanceZeroTwo.SlsaCompleteness.Builder newBuilder(SlsaProvenanceZeroTwo.SlsaCompleteness prototype)
Parameter
NameDescription
prototypeSlsaProvenanceZeroTwo.SlsaCompleteness
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getEnvironment()

public boolean getEnvironment()

bool environment = 2;

Returns
TypeDescription
boolean

The environment.

getMaterials()

public boolean getMaterials()

bool materials = 3;

Returns
TypeDescription
boolean

The materials.

getParameters()

public boolean getParameters()

bool parameters = 1;

Returns
TypeDescription
boolean

The parameters.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 SlsaProvenanceZeroTwo.SlsaCompleteness.Builder newBuilderForType()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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