public static final class RaftCmdpb.Response extends com.google.protobuf.GeneratedMessageV3 implements RaftCmdpb.ResponseOrBuilder
raft_cmdpb.Response
Modifier and Type | Class and Description |
---|---|
static class |
RaftCmdpb.Response.Builder
Protobuf type
raft_cmdpb.Response |
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 |
CMD_TYPE_FIELD_NUMBER |
static int |
DELETE_FIELD_NUMBER |
static int |
DELTE_RANGE_FIELD_NUMBER |
static int |
GET_FIELD_NUMBER |
static int |
INGEST_SST_FIELD_NUMBER |
static int |
PREWRITE_FIELD_NUMBER |
static int |
PUT_FIELD_NUMBER |
static int |
READ_INDEX_FIELD_NUMBER |
static int |
SNAP_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
RaftCmdpb.CmdType |
getCmdType()
.raft_cmdpb.CmdType cmd_type = 1; |
int |
getCmdTypeValue()
.raft_cmdpb.CmdType cmd_type = 1; |
static RaftCmdpb.Response |
getDefaultInstance() |
RaftCmdpb.Response |
getDefaultInstanceForType() |
RaftCmdpb.DeleteResponse |
getDelete()
.raft_cmdpb.DeleteResponse delete = 5; |
RaftCmdpb.DeleteResponseOrBuilder |
getDeleteOrBuilder()
.raft_cmdpb.DeleteResponse delete = 5; |
RaftCmdpb.DeleteRangeResponse |
getDelteRange()
.raft_cmdpb.DeleteRangeResponse delte_range = 8; |
RaftCmdpb.DeleteRangeResponseOrBuilder |
getDelteRangeOrBuilder()
.raft_cmdpb.DeleteRangeResponse delte_range = 8; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RaftCmdpb.GetResponse |
getGet()
.raft_cmdpb.GetResponse get = 2; |
RaftCmdpb.GetResponseOrBuilder |
getGetOrBuilder()
.raft_cmdpb.GetResponse get = 2; |
RaftCmdpb.IngestSSTResponse |
getIngestSst()
.raft_cmdpb.IngestSSTResponse ingest_sst = 9; |
RaftCmdpb.IngestSSTResponseOrBuilder |
getIngestSstOrBuilder()
.raft_cmdpb.IngestSSTResponse ingest_sst = 9; |
com.google.protobuf.Parser<RaftCmdpb.Response> |
getParserForType() |
RaftCmdpb.PrewriteResponse |
getPrewrite()
.raft_cmdpb.PrewriteResponse prewrite = 7; |
RaftCmdpb.PrewriteResponseOrBuilder |
getPrewriteOrBuilder()
.raft_cmdpb.PrewriteResponse prewrite = 7; |
RaftCmdpb.PutResponse |
getPut()
.raft_cmdpb.PutResponse put = 4; |
RaftCmdpb.PutResponseOrBuilder |
getPutOrBuilder()
.raft_cmdpb.PutResponse put = 4; |
RaftCmdpb.ReadIndexResponse |
getReadIndex()
.raft_cmdpb.ReadIndexResponse read_index = 10; |
RaftCmdpb.ReadIndexResponseOrBuilder |
getReadIndexOrBuilder()
.raft_cmdpb.ReadIndexResponse read_index = 10; |
int |
getSerializedSize() |
RaftCmdpb.SnapResponse |
getSnap()
.raft_cmdpb.SnapResponse snap = 6; |
RaftCmdpb.SnapResponseOrBuilder |
getSnapOrBuilder()
.raft_cmdpb.SnapResponse snap = 6; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDelete()
.raft_cmdpb.DeleteResponse delete = 5; |
boolean |
hasDelteRange()
.raft_cmdpb.DeleteRangeResponse delte_range = 8; |
boolean |
hasGet()
.raft_cmdpb.GetResponse get = 2; |
int |
hashCode() |
boolean |
hasIngestSst()
.raft_cmdpb.IngestSSTResponse ingest_sst = 9; |
boolean |
hasPrewrite()
.raft_cmdpb.PrewriteResponse prewrite = 7; |
boolean |
hasPut()
.raft_cmdpb.PutResponse put = 4; |
boolean |
hasReadIndex()
.raft_cmdpb.ReadIndexResponse read_index = 10; |
boolean |
hasSnap()
.raft_cmdpb.SnapResponse snap = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RaftCmdpb.Response.Builder |
newBuilder() |
static RaftCmdpb.Response.Builder |
newBuilder(RaftCmdpb.Response prototype) |
RaftCmdpb.Response.Builder |
newBuilderForType() |
protected RaftCmdpb.Response.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RaftCmdpb.Response |
parseDelimitedFrom(InputStream input) |
static RaftCmdpb.Response |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.Response |
parseFrom(byte[] data) |
static RaftCmdpb.Response |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.Response |
parseFrom(ByteBuffer data) |
static RaftCmdpb.Response |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.Response |
parseFrom(com.google.protobuf.ByteString data) |
static RaftCmdpb.Response |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.Response |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RaftCmdpb.Response |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.Response |
parseFrom(InputStream input) |
static RaftCmdpb.Response |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RaftCmdpb.Response> |
parser() |
RaftCmdpb.Response.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 CMD_TYPE_FIELD_NUMBER
public static final int GET_FIELD_NUMBER
public static final int PUT_FIELD_NUMBER
public static final int DELETE_FIELD_NUMBER
public static final int SNAP_FIELD_NUMBER
public static final int PREWRITE_FIELD_NUMBER
public static final int DELTE_RANGE_FIELD_NUMBER
public static final int INGEST_SST_FIELD_NUMBER
public static final int READ_INDEX_FIELD_NUMBER
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 int getCmdTypeValue()
.raft_cmdpb.CmdType cmd_type = 1;
getCmdTypeValue
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.CmdType getCmdType()
.raft_cmdpb.CmdType cmd_type = 1;
getCmdType
in interface RaftCmdpb.ResponseOrBuilder
public boolean hasGet()
.raft_cmdpb.GetResponse get = 2;
hasGet
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.GetResponse getGet()
.raft_cmdpb.GetResponse get = 2;
getGet
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.GetResponseOrBuilder getGetOrBuilder()
.raft_cmdpb.GetResponse get = 2;
getGetOrBuilder
in interface RaftCmdpb.ResponseOrBuilder
public boolean hasPut()
.raft_cmdpb.PutResponse put = 4;
hasPut
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.PutResponse getPut()
.raft_cmdpb.PutResponse put = 4;
getPut
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.PutResponseOrBuilder getPutOrBuilder()
.raft_cmdpb.PutResponse put = 4;
getPutOrBuilder
in interface RaftCmdpb.ResponseOrBuilder
public boolean hasDelete()
.raft_cmdpb.DeleteResponse delete = 5;
hasDelete
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.DeleteResponse getDelete()
.raft_cmdpb.DeleteResponse delete = 5;
getDelete
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.DeleteResponseOrBuilder getDeleteOrBuilder()
.raft_cmdpb.DeleteResponse delete = 5;
getDeleteOrBuilder
in interface RaftCmdpb.ResponseOrBuilder
public boolean hasSnap()
.raft_cmdpb.SnapResponse snap = 6;
hasSnap
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.SnapResponse getSnap()
.raft_cmdpb.SnapResponse snap = 6;
getSnap
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.SnapResponseOrBuilder getSnapOrBuilder()
.raft_cmdpb.SnapResponse snap = 6;
getSnapOrBuilder
in interface RaftCmdpb.ResponseOrBuilder
public boolean hasPrewrite()
.raft_cmdpb.PrewriteResponse prewrite = 7;
hasPrewrite
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.PrewriteResponse getPrewrite()
.raft_cmdpb.PrewriteResponse prewrite = 7;
getPrewrite
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.PrewriteResponseOrBuilder getPrewriteOrBuilder()
.raft_cmdpb.PrewriteResponse prewrite = 7;
getPrewriteOrBuilder
in interface RaftCmdpb.ResponseOrBuilder
public boolean hasDelteRange()
.raft_cmdpb.DeleteRangeResponse delte_range = 8;
hasDelteRange
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.DeleteRangeResponse getDelteRange()
.raft_cmdpb.DeleteRangeResponse delte_range = 8;
getDelteRange
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.DeleteRangeResponseOrBuilder getDelteRangeOrBuilder()
.raft_cmdpb.DeleteRangeResponse delte_range = 8;
getDelteRangeOrBuilder
in interface RaftCmdpb.ResponseOrBuilder
public boolean hasIngestSst()
.raft_cmdpb.IngestSSTResponse ingest_sst = 9;
hasIngestSst
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.IngestSSTResponse getIngestSst()
.raft_cmdpb.IngestSSTResponse ingest_sst = 9;
getIngestSst
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.IngestSSTResponseOrBuilder getIngestSstOrBuilder()
.raft_cmdpb.IngestSSTResponse ingest_sst = 9;
getIngestSstOrBuilder
in interface RaftCmdpb.ResponseOrBuilder
public boolean hasReadIndex()
.raft_cmdpb.ReadIndexResponse read_index = 10;
hasReadIndex
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.ReadIndexResponse getReadIndex()
.raft_cmdpb.ReadIndexResponse read_index = 10;
getReadIndex
in interface RaftCmdpb.ResponseOrBuilder
public RaftCmdpb.ReadIndexResponseOrBuilder getReadIndexOrBuilder()
.raft_cmdpb.ReadIndexResponse read_index = 10;
getReadIndexOrBuilder
in interface RaftCmdpb.ResponseOrBuilder
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 RaftCmdpb.Response parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.Response parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.Response parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.Response parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.Response parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.Response parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.Response parseFrom(InputStream input) throws IOException
IOException
public static RaftCmdpb.Response parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RaftCmdpb.Response parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RaftCmdpb.Response parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RaftCmdpb.Response parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RaftCmdpb.Response parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public RaftCmdpb.Response.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RaftCmdpb.Response.Builder newBuilder()
public static RaftCmdpb.Response.Builder newBuilder(RaftCmdpb.Response prototype)
public RaftCmdpb.Response.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RaftCmdpb.Response.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static RaftCmdpb.Response getDefaultInstance()
public static com.google.protobuf.Parser<RaftCmdpb.Response> parser()
public com.google.protobuf.Parser<RaftCmdpb.Response> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public RaftCmdpb.Response getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.