voldemort.client.protocol.pb
Class VProto.Error

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by voldemort.client.protocol.pb.VProto.Error
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite
Enclosing class:
VProto

public static final class VProto.Error
extends com.google.protobuf.GeneratedMessage


Nested Class Summary
static class VProto.Error.Builder
           
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
 
Field Summary
static int ERROR_CODE_FIELD_NUMBER
           
static int ERROR_MESSAGE_FIELD_NUMBER
           
 
Method Summary
static VProto.Error getDefaultInstance()
           
 VProto.Error getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 int getErrorCode()
           
 java.lang.String getErrorMessage()
           
 int getSerializedSize()
           
 boolean hasErrorCode()
           
 boolean hasErrorMessage()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static VProto.Error.Builder newBuilder()
           
static VProto.Error.Builder newBuilder(VProto.Error prototype)
           
 VProto.Error.Builder newBuilderForType()
           
static VProto.Error parseDelimitedFrom(java.io.InputStream input)
           
static VProto.Error parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static VProto.Error parseFrom(byte[] data)
           
static VProto.Error parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static VProto.Error parseFrom(com.google.protobuf.ByteString data)
           
static VProto.Error parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static VProto.Error parseFrom(com.google.protobuf.CodedInputStream input)
           
static VProto.Error parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static VProto.Error parseFrom(java.io.InputStream input)
           
static VProto.Error parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 VProto.Error.Builder toBuilder()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newGeneratedExtension
 
Methods inherited from class com.google.protobuf.AbstractMessage
equals, hashCode, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

ERROR_CODE_FIELD_NUMBER

public static final int ERROR_CODE_FIELD_NUMBER
See Also:
Constant Field Values

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static VProto.Error getDefaultInstance()

getDefaultInstanceForType

public VProto.Error getDefaultInstanceForType()

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage

hasErrorCode

public boolean hasErrorCode()

getErrorCode

public int getErrorCode()

hasErrorMessage

public boolean hasErrorMessage()

getErrorMessage

public java.lang.String getErrorMessage()

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLite
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws java.io.IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Overrides:
writeTo in class com.google.protobuf.AbstractMessage
Throws:
java.io.IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite
Overrides:
getSerializedSize in class com.google.protobuf.AbstractMessage

parseFrom

public static VProto.Error parseFrom(com.google.protobuf.ByteString data)
                              throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static VProto.Error parseFrom(com.google.protobuf.ByteString data,
                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                              throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static VProto.Error parseFrom(byte[] data)
                              throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static VProto.Error parseFrom(byte[] data,
                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                              throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static VProto.Error parseFrom(java.io.InputStream input)
                              throws java.io.IOException
Throws:
java.io.IOException

parseFrom

public static VProto.Error parseFrom(java.io.InputStream input,
                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                              throws java.io.IOException
Throws:
java.io.IOException

parseDelimitedFrom

public static VProto.Error parseDelimitedFrom(java.io.InputStream input)
                                       throws java.io.IOException
Throws:
java.io.IOException

parseDelimitedFrom

public static VProto.Error parseDelimitedFrom(java.io.InputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws java.io.IOException
Throws:
java.io.IOException

parseFrom

public static VProto.Error parseFrom(com.google.protobuf.CodedInputStream input)
                              throws java.io.IOException
Throws:
java.io.IOException

parseFrom

public static VProto.Error parseFrom(com.google.protobuf.CodedInputStream input,
                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                              throws java.io.IOException
Throws:
java.io.IOException

newBuilder

public static VProto.Error.Builder newBuilder()

newBuilderForType

public VProto.Error.Builder newBuilderForType()

newBuilder

public static VProto.Error.Builder newBuilder(VProto.Error prototype)

toBuilder

public VProto.Error.Builder toBuilder()


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu