public static final class Kvrpcpb.RawCASResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.RawCASResponse.Builder> implements Kvrpcpb.RawCASResponseOrBuilder
kvrpcpb.RawCASResponse
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.RawCASResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.RawCASResponse |
build() |
Kvrpcpb.RawCASResponse |
buildPartial() |
Kvrpcpb.RawCASResponse.Builder |
clear() |
Kvrpcpb.RawCASResponse.Builder |
clearError()
string error = 2; |
Kvrpcpb.RawCASResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.RawCASResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.RawCASResponse.Builder |
clearPreviousNotExist()
The previous value regardless of whether the comparison is succeed.
|
Kvrpcpb.RawCASResponse.Builder |
clearPreviousValue()
bytes previous_value = 5; |
Kvrpcpb.RawCASResponse.Builder |
clearRegionError()
.errorpb.Error region_error = 1; |
Kvrpcpb.RawCASResponse.Builder |
clearSucceed()
bool succeed = 3; |
Kvrpcpb.RawCASResponse.Builder |
clone() |
Kvrpcpb.RawCASResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getError()
string error = 2; |
com.google.protobuf.ByteString |
getErrorBytes()
string error = 2; |
boolean |
getPreviousNotExist()
The previous value regardless of whether the comparison is succeed.
|
com.google.protobuf.ByteString |
getPreviousValue()
bytes previous_value = 5; |
Errorpb.Error |
getRegionError()
.errorpb.Error region_error = 1; |
Errorpb.Error.Builder |
getRegionErrorBuilder()
.errorpb.Error region_error = 1; |
Errorpb.ErrorOrBuilder |
getRegionErrorOrBuilder()
.errorpb.Error region_error = 1; |
boolean |
getSucceed()
bool succeed = 3; |
boolean |
hasRegionError()
.errorpb.Error region_error = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kvrpcpb.RawCASResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.RawCASResponse.Builder |
mergeFrom(Kvrpcpb.RawCASResponse other) |
Kvrpcpb.RawCASResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.RawCASResponse.Builder |
mergeRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1; |
Kvrpcpb.RawCASResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.RawCASResponse.Builder |
setError(String value)
string error = 2; |
Kvrpcpb.RawCASResponse.Builder |
setErrorBytes(com.google.protobuf.ByteString value)
string error = 2; |
Kvrpcpb.RawCASResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.RawCASResponse.Builder |
setPreviousNotExist(boolean value)
The previous value regardless of whether the comparison is succeed.
|
Kvrpcpb.RawCASResponse.Builder |
setPreviousValue(com.google.protobuf.ByteString value)
bytes previous_value = 5; |
Kvrpcpb.RawCASResponse.Builder |
setRegionError(Errorpb.Error.Builder builderForValue)
.errorpb.Error region_error = 1; |
Kvrpcpb.RawCASResponse.Builder |
setRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1; |
Kvrpcpb.RawCASResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.RawCASResponse.Builder |
setSucceed(boolean value)
bool succeed = 3; |
Kvrpcpb.RawCASResponse.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.RawCASResponse.Builder>
public Kvrpcpb.RawCASResponse.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.RawCASResponse.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.RawCASResponse.Builder>
public Kvrpcpb.RawCASResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Kvrpcpb.RawCASResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.RawCASResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.RawCASResponse.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.RawCASResponse.Builder>
public Kvrpcpb.RawCASResponse.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.RawCASResponse.Builder>
public Kvrpcpb.RawCASResponse.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.RawCASResponse.Builder>
public Kvrpcpb.RawCASResponse.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.RawCASResponse.Builder>
public Kvrpcpb.RawCASResponse.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.RawCASResponse.Builder>
public Kvrpcpb.RawCASResponse.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.RawCASResponse.Builder>
public Kvrpcpb.RawCASResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.RawCASResponse.Builder>
public Kvrpcpb.RawCASResponse.Builder mergeFrom(Kvrpcpb.RawCASResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.RawCASResponse.Builder>
public Kvrpcpb.RawCASResponse.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.RawCASResponse.Builder>
IOException
public boolean hasRegionError()
.errorpb.Error region_error = 1;
hasRegionError
in interface Kvrpcpb.RawCASResponseOrBuilder
public Errorpb.Error getRegionError()
.errorpb.Error region_error = 1;
getRegionError
in interface Kvrpcpb.RawCASResponseOrBuilder
public Kvrpcpb.RawCASResponse.Builder setRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1;
public Kvrpcpb.RawCASResponse.Builder setRegionError(Errorpb.Error.Builder builderForValue)
.errorpb.Error region_error = 1;
public Kvrpcpb.RawCASResponse.Builder mergeRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1;
public Kvrpcpb.RawCASResponse.Builder clearRegionError()
.errorpb.Error region_error = 1;
public Errorpb.Error.Builder getRegionErrorBuilder()
.errorpb.Error region_error = 1;
public Errorpb.ErrorOrBuilder getRegionErrorOrBuilder()
.errorpb.Error region_error = 1;
getRegionErrorOrBuilder
in interface Kvrpcpb.RawCASResponseOrBuilder
public String getError()
string error = 2;
getError
in interface Kvrpcpb.RawCASResponseOrBuilder
public com.google.protobuf.ByteString getErrorBytes()
string error = 2;
getErrorBytes
in interface Kvrpcpb.RawCASResponseOrBuilder
public Kvrpcpb.RawCASResponse.Builder setError(String value)
string error = 2;
value
- The error to set.public Kvrpcpb.RawCASResponse.Builder clearError()
string error = 2;
public Kvrpcpb.RawCASResponse.Builder setErrorBytes(com.google.protobuf.ByteString value)
string error = 2;
value
- The bytes for error to set.public boolean getSucceed()
bool succeed = 3;
getSucceed
in interface Kvrpcpb.RawCASResponseOrBuilder
public Kvrpcpb.RawCASResponse.Builder setSucceed(boolean value)
bool succeed = 3;
value
- The succeed to set.public Kvrpcpb.RawCASResponse.Builder clearSucceed()
bool succeed = 3;
public boolean getPreviousNotExist()
The previous value regardless of whether the comparison is succeed.
bool previous_not_exist = 4;
getPreviousNotExist
in interface Kvrpcpb.RawCASResponseOrBuilder
public Kvrpcpb.RawCASResponse.Builder setPreviousNotExist(boolean value)
The previous value regardless of whether the comparison is succeed.
bool previous_not_exist = 4;
value
- The previousNotExist to set.public Kvrpcpb.RawCASResponse.Builder clearPreviousNotExist()
The previous value regardless of whether the comparison is succeed.
bool previous_not_exist = 4;
public com.google.protobuf.ByteString getPreviousValue()
bytes previous_value = 5;
getPreviousValue
in interface Kvrpcpb.RawCASResponseOrBuilder
public Kvrpcpb.RawCASResponse.Builder setPreviousValue(com.google.protobuf.ByteString value)
bytes previous_value = 5;
value
- The previousValue to set.public Kvrpcpb.RawCASResponse.Builder clearPreviousValue()
bytes previous_value = 5;
public final Kvrpcpb.RawCASResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.RawCASResponse.Builder>
public final Kvrpcpb.RawCASResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.RawCASResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.