Class Value.Builder (0.1.0)

public static final class Value.Builder extends GeneratedMessage.Builder<Value.Builder> implements ValueOrBuilder

The cell value of the table.

Protobuf type google.cloud.sql.v1.Value

Implements

ValueOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public Value build()
Returns
Type Description
Value

buildPartial()

public Value buildPartial()
Returns
Type Description
Value

clear()

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

clearNullValue()

public Value.Builder clearNullValue()

If cell value is null, then this flag will be set to true.

bool null_value = 2;

Returns
Type Description
Value.Builder

This builder for chaining.

clearValue()

public Value.Builder clearValue()

The cell value in string format.

string value = 1;

Returns
Type Description
Value.Builder

This builder for chaining.

getDefaultInstanceForType()

public Value getDefaultInstanceForType()
Returns
Type Description
Value

getDescriptorForType()

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

getNullValue()

public boolean getNullValue()

If cell value is null, then this flag will be set to true.

bool null_value = 2;

Returns
Type Description
boolean

The nullValue.

getValue()

public String getValue()

The cell value in string format.

string value = 1;

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

The cell value in string format.

string value = 1;

Returns
Type Description
ByteString

The bytes for value.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Value other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setNullValue(boolean value)

public Value.Builder setNullValue(boolean value)

If cell value is null, then this flag will be set to true.

bool null_value = 2;

Parameter
Name Description
value boolean

The nullValue to set.

Returns
Type Description
Value.Builder

This builder for chaining.

setValue(String value)

public Value.Builder setValue(String value)

The cell value in string format.

string value = 1;

Parameter
Name Description
value String

The value to set.

Returns
Type Description
Value.Builder

This builder for chaining.

setValueBytes(ByteString value)

public Value.Builder setValueBytes(ByteString value)

The cell value in string format.

string value = 1;

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
Value.Builder

This builder for chaining.