public static final class Mpp.Error.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mpp.Error.Builder> implements Mpp.ErrorOrBuilder
mpp.Error
Modifier and Type | Method and Description |
---|---|
Mpp.Error.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Mpp.Error |
build() |
Mpp.Error |
buildPartial() |
Mpp.Error.Builder |
clear() |
Mpp.Error.Builder |
clearCode()
int32 code = 1; |
Mpp.Error.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Mpp.Error.Builder |
clearMsg()
string msg = 2; |
Mpp.Error.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Mpp.Error.Builder |
clone() |
int |
getCode()
int32 code = 1; |
Mpp.Error |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMsg()
string msg = 2; |
com.google.protobuf.ByteString |
getMsgBytes()
string msg = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Mpp.Error.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Mpp.Error.Builder |
mergeFrom(com.google.protobuf.Message other) |
Mpp.Error.Builder |
mergeFrom(Mpp.Error other) |
Mpp.Error.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Mpp.Error.Builder |
setCode(int value)
int32 code = 1; |
Mpp.Error.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Mpp.Error.Builder |
setMsg(String value)
string msg = 2; |
Mpp.Error.Builder |
setMsgBytes(com.google.protobuf.ByteString value)
string msg = 2; |
Mpp.Error.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Mpp.Error.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.Error.Builder>
public Mpp.Error.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.Error.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.Error.Builder>
public Mpp.Error getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Mpp.Error build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Mpp.Error buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Mpp.Error.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.Error.Builder>
public Mpp.Error.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.Error.Builder>
public Mpp.Error.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.Error.Builder>
public Mpp.Error.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.Error.Builder>
public Mpp.Error.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.Error.Builder>
public Mpp.Error.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.Error.Builder>
public Mpp.Error.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Mpp.Error.Builder>
public Mpp.Error.Builder mergeFrom(Mpp.Error other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.Error.Builder>
public Mpp.Error.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.Error.Builder>
IOException
public int getCode()
int32 code = 1;
getCode
in interface Mpp.ErrorOrBuilder
public Mpp.Error.Builder setCode(int value)
int32 code = 1;
value
- The code to set.public Mpp.Error.Builder clearCode()
int32 code = 1;
public String getMsg()
string msg = 2;
getMsg
in interface Mpp.ErrorOrBuilder
public com.google.protobuf.ByteString getMsgBytes()
string msg = 2;
getMsgBytes
in interface Mpp.ErrorOrBuilder
public Mpp.Error.Builder setMsg(String value)
string msg = 2;
value
- The msg to set.public Mpp.Error.Builder clearMsg()
string msg = 2;
public Mpp.Error.Builder setMsgBytes(com.google.protobuf.ByteString value)
string msg = 2;
value
- The bytes for msg to set.public final Mpp.Error.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.Error.Builder>
public final Mpp.Error.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.Error.Builder>
Copyright © 2024 PingCAP. All rights reserved.