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 |
clearClientKey()
optional bytes clientKey = 8; |
ServerState.StoredServerPaymentChannel.Builder |
clearClientOutput()
optional bytes clientOutput = 5; |
ServerState.StoredServerPaymentChannel.Builder |
clearContractTransaction()
required bytes contractTransaction = 4; |
ServerState.StoredServerPaymentChannel.Builder |
clearMajorVersion()
optional uint32 majorVersion = 7 [default = 1]; |
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 |
getClientKey()
optional bytes clientKey = 8; |
com.google.protobuf.ByteString |
getClientOutput()
optional 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() |
int |
getMajorVersion()
optional uint32 majorVersion = 7 [default = 1]; |
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 |
hasClientKey()
optional bytes clientKey = 8; |
boolean |
hasClientOutput()
optional bytes clientOutput = 5; |
boolean |
hasContractTransaction()
required bytes contractTransaction = 4; |
boolean |
hasMajorVersion()
optional uint32 majorVersion = 7 [default = 1]; |
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 |
setClientKey(com.google.protobuf.ByteString value)
optional bytes clientKey = 8; |
ServerState.StoredServerPaymentChannel.Builder |
setClientOutput(com.google.protobuf.ByteString value)
optional bytes clientOutput = 5; |
ServerState.StoredServerPaymentChannel.Builder |
setContractTransaction(com.google.protobuf.ByteString value)
required bytes contractTransaction = 4; |
ServerState.StoredServerPaymentChannel.Builder |
setMajorVersion(int value)
optional uint32 majorVersion = 7 [default = 1]; |
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, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<ServerState.StoredServerPaymentChannel.Builder>
public ServerState.StoredServerPaymentChannel.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<ServerState.StoredServerPaymentChannel.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.GeneratedMessage.Builder<ServerState.StoredServerPaymentChannel.Builder>
public ServerState.StoredServerPaymentChannel getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ServerState.StoredServerPaymentChannel build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ServerState.StoredServerPaymentChannel buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ServerState.StoredServerPaymentChannel.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ServerState.StoredServerPaymentChannel.Builder>
IOException
public boolean hasBestValueToMe()
required uint64 bestValueToMe = 1;
hasBestValueToMe
in interface ServerState.StoredServerPaymentChannelOrBuilder
public long getBestValueToMe()
required uint64 bestValueToMe = 1;
getBestValueToMe
in interface ServerState.StoredServerPaymentChannelOrBuilder
public 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.StoredServerPaymentChannelOrBuilder
public com.google.protobuf.ByteString getBestValueSignature()
optional bytes bestValueSignature = 2;
getBestValueSignature
in interface ServerState.StoredServerPaymentChannelOrBuilder
public 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.StoredServerPaymentChannelOrBuilder
public long getRefundTransactionUnlockTimeSecs()
required uint64 refundTransactionUnlockTimeSecs = 3;
getRefundTransactionUnlockTimeSecs
in interface ServerState.StoredServerPaymentChannelOrBuilder
public 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.StoredServerPaymentChannelOrBuilder
public com.google.protobuf.ByteString getContractTransaction()
required bytes contractTransaction = 4;
getContractTransaction
in interface ServerState.StoredServerPaymentChannelOrBuilder
public 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()
optional bytes clientOutput = 5;
hasClientOutput
in interface ServerState.StoredServerPaymentChannelOrBuilder
public com.google.protobuf.ByteString getClientOutput()
optional bytes clientOutput = 5;
getClientOutput
in interface ServerState.StoredServerPaymentChannelOrBuilder
public ServerState.StoredServerPaymentChannel.Builder setClientOutput(com.google.protobuf.ByteString value)
optional bytes clientOutput = 5;
public ServerState.StoredServerPaymentChannel.Builder clearClientOutput()
optional bytes clientOutput = 5;
public boolean hasMyKey()
required bytes myKey = 6;
hasMyKey
in interface ServerState.StoredServerPaymentChannelOrBuilder
public com.google.protobuf.ByteString getMyKey()
required bytes myKey = 6;
getMyKey
in interface ServerState.StoredServerPaymentChannelOrBuilder
public ServerState.StoredServerPaymentChannel.Builder setMyKey(com.google.protobuf.ByteString value)
required bytes myKey = 6;
public ServerState.StoredServerPaymentChannel.Builder clearMyKey()
required bytes myKey = 6;
public boolean hasMajorVersion()
optional uint32 majorVersion = 7 [default = 1];
hasMajorVersion
in interface ServerState.StoredServerPaymentChannelOrBuilder
public int getMajorVersion()
optional uint32 majorVersion = 7 [default = 1];
getMajorVersion
in interface ServerState.StoredServerPaymentChannelOrBuilder
public ServerState.StoredServerPaymentChannel.Builder setMajorVersion(int value)
optional uint32 majorVersion = 7 [default = 1];
public ServerState.StoredServerPaymentChannel.Builder clearMajorVersion()
optional uint32 majorVersion = 7 [default = 1];
public boolean hasClientKey()
optional bytes clientKey = 8;
Protocol version 2 only - the P2SH hash doesn't contain the required key
hasClientKey
in interface ServerState.StoredServerPaymentChannelOrBuilder
public com.google.protobuf.ByteString getClientKey()
optional bytes clientKey = 8;
Protocol version 2 only - the P2SH hash doesn't contain the required key
getClientKey
in interface ServerState.StoredServerPaymentChannelOrBuilder
public ServerState.StoredServerPaymentChannel.Builder setClientKey(com.google.protobuf.ByteString value)
optional bytes clientKey = 8;
Protocol version 2 only - the P2SH hash doesn't contain the required key
public ServerState.StoredServerPaymentChannel.Builder clearClientKey()
optional bytes clientKey = 8;
Protocol version 2 only - the P2SH hash doesn't contain the required key
Copyright © 2016. All rights reserved.