org.bitcoin.paymentchannel
Interface Protos.ErrorOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Protos.Error, Protos.Error.Builder
Enclosing class:
Protos

public static interface Protos.ErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder


Method Summary
 Protos.Error.ErrorCode getCode()
          optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER];
 long getExpectedValue()
          optional uint64 expected_value = 3;
 String getExplanation()
          optional string explanation = 2;
 com.google.protobuf.ByteString getExplanationBytes()
          optional string explanation = 2;
 boolean hasCode()
          optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER];
 boolean hasExpectedValue()
          optional uint64 expected_value = 3;
 boolean hasExplanation()
          optional string explanation = 2;
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
 

Method Detail

hasCode

boolean hasCode()
optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER];


getCode

Protos.Error.ErrorCode getCode()
optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER];


hasExplanation

boolean hasExplanation()
optional string explanation = 2;
 NOT SAFE FOR HTML WITHOUT ESCAPING
 


getExplanation

String getExplanation()
optional string explanation = 2;
 NOT SAFE FOR HTML WITHOUT ESCAPING
 


getExplanationBytes

com.google.protobuf.ByteString getExplanationBytes()
optional string explanation = 2;
 NOT SAFE FOR HTML WITHOUT ESCAPING
 


hasExpectedValue

boolean hasExpectedValue()
optional uint64 expected_value = 3;
 Can be set by the client when erroring to the server if a value was out of range. Can help with debugging.
 


getExpectedValue

long getExpectedValue()
optional uint64 expected_value = 3;
 Can be set by the client when erroring to the server if a value was out of range. Can help with debugging.
 



Copyright © 2014. All rights reserved.