public static final class SqlResult.Value.Builder extends GeneratedMessage.Builder<SqlResult.Value.Builder> implements SqlResult.ValueOrBuilderA single value in a row from a sql result.
Protobuf type google.cloud.oracledatabase.v1.SqlResult.Value
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SqlResult.Value.BuilderImplements
SqlResult.ValueOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
booleanThe 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 |
StringThe 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 |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
SqlResult.Value.Builder |
This builder for chaining. |