public static final class Value.Builder extends GeneratedMessage.Builder<Value.Builder> implements ValueOrBuilderThe cell value of the table.
Protobuf type google.cloud.sql.v1.Value
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Value.BuilderImplements
ValueOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Value.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
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 |
booleanThe 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 |
StringThe 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 |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |