public final class StreamResponse extends com.google.protobuf.GeneratedMessageV3 implements StreamResponseOrBuilder
tipb.StreamResponse| Modifier and Type | Class and Description |
|---|---|
static class |
StreamResponse.Builder
Protobuf type
tipb.StreamResponse |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DATA_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
OUTPUT_COUNTS_FIELD_NUMBER |
static com.google.protobuf.Parser<StreamResponse> |
PARSER
Deprecated.
|
static int |
WARNING_COUNT_FIELD_NUMBER |
static int |
WARNINGS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.ByteString |
getData()
Data for all rows
|
static StreamResponse |
getDefaultInstance() |
StreamResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Error |
getError()
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
|
com.google.protobuf.Parser<StreamResponse> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
long |
getWarningCount()
optional int64 warning_count = 6; |
Error |
getWarnings(int index)
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; |
int |
hashCode() |
boolean |
hasWarningCount()
optional int64 warning_count = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static StreamResponse.Builder |
newBuilder() |
static StreamResponse.Builder |
newBuilder(StreamResponse prototype) |
StreamResponse.Builder |
newBuilderForType() |
protected StreamResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static StreamResponse |
parseDelimitedFrom(InputStream input) |
static StreamResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamResponse |
parseFrom(byte[] data) |
static StreamResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamResponse |
parseFrom(ByteBuffer data) |
static StreamResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamResponse |
parseFrom(com.google.protobuf.ByteString data) |
static StreamResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StreamResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamResponse |
parseFrom(InputStream input) |
static StreamResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<StreamResponse> |
parser() |
StreamResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ERROR_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
public static final int WARNINGS_FIELD_NUMBER
public static final int OUTPUT_COUNTS_FIELD_NUMBER
public static final int WARNING_COUNT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<StreamResponse> PARSER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasError()
optional .tipb.Error error = 1;hasError in interface StreamResponseOrBuilderpublic Error getError()
optional .tipb.Error error = 1;getError in interface StreamResponseOrBuilderpublic ErrorOrBuilder getErrorOrBuilder()
optional .tipb.Error error = 1;getErrorOrBuilder in interface StreamResponseOrBuilderpublic boolean hasData()
Data for all rows
optional bytes data = 3 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/pingcap/tipb/sharedbytes.SharedBytes"];hasData in interface StreamResponseOrBuilderpublic 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 StreamResponseOrBuilderpublic List<Error> getWarningsList()
repeated .tipb.Error warnings = 4;getWarningsList in interface StreamResponseOrBuilderpublic List<? extends ErrorOrBuilder> getWarningsOrBuilderList()
repeated .tipb.Error warnings = 4;getWarningsOrBuilderList in interface StreamResponseOrBuilderpublic int getWarningsCount()
repeated .tipb.Error warnings = 4;getWarningsCount in interface StreamResponseOrBuilderpublic Error getWarnings(int index)
repeated .tipb.Error warnings = 4;getWarnings in interface StreamResponseOrBuilderpublic ErrorOrBuilder getWarningsOrBuilder(int index)
repeated .tipb.Error warnings = 4;getWarningsOrBuilder in interface StreamResponseOrBuilderpublic List<Long> getOutputCountsList()
output row count for each executor
repeated int64 output_counts = 5;getOutputCountsList in interface StreamResponseOrBuilderpublic int getOutputCountsCount()
output row count for each executor
repeated int64 output_counts = 5;getOutputCountsCount in interface StreamResponseOrBuilderpublic long getOutputCounts(int index)
output row count for each executor
repeated int64 output_counts = 5;getOutputCounts in interface StreamResponseOrBuilderindex - The index of the element to return.public boolean hasWarningCount()
optional int64 warning_count = 6;hasWarningCount in interface StreamResponseOrBuilderpublic long getWarningCount()
optional int64 warning_count = 6;getWarningCount in interface StreamResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static StreamResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static StreamResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StreamResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static StreamResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StreamResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static StreamResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic StreamResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static StreamResponse.Builder newBuilder()
public static StreamResponse.Builder newBuilder(StreamResponse prototype)
public StreamResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected StreamResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static StreamResponse getDefaultInstance()
public static com.google.protobuf.Parser<StreamResponse> parser()
public com.google.protobuf.Parser<StreamResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public StreamResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 PingCAP. All rights reserved.