Class SqlResult.Value.Builder (0.52.0)

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

A single value in a row from a sql result.

Protobuf type google.cloud.oracledatabase.v1.SqlResult.Value

Static Methods

getDescriptor()

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

Methods

build()

public SqlResult.Value build()
Returns
Type Description
SqlResult.Value

buildPartial()

public SqlResult.Value buildPartial()
Returns
Type Description
SqlResult.Value

clear()

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

clearNullValue()

public SqlResult.Value.Builder clearNullValue()

Set to true if the cell value is NULL.

optional bool null_value = 2;

Returns
Type Description
SqlResult.Value.Builder

This builder for chaining.

clearValue()

public SqlResult.Value.Builder clearValue()

The cell value represented in string format. Timestamps should be converted using RFC3339Nano format.

string value = 1;

Returns
Type Description
SqlResult.Value.Builder

This builder for chaining.

getDefaultInstanceForType()

public SqlResult.Value getDefaultInstanceForType()
Returns
Type Description
SqlResult.Value

getDescriptorForType()

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

getNullValue()

public boolean getNullValue()

Set to true if the cell value is NULL.

optional bool null_value = 2;

Returns
Type Description
boolean

The nullValue.

getValue()

public String getValue()

The cell value represented in string format. Timestamps should be converted using RFC3339Nano format.

string value = 1;

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

The cell value represented in string format. Timestamps should be converted using RFC3339Nano format.

string value = 1;

Returns
Type Description
ByteString

The bytes for value.

hasNullValue()

public boolean hasNullValue()

Set to true if the cell value is NULL.

optional bool null_value = 2;

Returns
Type Description
boolean

Whether the nullValue field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SqlResult.Value other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setNullValue(boolean value)

public SqlResult.Value.Builder setNullValue(boolean value)

Set to true if the cell value is NULL.

optional bool null_value = 2;

Parameter
Name Description
value boolean

The nullValue to set.

Returns
Type Description
SqlResult.Value.Builder

This builder for chaining.

setValue(String value)

public SqlResult.Value.Builder setValue(String value)

The cell value represented in string format. Timestamps should be converted using RFC3339Nano format.

string value = 1;

Parameter
Name Description
value String

The value to set.

Returns
Type Description
SqlResult.Value.Builder

This builder for chaining.

setValueBytes(ByteString value)

public SqlResult.Value.Builder setValueBytes(ByteString value)

The cell value represented in string format. Timestamps should be converted using RFC3339Nano format.

string value = 1;

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
SqlResult.Value.Builder

This builder for chaining.