public static final class Protos.TwoWayChannelMessage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protos.TwoWayChannelMessage.Builder> implements Protos.TwoWayChannelMessageOrBuilder
This message is designed to be either sent raw over the network (e.g. length prefixed) or embedded inside another protocol that is being extended to support micropayments. In this file "primary" typically can be read as "client" and "secondary" as "server".Protobuf type
paymentchannels.TwoWayChannelMessage
Modifier and Type | Method and Description |
---|---|
Protos.TwoWayChannelMessage.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.TwoWayChannelMessage |
build() |
Protos.TwoWayChannelMessage |
buildPartial() |
Protos.TwoWayChannelMessage.Builder |
clear() |
Protos.TwoWayChannelMessage.Builder |
clearClientVersion()
Now one optional field for each message.
|
Protos.TwoWayChannelMessage.Builder |
clearError()
optional .paymentchannels.Error error = 10; |
Protos.TwoWayChannelMessage.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.TwoWayChannelMessage.Builder |
clearInitiate()
optional .paymentchannels.Initiate initiate = 4; |
Protos.TwoWayChannelMessage.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.TwoWayChannelMessage.Builder |
clearPaymentAck()
optional .paymentchannels.PaymentAck payment_ack = 11; |
Protos.TwoWayChannelMessage.Builder |
clearProvideContract()
optional .paymentchannels.ProvideContract provide_contract = 7; |
Protos.TwoWayChannelMessage.Builder |
clearProvideRefund()
optional .paymentchannels.ProvideRefund provide_refund = 5; |
Protos.TwoWayChannelMessage.Builder |
clearReturnRefund()
optional .paymentchannels.ReturnRefund return_refund = 6; |
Protos.TwoWayChannelMessage.Builder |
clearServerVersion()
optional .paymentchannels.ServerVersion server_version = 3; |
Protos.TwoWayChannelMessage.Builder |
clearSettlement()
optional .paymentchannels.Settlement settlement = 9; |
Protos.TwoWayChannelMessage.Builder |
clearType()
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.
|
Protos.TwoWayChannelMessage.Builder |
clearUpdatePayment()
optional .paymentchannels.UpdatePayment update_payment = 8; |
Protos.TwoWayChannelMessage.Builder |
clone() |
Protos.ClientVersion |
getClientVersion()
Now one optional field for each message.
|
Protos.ClientVersion.Builder |
getClientVersionBuilder()
Now one optional field for each message.
|
Protos.ClientVersionOrBuilder |
getClientVersionOrBuilder()
Now one optional field for each message.
|
Protos.TwoWayChannelMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.Error |
getError()
optional .paymentchannels.Error error = 10; |
Protos.Error.Builder |
getErrorBuilder()
optional .paymentchannels.Error error = 10; |
Protos.ErrorOrBuilder |
getErrorOrBuilder()
optional .paymentchannels.Error error = 10; |
Protos.Initiate |
getInitiate()
optional .paymentchannels.Initiate initiate = 4; |
Protos.Initiate.Builder |
getInitiateBuilder()
optional .paymentchannels.Initiate initiate = 4; |
Protos.InitiateOrBuilder |
getInitiateOrBuilder()
optional .paymentchannels.Initiate initiate = 4; |
Protos.PaymentAck |
getPaymentAck()
optional .paymentchannels.PaymentAck payment_ack = 11; |
Protos.PaymentAck.Builder |
getPaymentAckBuilder()
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.ProvideContract.Builder |
getProvideContractBuilder()
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.ProvideRefund.Builder |
getProvideRefundBuilder()
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.ReturnRefund.Builder |
getReturnRefundBuilder()
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.ServerVersion.Builder |
getServerVersionBuilder()
optional .paymentchannels.ServerVersion server_version = 3; |
Protos.ServerVersionOrBuilder |
getServerVersionOrBuilder()
optional .paymentchannels.ServerVersion server_version = 3; |
Protos.Settlement |
getSettlement()
optional .paymentchannels.Settlement settlement = 9; |
Protos.Settlement.Builder |
getSettlementBuilder()
optional .paymentchannels.Settlement settlement = 9; |
Protos.SettlementOrBuilder |
getSettlementOrBuilder()
optional .paymentchannels.Settlement settlement = 9; |
Protos.TwoWayChannelMessage.MessageType |
getType()
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.
|
Protos.UpdatePayment |
getUpdatePayment()
optional .paymentchannels.UpdatePayment update_payment = 8; |
Protos.UpdatePayment.Builder |
getUpdatePaymentBuilder()
optional .paymentchannels.UpdatePayment update_payment = 8; |
Protos.UpdatePaymentOrBuilder |
getUpdatePaymentOrBuilder()
optional .paymentchannels.UpdatePayment update_payment = 8; |
boolean |
hasClientVersion()
Now one optional field for each message.
|
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()
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.
|
boolean |
hasUpdatePayment()
optional .paymentchannels.UpdatePayment update_payment = 8; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.TwoWayChannelMessage.Builder |
mergeClientVersion(Protos.ClientVersion value)
Now one optional field for each message.
|
Protos.TwoWayChannelMessage.Builder |
mergeError(Protos.Error value)
optional .paymentchannels.Error error = 10; |
Protos.TwoWayChannelMessage.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.TwoWayChannelMessage.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.TwoWayChannelMessage.Builder |
mergeFrom(Protos.TwoWayChannelMessage other) |
Protos.TwoWayChannelMessage.Builder |
mergeInitiate(Protos.Initiate value)
optional .paymentchannels.Initiate initiate = 4; |
Protos.TwoWayChannelMessage.Builder |
mergePaymentAck(Protos.PaymentAck value)
optional .paymentchannels.PaymentAck payment_ack = 11; |
Protos.TwoWayChannelMessage.Builder |
mergeProvideContract(Protos.ProvideContract value)
optional .paymentchannels.ProvideContract provide_contract = 7; |
Protos.TwoWayChannelMessage.Builder |
mergeProvideRefund(Protos.ProvideRefund value)
optional .paymentchannels.ProvideRefund provide_refund = 5; |
Protos.TwoWayChannelMessage.Builder |
mergeReturnRefund(Protos.ReturnRefund value)
optional .paymentchannels.ReturnRefund return_refund = 6; |
Protos.TwoWayChannelMessage.Builder |
mergeServerVersion(Protos.ServerVersion value)
optional .paymentchannels.ServerVersion server_version = 3; |
Protos.TwoWayChannelMessage.Builder |
mergeSettlement(Protos.Settlement value)
optional .paymentchannels.Settlement settlement = 9; |
Protos.TwoWayChannelMessage.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.TwoWayChannelMessage.Builder |
mergeUpdatePayment(Protos.UpdatePayment value)
optional .paymentchannels.UpdatePayment update_payment = 8; |
Protos.TwoWayChannelMessage.Builder |
setClientVersion(Protos.ClientVersion.Builder builderForValue)
Now one optional field for each message.
|
Protos.TwoWayChannelMessage.Builder |
setClientVersion(Protos.ClientVersion value)
Now one optional field for each message.
|
Protos.TwoWayChannelMessage.Builder |
setError(Protos.Error.Builder builderForValue)
optional .paymentchannels.Error error = 10; |
Protos.TwoWayChannelMessage.Builder |
setError(Protos.Error value)
optional .paymentchannels.Error error = 10; |
Protos.TwoWayChannelMessage.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.TwoWayChannelMessage.Builder |
setInitiate(Protos.Initiate.Builder builderForValue)
optional .paymentchannels.Initiate initiate = 4; |
Protos.TwoWayChannelMessage.Builder |
setInitiate(Protos.Initiate value)
optional .paymentchannels.Initiate initiate = 4; |
Protos.TwoWayChannelMessage.Builder |
setPaymentAck(Protos.PaymentAck.Builder builderForValue)
optional .paymentchannels.PaymentAck payment_ack = 11; |
Protos.TwoWayChannelMessage.Builder |
setPaymentAck(Protos.PaymentAck value)
optional .paymentchannels.PaymentAck payment_ack = 11; |
Protos.TwoWayChannelMessage.Builder |
setProvideContract(Protos.ProvideContract.Builder builderForValue)
optional .paymentchannels.ProvideContract provide_contract = 7; |
Protos.TwoWayChannelMessage.Builder |
setProvideContract(Protos.ProvideContract value)
optional .paymentchannels.ProvideContract provide_contract = 7; |
Protos.TwoWayChannelMessage.Builder |
setProvideRefund(Protos.ProvideRefund.Builder builderForValue)
optional .paymentchannels.ProvideRefund provide_refund = 5; |
Protos.TwoWayChannelMessage.Builder |
setProvideRefund(Protos.ProvideRefund value)
optional .paymentchannels.ProvideRefund provide_refund = 5; |
Protos.TwoWayChannelMessage.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.TwoWayChannelMessage.Builder |
setReturnRefund(Protos.ReturnRefund.Builder builderForValue)
optional .paymentchannels.ReturnRefund return_refund = 6; |
Protos.TwoWayChannelMessage.Builder |
setReturnRefund(Protos.ReturnRefund value)
optional .paymentchannels.ReturnRefund return_refund = 6; |
Protos.TwoWayChannelMessage.Builder |
setServerVersion(Protos.ServerVersion.Builder builderForValue)
optional .paymentchannels.ServerVersion server_version = 3; |
Protos.TwoWayChannelMessage.Builder |
setServerVersion(Protos.ServerVersion value)
optional .paymentchannels.ServerVersion server_version = 3; |
Protos.TwoWayChannelMessage.Builder |
setSettlement(Protos.Settlement.Builder builderForValue)
optional .paymentchannels.Settlement settlement = 9; |
Protos.TwoWayChannelMessage.Builder |
setSettlement(Protos.Settlement value)
optional .paymentchannels.Settlement settlement = 9; |
Protos.TwoWayChannelMessage.Builder |
setType(Protos.TwoWayChannelMessage.MessageType value)
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.
|
Protos.TwoWayChannelMessage.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.TwoWayChannelMessage.Builder |
setUpdatePayment(Protos.UpdatePayment.Builder builderForValue)
optional .paymentchannels.UpdatePayment update_payment = 8; |
Protos.TwoWayChannelMessage.Builder |
setUpdatePayment(Protos.UpdatePayment value)
optional .paymentchannels.UpdatePayment update_payment = 8; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TwoWayChannelMessage.Builder>
public Protos.TwoWayChannelMessage.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TwoWayChannelMessage.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TwoWayChannelMessage.Builder>
public Protos.TwoWayChannelMessage getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.TwoWayChannelMessage build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.TwoWayChannelMessage buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.TwoWayChannelMessage.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TwoWayChannelMessage.Builder>
public Protos.TwoWayChannelMessage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TwoWayChannelMessage.Builder>
public Protos.TwoWayChannelMessage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TwoWayChannelMessage.Builder>
public Protos.TwoWayChannelMessage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TwoWayChannelMessage.Builder>
public Protos.TwoWayChannelMessage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TwoWayChannelMessage.Builder>
public Protos.TwoWayChannelMessage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TwoWayChannelMessage.Builder>
public Protos.TwoWayChannelMessage.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.TwoWayChannelMessage.Builder>
public Protos.TwoWayChannelMessage.Builder mergeFrom(Protos.TwoWayChannelMessage other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TwoWayChannelMessage.Builder>
public Protos.TwoWayChannelMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.TwoWayChannelMessage.Builder>
java.io.IOException
public boolean hasType()
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.
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1;
hasType
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.TwoWayChannelMessage.MessageType getType()
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.
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1;
getType
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.TwoWayChannelMessage.Builder setType(Protos.TwoWayChannelMessage.MessageType value)
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.
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1;
public Protos.TwoWayChannelMessage.Builder clearType()
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.
required .paymentchannels.TwoWayChannelMessage.MessageType type = 1;
public boolean hasClientVersion()
Now one optional field for each message. Only the field specified by type should be read.
optional .paymentchannels.ClientVersion client_version = 2;
hasClientVersion
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.ClientVersion getClientVersion()
Now one optional field for each message. Only the field specified by type should be read.
optional .paymentchannels.ClientVersion client_version = 2;
getClientVersion
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.TwoWayChannelMessage.Builder setClientVersion(Protos.ClientVersion value)
Now one optional field for each message. Only the field specified by type should be read.
optional .paymentchannels.ClientVersion client_version = 2;
public Protos.TwoWayChannelMessage.Builder setClientVersion(Protos.ClientVersion.Builder builderForValue)
Now one optional field for each message. Only the field specified by type should be read.
optional .paymentchannels.ClientVersion client_version = 2;
public Protos.TwoWayChannelMessage.Builder mergeClientVersion(Protos.ClientVersion value)
Now one optional field for each message. Only the field specified by type should be read.
optional .paymentchannels.ClientVersion client_version = 2;
public Protos.TwoWayChannelMessage.Builder clearClientVersion()
Now one optional field for each message. Only the field specified by type should be read.
optional .paymentchannels.ClientVersion client_version = 2;
public Protos.ClientVersion.Builder getClientVersionBuilder()
Now one optional field for each message. Only the field specified by type should be read.
optional .paymentchannels.ClientVersion client_version = 2;
public Protos.ClientVersionOrBuilder getClientVersionOrBuilder()
Now one optional field for each message. Only the field specified by type should be read.
optional .paymentchannels.ClientVersion client_version = 2;
getClientVersionOrBuilder
in interface Protos.TwoWayChannelMessageOrBuilder
public boolean hasServerVersion()
optional .paymentchannels.ServerVersion server_version = 3;
hasServerVersion
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.ServerVersion getServerVersion()
optional .paymentchannels.ServerVersion server_version = 3;
getServerVersion
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.TwoWayChannelMessage.Builder setServerVersion(Protos.ServerVersion value)
optional .paymentchannels.ServerVersion server_version = 3;
public Protos.TwoWayChannelMessage.Builder setServerVersion(Protos.ServerVersion.Builder builderForValue)
optional .paymentchannels.ServerVersion server_version = 3;
public Protos.TwoWayChannelMessage.Builder mergeServerVersion(Protos.ServerVersion value)
optional .paymentchannels.ServerVersion server_version = 3;
public Protos.TwoWayChannelMessage.Builder clearServerVersion()
optional .paymentchannels.ServerVersion server_version = 3;
public Protos.ServerVersion.Builder getServerVersionBuilder()
optional .paymentchannels.ServerVersion server_version = 3;
public Protos.ServerVersionOrBuilder getServerVersionOrBuilder()
optional .paymentchannels.ServerVersion server_version = 3;
getServerVersionOrBuilder
in interface Protos.TwoWayChannelMessageOrBuilder
public boolean hasInitiate()
optional .paymentchannels.Initiate initiate = 4;
hasInitiate
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.Initiate getInitiate()
optional .paymentchannels.Initiate initiate = 4;
getInitiate
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.TwoWayChannelMessage.Builder setInitiate(Protos.Initiate value)
optional .paymentchannels.Initiate initiate = 4;
public Protos.TwoWayChannelMessage.Builder setInitiate(Protos.Initiate.Builder builderForValue)
optional .paymentchannels.Initiate initiate = 4;
public Protos.TwoWayChannelMessage.Builder mergeInitiate(Protos.Initiate value)
optional .paymentchannels.Initiate initiate = 4;
public Protos.TwoWayChannelMessage.Builder clearInitiate()
optional .paymentchannels.Initiate initiate = 4;
public Protos.Initiate.Builder getInitiateBuilder()
optional .paymentchannels.Initiate initiate = 4;
public Protos.InitiateOrBuilder getInitiateOrBuilder()
optional .paymentchannels.Initiate initiate = 4;
getInitiateOrBuilder
in interface Protos.TwoWayChannelMessageOrBuilder
public boolean hasProvideRefund()
optional .paymentchannels.ProvideRefund provide_refund = 5;
hasProvideRefund
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.ProvideRefund getProvideRefund()
optional .paymentchannels.ProvideRefund provide_refund = 5;
getProvideRefund
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.TwoWayChannelMessage.Builder setProvideRefund(Protos.ProvideRefund value)
optional .paymentchannels.ProvideRefund provide_refund = 5;
public Protos.TwoWayChannelMessage.Builder setProvideRefund(Protos.ProvideRefund.Builder builderForValue)
optional .paymentchannels.ProvideRefund provide_refund = 5;
public Protos.TwoWayChannelMessage.Builder mergeProvideRefund(Protos.ProvideRefund value)
optional .paymentchannels.ProvideRefund provide_refund = 5;
public Protos.TwoWayChannelMessage.Builder clearProvideRefund()
optional .paymentchannels.ProvideRefund provide_refund = 5;
public Protos.ProvideRefund.Builder getProvideRefundBuilder()
optional .paymentchannels.ProvideRefund provide_refund = 5;
public Protos.ProvideRefundOrBuilder getProvideRefundOrBuilder()
optional .paymentchannels.ProvideRefund provide_refund = 5;
getProvideRefundOrBuilder
in interface Protos.TwoWayChannelMessageOrBuilder
public boolean hasReturnRefund()
optional .paymentchannels.ReturnRefund return_refund = 6;
hasReturnRefund
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.ReturnRefund getReturnRefund()
optional .paymentchannels.ReturnRefund return_refund = 6;
getReturnRefund
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.TwoWayChannelMessage.Builder setReturnRefund(Protos.ReturnRefund value)
optional .paymentchannels.ReturnRefund return_refund = 6;
public Protos.TwoWayChannelMessage.Builder setReturnRefund(Protos.ReturnRefund.Builder builderForValue)
optional .paymentchannels.ReturnRefund return_refund = 6;
public Protos.TwoWayChannelMessage.Builder mergeReturnRefund(Protos.ReturnRefund value)
optional .paymentchannels.ReturnRefund return_refund = 6;
public Protos.TwoWayChannelMessage.Builder clearReturnRefund()
optional .paymentchannels.ReturnRefund return_refund = 6;
public Protos.ReturnRefund.Builder getReturnRefundBuilder()
optional .paymentchannels.ReturnRefund return_refund = 6;
public Protos.ReturnRefundOrBuilder getReturnRefundOrBuilder()
optional .paymentchannels.ReturnRefund return_refund = 6;
getReturnRefundOrBuilder
in interface Protos.TwoWayChannelMessageOrBuilder
public boolean hasProvideContract()
optional .paymentchannels.ProvideContract provide_contract = 7;
hasProvideContract
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.ProvideContract getProvideContract()
optional .paymentchannels.ProvideContract provide_contract = 7;
getProvideContract
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.TwoWayChannelMessage.Builder setProvideContract(Protos.ProvideContract value)
optional .paymentchannels.ProvideContract provide_contract = 7;
public Protos.TwoWayChannelMessage.Builder setProvideContract(Protos.ProvideContract.Builder builderForValue)
optional .paymentchannels.ProvideContract provide_contract = 7;
public Protos.TwoWayChannelMessage.Builder mergeProvideContract(Protos.ProvideContract value)
optional .paymentchannels.ProvideContract provide_contract = 7;
public Protos.TwoWayChannelMessage.Builder clearProvideContract()
optional .paymentchannels.ProvideContract provide_contract = 7;
public Protos.ProvideContract.Builder getProvideContractBuilder()
optional .paymentchannels.ProvideContract provide_contract = 7;
public Protos.ProvideContractOrBuilder getProvideContractOrBuilder()
optional .paymentchannels.ProvideContract provide_contract = 7;
getProvideContractOrBuilder
in interface Protos.TwoWayChannelMessageOrBuilder
public boolean hasUpdatePayment()
optional .paymentchannels.UpdatePayment update_payment = 8;
hasUpdatePayment
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.UpdatePayment getUpdatePayment()
optional .paymentchannels.UpdatePayment update_payment = 8;
getUpdatePayment
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.TwoWayChannelMessage.Builder setUpdatePayment(Protos.UpdatePayment value)
optional .paymentchannels.UpdatePayment update_payment = 8;
public Protos.TwoWayChannelMessage.Builder setUpdatePayment(Protos.UpdatePayment.Builder builderForValue)
optional .paymentchannels.UpdatePayment update_payment = 8;
public Protos.TwoWayChannelMessage.Builder mergeUpdatePayment(Protos.UpdatePayment value)
optional .paymentchannels.UpdatePayment update_payment = 8;
public Protos.TwoWayChannelMessage.Builder clearUpdatePayment()
optional .paymentchannels.UpdatePayment update_payment = 8;
public Protos.UpdatePayment.Builder getUpdatePaymentBuilder()
optional .paymentchannels.UpdatePayment update_payment = 8;
public Protos.UpdatePaymentOrBuilder getUpdatePaymentOrBuilder()
optional .paymentchannels.UpdatePayment update_payment = 8;
getUpdatePaymentOrBuilder
in interface Protos.TwoWayChannelMessageOrBuilder
public boolean hasPaymentAck()
optional .paymentchannels.PaymentAck payment_ack = 11;
hasPaymentAck
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.PaymentAck getPaymentAck()
optional .paymentchannels.PaymentAck payment_ack = 11;
getPaymentAck
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.TwoWayChannelMessage.Builder setPaymentAck(Protos.PaymentAck value)
optional .paymentchannels.PaymentAck payment_ack = 11;
public Protos.TwoWayChannelMessage.Builder setPaymentAck(Protos.PaymentAck.Builder builderForValue)
optional .paymentchannels.PaymentAck payment_ack = 11;
public Protos.TwoWayChannelMessage.Builder mergePaymentAck(Protos.PaymentAck value)
optional .paymentchannels.PaymentAck payment_ack = 11;
public Protos.TwoWayChannelMessage.Builder clearPaymentAck()
optional .paymentchannels.PaymentAck payment_ack = 11;
public Protos.PaymentAck.Builder getPaymentAckBuilder()
optional .paymentchannels.PaymentAck payment_ack = 11;
public Protos.PaymentAckOrBuilder getPaymentAckOrBuilder()
optional .paymentchannels.PaymentAck payment_ack = 11;
getPaymentAckOrBuilder
in interface Protos.TwoWayChannelMessageOrBuilder
public boolean hasSettlement()
optional .paymentchannels.Settlement settlement = 9;
hasSettlement
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.Settlement getSettlement()
optional .paymentchannels.Settlement settlement = 9;
getSettlement
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.TwoWayChannelMessage.Builder setSettlement(Protos.Settlement value)
optional .paymentchannels.Settlement settlement = 9;
public Protos.TwoWayChannelMessage.Builder setSettlement(Protos.Settlement.Builder builderForValue)
optional .paymentchannels.Settlement settlement = 9;
public Protos.TwoWayChannelMessage.Builder mergeSettlement(Protos.Settlement value)
optional .paymentchannels.Settlement settlement = 9;
public Protos.TwoWayChannelMessage.Builder clearSettlement()
optional .paymentchannels.Settlement settlement = 9;
public Protos.Settlement.Builder getSettlementBuilder()
optional .paymentchannels.Settlement settlement = 9;
public Protos.SettlementOrBuilder getSettlementOrBuilder()
optional .paymentchannels.Settlement settlement = 9;
getSettlementOrBuilder
in interface Protos.TwoWayChannelMessageOrBuilder
public boolean hasError()
optional .paymentchannels.Error error = 10;
hasError
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.Error getError()
optional .paymentchannels.Error error = 10;
getError
in interface Protos.TwoWayChannelMessageOrBuilder
public Protos.TwoWayChannelMessage.Builder setError(Protos.Error value)
optional .paymentchannels.Error error = 10;
public Protos.TwoWayChannelMessage.Builder setError(Protos.Error.Builder builderForValue)
optional .paymentchannels.Error error = 10;
public Protos.TwoWayChannelMessage.Builder mergeError(Protos.Error value)
optional .paymentchannels.Error error = 10;
public Protos.TwoWayChannelMessage.Builder clearError()
optional .paymentchannels.Error error = 10;
public Protos.Error.Builder getErrorBuilder()
optional .paymentchannels.Error error = 10;
public Protos.ErrorOrBuilder getErrorOrBuilder()
optional .paymentchannels.Error error = 10;
getErrorOrBuilder
in interface Protos.TwoWayChannelMessageOrBuilder
public final Protos.TwoWayChannelMessage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TwoWayChannelMessage.Builder>
public final Protos.TwoWayChannelMessage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TwoWayChannelMessage.Builder>