public static final class Mpp.DispatchTaskResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mpp.DispatchTaskResponse.Builder> implements Mpp.DispatchTaskResponseOrBuilder
Get response of DispatchTaskRequest.Protobuf type
mpp.DispatchTaskResponse
Modifier and Type | Method and Description |
---|---|
Mpp.DispatchTaskResponse.Builder |
addAllRetryRegions(Iterable<? extends Metapb.Region> values)
repeated .metapb.Region retry_regions = 2; |
Mpp.DispatchTaskResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Mpp.DispatchTaskResponse.Builder |
addRetryRegions(int index,
Metapb.Region.Builder builderForValue)
repeated .metapb.Region retry_regions = 2; |
Mpp.DispatchTaskResponse.Builder |
addRetryRegions(int index,
Metapb.Region value)
repeated .metapb.Region retry_regions = 2; |
Mpp.DispatchTaskResponse.Builder |
addRetryRegions(Metapb.Region.Builder builderForValue)
repeated .metapb.Region retry_regions = 2; |
Mpp.DispatchTaskResponse.Builder |
addRetryRegions(Metapb.Region value)
repeated .metapb.Region retry_regions = 2; |
Metapb.Region.Builder |
addRetryRegionsBuilder()
repeated .metapb.Region retry_regions = 2; |
Metapb.Region.Builder |
addRetryRegionsBuilder(int index)
repeated .metapb.Region retry_regions = 2; |
Mpp.DispatchTaskResponse |
build() |
Mpp.DispatchTaskResponse |
buildPartial() |
Mpp.DispatchTaskResponse.Builder |
clear() |
Mpp.DispatchTaskResponse.Builder |
clearError()
.mpp.Error error = 1; |
Mpp.DispatchTaskResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Mpp.DispatchTaskResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Mpp.DispatchTaskResponse.Builder |
clearRetryRegions()
repeated .metapb.Region retry_regions = 2; |
Mpp.DispatchTaskResponse.Builder |
clone() |
Mpp.DispatchTaskResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Mpp.Error |
getError()
.mpp.Error error = 1; |
Mpp.Error.Builder |
getErrorBuilder()
.mpp.Error error = 1; |
Mpp.ErrorOrBuilder |
getErrorOrBuilder()
.mpp.Error error = 1; |
Metapb.Region |
getRetryRegions(int index)
repeated .metapb.Region retry_regions = 2; |
Metapb.Region.Builder |
getRetryRegionsBuilder(int index)
repeated .metapb.Region retry_regions = 2; |
List<Metapb.Region.Builder> |
getRetryRegionsBuilderList()
repeated .metapb.Region retry_regions = 2; |
int |
getRetryRegionsCount()
repeated .metapb.Region retry_regions = 2; |
List<Metapb.Region> |
getRetryRegionsList()
repeated .metapb.Region retry_regions = 2; |
Metapb.RegionOrBuilder |
getRetryRegionsOrBuilder(int index)
repeated .metapb.Region retry_regions = 2; |
List<? extends Metapb.RegionOrBuilder> |
getRetryRegionsOrBuilderList()
repeated .metapb.Region retry_regions = 2; |
boolean |
hasError()
.mpp.Error error = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Mpp.DispatchTaskResponse.Builder |
mergeError(Mpp.Error value)
.mpp.Error error = 1; |
Mpp.DispatchTaskResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Mpp.DispatchTaskResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Mpp.DispatchTaskResponse.Builder |
mergeFrom(Mpp.DispatchTaskResponse other) |
Mpp.DispatchTaskResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Mpp.DispatchTaskResponse.Builder |
removeRetryRegions(int index)
repeated .metapb.Region retry_regions = 2; |
Mpp.DispatchTaskResponse.Builder |
setError(Mpp.Error.Builder builderForValue)
.mpp.Error error = 1; |
Mpp.DispatchTaskResponse.Builder |
setError(Mpp.Error value)
.mpp.Error error = 1; |
Mpp.DispatchTaskResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Mpp.DispatchTaskResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Mpp.DispatchTaskResponse.Builder |
setRetryRegions(int index,
Metapb.Region.Builder builderForValue)
repeated .metapb.Region retry_regions = 2; |
Mpp.DispatchTaskResponse.Builder |
setRetryRegions(int index,
Metapb.Region value)
repeated .metapb.Region retry_regions = 2; |
Mpp.DispatchTaskResponse.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<Mpp.DispatchTaskResponse.Builder>
public Mpp.DispatchTaskResponse.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<Mpp.DispatchTaskResponse.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<Mpp.DispatchTaskResponse.Builder>
public Mpp.DispatchTaskResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Mpp.DispatchTaskResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Mpp.DispatchTaskResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Mpp.DispatchTaskResponse.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<Mpp.DispatchTaskResponse.Builder>
public Mpp.DispatchTaskResponse.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<Mpp.DispatchTaskResponse.Builder>
public Mpp.DispatchTaskResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.DispatchTaskResponse.Builder>
public Mpp.DispatchTaskResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.DispatchTaskResponse.Builder>
public Mpp.DispatchTaskResponse.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<Mpp.DispatchTaskResponse.Builder>
public Mpp.DispatchTaskResponse.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<Mpp.DispatchTaskResponse.Builder>
public Mpp.DispatchTaskResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Mpp.DispatchTaskResponse.Builder>
public Mpp.DispatchTaskResponse.Builder mergeFrom(Mpp.DispatchTaskResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.DispatchTaskResponse.Builder>
public Mpp.DispatchTaskResponse.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<Mpp.DispatchTaskResponse.Builder>
IOException
public boolean hasError()
.mpp.Error error = 1;
hasError
in interface Mpp.DispatchTaskResponseOrBuilder
public Mpp.Error getError()
.mpp.Error error = 1;
getError
in interface Mpp.DispatchTaskResponseOrBuilder
public Mpp.DispatchTaskResponse.Builder setError(Mpp.Error value)
.mpp.Error error = 1;
public Mpp.DispatchTaskResponse.Builder setError(Mpp.Error.Builder builderForValue)
.mpp.Error error = 1;
public Mpp.DispatchTaskResponse.Builder mergeError(Mpp.Error value)
.mpp.Error error = 1;
public Mpp.DispatchTaskResponse.Builder clearError()
.mpp.Error error = 1;
public Mpp.Error.Builder getErrorBuilder()
.mpp.Error error = 1;
public Mpp.ErrorOrBuilder getErrorOrBuilder()
.mpp.Error error = 1;
getErrorOrBuilder
in interface Mpp.DispatchTaskResponseOrBuilder
public List<Metapb.Region> getRetryRegionsList()
repeated .metapb.Region retry_regions = 2;
getRetryRegionsList
in interface Mpp.DispatchTaskResponseOrBuilder
public int getRetryRegionsCount()
repeated .metapb.Region retry_regions = 2;
getRetryRegionsCount
in interface Mpp.DispatchTaskResponseOrBuilder
public Metapb.Region getRetryRegions(int index)
repeated .metapb.Region retry_regions = 2;
getRetryRegions
in interface Mpp.DispatchTaskResponseOrBuilder
public Mpp.DispatchTaskResponse.Builder setRetryRegions(int index, Metapb.Region value)
repeated .metapb.Region retry_regions = 2;
public Mpp.DispatchTaskResponse.Builder setRetryRegions(int index, Metapb.Region.Builder builderForValue)
repeated .metapb.Region retry_regions = 2;
public Mpp.DispatchTaskResponse.Builder addRetryRegions(Metapb.Region value)
repeated .metapb.Region retry_regions = 2;
public Mpp.DispatchTaskResponse.Builder addRetryRegions(int index, Metapb.Region value)
repeated .metapb.Region retry_regions = 2;
public Mpp.DispatchTaskResponse.Builder addRetryRegions(Metapb.Region.Builder builderForValue)
repeated .metapb.Region retry_regions = 2;
public Mpp.DispatchTaskResponse.Builder addRetryRegions(int index, Metapb.Region.Builder builderForValue)
repeated .metapb.Region retry_regions = 2;
public Mpp.DispatchTaskResponse.Builder addAllRetryRegions(Iterable<? extends Metapb.Region> values)
repeated .metapb.Region retry_regions = 2;
public Mpp.DispatchTaskResponse.Builder clearRetryRegions()
repeated .metapb.Region retry_regions = 2;
public Mpp.DispatchTaskResponse.Builder removeRetryRegions(int index)
repeated .metapb.Region retry_regions = 2;
public Metapb.Region.Builder getRetryRegionsBuilder(int index)
repeated .metapb.Region retry_regions = 2;
public Metapb.RegionOrBuilder getRetryRegionsOrBuilder(int index)
repeated .metapb.Region retry_regions = 2;
getRetryRegionsOrBuilder
in interface Mpp.DispatchTaskResponseOrBuilder
public List<? extends Metapb.RegionOrBuilder> getRetryRegionsOrBuilderList()
repeated .metapb.Region retry_regions = 2;
getRetryRegionsOrBuilderList
in interface Mpp.DispatchTaskResponseOrBuilder
public Metapb.Region.Builder addRetryRegionsBuilder()
repeated .metapb.Region retry_regions = 2;
public Metapb.Region.Builder addRetryRegionsBuilder(int index)
repeated .metapb.Region retry_regions = 2;
public List<Metapb.Region.Builder> getRetryRegionsBuilderList()
repeated .metapb.Region retry_regions = 2;
public final Mpp.DispatchTaskResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.DispatchTaskResponse.Builder>
public final Mpp.DispatchTaskResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.DispatchTaskResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.