Class BoolValue.Builder (0.40.0)

public static final class BoolValue.Builder extends GeneratedMessage.Builder<BoolValue.Builder> implements BoolValueOrBuilder

Protobuf type google.cloud.visionai.v1.BoolValue

Implements

BoolValueOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public BoolValue build()
Returns
Type Description
BoolValue

buildPartial()

public BoolValue buildPartial()
Returns
Type Description
BoolValue

clear()

public BoolValue.Builder clear()
Returns
Type Description
BoolValue.Builder
Overrides

clearValue()

public BoolValue.Builder clearValue()

bool value = 1;

Returns
Type Description
BoolValue.Builder

This builder for chaining.

getDefaultInstanceForType()

public BoolValue getDefaultInstanceForType()
Returns
Type Description
BoolValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getValue()

public boolean getValue()

bool value = 1;

Returns
Type Description
boolean

The value.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BoolValue other)

public BoolValue.Builder mergeFrom(BoolValue other)
Parameter
Name Description
other BoolValue
Returns
Type Description
BoolValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BoolValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BoolValue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BoolValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BoolValue.Builder
Overrides

setValue(boolean value)

public BoolValue.Builder setValue(boolean value)

bool value = 1;

Parameter
Name Description
value boolean

The value to set.

Returns
Type Description
BoolValue.Builder

This builder for chaining.