public static final class Kvrpcpb.BatchGetRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.BatchGetRequest.Builder> implements Kvrpcpb.BatchGetRequestOrBuilder
Similar to a `Get` request.Protobuf type
kvrpcpb.BatchGetRequest
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.BatchGetRequest.Builder |
addAllKeys(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes keys = 2; |
Kvrpcpb.BatchGetRequest.Builder |
addKeys(com.google.protobuf.ByteString value)
repeated bytes keys = 2; |
Kvrpcpb.BatchGetRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.BatchGetRequest |
build() |
Kvrpcpb.BatchGetRequest |
buildPartial() |
Kvrpcpb.BatchGetRequest.Builder |
clear() |
Kvrpcpb.BatchGetRequest.Builder |
clearContext()
.kvrpcpb.Context context = 1; |
Kvrpcpb.BatchGetRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.BatchGetRequest.Builder |
clearKeys()
repeated bytes keys = 2; |
Kvrpcpb.BatchGetRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.BatchGetRequest.Builder |
clearVersion()
uint64 version = 3; |
Kvrpcpb.BatchGetRequest.Builder |
clone() |
Kvrpcpb.Context |
getContext()
.kvrpcpb.Context context = 1; |
Kvrpcpb.Context.Builder |
getContextBuilder()
.kvrpcpb.Context context = 1; |
Kvrpcpb.ContextOrBuilder |
getContextOrBuilder()
.kvrpcpb.Context context = 1; |
Kvrpcpb.BatchGetRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getKeys(int index)
repeated bytes keys = 2; |
int |
getKeysCount()
repeated bytes keys = 2; |
List<com.google.protobuf.ByteString> |
getKeysList()
repeated bytes keys = 2; |
long |
getVersion()
uint64 version = 3; |
boolean |
hasContext()
.kvrpcpb.Context context = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kvrpcpb.BatchGetRequest.Builder |
mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Kvrpcpb.BatchGetRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.BatchGetRequest.Builder |
mergeFrom(Kvrpcpb.BatchGetRequest other) |
Kvrpcpb.BatchGetRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.BatchGetRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.BatchGetRequest.Builder |
setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1; |
Kvrpcpb.BatchGetRequest.Builder |
setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Kvrpcpb.BatchGetRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.BatchGetRequest.Builder |
setKeys(int index,
com.google.protobuf.ByteString value)
repeated bytes keys = 2; |
Kvrpcpb.BatchGetRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.BatchGetRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.BatchGetRequest.Builder |
setVersion(long value)
uint64 version = 3; |
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<Kvrpcpb.BatchGetRequest.Builder>
public Kvrpcpb.BatchGetRequest.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<Kvrpcpb.BatchGetRequest.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<Kvrpcpb.BatchGetRequest.Builder>
public Kvrpcpb.BatchGetRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Kvrpcpb.BatchGetRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.BatchGetRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.BatchGetRequest.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<Kvrpcpb.BatchGetRequest.Builder>
public Kvrpcpb.BatchGetRequest.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<Kvrpcpb.BatchGetRequest.Builder>
public Kvrpcpb.BatchGetRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.BatchGetRequest.Builder>
public Kvrpcpb.BatchGetRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.BatchGetRequest.Builder>
public Kvrpcpb.BatchGetRequest.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<Kvrpcpb.BatchGetRequest.Builder>
public Kvrpcpb.BatchGetRequest.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<Kvrpcpb.BatchGetRequest.Builder>
public Kvrpcpb.BatchGetRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.BatchGetRequest.Builder>
public Kvrpcpb.BatchGetRequest.Builder mergeFrom(Kvrpcpb.BatchGetRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.BatchGetRequest.Builder>
public Kvrpcpb.BatchGetRequest.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<Kvrpcpb.BatchGetRequest.Builder>
IOException
public boolean hasContext()
.kvrpcpb.Context context = 1;
hasContext
in interface Kvrpcpb.BatchGetRequestOrBuilder
public Kvrpcpb.Context getContext()
.kvrpcpb.Context context = 1;
getContext
in interface Kvrpcpb.BatchGetRequestOrBuilder
public Kvrpcpb.BatchGetRequest.Builder setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Kvrpcpb.BatchGetRequest.Builder setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1;
public Kvrpcpb.BatchGetRequest.Builder mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Kvrpcpb.BatchGetRequest.Builder clearContext()
.kvrpcpb.Context context = 1;
public Kvrpcpb.Context.Builder getContextBuilder()
.kvrpcpb.Context context = 1;
public Kvrpcpb.ContextOrBuilder getContextOrBuilder()
.kvrpcpb.Context context = 1;
getContextOrBuilder
in interface Kvrpcpb.BatchGetRequestOrBuilder
public List<com.google.protobuf.ByteString> getKeysList()
repeated bytes keys = 2;
getKeysList
in interface Kvrpcpb.BatchGetRequestOrBuilder
public int getKeysCount()
repeated bytes keys = 2;
getKeysCount
in interface Kvrpcpb.BatchGetRequestOrBuilder
public com.google.protobuf.ByteString getKeys(int index)
repeated bytes keys = 2;
getKeys
in interface Kvrpcpb.BatchGetRequestOrBuilder
index
- The index of the element to return.public Kvrpcpb.BatchGetRequest.Builder setKeys(int index, com.google.protobuf.ByteString value)
repeated bytes keys = 2;
index
- The index to set the value at.value
- The keys to set.public Kvrpcpb.BatchGetRequest.Builder addKeys(com.google.protobuf.ByteString value)
repeated bytes keys = 2;
value
- The keys to add.public Kvrpcpb.BatchGetRequest.Builder addAllKeys(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes keys = 2;
values
- The keys to add.public Kvrpcpb.BatchGetRequest.Builder clearKeys()
repeated bytes keys = 2;
public long getVersion()
uint64 version = 3;
getVersion
in interface Kvrpcpb.BatchGetRequestOrBuilder
public Kvrpcpb.BatchGetRequest.Builder setVersion(long value)
uint64 version = 3;
value
- The version to set.public Kvrpcpb.BatchGetRequest.Builder clearVersion()
uint64 version = 3;
public final Kvrpcpb.BatchGetRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.BatchGetRequest.Builder>
public final Kvrpcpb.BatchGetRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.BatchGetRequest.Builder>
Copyright © 2024 PingCAP. All rights reserved.