public static interface Protos.ErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.Error.ErrorCode |
getCode()
optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER]; |
long |
getExpectedValue()
Can be set by the client when erroring to the server if a value was out of range.
|
java.lang.String |
getExplanation()
NOT SAFE FOR HTML WITHOUT ESCAPING
|
com.google.protobuf.ByteString |
getExplanationBytes()
NOT SAFE FOR HTML WITHOUT ESCAPING
|
boolean |
hasCode()
optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER]; |
boolean |
hasExpectedValue()
Can be set by the client when erroring to the server if a value was out of range.
|
boolean |
hasExplanation()
NOT SAFE FOR HTML WITHOUT ESCAPING
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasCode()
optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER];
Protos.Error.ErrorCode getCode()
optional .paymentchannels.Error.ErrorCode code = 1 [default = OTHER];
boolean hasExplanation()
NOT SAFE FOR HTML WITHOUT ESCAPING
optional string explanation = 2;
java.lang.String getExplanation()
NOT SAFE FOR HTML WITHOUT ESCAPING
optional string explanation = 2;
com.google.protobuf.ByteString getExplanationBytes()
NOT SAFE FOR HTML WITHOUT ESCAPING
optional string explanation = 2;
boolean hasExpectedValue()
Can be set by the client when erroring to the server if a value was out of range. Can help with debugging.
optional uint64 expected_value = 3;
long getExpectedValue()
Can be set by the client when erroring to the server if a value was out of range. Can help with debugging.
optional uint64 expected_value = 3;