Package com.clickhouse.client.grpc.impl
Class Result.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
-
- com.clickhouse.client.grpc.impl.Result.Builder
-
- All Implemented Interfaces:
ResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Result
public static final class Result.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Result.Builder> implements ResultOrBuilder
Result of execution of a query which is sent back by the ClickHouse server to the client.
Protobuf typeclickhouse.grpc.Result
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Result.BuilderaddAllLogs(Iterable<? extends LogEntry> values)repeated .clickhouse.grpc.LogEntry logs = 4;Result.BuilderaddAllOutputColumns(Iterable<? extends NameAndType> values)The names and types of columns of the result written in `output`.Result.BuilderaddLogs(int index, LogEntry value)repeated .clickhouse.grpc.LogEntry logs = 4;Result.BuilderaddLogs(int index, LogEntry.Builder builderForValue)repeated .clickhouse.grpc.LogEntry logs = 4;Result.BuilderaddLogs(LogEntry value)repeated .clickhouse.grpc.LogEntry logs = 4;Result.BuilderaddLogs(LogEntry.Builder builderForValue)repeated .clickhouse.grpc.LogEntry logs = 4;LogEntry.BuilderaddLogsBuilder()repeated .clickhouse.grpc.LogEntry logs = 4;LogEntry.BuilderaddLogsBuilder(int index)repeated .clickhouse.grpc.LogEntry logs = 4;Result.BuilderaddOutputColumns(int index, NameAndType value)The names and types of columns of the result written in `output`.Result.BuilderaddOutputColumns(int index, NameAndType.Builder builderForValue)The names and types of columns of the result written in `output`.Result.BuilderaddOutputColumns(NameAndType value)The names and types of columns of the result written in `output`.Result.BuilderaddOutputColumns(NameAndType.Builder builderForValue)The names and types of columns of the result written in `output`.NameAndType.BuilderaddOutputColumnsBuilder()The names and types of columns of the result written in `output`.NameAndType.BuilderaddOutputColumnsBuilder(int index)The names and types of columns of the result written in `output`.Result.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Resultbuild()ResultbuildPartial()Result.Builderclear()Result.BuilderclearCancelled()Set by the ClickHouse server if executing was cancelled by the `cancel` field in QueryInfo.Result.BuilderclearException()Set by the ClickHouse server if there was an exception thrown while executing.Result.BuilderclearExtremes()bytes extremes = 3;Result.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Result.BuilderclearLogs()repeated .clickhouse.grpc.LogEntry logs = 4;Result.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Result.BuilderclearOutput()Output of the query, represented in the `output_format`.Result.BuilderclearOutputColumns()The names and types of columns of the result written in `output`.Result.BuilderclearOutputFormat()The format in which `output`, `totals` and `extremes` are written.Result.BuilderclearProgress().clickhouse.grpc.Progress progress = 5;Result.BuilderclearQueryId()string query_id = 9;Result.BuilderclearStats().clickhouse.grpc.Stats stats = 6;Result.BuilderclearTimeZone()string time_zone = 10;Result.BuilderclearTotals()bytes totals = 2;Result.Builderclone()booleangetCancelled()Set by the ClickHouse server if executing was cancelled by the `cancel` field in QueryInfo.ResultgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ExceptiongetException()Set by the ClickHouse server if there was an exception thrown while executing.Exception.BuildergetExceptionBuilder()Set by the ClickHouse server if there was an exception thrown while executing.ExceptionOrBuildergetExceptionOrBuilder()Set by the ClickHouse server if there was an exception thrown while executing.com.google.protobuf.ByteStringgetExtremes()bytes extremes = 3;LogEntrygetLogs(int index)repeated .clickhouse.grpc.LogEntry logs = 4;LogEntry.BuildergetLogsBuilder(int index)repeated .clickhouse.grpc.LogEntry logs = 4;List<LogEntry.Builder>getLogsBuilderList()repeated .clickhouse.grpc.LogEntry logs = 4;intgetLogsCount()repeated .clickhouse.grpc.LogEntry logs = 4;List<LogEntry>getLogsList()repeated .clickhouse.grpc.LogEntry logs = 4;LogEntryOrBuildergetLogsOrBuilder(int index)repeated .clickhouse.grpc.LogEntry logs = 4;List<? extends LogEntryOrBuilder>getLogsOrBuilderList()repeated .clickhouse.grpc.LogEntry logs = 4;com.google.protobuf.ByteStringgetOutput()Output of the query, represented in the `output_format`.NameAndTypegetOutputColumns(int index)The names and types of columns of the result written in `output`.NameAndType.BuildergetOutputColumnsBuilder(int index)The names and types of columns of the result written in `output`.List<NameAndType.Builder>getOutputColumnsBuilderList()The names and types of columns of the result written in `output`.intgetOutputColumnsCount()The names and types of columns of the result written in `output`.List<NameAndType>getOutputColumnsList()The names and types of columns of the result written in `output`.NameAndTypeOrBuildergetOutputColumnsOrBuilder(int index)The names and types of columns of the result written in `output`.List<? extends NameAndTypeOrBuilder>getOutputColumnsOrBuilderList()The names and types of columns of the result written in `output`.StringgetOutputFormat()The format in which `output`, `totals` and `extremes` are written.com.google.protobuf.ByteStringgetOutputFormatBytes()The format in which `output`, `totals` and `extremes` are written.ProgressgetProgress().clickhouse.grpc.Progress progress = 5;Progress.BuildergetProgressBuilder().clickhouse.grpc.Progress progress = 5;ProgressOrBuildergetProgressOrBuilder().clickhouse.grpc.Progress progress = 5;StringgetQueryId()string query_id = 9;com.google.protobuf.ByteStringgetQueryIdBytes()string query_id = 9;StatsgetStats().clickhouse.grpc.Stats stats = 6;Stats.BuildergetStatsBuilder().clickhouse.grpc.Stats stats = 6;StatsOrBuildergetStatsOrBuilder().clickhouse.grpc.Stats stats = 6;StringgetTimeZone()string time_zone = 10;com.google.protobuf.ByteStringgetTimeZoneBytes()string time_zone = 10;com.google.protobuf.ByteStringgetTotals()bytes totals = 2;booleanhasException()Set by the ClickHouse server if there was an exception thrown while executing.booleanhasProgress().clickhouse.grpc.Progress progress = 5;booleanhasStats().clickhouse.grpc.Stats stats = 6;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Result.BuildermergeException(Exception value)Set by the ClickHouse server if there was an exception thrown while executing.Result.BuildermergeFrom(Result other)Result.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Result.BuildermergeFrom(com.google.protobuf.Message other)Result.BuildermergeProgress(Progress value).clickhouse.grpc.Progress progress = 5;Result.BuildermergeStats(Stats value).clickhouse.grpc.Stats stats = 6;Result.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Result.BuilderremoveLogs(int index)repeated .clickhouse.grpc.LogEntry logs = 4;Result.BuilderremoveOutputColumns(int index)The names and types of columns of the result written in `output`.Result.BuildersetCancelled(boolean value)Set by the ClickHouse server if executing was cancelled by the `cancel` field in QueryInfo.Result.BuildersetException(Exception value)Set by the ClickHouse server if there was an exception thrown while executing.Result.BuildersetException(Exception.Builder builderForValue)Set by the ClickHouse server if there was an exception thrown while executing.Result.BuildersetExtremes(com.google.protobuf.ByteString value)bytes extremes = 3;Result.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Result.BuildersetLogs(int index, LogEntry value)repeated .clickhouse.grpc.LogEntry logs = 4;Result.BuildersetLogs(int index, LogEntry.Builder builderForValue)repeated .clickhouse.grpc.LogEntry logs = 4;Result.BuildersetOutput(com.google.protobuf.ByteString value)Output of the query, represented in the `output_format`.Result.BuildersetOutputColumns(int index, NameAndType value)The names and types of columns of the result written in `output`.Result.BuildersetOutputColumns(int index, NameAndType.Builder builderForValue)The names and types of columns of the result written in `output`.Result.BuildersetOutputFormat(String value)The format in which `output`, `totals` and `extremes` are written.Result.BuildersetOutputFormatBytes(com.google.protobuf.ByteString value)The format in which `output`, `totals` and `extremes` are written.Result.BuildersetProgress(Progress value).clickhouse.grpc.Progress progress = 5;Result.BuildersetProgress(Progress.Builder builderForValue).clickhouse.grpc.Progress progress = 5;Result.BuildersetQueryId(String value)string query_id = 9;Result.BuildersetQueryIdBytes(com.google.protobuf.ByteString value)string query_id = 9;Result.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Result.BuildersetStats(Stats value).clickhouse.grpc.Stats stats = 6;Result.BuildersetStats(Stats.Builder builderForValue).clickhouse.grpc.Stats stats = 6;Result.BuildersetTimeZone(String value)string time_zone = 10;Result.BuildersetTimeZoneBytes(com.google.protobuf.ByteString value)string time_zone = 10;Result.BuildersetTotals(com.google.protobuf.ByteString value)bytes totals = 2;Result.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
-
clear
public Result.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
-
getDefaultInstanceForType
public Result getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Result build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Result buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Result.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
-
setField
public Result.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
-
clearField
public Result.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
-
clearOneof
public Result.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
-
setRepeatedField
public Result.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
-
addRepeatedField
public Result.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
-
mergeFrom
public Result.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Result.Builder>
-
mergeFrom
public Result.Builder mergeFrom(Result other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
-
mergeFrom
public Result.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Result.Builder>- Throws:
IOException
-
getQueryId
public String getQueryId()
string query_id = 9;- Specified by:
getQueryIdin interfaceResultOrBuilder- Returns:
- The queryId.
-
getQueryIdBytes
public com.google.protobuf.ByteString getQueryIdBytes()
string query_id = 9;- Specified by:
getQueryIdBytesin interfaceResultOrBuilder- Returns:
- The bytes for queryId.
-
setQueryId
public Result.Builder setQueryId(String value)
string query_id = 9;- Parameters:
value- The queryId to set.- Returns:
- This builder for chaining.
-
clearQueryId
public Result.Builder clearQueryId()
string query_id = 9;- Returns:
- This builder for chaining.
-
setQueryIdBytes
public Result.Builder setQueryIdBytes(com.google.protobuf.ByteString value)
string query_id = 9;- Parameters:
value- The bytes for queryId to set.- Returns:
- This builder for chaining.
-
getTimeZone
public String getTimeZone()
string time_zone = 10;- Specified by:
getTimeZonein interfaceResultOrBuilder- Returns:
- The timeZone.
-
getTimeZoneBytes
public com.google.protobuf.ByteString getTimeZoneBytes()
string time_zone = 10;- Specified by:
getTimeZoneBytesin interfaceResultOrBuilder- Returns:
- The bytes for timeZone.
-
setTimeZone
public Result.Builder setTimeZone(String value)
string time_zone = 10;- Parameters:
value- The timeZone to set.- Returns:
- This builder for chaining.
-
clearTimeZone
public Result.Builder clearTimeZone()
string time_zone = 10;- Returns:
- This builder for chaining.
-
setTimeZoneBytes
public Result.Builder setTimeZoneBytes(com.google.protobuf.ByteString value)
string time_zone = 10;- Parameters:
value- The bytes for timeZone to set.- Returns:
- This builder for chaining.
-
getOutputFormat
public String getOutputFormat()
The format in which `output`, `totals` and `extremes` are written. It's either the same as `output_format` specified in `QueryInfo` or the format specified in the query itself.
string output_format = 11;- Specified by:
getOutputFormatin interfaceResultOrBuilder- Returns:
- The outputFormat.
-
getOutputFormatBytes
public com.google.protobuf.ByteString getOutputFormatBytes()
The format in which `output`, `totals` and `extremes` are written. It's either the same as `output_format` specified in `QueryInfo` or the format specified in the query itself.
string output_format = 11;- Specified by:
getOutputFormatBytesin interfaceResultOrBuilder- Returns:
- The bytes for outputFormat.
-
setOutputFormat
public Result.Builder setOutputFormat(String value)
The format in which `output`, `totals` and `extremes` are written. It's either the same as `output_format` specified in `QueryInfo` or the format specified in the query itself.
string output_format = 11;- Parameters:
value- The outputFormat to set.- Returns:
- This builder for chaining.
-
clearOutputFormat
public Result.Builder clearOutputFormat()
The format in which `output`, `totals` and `extremes` are written. It's either the same as `output_format` specified in `QueryInfo` or the format specified in the query itself.
string output_format = 11;- Returns:
- This builder for chaining.
-
setOutputFormatBytes
public Result.Builder setOutputFormatBytes(com.google.protobuf.ByteString value)
The format in which `output`, `totals` and `extremes` are written. It's either the same as `output_format` specified in `QueryInfo` or the format specified in the query itself.
string output_format = 11;- Parameters:
value- The bytes for outputFormat to set.- Returns:
- This builder for chaining.
-
getOutputColumnsList
public List<NameAndType> getOutputColumnsList()
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;- Specified by:
getOutputColumnsListin interfaceResultOrBuilder
-
getOutputColumnsCount
public int getOutputColumnsCount()
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;- Specified by:
getOutputColumnsCountin interfaceResultOrBuilder
-
getOutputColumns
public NameAndType getOutputColumns(int index)
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;- Specified by:
getOutputColumnsin interfaceResultOrBuilder
-
setOutputColumns
public Result.Builder setOutputColumns(int index, NameAndType value)
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;
-
setOutputColumns
public Result.Builder setOutputColumns(int index, NameAndType.Builder builderForValue)
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;
-
addOutputColumns
public Result.Builder addOutputColumns(NameAndType value)
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;
-
addOutputColumns
public Result.Builder addOutputColumns(int index, NameAndType value)
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;
-
addOutputColumns
public Result.Builder addOutputColumns(NameAndType.Builder builderForValue)
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;
-
addOutputColumns
public Result.Builder addOutputColumns(int index, NameAndType.Builder builderForValue)
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;
-
addAllOutputColumns
public Result.Builder addAllOutputColumns(Iterable<? extends NameAndType> values)
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;
-
clearOutputColumns
public Result.Builder clearOutputColumns()
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;
-
removeOutputColumns
public Result.Builder removeOutputColumns(int index)
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;
-
getOutputColumnsBuilder
public NameAndType.Builder getOutputColumnsBuilder(int index)
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;
-
getOutputColumnsOrBuilder
public NameAndTypeOrBuilder getOutputColumnsOrBuilder(int index)
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;- Specified by:
getOutputColumnsOrBuilderin interfaceResultOrBuilder
-
getOutputColumnsOrBuilderList
public List<? extends NameAndTypeOrBuilder> getOutputColumnsOrBuilderList()
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;- Specified by:
getOutputColumnsOrBuilderListin interfaceResultOrBuilder
-
addOutputColumnsBuilder
public NameAndType.Builder addOutputColumnsBuilder()
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;
-
addOutputColumnsBuilder
public NameAndType.Builder addOutputColumnsBuilder(int index)
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;
-
getOutputColumnsBuilderList
public List<NameAndType.Builder> getOutputColumnsBuilderList()
The names and types of columns of the result written in `output`.
repeated .clickhouse.grpc.NameAndType output_columns = 12;
-
getOutput
public com.google.protobuf.ByteString getOutput()
Output of the query, represented in the `output_format`.
bytes output = 1;- Specified by:
getOutputin interfaceResultOrBuilder- Returns:
- The output.
-
setOutput
public Result.Builder setOutput(com.google.protobuf.ByteString value)
Output of the query, represented in the `output_format`.
bytes output = 1;- Parameters:
value- The output to set.- Returns:
- This builder for chaining.
-
clearOutput
public Result.Builder clearOutput()
Output of the query, represented in the `output_format`.
bytes output = 1;- Returns:
- This builder for chaining.
-
getTotals
public com.google.protobuf.ByteString getTotals()
bytes totals = 2;- Specified by:
getTotalsin interfaceResultOrBuilder- Returns:
- The totals.
-
setTotals
public Result.Builder setTotals(com.google.protobuf.ByteString value)
bytes totals = 2;- Parameters:
value- The totals to set.- Returns:
- This builder for chaining.
-
clearTotals
public Result.Builder clearTotals()
bytes totals = 2;- Returns:
- This builder for chaining.
-
getExtremes
public com.google.protobuf.ByteString getExtremes()
bytes extremes = 3;- Specified by:
getExtremesin interfaceResultOrBuilder- Returns:
- The extremes.
-
setExtremes
public Result.Builder setExtremes(com.google.protobuf.ByteString value)
bytes extremes = 3;- Parameters:
value- The extremes to set.- Returns:
- This builder for chaining.
-
clearExtremes
public Result.Builder clearExtremes()
bytes extremes = 3;- Returns:
- This builder for chaining.
-
getLogsList
public List<LogEntry> getLogsList()
repeated .clickhouse.grpc.LogEntry logs = 4;- Specified by:
getLogsListin interfaceResultOrBuilder
-
getLogsCount
public int getLogsCount()
repeated .clickhouse.grpc.LogEntry logs = 4;- Specified by:
getLogsCountin interfaceResultOrBuilder
-
getLogs
public LogEntry getLogs(int index)
repeated .clickhouse.grpc.LogEntry logs = 4;- Specified by:
getLogsin interfaceResultOrBuilder
-
setLogs
public Result.Builder setLogs(int index, LogEntry value)
repeated .clickhouse.grpc.LogEntry logs = 4;
-
setLogs
public Result.Builder setLogs(int index, LogEntry.Builder builderForValue)
repeated .clickhouse.grpc.LogEntry logs = 4;
-
addLogs
public Result.Builder addLogs(LogEntry value)
repeated .clickhouse.grpc.LogEntry logs = 4;
-
addLogs
public Result.Builder addLogs(int index, LogEntry value)
repeated .clickhouse.grpc.LogEntry logs = 4;
-
addLogs
public Result.Builder addLogs(LogEntry.Builder builderForValue)
repeated .clickhouse.grpc.LogEntry logs = 4;
-
addLogs
public Result.Builder addLogs(int index, LogEntry.Builder builderForValue)
repeated .clickhouse.grpc.LogEntry logs = 4;
-
addAllLogs
public Result.Builder addAllLogs(Iterable<? extends LogEntry> values)
repeated .clickhouse.grpc.LogEntry logs = 4;
-
clearLogs
public Result.Builder clearLogs()
repeated .clickhouse.grpc.LogEntry logs = 4;
-
removeLogs
public Result.Builder removeLogs(int index)
repeated .clickhouse.grpc.LogEntry logs = 4;
-
getLogsBuilder
public LogEntry.Builder getLogsBuilder(int index)
repeated .clickhouse.grpc.LogEntry logs = 4;
-
getLogsOrBuilder
public LogEntryOrBuilder getLogsOrBuilder(int index)
repeated .clickhouse.grpc.LogEntry logs = 4;- Specified by:
getLogsOrBuilderin interfaceResultOrBuilder
-
getLogsOrBuilderList
public List<? extends LogEntryOrBuilder> getLogsOrBuilderList()
repeated .clickhouse.grpc.LogEntry logs = 4;- Specified by:
getLogsOrBuilderListin interfaceResultOrBuilder
-
addLogsBuilder
public LogEntry.Builder addLogsBuilder()
repeated .clickhouse.grpc.LogEntry logs = 4;
-
addLogsBuilder
public LogEntry.Builder addLogsBuilder(int index)
repeated .clickhouse.grpc.LogEntry logs = 4;
-
getLogsBuilderList
public List<LogEntry.Builder> getLogsBuilderList()
repeated .clickhouse.grpc.LogEntry logs = 4;
-
hasProgress
public boolean hasProgress()
.clickhouse.grpc.Progress progress = 5;- Specified by:
hasProgressin interfaceResultOrBuilder- Returns:
- Whether the progress field is set.
-
getProgress
public Progress getProgress()
.clickhouse.grpc.Progress progress = 5;- Specified by:
getProgressin interfaceResultOrBuilder- Returns:
- The progress.
-
setProgress
public Result.Builder setProgress(Progress value)
.clickhouse.grpc.Progress progress = 5;
-
setProgress
public Result.Builder setProgress(Progress.Builder builderForValue)
.clickhouse.grpc.Progress progress = 5;
-
mergeProgress
public Result.Builder mergeProgress(Progress value)
.clickhouse.grpc.Progress progress = 5;
-
clearProgress
public Result.Builder clearProgress()
.clickhouse.grpc.Progress progress = 5;
-
getProgressBuilder
public Progress.Builder getProgressBuilder()
.clickhouse.grpc.Progress progress = 5;
-
getProgressOrBuilder
public ProgressOrBuilder getProgressOrBuilder()
.clickhouse.grpc.Progress progress = 5;- Specified by:
getProgressOrBuilderin interfaceResultOrBuilder
-
hasStats
public boolean hasStats()
.clickhouse.grpc.Stats stats = 6;- Specified by:
hasStatsin interfaceResultOrBuilder- Returns:
- Whether the stats field is set.
-
getStats
public Stats getStats()
.clickhouse.grpc.Stats stats = 6;- Specified by:
getStatsin interfaceResultOrBuilder- Returns:
- The stats.
-
setStats
public Result.Builder setStats(Stats value)
.clickhouse.grpc.Stats stats = 6;
-
setStats
public Result.Builder setStats(Stats.Builder builderForValue)
.clickhouse.grpc.Stats stats = 6;
-
mergeStats
public Result.Builder mergeStats(Stats value)
.clickhouse.grpc.Stats stats = 6;
-
clearStats
public Result.Builder clearStats()
.clickhouse.grpc.Stats stats = 6;
-
getStatsBuilder
public Stats.Builder getStatsBuilder()
.clickhouse.grpc.Stats stats = 6;
-
getStatsOrBuilder
public StatsOrBuilder getStatsOrBuilder()
.clickhouse.grpc.Stats stats = 6;- Specified by:
getStatsOrBuilderin interfaceResultOrBuilder
-
hasException
public boolean hasException()
Set by the ClickHouse server if there was an exception thrown while executing.
.clickhouse.grpc.Exception exception = 7;- Specified by:
hasExceptionin interfaceResultOrBuilder- Returns:
- Whether the exception field is set.
-
getException
public Exception getException()
Set by the ClickHouse server if there was an exception thrown while executing.
.clickhouse.grpc.Exception exception = 7;- Specified by:
getExceptionin interfaceResultOrBuilder- Returns:
- The exception.
-
setException
public Result.Builder setException(Exception value)
Set by the ClickHouse server if there was an exception thrown while executing.
.clickhouse.grpc.Exception exception = 7;
-
setException
public Result.Builder setException(Exception.Builder builderForValue)
Set by the ClickHouse server if there was an exception thrown while executing.
.clickhouse.grpc.Exception exception = 7;
-
mergeException
public Result.Builder mergeException(Exception value)
Set by the ClickHouse server if there was an exception thrown while executing.
.clickhouse.grpc.Exception exception = 7;
-
clearException
public Result.Builder clearException()
Set by the ClickHouse server if there was an exception thrown while executing.
.clickhouse.grpc.Exception exception = 7;
-
getExceptionBuilder
public Exception.Builder getExceptionBuilder()
Set by the ClickHouse server if there was an exception thrown while executing.
.clickhouse.grpc.Exception exception = 7;
-
getExceptionOrBuilder
public ExceptionOrBuilder getExceptionOrBuilder()
Set by the ClickHouse server if there was an exception thrown while executing.
.clickhouse.grpc.Exception exception = 7;- Specified by:
getExceptionOrBuilderin interfaceResultOrBuilder
-
getCancelled
public boolean getCancelled()
Set by the ClickHouse server if executing was cancelled by the `cancel` field in QueryInfo.
bool cancelled = 8;- Specified by:
getCancelledin interfaceResultOrBuilder- Returns:
- The cancelled.
-
setCancelled
public Result.Builder setCancelled(boolean value)
Set by the ClickHouse server if executing was cancelled by the `cancel` field in QueryInfo.
bool cancelled = 8;- Parameters:
value- The cancelled to set.- Returns:
- This builder for chaining.
-
clearCancelled
public Result.Builder clearCancelled()
Set by the ClickHouse server if executing was cancelled by the `cancel` field in QueryInfo.
bool cancelled = 8;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Result.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
-
mergeUnknownFields
public final Result.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
-
-