public static interface Protos.TwoWayChannelMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.ClientVersion |
getClientVersion()
optional .paymentchannels.ClientVersion client_version = 2; |
Protos.ClientVersionOrBuilder |
getClientVersionOrBuilder()
optional .paymentchannels.ClientVersion client_version = 2; |
Protos.Error |
getError()
optional .paymentchannels.Error error = 10; |
Protos.ErrorOrBuilder |
getErrorOrBuilder()
optional .paymentchannels.Error error = 10; |
Protos.Initiate |
getInitiate()
optional .paymentchannels.Initiate initiate = 4; |
Protos.InitiateOrBuilder |
getInitiateOrBuilder()
optional .paymentchannels.Initiate initiate = 4; |
Protos.PaymentAck |
getPaymentAck()
optional .paymentchannels.PaymentAck payment_ack = 11; |
Protos.PaymentAckOrBuilder |
getPaymentAckOrBuilder()
optional .paymentchannels.PaymentAck payment_ack = 11; |
Protos.ProvideContract |
getProvideContract()
optional .paymentchannels.ProvideContract provide_contract = 7; |
Protos.ProvideContractOrBuilder |
getProvideContractOrBuilder()
optional .paymentchannels.ProvideContract provide_contract = 7; |
Protos.ProvideRefund |
getProvideRefund()
optional .paymentchannels.ProvideRefund provide_refund = 5; |
Protos.ProvideRefundOrBuilder |
getProvideRefundOrBuilder()
optional .paymentchannels.ProvideRefund provide_refund = 5; |
Protos.ReturnRefund |
getReturnRefund()
optional .paymentchannels.ReturnRefund return_refund = 6; |
Protos.ReturnRefundOrBuilder |
getReturnRefundOrBuilder()
optional .paymentchannels.ReturnRefund return_refund = 6; |
Protos.ServerVersion |
getServerVersion()
optional .paymentchannels.ServerVersion server_version = 3; |
Protos.ServerVersionOrBuilder |
getServerVersionOrBuilder()
optional .paymentchannels.ServerVersion server_version = 3; |
Protos.Settlement |
getSettlement()
optional .paymentchannels.Settlement settlement = 9; |
Protos.SettlementOrBuilder |
getSettlementOrBuilder()
optional .paymentchannels.Settlement settlement = 9; |
Protos.TwoWayChannelMessage.MessageType |
getType()
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1; |
Protos.UpdatePayment |
getUpdatePayment()
optional .paymentchannels.UpdatePayment update_payment = 8; |
Protos.UpdatePaymentOrBuilder |
getUpdatePaymentOrBuilder()
optional .paymentchannels.UpdatePayment update_payment = 8; |
boolean |
hasClientVersion()
optional .paymentchannels.ClientVersion client_version = 2; |
boolean |
hasError()
optional .paymentchannels.Error error = 10; |
boolean |
hasInitiate()
optional .paymentchannels.Initiate initiate = 4; |
boolean |
hasPaymentAck()
optional .paymentchannels.PaymentAck payment_ack = 11; |
boolean |
hasProvideContract()
optional .paymentchannels.ProvideContract provide_contract = 7; |
boolean |
hasProvideRefund()
optional .paymentchannels.ProvideRefund provide_refund = 5; |
boolean |
hasReturnRefund()
optional .paymentchannels.ReturnRefund return_refund = 6; |
boolean |
hasServerVersion()
optional .paymentchannels.ServerVersion server_version = 3; |
boolean |
hasSettlement()
optional .paymentchannels.Settlement settlement = 9; |
boolean |
hasType()
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1; |
boolean |
hasUpdatePayment()
optional .paymentchannels.UpdatePayment update_payment = 8; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasType()
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1;
This is required so if a new message type is added in future, old software aborts trying to read the message as early as possible. If the message doesn't parse, the socket should be closed.
Protos.TwoWayChannelMessage.MessageType getType()
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1;
This is required so if a new message type is added in future, old software aborts trying to read the message as early as possible. If the message doesn't parse, the socket should be closed.
boolean hasClientVersion()
optional .paymentchannels.ClientVersion client_version = 2;
Now one optional field for each message. Only the field specified by type should be read.
Protos.ClientVersion getClientVersion()
optional .paymentchannels.ClientVersion client_version = 2;
Now one optional field for each message. Only the field specified by type should be read.
Protos.ClientVersionOrBuilder getClientVersionOrBuilder()
optional .paymentchannels.ClientVersion client_version = 2;
Now one optional field for each message. Only the field specified by type should be read.
boolean hasServerVersion()
optional .paymentchannels.ServerVersion server_version = 3;
Protos.ServerVersion getServerVersion()
optional .paymentchannels.ServerVersion server_version = 3;
Protos.ServerVersionOrBuilder getServerVersionOrBuilder()
optional .paymentchannels.ServerVersion server_version = 3;
boolean hasInitiate()
optional .paymentchannels.Initiate initiate = 4;
Protos.Initiate getInitiate()
optional .paymentchannels.Initiate initiate = 4;
Protos.InitiateOrBuilder getInitiateOrBuilder()
optional .paymentchannels.Initiate initiate = 4;
boolean hasProvideRefund()
optional .paymentchannels.ProvideRefund provide_refund = 5;
Protos.ProvideRefund getProvideRefund()
optional .paymentchannels.ProvideRefund provide_refund = 5;
Protos.ProvideRefundOrBuilder getProvideRefundOrBuilder()
optional .paymentchannels.ProvideRefund provide_refund = 5;
boolean hasReturnRefund()
optional .paymentchannels.ReturnRefund return_refund = 6;
Protos.ReturnRefund getReturnRefund()
optional .paymentchannels.ReturnRefund return_refund = 6;
Protos.ReturnRefundOrBuilder getReturnRefundOrBuilder()
optional .paymentchannels.ReturnRefund return_refund = 6;
boolean hasProvideContract()
optional .paymentchannels.ProvideContract provide_contract = 7;
Protos.ProvideContract getProvideContract()
optional .paymentchannels.ProvideContract provide_contract = 7;
Protos.ProvideContractOrBuilder getProvideContractOrBuilder()
optional .paymentchannels.ProvideContract provide_contract = 7;
boolean hasUpdatePayment()
optional .paymentchannels.UpdatePayment update_payment = 8;
Protos.UpdatePayment getUpdatePayment()
optional .paymentchannels.UpdatePayment update_payment = 8;
Protos.UpdatePaymentOrBuilder getUpdatePaymentOrBuilder()
optional .paymentchannels.UpdatePayment update_payment = 8;
boolean hasPaymentAck()
optional .paymentchannels.PaymentAck payment_ack = 11;
Protos.PaymentAck getPaymentAck()
optional .paymentchannels.PaymentAck payment_ack = 11;
Protos.PaymentAckOrBuilder getPaymentAckOrBuilder()
optional .paymentchannels.PaymentAck payment_ack = 11;
boolean hasSettlement()
optional .paymentchannels.Settlement settlement = 9;
Protos.Settlement getSettlement()
optional .paymentchannels.Settlement settlement = 9;
Protos.SettlementOrBuilder getSettlementOrBuilder()
optional .paymentchannels.Settlement settlement = 9;
boolean hasError()
optional .paymentchannels.Error error = 10;
Protos.Error getError()
optional .paymentchannels.Error error = 10;
Protos.ErrorOrBuilder getErrorOrBuilder()
optional .paymentchannels.Error error = 10;
Copyright © 2016. All rights reserved.