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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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 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 List<Error> getWarningsList()
repeated .tipb.Error warnings = 4;
getWarningsList
in interface StreamResponseOrBuilder
public List<? extends ErrorOrBuilder> getWarningsOrBuilderList()
repeated .tipb.Error warnings = 4;
getWarningsOrBuilderList
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 ErrorOrBuilder getWarningsOrBuilder(int index)
repeated .tipb.Error warnings = 4;
getWarningsOrBuilder
in interface StreamResponseOrBuilder
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 boolean hasWarningCount()
optional int64 warning_count = 6;
hasWarningCount
in interface StreamResponseOrBuilder
public long getWarningCount()
optional int64 warning_count = 6;
getWarningCount
in interface StreamResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static StreamResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamResponse parseFrom(InputStream input) throws IOException
IOException
public static StreamResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static StreamResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static StreamResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static StreamResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static StreamResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public StreamResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static StreamResponse.Builder newBuilder()
public static StreamResponse.Builder newBuilder(StreamResponse prototype)
public StreamResponse.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected StreamResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static StreamResponse getDefaultInstance()
public static com.google.protobuf.Parser<StreamResponse> parser()
public com.google.protobuf.Parser<StreamResponse> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public StreamResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.