public static final class RaftCmdpb.Request extends com.google.protobuf.GeneratedMessageV3 implements RaftCmdpb.RequestOrBuilder
raft_cmdpb.Request
Modifier and Type | Class and Description |
---|---|
static class |
RaftCmdpb.Request.Builder
Protobuf type
raft_cmdpb.Request |
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 |
DELETE_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.Request |
getDefaultInstance() |
RaftCmdpb.Request |
getDefaultInstanceForType() |
RaftCmdpb.DeleteRequest |
getDelete()
.raft_cmdpb.DeleteRequest delete = 5; |
RaftCmdpb.DeleteRequestOrBuilder |
getDeleteOrBuilder()
.raft_cmdpb.DeleteRequest delete = 5; |
RaftCmdpb.DeleteRangeRequest |
getDeleteRange()
.raft_cmdpb.DeleteRangeRequest delete_range = 8; |
RaftCmdpb.DeleteRangeRequestOrBuilder |
getDeleteRangeOrBuilder()
.raft_cmdpb.DeleteRangeRequest delete_range = 8; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RaftCmdpb.GetRequest |
getGet()
.raft_cmdpb.GetRequest get = 2; |
RaftCmdpb.GetRequestOrBuilder |
getGetOrBuilder()
.raft_cmdpb.GetRequest get = 2; |
RaftCmdpb.IngestSSTRequest |
getIngestSst()
.raft_cmdpb.IngestSSTRequest ingest_sst = 9; |
RaftCmdpb.IngestSSTRequestOrBuilder |
getIngestSstOrBuilder()
.raft_cmdpb.IngestSSTRequest ingest_sst = 9; |
com.google.protobuf.Parser<RaftCmdpb.Request> |
getParserForType() |
RaftCmdpb.PrewriteRequest |
getPrewrite()
.raft_cmdpb.PrewriteRequest prewrite = 7; |
RaftCmdpb.PrewriteRequestOrBuilder |
getPrewriteOrBuilder()
.raft_cmdpb.PrewriteRequest prewrite = 7; |
RaftCmdpb.PutRequest |
getPut()
.raft_cmdpb.PutRequest put = 4; |
RaftCmdpb.PutRequestOrBuilder |
getPutOrBuilder()
.raft_cmdpb.PutRequest put = 4; |
RaftCmdpb.ReadIndexRequest |
getReadIndex()
.raft_cmdpb.ReadIndexRequest read_index = 10; |
RaftCmdpb.ReadIndexRequestOrBuilder |
getReadIndexOrBuilder()
.raft_cmdpb.ReadIndexRequest read_index = 10; |
int |
getSerializedSize() |
RaftCmdpb.SnapRequest |
getSnap()
.raft_cmdpb.SnapRequest snap = 6; |
RaftCmdpb.SnapRequestOrBuilder |
getSnapOrBuilder()
.raft_cmdpb.SnapRequest snap = 6; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDelete()
.raft_cmdpb.DeleteRequest delete = 5; |
boolean |
hasDeleteRange()
.raft_cmdpb.DeleteRangeRequest delete_range = 8; |
boolean |
hasGet()
.raft_cmdpb.GetRequest get = 2; |
int |
hashCode() |
boolean |
hasIngestSst()
.raft_cmdpb.IngestSSTRequest ingest_sst = 9; |
boolean |
hasPrewrite()
.raft_cmdpb.PrewriteRequest prewrite = 7; |
boolean |
hasPut()
.raft_cmdpb.PutRequest put = 4; |
boolean |
hasReadIndex()
.raft_cmdpb.ReadIndexRequest read_index = 10; |
boolean |
hasSnap()
.raft_cmdpb.SnapRequest snap = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RaftCmdpb.Request.Builder |
newBuilder() |
static RaftCmdpb.Request.Builder |
newBuilder(RaftCmdpb.Request prototype) |
RaftCmdpb.Request.Builder |
newBuilderForType() |
protected RaftCmdpb.Request.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RaftCmdpb.Request |
parseDelimitedFrom(InputStream input) |
static RaftCmdpb.Request |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.Request |
parseFrom(byte[] data) |
static RaftCmdpb.Request |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.Request |
parseFrom(ByteBuffer data) |
static RaftCmdpb.Request |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.Request |
parseFrom(com.google.protobuf.ByteString data) |
static RaftCmdpb.Request |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.Request |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RaftCmdpb.Request |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftCmdpb.Request |
parseFrom(InputStream input) |
static RaftCmdpb.Request |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RaftCmdpb.Request> |
parser() |
RaftCmdpb.Request.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 DELETE_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.RequestOrBuilder
public RaftCmdpb.CmdType getCmdType()
.raft_cmdpb.CmdType cmd_type = 1;
getCmdType
in interface RaftCmdpb.RequestOrBuilder
public boolean hasGet()
.raft_cmdpb.GetRequest get = 2;
hasGet
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.GetRequest getGet()
.raft_cmdpb.GetRequest get = 2;
getGet
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.GetRequestOrBuilder getGetOrBuilder()
.raft_cmdpb.GetRequest get = 2;
getGetOrBuilder
in interface RaftCmdpb.RequestOrBuilder
public boolean hasPut()
.raft_cmdpb.PutRequest put = 4;
hasPut
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.PutRequest getPut()
.raft_cmdpb.PutRequest put = 4;
getPut
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.PutRequestOrBuilder getPutOrBuilder()
.raft_cmdpb.PutRequest put = 4;
getPutOrBuilder
in interface RaftCmdpb.RequestOrBuilder
public boolean hasDelete()
.raft_cmdpb.DeleteRequest delete = 5;
hasDelete
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.DeleteRequest getDelete()
.raft_cmdpb.DeleteRequest delete = 5;
getDelete
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.DeleteRequestOrBuilder getDeleteOrBuilder()
.raft_cmdpb.DeleteRequest delete = 5;
getDeleteOrBuilder
in interface RaftCmdpb.RequestOrBuilder
public boolean hasSnap()
.raft_cmdpb.SnapRequest snap = 6;
hasSnap
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.SnapRequest getSnap()
.raft_cmdpb.SnapRequest snap = 6;
getSnap
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.SnapRequestOrBuilder getSnapOrBuilder()
.raft_cmdpb.SnapRequest snap = 6;
getSnapOrBuilder
in interface RaftCmdpb.RequestOrBuilder
public boolean hasPrewrite()
.raft_cmdpb.PrewriteRequest prewrite = 7;
hasPrewrite
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.PrewriteRequest getPrewrite()
.raft_cmdpb.PrewriteRequest prewrite = 7;
getPrewrite
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.PrewriteRequestOrBuilder getPrewriteOrBuilder()
.raft_cmdpb.PrewriteRequest prewrite = 7;
getPrewriteOrBuilder
in interface RaftCmdpb.RequestOrBuilder
public boolean hasDeleteRange()
.raft_cmdpb.DeleteRangeRequest delete_range = 8;
hasDeleteRange
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.DeleteRangeRequest getDeleteRange()
.raft_cmdpb.DeleteRangeRequest delete_range = 8;
getDeleteRange
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.DeleteRangeRequestOrBuilder getDeleteRangeOrBuilder()
.raft_cmdpb.DeleteRangeRequest delete_range = 8;
getDeleteRangeOrBuilder
in interface RaftCmdpb.RequestOrBuilder
public boolean hasIngestSst()
.raft_cmdpb.IngestSSTRequest ingest_sst = 9;
hasIngestSst
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.IngestSSTRequest getIngestSst()
.raft_cmdpb.IngestSSTRequest ingest_sst = 9;
getIngestSst
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.IngestSSTRequestOrBuilder getIngestSstOrBuilder()
.raft_cmdpb.IngestSSTRequest ingest_sst = 9;
getIngestSstOrBuilder
in interface RaftCmdpb.RequestOrBuilder
public boolean hasReadIndex()
.raft_cmdpb.ReadIndexRequest read_index = 10;
hasReadIndex
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.ReadIndexRequest getReadIndex()
.raft_cmdpb.ReadIndexRequest read_index = 10;
getReadIndex
in interface RaftCmdpb.RequestOrBuilder
public RaftCmdpb.ReadIndexRequestOrBuilder getReadIndexOrBuilder()
.raft_cmdpb.ReadIndexRequest read_index = 10;
getReadIndexOrBuilder
in interface RaftCmdpb.RequestOrBuilder
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.Request parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.Request parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.Request parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.Request parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.Request parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RaftCmdpb.Request parseFrom(InputStream input) throws IOException
IOException
public static RaftCmdpb.Request parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RaftCmdpb.Request parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RaftCmdpb.Request parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RaftCmdpb.Request parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RaftCmdpb.Request parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public RaftCmdpb.Request.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RaftCmdpb.Request.Builder newBuilder()
public static RaftCmdpb.Request.Builder newBuilder(RaftCmdpb.Request prototype)
public RaftCmdpb.Request.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RaftCmdpb.Request.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static RaftCmdpb.Request getDefaultInstance()
public static com.google.protobuf.Parser<RaftCmdpb.Request> parser()
public com.google.protobuf.Parser<RaftCmdpb.Request> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public RaftCmdpb.Request getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.