public static final class SqlResultValue.Builder extends com.google.protobuf.GeneratedMessage.Builder<SqlResultValue.Builder> implements SqlResultValueOrBuilder
A single value in a row from a sql result.Protobuf type
google.cloud.alloydb.v1beta.SqlResultValue| Modifier and Type | Method and Description |
|---|---|
SqlResultValue |
build() |
SqlResultValue |
buildPartial() |
SqlResultValue.Builder |
clear() |
SqlResultValue.Builder |
clearNullValue()
Set to true if cell value is null.
|
SqlResultValue.Builder |
clearValue()
The cell value represented in string format.
|
SqlResultValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getNullValue()
Set to true if cell value is null.
|
String |
getValue()
The cell value represented in string format.
|
com.google.protobuf.ByteString |
getValueBytes()
The cell value represented in string format.
|
boolean |
hasNullValue()
Set to true if cell value is null.
|
boolean |
hasValue()
The cell value represented in string format.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SqlResultValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SqlResultValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
SqlResultValue.Builder |
mergeFrom(SqlResultValue other) |
SqlResultValue.Builder |
setNullValue(boolean value)
Set to true if cell value is null.
|
SqlResultValue.Builder |
setValue(String value)
The cell value represented in string format.
|
SqlResultValue.Builder |
setValueBytes(com.google.protobuf.ByteString value)
The cell value represented in string format.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SqlResultValue.Builder>public SqlResultValue.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<SqlResultValue.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SqlResultValue.Builder>public SqlResultValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SqlResultValue build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SqlResultValue buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SqlResultValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SqlResultValue.Builder>public SqlResultValue.Builder mergeFrom(SqlResultValue other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<SqlResultValue.Builder>public SqlResultValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SqlResultValue.Builder>IOExceptionpublic boolean hasValue()
The cell value represented in string format. Timestamps are converted to string using RFC3339Nano format.
optional string value = 1;hasValue in interface SqlResultValueOrBuilderpublic String getValue()
The cell value represented in string format. Timestamps are converted to string using RFC3339Nano format.
optional string value = 1;getValue in interface SqlResultValueOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
The cell value represented in string format. Timestamps are converted to string using RFC3339Nano format.
optional string value = 1;getValueBytes in interface SqlResultValueOrBuilderpublic SqlResultValue.Builder setValue(String value)
The cell value represented in string format. Timestamps are converted to string using RFC3339Nano format.
optional string value = 1;value - The value to set.public SqlResultValue.Builder clearValue()
The cell value represented in string format. Timestamps are converted to string using RFC3339Nano format.
optional string value = 1;public SqlResultValue.Builder setValueBytes(com.google.protobuf.ByteString value)
The cell value represented in string format. Timestamps are converted to string using RFC3339Nano format.
optional string value = 1;value - The bytes for value to set.public boolean hasNullValue()
Set to true if cell value is null.
optional bool null_value = 2;hasNullValue in interface SqlResultValueOrBuilderpublic boolean getNullValue()
Set to true if cell value is null.
optional bool null_value = 2;getNullValue in interface SqlResultValueOrBuilderpublic SqlResultValue.Builder setNullValue(boolean value)
Set to true if cell value is null.
optional bool null_value = 2;value - The nullValue to set.public SqlResultValue.Builder clearNullValue()
Set to true if cell value is null.
optional bool null_value = 2;Copyright © 2026 Google LLC. All rights reserved.