public static final class ClientState.StoredClientPaymentChannel.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClientState.StoredClientPaymentChannel.Builder> implements ClientState.StoredClientPaymentChannelOrBuilder
paymentchannels.StoredClientPaymentChannel
A client-side payment channel in serialized form, which can be reloaded later if the client restarts and wants to reopen an existing channel
| Modifier and Type | Method and Description |
|---|---|
ClientState.StoredClientPaymentChannel |
build() |
ClientState.StoredClientPaymentChannel |
buildPartial() |
ClientState.StoredClientPaymentChannel.Builder |
clear() |
ClientState.StoredClientPaymentChannel.Builder |
clearCloseTransactionHash()
optional bytes closeTransactionHash = 7; |
ClientState.StoredClientPaymentChannel.Builder |
clearContractTransaction()
required bytes contractTransaction = 2; |
ClientState.StoredClientPaymentChannel.Builder |
clearId()
required bytes id = 1; |
ClientState.StoredClientPaymentChannel.Builder |
clearMyKey()
required bytes myKey = 4; |
ClientState.StoredClientPaymentChannel.Builder |
clearMyPublicKey()
required bytes myPublicKey = 8; |
ClientState.StoredClientPaymentChannel.Builder |
clearRefundFees()
required uint64 refundFees = 6; |
ClientState.StoredClientPaymentChannel.Builder |
clearRefundTransaction()
required bytes refundTransaction = 3; |
ClientState.StoredClientPaymentChannel.Builder |
clearValueToMe()
required uint64 valueToMe = 5; |
ClientState.StoredClientPaymentChannel.Builder |
clone() |
com.google.protobuf.ByteString |
getCloseTransactionHash()
optional bytes closeTransactionHash = 7; |
com.google.protobuf.ByteString |
getContractTransaction()
required bytes contractTransaction = 2; |
ClientState.StoredClientPaymentChannel |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getId()
required bytes id = 1; |
com.google.protobuf.ByteString |
getMyKey()
required bytes myKey = 4; |
com.google.protobuf.ByteString |
getMyPublicKey()
required bytes myPublicKey = 8; |
long |
getRefundFees()
required uint64 refundFees = 6; |
com.google.protobuf.ByteString |
getRefundTransaction()
required bytes refundTransaction = 3; |
long |
getValueToMe()
required uint64 valueToMe = 5; |
boolean |
hasCloseTransactionHash()
optional bytes closeTransactionHash = 7; |
boolean |
hasContractTransaction()
required bytes contractTransaction = 2; |
boolean |
hasId()
required bytes id = 1; |
boolean |
hasMyKey()
required bytes myKey = 4; |
boolean |
hasMyPublicKey()
required bytes myPublicKey = 8; |
boolean |
hasRefundFees()
required uint64 refundFees = 6; |
boolean |
hasRefundTransaction()
required bytes refundTransaction = 3; |
boolean |
hasValueToMe()
required uint64 valueToMe = 5; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ClientState.StoredClientPaymentChannel.Builder |
mergeFrom(ClientState.StoredClientPaymentChannel other) |
ClientState.StoredClientPaymentChannel.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientState.StoredClientPaymentChannel.Builder |
mergeFrom(com.google.protobuf.Message other) |
ClientState.StoredClientPaymentChannel.Builder |
setCloseTransactionHash(com.google.protobuf.ByteString value)
optional bytes closeTransactionHash = 7; |
ClientState.StoredClientPaymentChannel.Builder |
setContractTransaction(com.google.protobuf.ByteString value)
required bytes contractTransaction = 2; |
ClientState.StoredClientPaymentChannel.Builder |
setId(com.google.protobuf.ByteString value)
required bytes id = 1; |
ClientState.StoredClientPaymentChannel.Builder |
setMyKey(com.google.protobuf.ByteString value)
required bytes myKey = 4; |
ClientState.StoredClientPaymentChannel.Builder |
setMyPublicKey(com.google.protobuf.ByteString value)
required bytes myPublicKey = 8; |
ClientState.StoredClientPaymentChannel.Builder |
setRefundFees(long value)
required uint64 refundFees = 6; |
ClientState.StoredClientPaymentChannel.Builder |
setRefundTransaction(com.google.protobuf.ByteString value)
required bytes refundTransaction = 3; |
ClientState.StoredClientPaymentChannel.Builder |
setValueToMe(long value)
required uint64 valueToMe = 5; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ClientState.StoredClientPaymentChannel.Builder>public ClientState.StoredClientPaymentChannel.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ClientState.StoredClientPaymentChannel.Builder>public ClientState.StoredClientPaymentChannel.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<ClientState.StoredClientPaymentChannel.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ClientState.StoredClientPaymentChannel.Builder>public ClientState.StoredClientPaymentChannel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ClientState.StoredClientPaymentChannel build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ClientState.StoredClientPaymentChannel buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ClientState.StoredClientPaymentChannel.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientState.StoredClientPaymentChannel.Builder>public ClientState.StoredClientPaymentChannel.Builder mergeFrom(ClientState.StoredClientPaymentChannel other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ClientState.StoredClientPaymentChannel.Builder>public ClientState.StoredClientPaymentChannel.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientState.StoredClientPaymentChannel.Builder>IOExceptionpublic boolean hasId()
required bytes id = 1;hasId in interface ClientState.StoredClientPaymentChannelOrBuilderpublic com.google.protobuf.ByteString getId()
required bytes id = 1;getId in interface ClientState.StoredClientPaymentChannelOrBuilderpublic ClientState.StoredClientPaymentChannel.Builder setId(com.google.protobuf.ByteString value)
required bytes id = 1;public ClientState.StoredClientPaymentChannel.Builder clearId()
required bytes id = 1;public boolean hasContractTransaction()
required bytes contractTransaction = 2;hasContractTransaction in interface ClientState.StoredClientPaymentChannelOrBuilderpublic com.google.protobuf.ByteString getContractTransaction()
required bytes contractTransaction = 2;getContractTransaction in interface ClientState.StoredClientPaymentChannelOrBuilderpublic ClientState.StoredClientPaymentChannel.Builder setContractTransaction(com.google.protobuf.ByteString value)
required bytes contractTransaction = 2;public ClientState.StoredClientPaymentChannel.Builder clearContractTransaction()
required bytes contractTransaction = 2;public boolean hasRefundTransaction()
required bytes refundTransaction = 3;hasRefundTransaction in interface ClientState.StoredClientPaymentChannelOrBuilderpublic com.google.protobuf.ByteString getRefundTransaction()
required bytes refundTransaction = 3;getRefundTransaction in interface ClientState.StoredClientPaymentChannelOrBuilderpublic ClientState.StoredClientPaymentChannel.Builder setRefundTransaction(com.google.protobuf.ByteString value)
required bytes refundTransaction = 3;public ClientState.StoredClientPaymentChannel.Builder clearRefundTransaction()
required bytes refundTransaction = 3;public boolean hasMyPublicKey()
required bytes myPublicKey = 8;hasMyPublicKey in interface ClientState.StoredClientPaymentChannelOrBuilderpublic com.google.protobuf.ByteString getMyPublicKey()
required bytes myPublicKey = 8;getMyPublicKey in interface ClientState.StoredClientPaymentChannelOrBuilderpublic ClientState.StoredClientPaymentChannel.Builder setMyPublicKey(com.google.protobuf.ByteString value)
required bytes myPublicKey = 8;public ClientState.StoredClientPaymentChannel.Builder clearMyPublicKey()
required bytes myPublicKey = 8;public boolean hasMyKey()
required bytes myKey = 4;
Deprecated, key is already stored in the wallet, and found using myPublicKey;
hasMyKey in interface ClientState.StoredClientPaymentChannelOrBuilderpublic com.google.protobuf.ByteString getMyKey()
required bytes myKey = 4;
Deprecated, key is already stored in the wallet, and found using myPublicKey;
getMyKey in interface ClientState.StoredClientPaymentChannelOrBuilderpublic ClientState.StoredClientPaymentChannel.Builder setMyKey(com.google.protobuf.ByteString value)
required bytes myKey = 4;
Deprecated, key is already stored in the wallet, and found using myPublicKey;
public ClientState.StoredClientPaymentChannel.Builder clearMyKey()
required bytes myKey = 4;
Deprecated, key is already stored in the wallet, and found using myPublicKey;
public boolean hasValueToMe()
required uint64 valueToMe = 5;hasValueToMe in interface ClientState.StoredClientPaymentChannelOrBuilderpublic long getValueToMe()
required uint64 valueToMe = 5;getValueToMe in interface ClientState.StoredClientPaymentChannelOrBuilderpublic ClientState.StoredClientPaymentChannel.Builder setValueToMe(long value)
required uint64 valueToMe = 5;public ClientState.StoredClientPaymentChannel.Builder clearValueToMe()
required uint64 valueToMe = 5;public boolean hasRefundFees()
required uint64 refundFees = 6;hasRefundFees in interface ClientState.StoredClientPaymentChannelOrBuilderpublic long getRefundFees()
required uint64 refundFees = 6;getRefundFees in interface ClientState.StoredClientPaymentChannelOrBuilderpublic ClientState.StoredClientPaymentChannel.Builder setRefundFees(long value)
required uint64 refundFees = 6;public ClientState.StoredClientPaymentChannel.Builder clearRefundFees()
required uint64 refundFees = 6;public boolean hasCloseTransactionHash()
optional bytes closeTransactionHash = 7;
When set, the hash of the transaction that was presented by the server for closure of the channel. It spends the contractTransaction and is expected to be broadcast to the network by the server. It's supposed to be in the wallet already.
hasCloseTransactionHash in interface ClientState.StoredClientPaymentChannelOrBuilderpublic com.google.protobuf.ByteString getCloseTransactionHash()
optional bytes closeTransactionHash = 7;
When set, the hash of the transaction that was presented by the server for closure of the channel. It spends the contractTransaction and is expected to be broadcast to the network by the server. It's supposed to be in the wallet already.
getCloseTransactionHash in interface ClientState.StoredClientPaymentChannelOrBuilderpublic ClientState.StoredClientPaymentChannel.Builder setCloseTransactionHash(com.google.protobuf.ByteString value)
optional bytes closeTransactionHash = 7;
When set, the hash of the transaction that was presented by the server for closure of the channel. It spends the contractTransaction and is expected to be broadcast to the network by the server. It's supposed to be in the wallet already.
public ClientState.StoredClientPaymentChannel.Builder clearCloseTransactionHash()
optional bytes closeTransactionHash = 7;
When set, the hash of the transaction that was presented by the server for closure of the channel. It spends the contractTransaction and is expected to be broadcast to the network by the server. It's supposed to be in the wallet already.
Copyright © 2015. All rights reserved.