public static final class ServerState.StoredServerPaymentChannel.Builder extends com.google.protobuf.GeneratedMessage.Builder<ServerState.StoredServerPaymentChannel.Builder> implements ServerState.StoredServerPaymentChannelOrBuilder
paymentchannels.StoredServerPaymentChannel
A server-side payment channel in serialized form, which can be reloaded later if the server restarts
| Modifier and Type | Method and Description |
|---|---|
ServerState.StoredServerPaymentChannel |
build() |
ServerState.StoredServerPaymentChannel |
buildPartial() |
ServerState.StoredServerPaymentChannel.Builder |
clear() |
ServerState.StoredServerPaymentChannel.Builder |
clearBestValueSignature()
optional bytes bestValueSignature = 2; |
ServerState.StoredServerPaymentChannel.Builder |
clearBestValueToMe()
required uint64 bestValueToMe = 1; |
ServerState.StoredServerPaymentChannel.Builder |
clearClientOutput()
required bytes clientOutput = 5; |
ServerState.StoredServerPaymentChannel.Builder |
clearContractTransaction()
required bytes contractTransaction = 4; |
ServerState.StoredServerPaymentChannel.Builder |
clearMyKey()
required bytes myKey = 6; |
ServerState.StoredServerPaymentChannel.Builder |
clearRefundTransactionUnlockTimeSecs()
required uint64 refundTransactionUnlockTimeSecs = 3; |
ServerState.StoredServerPaymentChannel.Builder |
clone() |
com.google.protobuf.ByteString |
getBestValueSignature()
optional bytes bestValueSignature = 2; |
long |
getBestValueToMe()
required uint64 bestValueToMe = 1; |
com.google.protobuf.ByteString |
getClientOutput()
required bytes clientOutput = 5; |
com.google.protobuf.ByteString |
getContractTransaction()
required bytes contractTransaction = 4; |
ServerState.StoredServerPaymentChannel |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getMyKey()
required bytes myKey = 6; |
long |
getRefundTransactionUnlockTimeSecs()
required uint64 refundTransactionUnlockTimeSecs = 3; |
boolean |
hasBestValueSignature()
optional bytes bestValueSignature = 2; |
boolean |
hasBestValueToMe()
required uint64 bestValueToMe = 1; |
boolean |
hasClientOutput()
required bytes clientOutput = 5; |
boolean |
hasContractTransaction()
required bytes contractTransaction = 4; |
boolean |
hasMyKey()
required bytes myKey = 6; |
boolean |
hasRefundTransactionUnlockTimeSecs()
required uint64 refundTransactionUnlockTimeSecs = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ServerState.StoredServerPaymentChannel.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServerState.StoredServerPaymentChannel.Builder |
mergeFrom(com.google.protobuf.Message other) |
ServerState.StoredServerPaymentChannel.Builder |
mergeFrom(ServerState.StoredServerPaymentChannel other) |
ServerState.StoredServerPaymentChannel.Builder |
setBestValueSignature(com.google.protobuf.ByteString value)
optional bytes bestValueSignature = 2; |
ServerState.StoredServerPaymentChannel.Builder |
setBestValueToMe(long value)
required uint64 bestValueToMe = 1; |
ServerState.StoredServerPaymentChannel.Builder |
setClientOutput(com.google.protobuf.ByteString value)
required bytes clientOutput = 5; |
ServerState.StoredServerPaymentChannel.Builder |
setContractTransaction(com.google.protobuf.ByteString value)
required bytes contractTransaction = 4; |
ServerState.StoredServerPaymentChannel.Builder |
setMyKey(com.google.protobuf.ByteString value)
required bytes myKey = 6; |
ServerState.StoredServerPaymentChannel.Builder |
setRefundTransactionUnlockTimeSecs(long value)
required uint64 refundTransactionUnlockTimeSecs = 3; |
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<ServerState.StoredServerPaymentChannel.Builder>public ServerState.StoredServerPaymentChannel.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ServerState.StoredServerPaymentChannel.Builder>public ServerState.StoredServerPaymentChannel.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<ServerState.StoredServerPaymentChannel.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<ServerState.StoredServerPaymentChannel.Builder>public ServerState.StoredServerPaymentChannel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ServerState.StoredServerPaymentChannel build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ServerState.StoredServerPaymentChannel buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ServerState.StoredServerPaymentChannel.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServerState.StoredServerPaymentChannel.Builder>public ServerState.StoredServerPaymentChannel.Builder mergeFrom(ServerState.StoredServerPaymentChannel other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ServerState.StoredServerPaymentChannel.Builder>public ServerState.StoredServerPaymentChannel.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<ServerState.StoredServerPaymentChannel.Builder>IOExceptionpublic boolean hasBestValueToMe()
required uint64 bestValueToMe = 1;hasBestValueToMe in interface ServerState.StoredServerPaymentChannelOrBuilderpublic long getBestValueToMe()
required uint64 bestValueToMe = 1;getBestValueToMe in interface ServerState.StoredServerPaymentChannelOrBuilderpublic ServerState.StoredServerPaymentChannel.Builder setBestValueToMe(long value)
required uint64 bestValueToMe = 1;public ServerState.StoredServerPaymentChannel.Builder clearBestValueToMe()
required uint64 bestValueToMe = 1;public boolean hasBestValueSignature()
optional bytes bestValueSignature = 2;hasBestValueSignature in interface ServerState.StoredServerPaymentChannelOrBuilderpublic com.google.protobuf.ByteString getBestValueSignature()
optional bytes bestValueSignature = 2;getBestValueSignature in interface ServerState.StoredServerPaymentChannelOrBuilderpublic ServerState.StoredServerPaymentChannel.Builder setBestValueSignature(com.google.protobuf.ByteString value)
optional bytes bestValueSignature = 2;public ServerState.StoredServerPaymentChannel.Builder clearBestValueSignature()
optional bytes bestValueSignature = 2;public boolean hasRefundTransactionUnlockTimeSecs()
required uint64 refundTransactionUnlockTimeSecs = 3;hasRefundTransactionUnlockTimeSecs in interface ServerState.StoredServerPaymentChannelOrBuilderpublic long getRefundTransactionUnlockTimeSecs()
required uint64 refundTransactionUnlockTimeSecs = 3;getRefundTransactionUnlockTimeSecs in interface ServerState.StoredServerPaymentChannelOrBuilderpublic ServerState.StoredServerPaymentChannel.Builder setRefundTransactionUnlockTimeSecs(long value)
required uint64 refundTransactionUnlockTimeSecs = 3;public ServerState.StoredServerPaymentChannel.Builder clearRefundTransactionUnlockTimeSecs()
required uint64 refundTransactionUnlockTimeSecs = 3;public boolean hasContractTransaction()
required bytes contractTransaction = 4;hasContractTransaction in interface ServerState.StoredServerPaymentChannelOrBuilderpublic com.google.protobuf.ByteString getContractTransaction()
required bytes contractTransaction = 4;getContractTransaction in interface ServerState.StoredServerPaymentChannelOrBuilderpublic ServerState.StoredServerPaymentChannel.Builder setContractTransaction(com.google.protobuf.ByteString value)
required bytes contractTransaction = 4;public ServerState.StoredServerPaymentChannel.Builder clearContractTransaction()
required bytes contractTransaction = 4;public boolean hasClientOutput()
required bytes clientOutput = 5;hasClientOutput in interface ServerState.StoredServerPaymentChannelOrBuilderpublic com.google.protobuf.ByteString getClientOutput()
required bytes clientOutput = 5;getClientOutput in interface ServerState.StoredServerPaymentChannelOrBuilderpublic ServerState.StoredServerPaymentChannel.Builder setClientOutput(com.google.protobuf.ByteString value)
required bytes clientOutput = 5;public ServerState.StoredServerPaymentChannel.Builder clearClientOutput()
required bytes clientOutput = 5;public boolean hasMyKey()
required bytes myKey = 6;hasMyKey in interface ServerState.StoredServerPaymentChannelOrBuilderpublic com.google.protobuf.ByteString getMyKey()
required bytes myKey = 6;getMyKey in interface ServerState.StoredServerPaymentChannelOrBuilderpublic ServerState.StoredServerPaymentChannel.Builder setMyKey(com.google.protobuf.ByteString value)
required bytes myKey = 6;public ServerState.StoredServerPaymentChannel.Builder clearMyKey()
required bytes myKey = 6;Copyright © 2015. All rights reserved.