Class Completeness (2.17.0)

public final class Completeness extends GeneratedMessageV3 implements CompletenessOrBuilder

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

Protobuf type grafeas.v1.Completeness

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 Completeness getDefaultInstance()
Returns
TypeDescription
Completeness

getDescriptor()

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

newBuilder()

public static Completeness.Builder newBuilder()
Returns
TypeDescription
Completeness.Builder

newBuilder(Completeness prototype)

public static Completeness.Builder newBuilder(Completeness prototype)
Parameter
NameDescription
prototypeCompleteness
Returns
TypeDescription
Completeness.Builder

parseDelimitedFrom(InputStream input)

public static Completeness parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Completeness
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Completeness parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Completeness
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Completeness parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Completeness
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Completeness parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Completeness
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Completeness parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Completeness
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Completeness> parser()
Returns
TypeDescription
Parser<Completeness>

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 Completeness getDefaultInstanceForType()
Returns
TypeDescription
Completeness

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<Completeness> getParserForType()
Returns
TypeDescription
Parser<Completeness>
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 Completeness.Builder newBuilderForType()
Returns
TypeDescription
Completeness.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Completeness.Builder toBuilder()
Returns
TypeDescription
Completeness.Builder

writeTo(CodedOutputStream output)

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