public static final class BaiduRpcProto.RpcResponseMeta.Builder extends com.google.protobuf.GeneratedMessage.Builder<BaiduRpcProto.RpcResponseMeta.Builder> implements BaiduRpcProto.RpcResponseMetaOrBuilder
brpc.policy.RpcResponseMeta| Modifier and Type | Method and Description |
|---|---|
BaiduRpcProto.RpcResponseMeta |
build() |
BaiduRpcProto.RpcResponseMeta |
buildPartial() |
BaiduRpcProto.RpcResponseMeta.Builder |
clear() |
BaiduRpcProto.RpcResponseMeta.Builder |
clearErrorCode()
optional int32 error_code = 1; |
BaiduRpcProto.RpcResponseMeta.Builder |
clearErrorText()
optional string error_text = 2; |
BaiduRpcProto.RpcResponseMeta.Builder |
clone() |
BaiduRpcProto.RpcResponseMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getErrorCode()
optional int32 error_code = 1; |
String |
getErrorText()
optional string error_text = 2; |
com.google.protobuf.ByteString |
getErrorTextBytes()
optional string error_text = 2; |
boolean |
hasErrorCode()
optional int32 error_code = 1; |
boolean |
hasErrorText()
optional string error_text = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BaiduRpcProto.RpcResponseMeta.Builder |
mergeFrom(BaiduRpcProto.RpcResponseMeta other) |
BaiduRpcProto.RpcResponseMeta.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BaiduRpcProto.RpcResponseMeta.Builder |
mergeFrom(com.google.protobuf.Message other) |
BaiduRpcProto.RpcResponseMeta.Builder |
setErrorCode(int value)
optional int32 error_code = 1; |
BaiduRpcProto.RpcResponseMeta.Builder |
setErrorText(String value)
optional string error_text = 2; |
BaiduRpcProto.RpcResponseMeta.Builder |
setErrorTextBytes(com.google.protobuf.ByteString value)
optional string error_text = 2; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BaiduRpcProto.RpcResponseMeta.Builder>public BaiduRpcProto.RpcResponseMeta.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<BaiduRpcProto.RpcResponseMeta.Builder>public BaiduRpcProto.RpcResponseMeta.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<BaiduRpcProto.RpcResponseMeta.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BaiduRpcProto.RpcResponseMeta.Builder>public BaiduRpcProto.RpcResponseMeta getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BaiduRpcProto.RpcResponseMeta build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BaiduRpcProto.RpcResponseMeta buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BaiduRpcProto.RpcResponseMeta.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BaiduRpcProto.RpcResponseMeta.Builder>public BaiduRpcProto.RpcResponseMeta.Builder mergeFrom(BaiduRpcProto.RpcResponseMeta other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<BaiduRpcProto.RpcResponseMeta.Builder>public BaiduRpcProto.RpcResponseMeta.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BaiduRpcProto.RpcResponseMeta.Builder>IOExceptionpublic boolean hasErrorCode()
optional int32 error_code = 1;hasErrorCode in interface BaiduRpcProto.RpcResponseMetaOrBuilderpublic int getErrorCode()
optional int32 error_code = 1;getErrorCode in interface BaiduRpcProto.RpcResponseMetaOrBuilderpublic BaiduRpcProto.RpcResponseMeta.Builder setErrorCode(int value)
optional int32 error_code = 1;public BaiduRpcProto.RpcResponseMeta.Builder clearErrorCode()
optional int32 error_code = 1;public boolean hasErrorText()
optional string error_text = 2;hasErrorText in interface BaiduRpcProto.RpcResponseMetaOrBuilderpublic String getErrorText()
optional string error_text = 2;getErrorText in interface BaiduRpcProto.RpcResponseMetaOrBuilderpublic com.google.protobuf.ByteString getErrorTextBytes()
optional string error_text = 2;getErrorTextBytes in interface BaiduRpcProto.RpcResponseMetaOrBuilderpublic BaiduRpcProto.RpcResponseMeta.Builder setErrorText(String value)
optional string error_text = 2;public BaiduRpcProto.RpcResponseMeta.Builder clearErrorText()
optional string error_text = 2;public BaiduRpcProto.RpcResponseMeta.Builder setErrorTextBytes(com.google.protobuf.ByteString value)
optional string error_text = 2;Copyright © 2022 Baidu, Inc.. All rights reserved.