public static final class RpcProtos.RpcResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<RpcProtos.RpcResponse.Builder> implements RpcProtos.RpcResponseOrBuilder
RpcResponse| Modifier and Type | Method and Description |
|---|---|
RpcProtos.RpcResponse |
build() |
RpcProtos.RpcResponse |
buildPartial() |
RpcProtos.RpcResponse.Builder |
clear() |
RpcProtos.RpcResponse.Builder |
clearErrorClass()
optional string error_class = 3; |
RpcProtos.RpcResponse.Builder |
clearErrorMessage()
optional string error_message = 4; |
RpcProtos.RpcResponse.Builder |
clearErrorTrace()
optional string error_trace = 5; |
RpcProtos.RpcResponse.Builder |
clearId()
required int32 id = 1; |
RpcProtos.RpcResponse.Builder |
clearResponseMessage()
optional bytes response_message = 2; |
RpcProtos.RpcResponse.Builder |
clone() |
RpcProtos.RpcResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getErrorClass()
optional string error_class = 3; |
com.google.protobuf.ByteString |
getErrorClassBytes()
optional string error_class = 3; |
String |
getErrorMessage()
optional string error_message = 4; |
com.google.protobuf.ByteString |
getErrorMessageBytes()
optional string error_message = 4; |
String |
getErrorTrace()
optional string error_trace = 5; |
com.google.protobuf.ByteString |
getErrorTraceBytes()
optional string error_trace = 5; |
int |
getId()
required int32 id = 1; |
com.google.protobuf.ByteString |
getResponseMessage()
optional bytes response_message = 2; |
boolean |
hasErrorClass()
optional string error_class = 3; |
boolean |
hasErrorMessage()
optional string error_message = 4; |
boolean |
hasErrorTrace()
optional string error_trace = 5; |
boolean |
hasId()
required int32 id = 1; |
boolean |
hasResponseMessage()
optional bytes response_message = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RpcProtos.RpcResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RpcProtos.RpcResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
RpcProtos.RpcResponse.Builder |
mergeFrom(RpcProtos.RpcResponse other) |
RpcProtos.RpcResponse.Builder |
setErrorClass(String value)
optional string error_class = 3; |
RpcProtos.RpcResponse.Builder |
setErrorClassBytes(com.google.protobuf.ByteString value)
optional string error_class = 3; |
RpcProtos.RpcResponse.Builder |
setErrorMessage(String value)
optional string error_message = 4; |
RpcProtos.RpcResponse.Builder |
setErrorMessageBytes(com.google.protobuf.ByteString value)
optional string error_message = 4; |
RpcProtos.RpcResponse.Builder |
setErrorTrace(String value)
optional string error_trace = 5; |
RpcProtos.RpcResponse.Builder |
setErrorTraceBytes(com.google.protobuf.ByteString value)
optional string error_trace = 5; |
RpcProtos.RpcResponse.Builder |
setId(int value)
required int32 id = 1; |
RpcProtos.RpcResponse.Builder |
setResponseMessage(com.google.protobuf.ByteString value)
optional bytes response_message = 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<RpcProtos.RpcResponse.Builder>public RpcProtos.RpcResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RpcProtos.RpcResponse.Builder>public RpcProtos.RpcResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<RpcProtos.RpcResponse.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<RpcProtos.RpcResponse.Builder>public RpcProtos.RpcResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RpcProtos.RpcResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RpcProtos.RpcResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RpcProtos.RpcResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RpcProtos.RpcResponse.Builder>public RpcProtos.RpcResponse.Builder mergeFrom(RpcProtos.RpcResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RpcProtos.RpcResponse.Builder>public RpcProtos.RpcResponse.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<RpcProtos.RpcResponse.Builder>IOExceptionpublic boolean hasId()
required int32 id = 1;hasId in interface RpcProtos.RpcResponseOrBuilderpublic int getId()
required int32 id = 1;getId in interface RpcProtos.RpcResponseOrBuilderpublic RpcProtos.RpcResponse.Builder setId(int value)
required int32 id = 1;public RpcProtos.RpcResponse.Builder clearId()
required int32 id = 1;public boolean hasResponseMessage()
optional bytes response_message = 2;hasResponseMessage in interface RpcProtos.RpcResponseOrBuilderpublic com.google.protobuf.ByteString getResponseMessage()
optional bytes response_message = 2;getResponseMessage in interface RpcProtos.RpcResponseOrBuilderpublic RpcProtos.RpcResponse.Builder setResponseMessage(com.google.protobuf.ByteString value)
optional bytes response_message = 2;public RpcProtos.RpcResponse.Builder clearResponseMessage()
optional bytes response_message = 2;public boolean hasErrorClass()
optional string error_class = 3;hasErrorClass in interface RpcProtos.RpcResponseOrBuilderpublic String getErrorClass()
optional string error_class = 3;getErrorClass in interface RpcProtos.RpcResponseOrBuilderpublic com.google.protobuf.ByteString getErrorClassBytes()
optional string error_class = 3;getErrorClassBytes in interface RpcProtos.RpcResponseOrBuilderpublic RpcProtos.RpcResponse.Builder setErrorClass(String value)
optional string error_class = 3;public RpcProtos.RpcResponse.Builder clearErrorClass()
optional string error_class = 3;public RpcProtos.RpcResponse.Builder setErrorClassBytes(com.google.protobuf.ByteString value)
optional string error_class = 3;public boolean hasErrorMessage()
optional string error_message = 4;hasErrorMessage in interface RpcProtos.RpcResponseOrBuilderpublic String getErrorMessage()
optional string error_message = 4;getErrorMessage in interface RpcProtos.RpcResponseOrBuilderpublic com.google.protobuf.ByteString getErrorMessageBytes()
optional string error_message = 4;getErrorMessageBytes in interface RpcProtos.RpcResponseOrBuilderpublic RpcProtos.RpcResponse.Builder setErrorMessage(String value)
optional string error_message = 4;public RpcProtos.RpcResponse.Builder clearErrorMessage()
optional string error_message = 4;public RpcProtos.RpcResponse.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
optional string error_message = 4;public boolean hasErrorTrace()
optional string error_trace = 5;hasErrorTrace in interface RpcProtos.RpcResponseOrBuilderpublic String getErrorTrace()
optional string error_trace = 5;getErrorTrace in interface RpcProtos.RpcResponseOrBuilderpublic com.google.protobuf.ByteString getErrorTraceBytes()
optional string error_trace = 5;getErrorTraceBytes in interface RpcProtos.RpcResponseOrBuilderpublic RpcProtos.RpcResponse.Builder setErrorTrace(String value)
optional string error_trace = 5;public RpcProtos.RpcResponse.Builder clearErrorTrace()
optional string error_trace = 5;public RpcProtos.RpcResponse.Builder setErrorTraceBytes(com.google.protobuf.ByteString value)
optional string error_trace = 5;Copyright © 2014 Apache Software Foundation. All Rights Reserved.