public static final class Kvrpcpb.RawBatchPutRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.RawBatchPutRequest.Builder> implements Kvrpcpb.RawBatchPutRequestOrBuilder
kvrpcpb.RawBatchPutRequest
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.RawBatchPutRequest.Builder |
addAllPairs(Iterable<? extends Kvrpcpb.KvPair> values)
repeated .kvrpcpb.KvPair pairs = 2; |
Kvrpcpb.RawBatchPutRequest.Builder |
addAllTtls(Iterable<? extends Long> values)
The time-to-live for each keys in seconds, and if the length of `ttls`
is exactly one, the ttl will be applied to all keys.
|
Kvrpcpb.RawBatchPutRequest.Builder |
addPairs(int index,
Kvrpcpb.KvPair.Builder builderForValue)
repeated .kvrpcpb.KvPair pairs = 2; |
Kvrpcpb.RawBatchPutRequest.Builder |
addPairs(int index,
Kvrpcpb.KvPair value)
repeated .kvrpcpb.KvPair pairs = 2; |
Kvrpcpb.RawBatchPutRequest.Builder |
addPairs(Kvrpcpb.KvPair.Builder builderForValue)
repeated .kvrpcpb.KvPair pairs = 2; |
Kvrpcpb.RawBatchPutRequest.Builder |
addPairs(Kvrpcpb.KvPair value)
repeated .kvrpcpb.KvPair pairs = 2; |
Kvrpcpb.KvPair.Builder |
addPairsBuilder()
repeated .kvrpcpb.KvPair pairs = 2; |
Kvrpcpb.KvPair.Builder |
addPairsBuilder(int index)
repeated .kvrpcpb.KvPair pairs = 2; |
Kvrpcpb.RawBatchPutRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.RawBatchPutRequest.Builder |
addTtls(long value)
The time-to-live for each keys in seconds, and if the length of `ttls`
is exactly one, the ttl will be applied to all keys.
|
Kvrpcpb.RawBatchPutRequest |
build() |
Kvrpcpb.RawBatchPutRequest |
buildPartial() |
Kvrpcpb.RawBatchPutRequest.Builder |
clear() |
Kvrpcpb.RawBatchPutRequest.Builder |
clearCf()
string cf = 3; |
Kvrpcpb.RawBatchPutRequest.Builder |
clearContext()
.kvrpcpb.Context context = 1; |
Kvrpcpb.RawBatchPutRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.RawBatchPutRequest.Builder |
clearForCas()
bool for_cas = 5; |
Kvrpcpb.RawBatchPutRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.RawBatchPutRequest.Builder |
clearPairs()
repeated .kvrpcpb.KvPair pairs = 2; |
Kvrpcpb.RawBatchPutRequest.Builder |
clearTtl()
Deprecated.
|
Kvrpcpb.RawBatchPutRequest.Builder |
clearTtls()
The time-to-live for each keys in seconds, and if the length of `ttls`
is exactly one, the ttl will be applied to all keys.
|
Kvrpcpb.RawBatchPutRequest.Builder |
clone() |
String |
getCf()
string cf = 3; |
com.google.protobuf.ByteString |
getCfBytes()
string cf = 3; |
Kvrpcpb.Context |
getContext()
.kvrpcpb.Context context = 1; |
Kvrpcpb.Context.Builder |
getContextBuilder()
.kvrpcpb.Context context = 1; |
Kvrpcpb.ContextOrBuilder |
getContextOrBuilder()
.kvrpcpb.Context context = 1; |
Kvrpcpb.RawBatchPutRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getForCas()
bool for_cas = 5; |
Kvrpcpb.KvPair |
getPairs(int index)
repeated .kvrpcpb.KvPair pairs = 2; |
Kvrpcpb.KvPair.Builder |
getPairsBuilder(int index)
repeated .kvrpcpb.KvPair pairs = 2; |
List<Kvrpcpb.KvPair.Builder> |
getPairsBuilderList()
repeated .kvrpcpb.KvPair pairs = 2; |
int |
getPairsCount()
repeated .kvrpcpb.KvPair pairs = 2; |
List<Kvrpcpb.KvPair> |
getPairsList()
repeated .kvrpcpb.KvPair pairs = 2; |
Kvrpcpb.KvPairOrBuilder |
getPairsOrBuilder(int index)
repeated .kvrpcpb.KvPair pairs = 2; |
List<? extends Kvrpcpb.KvPairOrBuilder> |
getPairsOrBuilderList()
repeated .kvrpcpb.KvPair pairs = 2; |
long |
getTtl()
Deprecated.
|
long |
getTtls(int index)
The time-to-live for each keys in seconds, and if the length of `ttls`
is exactly one, the ttl will be applied to all keys.
|
int |
getTtlsCount()
The time-to-live for each keys in seconds, and if the length of `ttls`
is exactly one, the ttl will be applied to all keys.
|
List<Long> |
getTtlsList()
The time-to-live for each keys in seconds, and if the length of `ttls`
is exactly one, the ttl will be applied to all keys.
|
boolean |
hasContext()
.kvrpcpb.Context context = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kvrpcpb.RawBatchPutRequest.Builder |
mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Kvrpcpb.RawBatchPutRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.RawBatchPutRequest.Builder |
mergeFrom(Kvrpcpb.RawBatchPutRequest other) |
Kvrpcpb.RawBatchPutRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.RawBatchPutRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.RawBatchPutRequest.Builder |
removePairs(int index)
repeated .kvrpcpb.KvPair pairs = 2; |
Kvrpcpb.RawBatchPutRequest.Builder |
setCf(String value)
string cf = 3; |
Kvrpcpb.RawBatchPutRequest.Builder |
setCfBytes(com.google.protobuf.ByteString value)
string cf = 3; |
Kvrpcpb.RawBatchPutRequest.Builder |
setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1; |
Kvrpcpb.RawBatchPutRequest.Builder |
setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Kvrpcpb.RawBatchPutRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.RawBatchPutRequest.Builder |
setForCas(boolean value)
bool for_cas = 5; |
Kvrpcpb.RawBatchPutRequest.Builder |
setPairs(int index,
Kvrpcpb.KvPair.Builder builderForValue)
repeated .kvrpcpb.KvPair pairs = 2; |
Kvrpcpb.RawBatchPutRequest.Builder |
setPairs(int index,
Kvrpcpb.KvPair value)
repeated .kvrpcpb.KvPair pairs = 2; |
Kvrpcpb.RawBatchPutRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.RawBatchPutRequest.Builder |
setTtl(long value)
Deprecated.
|
Kvrpcpb.RawBatchPutRequest.Builder |
setTtls(int index,
long value)
The time-to-live for each keys in seconds, and if the length of `ttls`
is exactly one, the ttl will be applied to all keys.
|
Kvrpcpb.RawBatchPutRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.RawBatchPutRequest.Builder>
public Kvrpcpb.RawBatchPutRequest.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.RawBatchPutRequest.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.RawBatchPutRequest.Builder>
public Kvrpcpb.RawBatchPutRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Kvrpcpb.RawBatchPutRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.RawBatchPutRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.RawBatchPutRequest.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.RawBatchPutRequest.Builder>
public Kvrpcpb.RawBatchPutRequest.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.RawBatchPutRequest.Builder>
public Kvrpcpb.RawBatchPutRequest.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.RawBatchPutRequest.Builder>
public Kvrpcpb.RawBatchPutRequest.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.RawBatchPutRequest.Builder>
public Kvrpcpb.RawBatchPutRequest.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.RawBatchPutRequest.Builder>
public Kvrpcpb.RawBatchPutRequest.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.RawBatchPutRequest.Builder>
public Kvrpcpb.RawBatchPutRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.RawBatchPutRequest.Builder>
public Kvrpcpb.RawBatchPutRequest.Builder mergeFrom(Kvrpcpb.RawBatchPutRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.RawBatchPutRequest.Builder>
public Kvrpcpb.RawBatchPutRequest.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.RawBatchPutRequest.Builder>
IOException
public boolean hasContext()
.kvrpcpb.Context context = 1;
hasContext
in interface Kvrpcpb.RawBatchPutRequestOrBuilder
public Kvrpcpb.Context getContext()
.kvrpcpb.Context context = 1;
getContext
in interface Kvrpcpb.RawBatchPutRequestOrBuilder
public Kvrpcpb.RawBatchPutRequest.Builder setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Kvrpcpb.RawBatchPutRequest.Builder setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1;
public Kvrpcpb.RawBatchPutRequest.Builder mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Kvrpcpb.RawBatchPutRequest.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.RawBatchPutRequestOrBuilder
public List<Kvrpcpb.KvPair> getPairsList()
repeated .kvrpcpb.KvPair pairs = 2;
getPairsList
in interface Kvrpcpb.RawBatchPutRequestOrBuilder
public int getPairsCount()
repeated .kvrpcpb.KvPair pairs = 2;
getPairsCount
in interface Kvrpcpb.RawBatchPutRequestOrBuilder
public Kvrpcpb.KvPair getPairs(int index)
repeated .kvrpcpb.KvPair pairs = 2;
getPairs
in interface Kvrpcpb.RawBatchPutRequestOrBuilder
public Kvrpcpb.RawBatchPutRequest.Builder setPairs(int index, Kvrpcpb.KvPair value)
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.RawBatchPutRequest.Builder setPairs(int index, Kvrpcpb.KvPair.Builder builderForValue)
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.RawBatchPutRequest.Builder addPairs(Kvrpcpb.KvPair value)
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.RawBatchPutRequest.Builder addPairs(int index, Kvrpcpb.KvPair value)
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.RawBatchPutRequest.Builder addPairs(Kvrpcpb.KvPair.Builder builderForValue)
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.RawBatchPutRequest.Builder addPairs(int index, Kvrpcpb.KvPair.Builder builderForValue)
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.RawBatchPutRequest.Builder addAllPairs(Iterable<? extends Kvrpcpb.KvPair> values)
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.RawBatchPutRequest.Builder clearPairs()
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.RawBatchPutRequest.Builder removePairs(int index)
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.KvPair.Builder getPairsBuilder(int index)
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.KvPairOrBuilder getPairsOrBuilder(int index)
repeated .kvrpcpb.KvPair pairs = 2;
getPairsOrBuilder
in interface Kvrpcpb.RawBatchPutRequestOrBuilder
public List<? extends Kvrpcpb.KvPairOrBuilder> getPairsOrBuilderList()
repeated .kvrpcpb.KvPair pairs = 2;
getPairsOrBuilderList
in interface Kvrpcpb.RawBatchPutRequestOrBuilder
public Kvrpcpb.KvPair.Builder addPairsBuilder()
repeated .kvrpcpb.KvPair pairs = 2;
public Kvrpcpb.KvPair.Builder addPairsBuilder(int index)
repeated .kvrpcpb.KvPair pairs = 2;
public List<Kvrpcpb.KvPair.Builder> getPairsBuilderList()
repeated .kvrpcpb.KvPair pairs = 2;
public String getCf()
string cf = 3;
getCf
in interface Kvrpcpb.RawBatchPutRequestOrBuilder
public com.google.protobuf.ByteString getCfBytes()
string cf = 3;
getCfBytes
in interface Kvrpcpb.RawBatchPutRequestOrBuilder
public Kvrpcpb.RawBatchPutRequest.Builder setCf(String value)
string cf = 3;
value
- The cf to set.public Kvrpcpb.RawBatchPutRequest.Builder clearCf()
string cf = 3;
public Kvrpcpb.RawBatchPutRequest.Builder setCfBytes(com.google.protobuf.ByteString value)
string cf = 3;
value
- The bytes for cf to set.@Deprecated public long getTtl()
uint64 ttl = 4 [deprecated = true];
getTtl
in interface Kvrpcpb.RawBatchPutRequestOrBuilder
@Deprecated public Kvrpcpb.RawBatchPutRequest.Builder setTtl(long value)
uint64 ttl = 4 [deprecated = true];
value
- The ttl to set.@Deprecated public Kvrpcpb.RawBatchPutRequest.Builder clearTtl()
uint64 ttl = 4 [deprecated = true];
public boolean getForCas()
bool for_cas = 5;
getForCas
in interface Kvrpcpb.RawBatchPutRequestOrBuilder
public Kvrpcpb.RawBatchPutRequest.Builder setForCas(boolean value)
bool for_cas = 5;
value
- The forCas to set.public Kvrpcpb.RawBatchPutRequest.Builder clearForCas()
bool for_cas = 5;
public List<Long> getTtlsList()
The time-to-live for each keys in seconds, and if the length of `ttls` is exactly one, the ttl will be applied to all keys. Otherwise, the length mismatch between `ttls` and `pairs` will return an error.
repeated uint64 ttls = 6;
getTtlsList
in interface Kvrpcpb.RawBatchPutRequestOrBuilder
public int getTtlsCount()
The time-to-live for each keys in seconds, and if the length of `ttls` is exactly one, the ttl will be applied to all keys. Otherwise, the length mismatch between `ttls` and `pairs` will return an error.
repeated uint64 ttls = 6;
getTtlsCount
in interface Kvrpcpb.RawBatchPutRequestOrBuilder
public long getTtls(int index)
The time-to-live for each keys in seconds, and if the length of `ttls` is exactly one, the ttl will be applied to all keys. Otherwise, the length mismatch between `ttls` and `pairs` will return an error.
repeated uint64 ttls = 6;
getTtls
in interface Kvrpcpb.RawBatchPutRequestOrBuilder
index
- The index of the element to return.public Kvrpcpb.RawBatchPutRequest.Builder setTtls(int index, long value)
The time-to-live for each keys in seconds, and if the length of `ttls` is exactly one, the ttl will be applied to all keys. Otherwise, the length mismatch between `ttls` and `pairs` will return an error.
repeated uint64 ttls = 6;
index
- The index to set the value at.value
- The ttls to set.public Kvrpcpb.RawBatchPutRequest.Builder addTtls(long value)
The time-to-live for each keys in seconds, and if the length of `ttls` is exactly one, the ttl will be applied to all keys. Otherwise, the length mismatch between `ttls` and `pairs` will return an error.
repeated uint64 ttls = 6;
value
- The ttls to add.public Kvrpcpb.RawBatchPutRequest.Builder addAllTtls(Iterable<? extends Long> values)
The time-to-live for each keys in seconds, and if the length of `ttls` is exactly one, the ttl will be applied to all keys. Otherwise, the length mismatch between `ttls` and `pairs` will return an error.
repeated uint64 ttls = 6;
values
- The ttls to add.public Kvrpcpb.RawBatchPutRequest.Builder clearTtls()
The time-to-live for each keys in seconds, and if the length of `ttls` is exactly one, the ttl will be applied to all keys. Otherwise, the length mismatch between `ttls` and `pairs` will return an error.
repeated uint64 ttls = 6;
public final Kvrpcpb.RawBatchPutRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.RawBatchPutRequest.Builder>
public final Kvrpcpb.RawBatchPutRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.RawBatchPutRequest.Builder>
Copyright © 2024 PingCAP. All rights reserved.