Class Completeness.Builder (2.21.0)

public static final class Completeness.Builder extends GeneratedMessageV3.Builder<Completeness.Builder> implements CompletenessOrBuilder

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

Protobuf type grafeas.v1.Completeness

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Completeness.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Completeness.Builder
Overrides

build()

public Completeness build()
Returns
TypeDescription
Completeness

buildPartial()

public Completeness buildPartial()
Returns
TypeDescription
Completeness

clear()

public Completeness.Builder clear()
Returns
TypeDescription
Completeness.Builder
Overrides

clearArguments()

public Completeness.Builder clearArguments()

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
Completeness.Builder

This builder for chaining.

clearEnvironment()

public Completeness.Builder clearEnvironment()

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

bool environment = 2;

Returns
TypeDescription
Completeness.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Completeness.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Completeness.Builder
Overrides

clearMaterials()

public Completeness.Builder clearMaterials()

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
Completeness.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Completeness.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Completeness.Builder
Overrides

clone()

public Completeness.Builder clone()
Returns
TypeDescription
Completeness.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Completeness.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Completeness.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Completeness.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Completeness.Builder
Overrides

mergeFrom(Completeness other)

public Completeness.Builder mergeFrom(Completeness other)
Parameter
NameDescription
otherCompleteness
Returns
TypeDescription
Completeness.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Completeness.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Completeness.Builder
Overrides

setArguments(boolean value)

public Completeness.Builder setArguments(boolean value)

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

bool arguments = 1;

Parameter
NameDescription
valueboolean

The arguments to set.

Returns
TypeDescription
Completeness.Builder

This builder for chaining.

setEnvironment(boolean value)

public Completeness.Builder setEnvironment(boolean value)

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

bool environment = 2;

Parameter
NameDescription
valueboolean

The environment to set.

Returns
TypeDescription
Completeness.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Completeness.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Completeness.Builder
Overrides

setMaterials(boolean value)

public Completeness.Builder setMaterials(boolean value)

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

bool materials = 3;

Parameter
NameDescription
valueboolean

The materials to set.

Returns
TypeDescription
Completeness.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Completeness.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Completeness.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Completeness.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Completeness.Builder
Overrides