Class BoolValue.Builder (0.5.0)

public static final class BoolValue.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BoolValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BoolValue.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public BoolValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BoolValue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BoolValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BoolValue.Builder
Overrides

clearValue()

public BoolValue.Builder clearValue()

bool value = 1;

Returns
Type Description
BoolValue.Builder

This builder for chaining.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BoolValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BoolValue.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BoolValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BoolValue.Builder
Overrides

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

public BoolValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BoolValue.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BoolValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.