public static final class ServerState.StoredServerPaymentChannel extends com.google.protobuf.GeneratedMessage 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 | Class and Description |
|---|---|
static class |
ServerState.StoredServerPaymentChannel.Builder
Protobuf type
paymentchannels.StoredServerPaymentChannel |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
BESTVALUESIGNATURE_FIELD_NUMBER |
static int |
BESTVALUETOME_FIELD_NUMBER |
static int |
CLIENTOUTPUT_FIELD_NUMBER |
static int |
CONTRACTTRANSACTION_FIELD_NUMBER |
static int |
MYKEY_FIELD_NUMBER |
static com.google.protobuf.Parser<ServerState.StoredServerPaymentChannel> |
PARSER |
static int |
REFUNDTRANSACTIONUNLOCKTIMESECS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
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; |
static ServerState.StoredServerPaymentChannel |
getDefaultInstance() |
ServerState.StoredServerPaymentChannel |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getMyKey()
required bytes myKey = 6; |
com.google.protobuf.Parser<ServerState.StoredServerPaymentChannel> |
getParserForType() |
long |
getRefundTransactionUnlockTimeSecs()
required uint64 refundTransactionUnlockTimeSecs = 3; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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() |
static ServerState.StoredServerPaymentChannel.Builder |
newBuilder() |
static ServerState.StoredServerPaymentChannel.Builder |
newBuilder(ServerState.StoredServerPaymentChannel prototype) |
ServerState.StoredServerPaymentChannel.Builder |
newBuilderForType() |
protected ServerState.StoredServerPaymentChannel.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static ServerState.StoredServerPaymentChannel |
parseDelimitedFrom(InputStream input) |
static ServerState.StoredServerPaymentChannel |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerState.StoredServerPaymentChannel |
parseFrom(byte[] data) |
static ServerState.StoredServerPaymentChannel |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerState.StoredServerPaymentChannel |
parseFrom(com.google.protobuf.ByteString data) |
static ServerState.StoredServerPaymentChannel |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerState.StoredServerPaymentChannel |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ServerState.StoredServerPaymentChannel |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerState.StoredServerPaymentChannel |
parseFrom(InputStream input) |
static ServerState.StoredServerPaymentChannel |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServerState.StoredServerPaymentChannel.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<ServerState.StoredServerPaymentChannel> PARSER
public static final int BESTVALUETOME_FIELD_NUMBER
public static final int BESTVALUESIGNATURE_FIELD_NUMBER
public static final int REFUNDTRANSACTIONUNLOCKTIMESECS_FIELD_NUMBER
public static final int CONTRACTTRANSACTION_FIELD_NUMBER
public static final int CLIENTOUTPUT_FIELD_NUMBER
public static final int MYKEY_FIELD_NUMBER
public static ServerState.StoredServerPaymentChannel getDefaultInstance()
public ServerState.StoredServerPaymentChannel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<ServerState.StoredServerPaymentChannel> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasBestValueToMe()
required uint64 bestValueToMe = 1;hasBestValueToMe in interface ServerState.StoredServerPaymentChannelOrBuilderpublic long getBestValueToMe()
required uint64 bestValueToMe = 1;getBestValueToMe in interface ServerState.StoredServerPaymentChannelOrBuilderpublic 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 boolean hasRefundTransactionUnlockTimeSecs()
required uint64 refundTransactionUnlockTimeSecs = 3;hasRefundTransactionUnlockTimeSecs in interface ServerState.StoredServerPaymentChannelOrBuilderpublic long getRefundTransactionUnlockTimeSecs()
required uint64 refundTransactionUnlockTimeSecs = 3;getRefundTransactionUnlockTimeSecs in interface ServerState.StoredServerPaymentChannelOrBuilderpublic 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static ServerState.StoredServerPaymentChannel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerState.StoredServerPaymentChannel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerState.StoredServerPaymentChannel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerState.StoredServerPaymentChannel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerState.StoredServerPaymentChannel parseFrom(InputStream input) throws IOException
IOExceptionpublic static ServerState.StoredServerPaymentChannel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerState.StoredServerPaymentChannel parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ServerState.StoredServerPaymentChannel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerState.StoredServerPaymentChannel parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ServerState.StoredServerPaymentChannel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerState.StoredServerPaymentChannel.Builder newBuilder()
public ServerState.StoredServerPaymentChannel.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ServerState.StoredServerPaymentChannel.Builder newBuilder(ServerState.StoredServerPaymentChannel prototype)
public ServerState.StoredServerPaymentChannel.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ServerState.StoredServerPaymentChannel.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2015. All rights reserved.