public static final class Kvrpcpb.KvPair.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.KvPair.Builder> implements Kvrpcpb.KvPairOrBuilder
kvrpcpb.KvPair
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.KvPair.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.KvPair |
build() |
Kvrpcpb.KvPair |
buildPartial() |
Kvrpcpb.KvPair.Builder |
clear() |
Kvrpcpb.KvPair.Builder |
clearError()
.kvrpcpb.KeyError error = 1; |
Kvrpcpb.KvPair.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.KvPair.Builder |
clearKey()
bytes key = 2; |
Kvrpcpb.KvPair.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.KvPair.Builder |
clearValue()
bytes value = 3; |
Kvrpcpb.KvPair.Builder |
clone() |
Kvrpcpb.KvPair |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Kvrpcpb.KeyError |
getError()
.kvrpcpb.KeyError error = 1; |
Kvrpcpb.KeyError.Builder |
getErrorBuilder()
.kvrpcpb.KeyError error = 1; |
Kvrpcpb.KeyErrorOrBuilder |
getErrorOrBuilder()
.kvrpcpb.KeyError error = 1; |
com.google.protobuf.ByteString |
getKey()
bytes key = 2; |
com.google.protobuf.ByteString |
getValue()
bytes value = 3; |
boolean |
hasError()
.kvrpcpb.KeyError error = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kvrpcpb.KvPair.Builder |
mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 1; |
Kvrpcpb.KvPair.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.KvPair.Builder |
mergeFrom(Kvrpcpb.KvPair other) |
Kvrpcpb.KvPair.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.KvPair.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.KvPair.Builder |
setError(Kvrpcpb.KeyError.Builder builderForValue)
.kvrpcpb.KeyError error = 1; |
Kvrpcpb.KvPair.Builder |
setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 1; |
Kvrpcpb.KvPair.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.KvPair.Builder |
setKey(com.google.protobuf.ByteString value)
bytes key = 2; |
Kvrpcpb.KvPair.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.KvPair.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.KvPair.Builder |
setValue(com.google.protobuf.ByteString value)
bytes value = 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.KvPair.Builder>
public Kvrpcpb.KvPair.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.KvPair.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.KvPair.Builder>
public Kvrpcpb.KvPair getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Kvrpcpb.KvPair build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.KvPair buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.KvPair.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.KvPair.Builder>
public Kvrpcpb.KvPair.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.KvPair.Builder>
public Kvrpcpb.KvPair.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.KvPair.Builder>
public Kvrpcpb.KvPair.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.KvPair.Builder>
public Kvrpcpb.KvPair.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.KvPair.Builder>
public Kvrpcpb.KvPair.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.KvPair.Builder>
public Kvrpcpb.KvPair.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.KvPair.Builder>
public Kvrpcpb.KvPair.Builder mergeFrom(Kvrpcpb.KvPair other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.KvPair.Builder>
public Kvrpcpb.KvPair.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.KvPair.Builder>
IOException
public boolean hasError()
.kvrpcpb.KeyError error = 1;
hasError
in interface Kvrpcpb.KvPairOrBuilder
public Kvrpcpb.KeyError getError()
.kvrpcpb.KeyError error = 1;
getError
in interface Kvrpcpb.KvPairOrBuilder
public Kvrpcpb.KvPair.Builder setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 1;
public Kvrpcpb.KvPair.Builder setError(Kvrpcpb.KeyError.Builder builderForValue)
.kvrpcpb.KeyError error = 1;
public Kvrpcpb.KvPair.Builder mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 1;
public Kvrpcpb.KvPair.Builder clearError()
.kvrpcpb.KeyError error = 1;
public Kvrpcpb.KeyError.Builder getErrorBuilder()
.kvrpcpb.KeyError error = 1;
public Kvrpcpb.KeyErrorOrBuilder getErrorOrBuilder()
.kvrpcpb.KeyError error = 1;
getErrorOrBuilder
in interface Kvrpcpb.KvPairOrBuilder
public com.google.protobuf.ByteString getKey()
bytes key = 2;
getKey
in interface Kvrpcpb.KvPairOrBuilder
public Kvrpcpb.KvPair.Builder setKey(com.google.protobuf.ByteString value)
bytes key = 2;
value
- The key to set.public Kvrpcpb.KvPair.Builder clearKey()
bytes key = 2;
public com.google.protobuf.ByteString getValue()
bytes value = 3;
getValue
in interface Kvrpcpb.KvPairOrBuilder
public Kvrpcpb.KvPair.Builder setValue(com.google.protobuf.ByteString value)
bytes value = 3;
value
- The value to set.public Kvrpcpb.KvPair.Builder clearValue()
bytes value = 3;
public final Kvrpcpb.KvPair.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.KvPair.Builder>
public final Kvrpcpb.KvPair.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.KvPair.Builder>
Copyright © 2024 PingCAP. All rights reserved.