public static final class SofaRpcProto.SofaRpcMeta.Builder extends com.google.protobuf.GeneratedMessage.Builder<SofaRpcProto.SofaRpcMeta.Builder> implements SofaRpcProto.SofaRpcMetaOrBuilder
brpc.policy.SofaRpcMeta| 限定符和类型 | 方法和说明 |
|---|---|
SofaRpcProto.SofaRpcMeta |
build() |
SofaRpcProto.SofaRpcMeta |
buildPartial() |
SofaRpcProto.SofaRpcMeta.Builder |
clear() |
SofaRpcProto.SofaRpcMeta.Builder |
clearCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type. |
SofaRpcProto.SofaRpcMeta.Builder |
clearErrorCode()
optional int32 error_code = 201;
The error code if the call is failed. |
SofaRpcProto.SofaRpcMeta.Builder |
clearExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected. |
SofaRpcProto.SofaRpcMeta.Builder |
clearFailed()
optional bool failed = 200;
Set as true if the call is failed. |
SofaRpcProto.SofaRpcMeta.Builder |
clearMethod()
optional string method = 100;
Method full name. |
SofaRpcProto.SofaRpcMeta.Builder |
clearReason()
optional string reason = 202;
The error reason if the call is failed. |
SofaRpcProto.SofaRpcMeta.Builder |
clearSequenceId()
required uint64 sequence_id = 2;
Message sequence id. |
SofaRpcProto.SofaRpcMeta.Builder |
clearType()
required .brpc.policy.SofaRpcMeta.Type type = 1; |
SofaRpcProto.SofaRpcMeta.Builder |
clone() |
SofaRpcProto.SofaCompressType |
getCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type. |
SofaRpcProto.SofaRpcMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getErrorCode()
optional int32 error_code = 201;
The error code if the call is failed. |
SofaRpcProto.SofaCompressType |
getExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected. |
boolean |
getFailed()
optional bool failed = 200;
Set as true if the call is failed. |
String |
getMethod()
optional string method = 100;
Method full name. |
com.google.protobuf.ByteString |
getMethodBytes()
optional string method = 100;
Method full name. |
String |
getReason()
optional string reason = 202;
The error reason if the call is failed. |
com.google.protobuf.ByteString |
getReasonBytes()
optional string reason = 202;
The error reason if the call is failed. |
long |
getSequenceId()
required uint64 sequence_id = 2;
Message sequence id. |
SofaRpcProto.SofaRpcMeta.Type |
getType()
required .brpc.policy.SofaRpcMeta.Type type = 1; |
boolean |
hasCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type. |
boolean |
hasErrorCode()
optional int32 error_code = 201;
The error code if the call is failed. |
boolean |
hasExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected. |
boolean |
hasFailed()
optional bool failed = 200;
Set as true if the call is failed. |
boolean |
hasMethod()
optional string method = 100;
Method full name. |
boolean |
hasReason()
optional string reason = 202;
The error reason if the call is failed. |
boolean |
hasSequenceId()
required uint64 sequence_id = 2;
Message sequence id. |
boolean |
hasType()
required .brpc.policy.SofaRpcMeta.Type type = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SofaRpcProto.SofaRpcMeta.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SofaRpcProto.SofaRpcMeta.Builder |
mergeFrom(com.google.protobuf.Message other) |
SofaRpcProto.SofaRpcMeta.Builder |
mergeFrom(SofaRpcProto.SofaRpcMeta other) |
SofaRpcProto.SofaRpcMeta.Builder |
setCompressType(SofaRpcProto.SofaCompressType value)
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type. |
SofaRpcProto.SofaRpcMeta.Builder |
setErrorCode(int value)
optional int32 error_code = 201;
The error code if the call is failed. |
SofaRpcProto.SofaRpcMeta.Builder |
setExpectedResponseCompressType(SofaRpcProto.SofaCompressType value)
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected. |
SofaRpcProto.SofaRpcMeta.Builder |
setFailed(boolean value)
optional bool failed = 200;
Set as true if the call is failed. |
SofaRpcProto.SofaRpcMeta.Builder |
setMethod(String value)
optional string method = 100;
Method full name. |
SofaRpcProto.SofaRpcMeta.Builder |
setMethodBytes(com.google.protobuf.ByteString value)
optional string method = 100;
Method full name. |
SofaRpcProto.SofaRpcMeta.Builder |
setReason(String value)
optional string reason = 202;
The error reason if the call is failed. |
SofaRpcProto.SofaRpcMeta.Builder |
setReasonBytes(com.google.protobuf.ByteString value)
optional string reason = 202;
The error reason if the call is failed. |
SofaRpcProto.SofaRpcMeta.Builder |
setSequenceId(long value)
required uint64 sequence_id = 2;
Message sequence id. |
SofaRpcProto.SofaRpcMeta.Builder |
setType(SofaRpcProto.SofaRpcMeta.Type value)
required .brpc.policy.SofaRpcMeta.Type type = 1; |
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, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessage.Builder<SofaRpcProto.SofaRpcMeta.Builder>public SofaRpcProto.SofaRpcMeta.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessage.Builder<SofaRpcProto.SofaRpcMeta.Builder>public SofaRpcProto.SofaRpcMeta.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessage.Builder<SofaRpcProto.SofaRpcMeta.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessage.Builder<SofaRpcProto.SofaRpcMeta.Builder>public SofaRpcProto.SofaRpcMeta getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic SofaRpcProto.SofaRpcMeta build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic SofaRpcProto.SofaRpcMeta buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic SofaRpcProto.SofaRpcMeta.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<SofaRpcProto.SofaRpcMeta.Builder>public SofaRpcProto.SofaRpcMeta.Builder mergeFrom(SofaRpcProto.SofaRpcMeta other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessage.Builder<SofaRpcProto.SofaRpcMeta.Builder>public SofaRpcProto.SofaRpcMeta.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<SofaRpcProto.SofaRpcMeta.Builder>IOExceptionpublic boolean hasType()
required .brpc.policy.SofaRpcMeta.Type type = 1;hasType 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic SofaRpcProto.SofaRpcMeta.Type getType()
required .brpc.policy.SofaRpcMeta.Type type = 1;getType 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic SofaRpcProto.SofaRpcMeta.Builder setType(SofaRpcProto.SofaRpcMeta.Type value)
required .brpc.policy.SofaRpcMeta.Type type = 1;public SofaRpcProto.SofaRpcMeta.Builder clearType()
required .brpc.policy.SofaRpcMeta.Type type = 1;public boolean hasSequenceId()
required uint64 sequence_id = 2;
Message sequence id.
public long getSequenceId()
required uint64 sequence_id = 2;
Message sequence id.
public SofaRpcProto.SofaRpcMeta.Builder setSequenceId(long value)
required uint64 sequence_id = 2;
Message sequence id.
public SofaRpcProto.SofaRpcMeta.Builder clearSequenceId()
required uint64 sequence_id = 2;
Message sequence id.
public boolean hasMethod()
optional string method = 100;
Method full name. For io.brpc.example.example: "test.HelloService.GreetMethod"
hasMethod 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic String getMethod()
optional string method = 100;
Method full name. For io.brpc.example.example: "test.HelloService.GreetMethod"
getMethod 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic com.google.protobuf.ByteString getMethodBytes()
optional string method = 100;
Method full name. For io.brpc.example.example: "test.HelloService.GreetMethod"
public SofaRpcProto.SofaRpcMeta.Builder setMethod(String value)
optional string method = 100;
Method full name. For io.brpc.example.example: "test.HelloService.GreetMethod"
public SofaRpcProto.SofaRpcMeta.Builder clearMethod()
optional string method = 100;
Method full name. For io.brpc.example.example: "test.HelloService.GreetMethod"
public SofaRpcProto.SofaRpcMeta.Builder setMethodBytes(com.google.protobuf.ByteString value)
optional string method = 100;
Method full name. For io.brpc.example.example: "test.HelloService.GreetMethod"
public boolean hasFailed()
optional bool failed = 200;
Set as true if the call is failed.
hasFailed 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic boolean getFailed()
optional bool failed = 200;
Set as true if the call is failed.
getFailed 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic SofaRpcProto.SofaRpcMeta.Builder setFailed(boolean value)
optional bool failed = 200;
Set as true if the call is failed.
public SofaRpcProto.SofaRpcMeta.Builder clearFailed()
optional bool failed = 200;
Set as true if the call is failed.
public boolean hasErrorCode()
optional int32 error_code = 201;
The error code if the call is failed.
public int getErrorCode()
optional int32 error_code = 201;
The error code if the call is failed.
public SofaRpcProto.SofaRpcMeta.Builder setErrorCode(int value)
optional int32 error_code = 201;
The error code if the call is failed.
public SofaRpcProto.SofaRpcMeta.Builder clearErrorCode()
optional int32 error_code = 201;
The error code if the call is failed.
public boolean hasReason()
optional string reason = 202;
The error reason if the call is failed.
hasReason 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic String getReason()
optional string reason = 202;
The error reason if the call is failed.
getReason 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic com.google.protobuf.ByteString getReasonBytes()
optional string reason = 202;
The error reason if the call is failed.
public SofaRpcProto.SofaRpcMeta.Builder setReason(String value)
optional string reason = 202;
The error reason if the call is failed.
public SofaRpcProto.SofaRpcMeta.Builder clearReason()
optional string reason = 202;
The error reason if the call is failed.
public SofaRpcProto.SofaRpcMeta.Builder setReasonBytes(com.google.protobuf.ByteString value)
optional string reason = 202;
The error reason if the call is failed.
public boolean hasCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type.
public SofaRpcProto.SofaCompressType getCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type.
public SofaRpcProto.SofaRpcMeta.Builder setCompressType(SofaRpcProto.SofaCompressType value)
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type.
public SofaRpcProto.SofaRpcMeta.Builder clearCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type.
public boolean hasExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected.
public SofaRpcProto.SofaCompressType getExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected.
public SofaRpcProto.SofaRpcMeta.Builder setExpectedResponseCompressType(SofaRpcProto.SofaCompressType value)
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected.
public SofaRpcProto.SofaRpcMeta.Builder clearExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected.
Copyright © 2019 Baidu, Inc.. All rights reserved.