public static final class ColumnNames.Builder extends GeneratedMessage.Builder<ColumnNames.Builder> implements ColumnNamesOrBuilderList of column names for the outcome section of the query result.
Protobuf type google.cloud.chronicle.v1.ColumnNames
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ColumnNames.BuilderImplements
ColumnNamesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllNames(Iterable<String> values)
public ColumnNames.Builder addAllNames(Iterable<String> values)List of column names.
repeated string names = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The names to add. |
| Returns | |
|---|---|
| Type | Description |
ColumnNames.Builder |
This builder for chaining. |
addNames(String value)
public ColumnNames.Builder addNames(String value)List of column names.
repeated string names = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe names to add. |
| Returns | |
|---|---|
| Type | Description |
ColumnNames.Builder |
This builder for chaining. |
addNamesBytes(ByteString value)
public ColumnNames.Builder addNamesBytes(ByteString value)List of column names.
repeated string names = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the names to add. |
| Returns | |
|---|---|
| Type | Description |
ColumnNames.Builder |
This builder for chaining. |
build()
public ColumnNames build()| Returns | |
|---|---|
| Type | Description |
ColumnNames |
|
buildPartial()
public ColumnNames buildPartial()| Returns | |
|---|---|
| Type | Description |
ColumnNames |
|
clear()
public ColumnNames.Builder clear()| Returns | |
|---|---|
| Type | Description |
ColumnNames.Builder |
|
clearNames()
public ColumnNames.Builder clearNames()List of column names.
repeated string names = 1;
| Returns | |
|---|---|
| Type | Description |
ColumnNames.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ColumnNames getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ColumnNames |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNames(int index)
public String getNames(int index)List of column names.
repeated string names = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The names at the given index. |
getNamesBytes(int index)
public ByteString getNamesBytes(int index)List of column names.
repeated string names = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the names at the given index. |
getNamesCount()
public int getNamesCount()List of column names.
repeated string names = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of names. |
getNamesList()
public ProtocolStringList getNamesList()List of column names.
repeated string names = 1;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the names. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ColumnNames other)
public ColumnNames.Builder mergeFrom(ColumnNames other)| Parameter | |
|---|---|
| Name | Description |
other |
ColumnNames |
| Returns | |
|---|---|
| Type | Description |
ColumnNames.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ColumnNames.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ColumnNames.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ColumnNames.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ColumnNames.Builder |
|
setNames(int index, String value)
public ColumnNames.Builder setNames(int index, String value)List of column names.
repeated string names = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe names to set. |
| Returns | |
|---|---|
| Type | Description |
ColumnNames.Builder |
This builder for chaining. |