public static final class RaftCmdpb.RaftCmdResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.RaftCmdResponse.Builder> implements RaftCmdpb.RaftCmdResponseOrBuilder
raft_cmdpb.RaftCmdResponse
Modifier and Type | Method and Description |
---|---|
RaftCmdpb.RaftCmdResponse.Builder |
addAllResponses(Iterable<? extends RaftCmdpb.Response> values)
repeated .raft_cmdpb.Response responses = 2; |
RaftCmdpb.RaftCmdResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftCmdpb.RaftCmdResponse.Builder |
addResponses(int index,
RaftCmdpb.Response.Builder builderForValue)
repeated .raft_cmdpb.Response responses = 2; |
RaftCmdpb.RaftCmdResponse.Builder |
addResponses(int index,
RaftCmdpb.Response value)
repeated .raft_cmdpb.Response responses = 2; |
RaftCmdpb.RaftCmdResponse.Builder |
addResponses(RaftCmdpb.Response.Builder builderForValue)
repeated .raft_cmdpb.Response responses = 2; |
RaftCmdpb.RaftCmdResponse.Builder |
addResponses(RaftCmdpb.Response value)
repeated .raft_cmdpb.Response responses = 2; |
RaftCmdpb.Response.Builder |
addResponsesBuilder()
repeated .raft_cmdpb.Response responses = 2; |
RaftCmdpb.Response.Builder |
addResponsesBuilder(int index)
repeated .raft_cmdpb.Response responses = 2; |
RaftCmdpb.RaftCmdResponse |
build() |
RaftCmdpb.RaftCmdResponse |
buildPartial() |
RaftCmdpb.RaftCmdResponse.Builder |
clear() |
RaftCmdpb.RaftCmdResponse.Builder |
clearAdminResponse()
.raft_cmdpb.AdminResponse admin_response = 3; |
RaftCmdpb.RaftCmdResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RaftCmdpb.RaftCmdResponse.Builder |
clearHeader()
.raft_cmdpb.RaftResponseHeader header = 1; |
RaftCmdpb.RaftCmdResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RaftCmdpb.RaftCmdResponse.Builder |
clearResponses()
repeated .raft_cmdpb.Response responses = 2; |
RaftCmdpb.RaftCmdResponse.Builder |
clearStatusResponse()
.raft_cmdpb.StatusResponse status_response = 4; |
RaftCmdpb.RaftCmdResponse.Builder |
clone() |
RaftCmdpb.AdminResponse |
getAdminResponse()
.raft_cmdpb.AdminResponse admin_response = 3; |
RaftCmdpb.AdminResponse.Builder |
getAdminResponseBuilder()
.raft_cmdpb.AdminResponse admin_response = 3; |
RaftCmdpb.AdminResponseOrBuilder |
getAdminResponseOrBuilder()
.raft_cmdpb.AdminResponse admin_response = 3; |
RaftCmdpb.RaftCmdResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RaftCmdpb.RaftResponseHeader |
getHeader()
.raft_cmdpb.RaftResponseHeader header = 1; |
RaftCmdpb.RaftResponseHeader.Builder |
getHeaderBuilder()
.raft_cmdpb.RaftResponseHeader header = 1; |
RaftCmdpb.RaftResponseHeaderOrBuilder |
getHeaderOrBuilder()
.raft_cmdpb.RaftResponseHeader header = 1; |
RaftCmdpb.Response |
getResponses(int index)
repeated .raft_cmdpb.Response responses = 2; |
RaftCmdpb.Response.Builder |
getResponsesBuilder(int index)
repeated .raft_cmdpb.Response responses = 2; |
List<RaftCmdpb.Response.Builder> |
getResponsesBuilderList()
repeated .raft_cmdpb.Response responses = 2; |
int |
getResponsesCount()
repeated .raft_cmdpb.Response responses = 2; |
List<RaftCmdpb.Response> |
getResponsesList()
repeated .raft_cmdpb.Response responses = 2; |
RaftCmdpb.ResponseOrBuilder |
getResponsesOrBuilder(int index)
repeated .raft_cmdpb.Response responses = 2; |
List<? extends RaftCmdpb.ResponseOrBuilder> |
getResponsesOrBuilderList()
repeated .raft_cmdpb.Response responses = 2; |
RaftCmdpb.StatusResponse |
getStatusResponse()
.raft_cmdpb.StatusResponse status_response = 4; |
RaftCmdpb.StatusResponse.Builder |
getStatusResponseBuilder()
.raft_cmdpb.StatusResponse status_response = 4; |
RaftCmdpb.StatusResponseOrBuilder |
getStatusResponseOrBuilder()
.raft_cmdpb.StatusResponse status_response = 4; |
boolean |
hasAdminResponse()
.raft_cmdpb.AdminResponse admin_response = 3; |
boolean |
hasHeader()
.raft_cmdpb.RaftResponseHeader header = 1; |
boolean |
hasStatusResponse()
.raft_cmdpb.StatusResponse status_response = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RaftCmdpb.RaftCmdResponse.Builder |
mergeAdminResponse(RaftCmdpb.AdminResponse value)
.raft_cmdpb.AdminResponse admin_response = 3; |
RaftCmdpb.RaftCmdResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RaftCmdpb.RaftCmdResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
RaftCmdpb.RaftCmdResponse.Builder |
mergeFrom(RaftCmdpb.RaftCmdResponse other) |
RaftCmdpb.RaftCmdResponse.Builder |
mergeHeader(RaftCmdpb.RaftResponseHeader value)
.raft_cmdpb.RaftResponseHeader header = 1; |
RaftCmdpb.RaftCmdResponse.Builder |
mergeStatusResponse(RaftCmdpb.StatusResponse value)
.raft_cmdpb.StatusResponse status_response = 4; |
RaftCmdpb.RaftCmdResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RaftCmdpb.RaftCmdResponse.Builder |
removeResponses(int index)
repeated .raft_cmdpb.Response responses = 2; |
RaftCmdpb.RaftCmdResponse.Builder |
setAdminResponse(RaftCmdpb.AdminResponse.Builder builderForValue)
.raft_cmdpb.AdminResponse admin_response = 3; |
RaftCmdpb.RaftCmdResponse.Builder |
setAdminResponse(RaftCmdpb.AdminResponse value)
.raft_cmdpb.AdminResponse admin_response = 3; |
RaftCmdpb.RaftCmdResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftCmdpb.RaftCmdResponse.Builder |
setHeader(RaftCmdpb.RaftResponseHeader.Builder builderForValue)
.raft_cmdpb.RaftResponseHeader header = 1; |
RaftCmdpb.RaftCmdResponse.Builder |
setHeader(RaftCmdpb.RaftResponseHeader value)
.raft_cmdpb.RaftResponseHeader header = 1; |
RaftCmdpb.RaftCmdResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RaftCmdpb.RaftCmdResponse.Builder |
setResponses(int index,
RaftCmdpb.Response.Builder builderForValue)
repeated .raft_cmdpb.Response responses = 2; |
RaftCmdpb.RaftCmdResponse.Builder |
setResponses(int index,
RaftCmdpb.Response value)
repeated .raft_cmdpb.Response responses = 2; |
RaftCmdpb.RaftCmdResponse.Builder |
setStatusResponse(RaftCmdpb.StatusResponse.Builder builderForValue)
.raft_cmdpb.StatusResponse status_response = 4; |
RaftCmdpb.RaftCmdResponse.Builder |
setStatusResponse(RaftCmdpb.StatusResponse value)
.raft_cmdpb.StatusResponse status_response = 4; |
RaftCmdpb.RaftCmdResponse.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<RaftCmdpb.RaftCmdResponse.Builder>
public RaftCmdpb.RaftCmdResponse.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<RaftCmdpb.RaftCmdResponse.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<RaftCmdpb.RaftCmdResponse.Builder>
public RaftCmdpb.RaftCmdResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RaftCmdpb.RaftCmdResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RaftCmdpb.RaftCmdResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RaftCmdpb.RaftCmdResponse.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<RaftCmdpb.RaftCmdResponse.Builder>
public RaftCmdpb.RaftCmdResponse.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<RaftCmdpb.RaftCmdResponse.Builder>
public RaftCmdpb.RaftCmdResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.RaftCmdResponse.Builder>
public RaftCmdpb.RaftCmdResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.RaftCmdResponse.Builder>
public RaftCmdpb.RaftCmdResponse.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<RaftCmdpb.RaftCmdResponse.Builder>
public RaftCmdpb.RaftCmdResponse.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<RaftCmdpb.RaftCmdResponse.Builder>
public RaftCmdpb.RaftCmdResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RaftCmdpb.RaftCmdResponse.Builder>
public RaftCmdpb.RaftCmdResponse.Builder mergeFrom(RaftCmdpb.RaftCmdResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.RaftCmdResponse.Builder>
public RaftCmdpb.RaftCmdResponse.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<RaftCmdpb.RaftCmdResponse.Builder>
IOException
public boolean hasHeader()
.raft_cmdpb.RaftResponseHeader header = 1;
hasHeader
in interface RaftCmdpb.RaftCmdResponseOrBuilder
public RaftCmdpb.RaftResponseHeader getHeader()
.raft_cmdpb.RaftResponseHeader header = 1;
getHeader
in interface RaftCmdpb.RaftCmdResponseOrBuilder
public RaftCmdpb.RaftCmdResponse.Builder setHeader(RaftCmdpb.RaftResponseHeader value)
.raft_cmdpb.RaftResponseHeader header = 1;
public RaftCmdpb.RaftCmdResponse.Builder setHeader(RaftCmdpb.RaftResponseHeader.Builder builderForValue)
.raft_cmdpb.RaftResponseHeader header = 1;
public RaftCmdpb.RaftCmdResponse.Builder mergeHeader(RaftCmdpb.RaftResponseHeader value)
.raft_cmdpb.RaftResponseHeader header = 1;
public RaftCmdpb.RaftCmdResponse.Builder clearHeader()
.raft_cmdpb.RaftResponseHeader header = 1;
public RaftCmdpb.RaftResponseHeader.Builder getHeaderBuilder()
.raft_cmdpb.RaftResponseHeader header = 1;
public RaftCmdpb.RaftResponseHeaderOrBuilder getHeaderOrBuilder()
.raft_cmdpb.RaftResponseHeader header = 1;
getHeaderOrBuilder
in interface RaftCmdpb.RaftCmdResponseOrBuilder
public List<RaftCmdpb.Response> getResponsesList()
repeated .raft_cmdpb.Response responses = 2;
getResponsesList
in interface RaftCmdpb.RaftCmdResponseOrBuilder
public int getResponsesCount()
repeated .raft_cmdpb.Response responses = 2;
getResponsesCount
in interface RaftCmdpb.RaftCmdResponseOrBuilder
public RaftCmdpb.Response getResponses(int index)
repeated .raft_cmdpb.Response responses = 2;
getResponses
in interface RaftCmdpb.RaftCmdResponseOrBuilder
public RaftCmdpb.RaftCmdResponse.Builder setResponses(int index, RaftCmdpb.Response value)
repeated .raft_cmdpb.Response responses = 2;
public RaftCmdpb.RaftCmdResponse.Builder setResponses(int index, RaftCmdpb.Response.Builder builderForValue)
repeated .raft_cmdpb.Response responses = 2;
public RaftCmdpb.RaftCmdResponse.Builder addResponses(RaftCmdpb.Response value)
repeated .raft_cmdpb.Response responses = 2;
public RaftCmdpb.RaftCmdResponse.Builder addResponses(int index, RaftCmdpb.Response value)
repeated .raft_cmdpb.Response responses = 2;
public RaftCmdpb.RaftCmdResponse.Builder addResponses(RaftCmdpb.Response.Builder builderForValue)
repeated .raft_cmdpb.Response responses = 2;
public RaftCmdpb.RaftCmdResponse.Builder addResponses(int index, RaftCmdpb.Response.Builder builderForValue)
repeated .raft_cmdpb.Response responses = 2;
public RaftCmdpb.RaftCmdResponse.Builder addAllResponses(Iterable<? extends RaftCmdpb.Response> values)
repeated .raft_cmdpb.Response responses = 2;
public RaftCmdpb.RaftCmdResponse.Builder clearResponses()
repeated .raft_cmdpb.Response responses = 2;
public RaftCmdpb.RaftCmdResponse.Builder removeResponses(int index)
repeated .raft_cmdpb.Response responses = 2;
public RaftCmdpb.Response.Builder getResponsesBuilder(int index)
repeated .raft_cmdpb.Response responses = 2;
public RaftCmdpb.ResponseOrBuilder getResponsesOrBuilder(int index)
repeated .raft_cmdpb.Response responses = 2;
getResponsesOrBuilder
in interface RaftCmdpb.RaftCmdResponseOrBuilder
public List<? extends RaftCmdpb.ResponseOrBuilder> getResponsesOrBuilderList()
repeated .raft_cmdpb.Response responses = 2;
getResponsesOrBuilderList
in interface RaftCmdpb.RaftCmdResponseOrBuilder
public RaftCmdpb.Response.Builder addResponsesBuilder()
repeated .raft_cmdpb.Response responses = 2;
public RaftCmdpb.Response.Builder addResponsesBuilder(int index)
repeated .raft_cmdpb.Response responses = 2;
public List<RaftCmdpb.Response.Builder> getResponsesBuilderList()
repeated .raft_cmdpb.Response responses = 2;
public boolean hasAdminResponse()
.raft_cmdpb.AdminResponse admin_response = 3;
hasAdminResponse
in interface RaftCmdpb.RaftCmdResponseOrBuilder
public RaftCmdpb.AdminResponse getAdminResponse()
.raft_cmdpb.AdminResponse admin_response = 3;
getAdminResponse
in interface RaftCmdpb.RaftCmdResponseOrBuilder
public RaftCmdpb.RaftCmdResponse.Builder setAdminResponse(RaftCmdpb.AdminResponse value)
.raft_cmdpb.AdminResponse admin_response = 3;
public RaftCmdpb.RaftCmdResponse.Builder setAdminResponse(RaftCmdpb.AdminResponse.Builder builderForValue)
.raft_cmdpb.AdminResponse admin_response = 3;
public RaftCmdpb.RaftCmdResponse.Builder mergeAdminResponse(RaftCmdpb.AdminResponse value)
.raft_cmdpb.AdminResponse admin_response = 3;
public RaftCmdpb.RaftCmdResponse.Builder clearAdminResponse()
.raft_cmdpb.AdminResponse admin_response = 3;
public RaftCmdpb.AdminResponse.Builder getAdminResponseBuilder()
.raft_cmdpb.AdminResponse admin_response = 3;
public RaftCmdpb.AdminResponseOrBuilder getAdminResponseOrBuilder()
.raft_cmdpb.AdminResponse admin_response = 3;
getAdminResponseOrBuilder
in interface RaftCmdpb.RaftCmdResponseOrBuilder
public boolean hasStatusResponse()
.raft_cmdpb.StatusResponse status_response = 4;
hasStatusResponse
in interface RaftCmdpb.RaftCmdResponseOrBuilder
public RaftCmdpb.StatusResponse getStatusResponse()
.raft_cmdpb.StatusResponse status_response = 4;
getStatusResponse
in interface RaftCmdpb.RaftCmdResponseOrBuilder
public RaftCmdpb.RaftCmdResponse.Builder setStatusResponse(RaftCmdpb.StatusResponse value)
.raft_cmdpb.StatusResponse status_response = 4;
public RaftCmdpb.RaftCmdResponse.Builder setStatusResponse(RaftCmdpb.StatusResponse.Builder builderForValue)
.raft_cmdpb.StatusResponse status_response = 4;
public RaftCmdpb.RaftCmdResponse.Builder mergeStatusResponse(RaftCmdpb.StatusResponse value)
.raft_cmdpb.StatusResponse status_response = 4;
public RaftCmdpb.RaftCmdResponse.Builder clearStatusResponse()
.raft_cmdpb.StatusResponse status_response = 4;
public RaftCmdpb.StatusResponse.Builder getStatusResponseBuilder()
.raft_cmdpb.StatusResponse status_response = 4;
public RaftCmdpb.StatusResponseOrBuilder getStatusResponseOrBuilder()
.raft_cmdpb.StatusResponse status_response = 4;
getStatusResponseOrBuilder
in interface RaftCmdpb.RaftCmdResponseOrBuilder
public final RaftCmdpb.RaftCmdResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.RaftCmdResponse.Builder>
public final RaftCmdpb.RaftCmdResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.RaftCmdResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.