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 |
CLIENTKEY_FIELD_NUMBER |
static int |
CLIENTOUTPUT_FIELD_NUMBER |
static int |
CONTRACTTRANSACTION_FIELD_NUMBER |
static int |
MAJORVERSION_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 |
getClientKey()
optional bytes clientKey = 8; |
com.google.protobuf.ByteString |
getClientOutput()
optional 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() |
int |
getMajorVersion()
optional uint32 majorVersion = 7 [default = 1]; |
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 |
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() |
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, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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 final int MAJORVERSION_FIELD_NUMBER
public static final int CLIENTKEY_FIELD_NUMBER
public static ServerState.StoredServerPaymentChannel getDefaultInstance()
public ServerState.StoredServerPaymentChannel getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<ServerState.StoredServerPaymentChannel> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
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 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 boolean hasRefundTransactionUnlockTimeSecs()
required uint64 refundTransactionUnlockTimeSecs = 3;
hasRefundTransactionUnlockTimeSecs
in interface ServerState.StoredServerPaymentChannelOrBuilder
public long getRefundTransactionUnlockTimeSecs()
required uint64 refundTransactionUnlockTimeSecs = 3;
getRefundTransactionUnlockTimeSecs
in interface ServerState.StoredServerPaymentChannelOrBuilder
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 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 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 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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static ServerState.StoredServerPaymentChannel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ServerState.StoredServerPaymentChannel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ServerState.StoredServerPaymentChannel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ServerState.StoredServerPaymentChannel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ServerState.StoredServerPaymentChannel parseFrom(InputStream input) throws IOException
IOException
public static ServerState.StoredServerPaymentChannel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ServerState.StoredServerPaymentChannel parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ServerState.StoredServerPaymentChannel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ServerState.StoredServerPaymentChannel parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ServerState.StoredServerPaymentChannel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ServerState.StoredServerPaymentChannel.Builder newBuilder()
public ServerState.StoredServerPaymentChannel.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ServerState.StoredServerPaymentChannel.Builder newBuilder(ServerState.StoredServerPaymentChannel prototype)
public ServerState.StoredServerPaymentChannel.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ServerState.StoredServerPaymentChannel.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2016. All rights reserved.