public static final class Coprocessor.BatchResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.BatchResponse.Builder> implements Coprocessor.BatchResponseOrBuilder
coprocessor.BatchResponse
Modifier and Type | Method and Description |
---|---|
Coprocessor.BatchResponse.Builder |
addAllRetryRegions(Iterable<? extends Metapb.Region> values)
repeated .metapb.Region retry_regions = 4; |
Coprocessor.BatchResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Coprocessor.BatchResponse.Builder |
addRetryRegions(int index,
Metapb.Region.Builder builderForValue)
repeated .metapb.Region retry_regions = 4; |
Coprocessor.BatchResponse.Builder |
addRetryRegions(int index,
Metapb.Region value)
repeated .metapb.Region retry_regions = 4; |
Coprocessor.BatchResponse.Builder |
addRetryRegions(Metapb.Region.Builder builderForValue)
repeated .metapb.Region retry_regions = 4; |
Coprocessor.BatchResponse.Builder |
addRetryRegions(Metapb.Region value)
repeated .metapb.Region retry_regions = 4; |
Metapb.Region.Builder |
addRetryRegionsBuilder()
repeated .metapb.Region retry_regions = 4; |
Metapb.Region.Builder |
addRetryRegionsBuilder(int index)
repeated .metapb.Region retry_regions = 4; |
Coprocessor.BatchResponse |
build() |
Coprocessor.BatchResponse |
buildPartial() |
Coprocessor.BatchResponse.Builder |
clear() |
Coprocessor.BatchResponse.Builder |
clearData()
bytes data = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/pingcap/kvproto/pkg/sharedbytes.SharedBytes"]; |
Coprocessor.BatchResponse.Builder |
clearExecDetails()
.kvrpcpb.ExecDetails exec_details = 3; |
Coprocessor.BatchResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Coprocessor.BatchResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Coprocessor.BatchResponse.Builder |
clearOtherError()
string other_error = 2; |
Coprocessor.BatchResponse.Builder |
clearRetryRegions()
repeated .metapb.Region retry_regions = 4; |
Coprocessor.BatchResponse.Builder |
clone() |
com.google.protobuf.ByteString |
getData()
bytes data = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/pingcap/kvproto/pkg/sharedbytes.SharedBytes"]; |
Coprocessor.BatchResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Kvrpcpb.ExecDetails |
getExecDetails()
.kvrpcpb.ExecDetails exec_details = 3; |
Kvrpcpb.ExecDetails.Builder |
getExecDetailsBuilder()
.kvrpcpb.ExecDetails exec_details = 3; |
Kvrpcpb.ExecDetailsOrBuilder |
getExecDetailsOrBuilder()
.kvrpcpb.ExecDetails exec_details = 3; |
String |
getOtherError()
string other_error = 2; |
com.google.protobuf.ByteString |
getOtherErrorBytes()
string other_error = 2; |
Metapb.Region |
getRetryRegions(int index)
repeated .metapb.Region retry_regions = 4; |
Metapb.Region.Builder |
getRetryRegionsBuilder(int index)
repeated .metapb.Region retry_regions = 4; |
List<Metapb.Region.Builder> |
getRetryRegionsBuilderList()
repeated .metapb.Region retry_regions = 4; |
int |
getRetryRegionsCount()
repeated .metapb.Region retry_regions = 4; |
List<Metapb.Region> |
getRetryRegionsList()
repeated .metapb.Region retry_regions = 4; |
Metapb.RegionOrBuilder |
getRetryRegionsOrBuilder(int index)
repeated .metapb.Region retry_regions = 4; |
List<? extends Metapb.RegionOrBuilder> |
getRetryRegionsOrBuilderList()
repeated .metapb.Region retry_regions = 4; |
boolean |
hasExecDetails()
.kvrpcpb.ExecDetails exec_details = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Coprocessor.BatchResponse.Builder |
mergeExecDetails(Kvrpcpb.ExecDetails value)
.kvrpcpb.ExecDetails exec_details = 3; |
Coprocessor.BatchResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Coprocessor.BatchResponse.Builder |
mergeFrom(Coprocessor.BatchResponse other) |
Coprocessor.BatchResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Coprocessor.BatchResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Coprocessor.BatchResponse.Builder |
removeRetryRegions(int index)
repeated .metapb.Region retry_regions = 4; |
Coprocessor.BatchResponse.Builder |
setData(com.google.protobuf.ByteString value)
bytes data = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/pingcap/kvproto/pkg/sharedbytes.SharedBytes"]; |
Coprocessor.BatchResponse.Builder |
setExecDetails(Kvrpcpb.ExecDetails.Builder builderForValue)
.kvrpcpb.ExecDetails exec_details = 3; |
Coprocessor.BatchResponse.Builder |
setExecDetails(Kvrpcpb.ExecDetails value)
.kvrpcpb.ExecDetails exec_details = 3; |
Coprocessor.BatchResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Coprocessor.BatchResponse.Builder |
setOtherError(String value)
string other_error = 2; |
Coprocessor.BatchResponse.Builder |
setOtherErrorBytes(com.google.protobuf.ByteString value)
string other_error = 2; |
Coprocessor.BatchResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Coprocessor.BatchResponse.Builder |
setRetryRegions(int index,
Metapb.Region.Builder builderForValue)
repeated .metapb.Region retry_regions = 4; |
Coprocessor.BatchResponse.Builder |
setRetryRegions(int index,
Metapb.Region value)
repeated .metapb.Region retry_regions = 4; |
Coprocessor.BatchResponse.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<Coprocessor.BatchResponse.Builder>
public Coprocessor.BatchResponse.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<Coprocessor.BatchResponse.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<Coprocessor.BatchResponse.Builder>
public Coprocessor.BatchResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Coprocessor.BatchResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Coprocessor.BatchResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Coprocessor.BatchResponse.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<Coprocessor.BatchResponse.Builder>
public Coprocessor.BatchResponse.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<Coprocessor.BatchResponse.Builder>
public Coprocessor.BatchResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.BatchResponse.Builder>
public Coprocessor.BatchResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.BatchResponse.Builder>
public Coprocessor.BatchResponse.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<Coprocessor.BatchResponse.Builder>
public Coprocessor.BatchResponse.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<Coprocessor.BatchResponse.Builder>
public Coprocessor.BatchResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Coprocessor.BatchResponse.Builder>
public Coprocessor.BatchResponse.Builder mergeFrom(Coprocessor.BatchResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.BatchResponse.Builder>
public Coprocessor.BatchResponse.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<Coprocessor.BatchResponse.Builder>
IOException
public com.google.protobuf.ByteString getData()
bytes data = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/pingcap/kvproto/pkg/sharedbytes.SharedBytes"];
getData
in interface Coprocessor.BatchResponseOrBuilder
public Coprocessor.BatchResponse.Builder setData(com.google.protobuf.ByteString value)
bytes data = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/pingcap/kvproto/pkg/sharedbytes.SharedBytes"];
value
- The data to set.public Coprocessor.BatchResponse.Builder clearData()
bytes data = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/pingcap/kvproto/pkg/sharedbytes.SharedBytes"];
public String getOtherError()
string other_error = 2;
getOtherError
in interface Coprocessor.BatchResponseOrBuilder
public com.google.protobuf.ByteString getOtherErrorBytes()
string other_error = 2;
getOtherErrorBytes
in interface Coprocessor.BatchResponseOrBuilder
public Coprocessor.BatchResponse.Builder setOtherError(String value)
string other_error = 2;
value
- The otherError to set.public Coprocessor.BatchResponse.Builder clearOtherError()
string other_error = 2;
public Coprocessor.BatchResponse.Builder setOtherErrorBytes(com.google.protobuf.ByteString value)
string other_error = 2;
value
- The bytes for otherError to set.public boolean hasExecDetails()
.kvrpcpb.ExecDetails exec_details = 3;
hasExecDetails
in interface Coprocessor.BatchResponseOrBuilder
public Kvrpcpb.ExecDetails getExecDetails()
.kvrpcpb.ExecDetails exec_details = 3;
getExecDetails
in interface Coprocessor.BatchResponseOrBuilder
public Coprocessor.BatchResponse.Builder setExecDetails(Kvrpcpb.ExecDetails value)
.kvrpcpb.ExecDetails exec_details = 3;
public Coprocessor.BatchResponse.Builder setExecDetails(Kvrpcpb.ExecDetails.Builder builderForValue)
.kvrpcpb.ExecDetails exec_details = 3;
public Coprocessor.BatchResponse.Builder mergeExecDetails(Kvrpcpb.ExecDetails value)
.kvrpcpb.ExecDetails exec_details = 3;
public Coprocessor.BatchResponse.Builder clearExecDetails()
.kvrpcpb.ExecDetails exec_details = 3;
public Kvrpcpb.ExecDetails.Builder getExecDetailsBuilder()
.kvrpcpb.ExecDetails exec_details = 3;
public Kvrpcpb.ExecDetailsOrBuilder getExecDetailsOrBuilder()
.kvrpcpb.ExecDetails exec_details = 3;
getExecDetailsOrBuilder
in interface Coprocessor.BatchResponseOrBuilder
public List<Metapb.Region> getRetryRegionsList()
repeated .metapb.Region retry_regions = 4;
getRetryRegionsList
in interface Coprocessor.BatchResponseOrBuilder
public int getRetryRegionsCount()
repeated .metapb.Region retry_regions = 4;
getRetryRegionsCount
in interface Coprocessor.BatchResponseOrBuilder
public Metapb.Region getRetryRegions(int index)
repeated .metapb.Region retry_regions = 4;
getRetryRegions
in interface Coprocessor.BatchResponseOrBuilder
public Coprocessor.BatchResponse.Builder setRetryRegions(int index, Metapb.Region value)
repeated .metapb.Region retry_regions = 4;
public Coprocessor.BatchResponse.Builder setRetryRegions(int index, Metapb.Region.Builder builderForValue)
repeated .metapb.Region retry_regions = 4;
public Coprocessor.BatchResponse.Builder addRetryRegions(Metapb.Region value)
repeated .metapb.Region retry_regions = 4;
public Coprocessor.BatchResponse.Builder addRetryRegions(int index, Metapb.Region value)
repeated .metapb.Region retry_regions = 4;
public Coprocessor.BatchResponse.Builder addRetryRegions(Metapb.Region.Builder builderForValue)
repeated .metapb.Region retry_regions = 4;
public Coprocessor.BatchResponse.Builder addRetryRegions(int index, Metapb.Region.Builder builderForValue)
repeated .metapb.Region retry_regions = 4;
public Coprocessor.BatchResponse.Builder addAllRetryRegions(Iterable<? extends Metapb.Region> values)
repeated .metapb.Region retry_regions = 4;
public Coprocessor.BatchResponse.Builder clearRetryRegions()
repeated .metapb.Region retry_regions = 4;
public Coprocessor.BatchResponse.Builder removeRetryRegions(int index)
repeated .metapb.Region retry_regions = 4;
public Metapb.Region.Builder getRetryRegionsBuilder(int index)
repeated .metapb.Region retry_regions = 4;
public Metapb.RegionOrBuilder getRetryRegionsOrBuilder(int index)
repeated .metapb.Region retry_regions = 4;
getRetryRegionsOrBuilder
in interface Coprocessor.BatchResponseOrBuilder
public List<? extends Metapb.RegionOrBuilder> getRetryRegionsOrBuilderList()
repeated .metapb.Region retry_regions = 4;
getRetryRegionsOrBuilderList
in interface Coprocessor.BatchResponseOrBuilder
public Metapb.Region.Builder addRetryRegionsBuilder()
repeated .metapb.Region retry_regions = 4;
public Metapb.Region.Builder addRetryRegionsBuilder(int index)
repeated .metapb.Region retry_regions = 4;
public List<Metapb.Region.Builder> getRetryRegionsBuilderList()
repeated .metapb.Region retry_regions = 4;
public final Coprocessor.BatchResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.BatchResponse.Builder>
public final Coprocessor.BatchResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.BatchResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.