public static final class StreamResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StreamResponse.Builder> implements StreamResponseOrBuilder
tipb.StreamResponse
Modifier and Type | Method and Description |
---|---|
StreamResponse.Builder |
addAllOutputCounts(Iterable<? extends Long> values)
output row count for each executor
|
StreamResponse.Builder |
addAllWarnings(Iterable<? extends Error> values)
repeated .tipb.Error warnings = 4; |
StreamResponse.Builder |
addOutputCounts(long value)
output row count for each executor
|
StreamResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StreamResponse.Builder |
addWarnings(Error.Builder builderForValue)
repeated .tipb.Error warnings = 4; |
StreamResponse.Builder |
addWarnings(Error value)
repeated .tipb.Error warnings = 4; |
StreamResponse.Builder |
addWarnings(int index,
Error.Builder builderForValue)
repeated .tipb.Error warnings = 4; |
StreamResponse.Builder |
addWarnings(int index,
Error value)
repeated .tipb.Error warnings = 4; |
Error.Builder |
addWarningsBuilder()
repeated .tipb.Error warnings = 4; |
Error.Builder |
addWarningsBuilder(int index)
repeated .tipb.Error warnings = 4; |
StreamResponse |
build() |
StreamResponse |
buildPartial() |
StreamResponse.Builder |
clear() |
StreamResponse.Builder |
clearData()
Data for all rows
|
StreamResponse.Builder |
clearError()
optional .tipb.Error error = 1; |
StreamResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StreamResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StreamResponse.Builder |
clearOutputCounts()
output row count for each executor
|
StreamResponse.Builder |
clearWarningCount()
optional int64 warning_count = 6; |
StreamResponse.Builder |
clearWarnings()
repeated .tipb.Error warnings = 4; |
StreamResponse.Builder |
clone() |
com.google.protobuf.ByteString |
getData()
Data for all rows
|
StreamResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Error |
getError()
optional .tipb.Error error = 1; |
Error.Builder |
getErrorBuilder()
optional .tipb.Error error = 1; |
ErrorOrBuilder |
getErrorOrBuilder()
optional .tipb.Error error = 1; |
long |
getOutputCounts(int index)
output row count for each executor
|
int |
getOutputCountsCount()
output row count for each executor
|
List<Long> |
getOutputCountsList()
output row count for each executor
|
long |
getWarningCount()
optional int64 warning_count = 6; |
Error |
getWarnings(int index)
repeated .tipb.Error warnings = 4; |
Error.Builder |
getWarningsBuilder(int index)
repeated .tipb.Error warnings = 4; |
List<Error.Builder> |
getWarningsBuilderList()
repeated .tipb.Error warnings = 4; |
int |
getWarningsCount()
repeated .tipb.Error warnings = 4; |
List<Error> |
getWarningsList()
repeated .tipb.Error warnings = 4; |
ErrorOrBuilder |
getWarningsOrBuilder(int index)
repeated .tipb.Error warnings = 4; |
List<? extends ErrorOrBuilder> |
getWarningsOrBuilderList()
repeated .tipb.Error warnings = 4; |
boolean |
hasData()
Data for all rows
|
boolean |
hasError()
optional .tipb.Error error = 1; |
boolean |
hasWarningCount()
optional int64 warning_count = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StreamResponse.Builder |
mergeError(Error value)
optional .tipb.Error error = 1; |
StreamResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StreamResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
StreamResponse.Builder |
mergeFrom(StreamResponse other) |
StreamResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StreamResponse.Builder |
removeWarnings(int index)
repeated .tipb.Error warnings = 4; |
StreamResponse.Builder |
setData(com.google.protobuf.ByteString value)
Data for all rows
|
StreamResponse.Builder |
setError(Error.Builder builderForValue)
optional .tipb.Error error = 1; |
StreamResponse.Builder |
setError(Error value)
optional .tipb.Error error = 1; |
StreamResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StreamResponse.Builder |
setOutputCounts(int index,
long value)
output row count for each executor
|
StreamResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StreamResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StreamResponse.Builder |
setWarningCount(long value)
optional int64 warning_count = 6; |
StreamResponse.Builder |
setWarnings(int index,
Error.Builder builderForValue)
repeated .tipb.Error warnings = 4; |
StreamResponse.Builder |
setWarnings(int index,
Error value)
repeated .tipb.Error warnings = 4; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamResponse.Builder>
public StreamResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamResponse.Builder>
public StreamResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StreamResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StreamResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StreamResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamResponse.Builder>
public StreamResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamResponse.Builder>
public StreamResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamResponse.Builder>
public StreamResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamResponse.Builder>
public StreamResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamResponse.Builder>
public StreamResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamResponse.Builder>
public StreamResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StreamResponse.Builder>
public StreamResponse.Builder mergeFrom(StreamResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamResponse.Builder>
public StreamResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StreamResponse.Builder>
IOException
public boolean hasError()
optional .tipb.Error error = 1;
hasError
in interface StreamResponseOrBuilder
public Error getError()
optional .tipb.Error error = 1;
getError
in interface StreamResponseOrBuilder
public StreamResponse.Builder setError(Error value)
optional .tipb.Error error = 1;
public StreamResponse.Builder setError(Error.Builder builderForValue)
optional .tipb.Error error = 1;
public StreamResponse.Builder mergeError(Error value)
optional .tipb.Error error = 1;
public StreamResponse.Builder clearError()
optional .tipb.Error error = 1;
public Error.Builder getErrorBuilder()
optional .tipb.Error error = 1;
public ErrorOrBuilder getErrorOrBuilder()
optional .tipb.Error error = 1;
getErrorOrBuilder
in interface StreamResponseOrBuilder
public boolean hasData()
Data for all rows
optional bytes data = 3 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/pingcap/tipb/sharedbytes.SharedBytes"];
hasData
in interface StreamResponseOrBuilder
public com.google.protobuf.ByteString getData()
Data for all rows
optional bytes data = 3 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/pingcap/tipb/sharedbytes.SharedBytes"];
getData
in interface StreamResponseOrBuilder
public StreamResponse.Builder setData(com.google.protobuf.ByteString value)
Data for all rows
optional bytes data = 3 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/pingcap/tipb/sharedbytes.SharedBytes"];
value
- The data to set.public StreamResponse.Builder clearData()
Data for all rows
optional bytes data = 3 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/pingcap/tipb/sharedbytes.SharedBytes"];
public List<Error> getWarningsList()
repeated .tipb.Error warnings = 4;
getWarningsList
in interface StreamResponseOrBuilder
public int getWarningsCount()
repeated .tipb.Error warnings = 4;
getWarningsCount
in interface StreamResponseOrBuilder
public Error getWarnings(int index)
repeated .tipb.Error warnings = 4;
getWarnings
in interface StreamResponseOrBuilder
public StreamResponse.Builder setWarnings(int index, Error value)
repeated .tipb.Error warnings = 4;
public StreamResponse.Builder setWarnings(int index, Error.Builder builderForValue)
repeated .tipb.Error warnings = 4;
public StreamResponse.Builder addWarnings(Error value)
repeated .tipb.Error warnings = 4;
public StreamResponse.Builder addWarnings(int index, Error value)
repeated .tipb.Error warnings = 4;
public StreamResponse.Builder addWarnings(Error.Builder builderForValue)
repeated .tipb.Error warnings = 4;
public StreamResponse.Builder addWarnings(int index, Error.Builder builderForValue)
repeated .tipb.Error warnings = 4;
public StreamResponse.Builder addAllWarnings(Iterable<? extends Error> values)
repeated .tipb.Error warnings = 4;
public StreamResponse.Builder clearWarnings()
repeated .tipb.Error warnings = 4;
public StreamResponse.Builder removeWarnings(int index)
repeated .tipb.Error warnings = 4;
public Error.Builder getWarningsBuilder(int index)
repeated .tipb.Error warnings = 4;
public ErrorOrBuilder getWarningsOrBuilder(int index)
repeated .tipb.Error warnings = 4;
getWarningsOrBuilder
in interface StreamResponseOrBuilder
public List<? extends ErrorOrBuilder> getWarningsOrBuilderList()
repeated .tipb.Error warnings = 4;
getWarningsOrBuilderList
in interface StreamResponseOrBuilder
public Error.Builder addWarningsBuilder()
repeated .tipb.Error warnings = 4;
public Error.Builder addWarningsBuilder(int index)
repeated .tipb.Error warnings = 4;
public List<Error.Builder> getWarningsBuilderList()
repeated .tipb.Error warnings = 4;
public List<Long> getOutputCountsList()
output row count for each executor
repeated int64 output_counts = 5;
getOutputCountsList
in interface StreamResponseOrBuilder
public int getOutputCountsCount()
output row count for each executor
repeated int64 output_counts = 5;
getOutputCountsCount
in interface StreamResponseOrBuilder
public long getOutputCounts(int index)
output row count for each executor
repeated int64 output_counts = 5;
getOutputCounts
in interface StreamResponseOrBuilder
index
- The index of the element to return.public StreamResponse.Builder setOutputCounts(int index, long value)
output row count for each executor
repeated int64 output_counts = 5;
index
- The index to set the value at.value
- The outputCounts to set.public StreamResponse.Builder addOutputCounts(long value)
output row count for each executor
repeated int64 output_counts = 5;
value
- The outputCounts to add.public StreamResponse.Builder addAllOutputCounts(Iterable<? extends Long> values)
output row count for each executor
repeated int64 output_counts = 5;
values
- The outputCounts to add.public StreamResponse.Builder clearOutputCounts()
output row count for each executor
repeated int64 output_counts = 5;
public boolean hasWarningCount()
optional int64 warning_count = 6;
hasWarningCount
in interface StreamResponseOrBuilder
public long getWarningCount()
optional int64 warning_count = 6;
getWarningCount
in interface StreamResponseOrBuilder
public StreamResponse.Builder setWarningCount(long value)
optional int64 warning_count = 6;
value
- The warningCount to set.public StreamResponse.Builder clearWarningCount()
optional int64 warning_count = 6;
public final StreamResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamResponse.Builder>
public final StreamResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.