public static final class ServerState.StoredServerPaymentChannel extends com.google.protobuf.GeneratedMessageV3 implements ServerState.StoredServerPaymentChannelOrBuilder
A server-side payment channel in serialized form, which can be reloaded later if the server restartsProtobuf type
paymentchannels.StoredServerPaymentChannel| Modifier and Type | Class and Description |
|---|---|
static class |
ServerState.StoredServerPaymentChannel.Builder
A server-side payment channel in serialized form, which can be reloaded later if the server restarts
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 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
Deprecated.
|
static int |
REFUNDTRANSACTIONUNLOCKTIMESECS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
com.google.protobuf.ByteString |
getBestValueSignature()
optional bytes bestValueSignature = 2; |
long |
getBestValueToMe()
required uint64 bestValueToMe = 1; |
com.google.protobuf.ByteString |
getClientKey()
Protocol version 2 only - the P2SH hash doesn't contain the required key
|
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()
Protocol version 2 only - the P2SH hash doesn't contain the required key
|
boolean |
hasClientOutput()
optional bytes clientOutput = 5; |
boolean |
hasContractTransaction()
required bytes contractTransaction = 4; |
int |
hashCode() |
boolean |
hasMajorVersion()
optional uint32 majorVersion = 7 [default = 1]; |
boolean |
hasMyKey()
required bytes myKey = 6; |
boolean |
hasRefundTransactionUnlockTimeSecs()
required uint64 refundTransactionUnlockTimeSecs = 3; |
protected com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.BuilderParent parent) |
static ServerState.StoredServerPaymentChannel |
parseDelimitedFrom(java.io.InputStream input) |
static ServerState.StoredServerPaymentChannel |
parseDelimitedFrom(java.io.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(java.nio.ByteBuffer data) |
static ServerState.StoredServerPaymentChannel |
parseFrom(java.nio.ByteBuffer 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(java.io.InputStream input) |
static ServerState.StoredServerPaymentChannel |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ServerState.StoredServerPaymentChannel> |
parser() |
ServerState.StoredServerPaymentChannel.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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
@Deprecated public static final com.google.protobuf.Parser<ServerState.StoredServerPaymentChannel> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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()
optional bytes clientOutput = 5;hasClientOutput in interface ServerState.StoredServerPaymentChannelOrBuilderpublic com.google.protobuf.ByteString getClientOutput()
optional 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 boolean hasMajorVersion()
optional uint32 majorVersion = 7 [default = 1];hasMajorVersion in interface ServerState.StoredServerPaymentChannelOrBuilderpublic int getMajorVersion()
optional uint32 majorVersion = 7 [default = 1];getMajorVersion in interface ServerState.StoredServerPaymentChannelOrBuilderpublic boolean hasClientKey()
Protocol version 2 only - the P2SH hash doesn't contain the required key
optional bytes clientKey = 8;hasClientKey in interface ServerState.StoredServerPaymentChannelOrBuilderpublic com.google.protobuf.ByteString getClientKey()
Protocol version 2 only - the P2SH hash doesn't contain the required key
optional bytes clientKey = 8;getClientKey in interface ServerState.StoredServerPaymentChannelOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ServerState.StoredServerPaymentChannel parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerState.StoredServerPaymentChannel parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic 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(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ServerState.StoredServerPaymentChannel parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ServerState.StoredServerPaymentChannel parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ServerState.StoredServerPaymentChannel parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ServerState.StoredServerPaymentChannel parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ServerState.StoredServerPaymentChannel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ServerState.StoredServerPaymentChannel.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ServerState.StoredServerPaymentChannel.Builder newBuilder()
public 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.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ServerState.StoredServerPaymentChannel getDefaultInstance()
public static com.google.protobuf.Parser<ServerState.StoredServerPaymentChannel> parser()
public 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.GeneratedMessageV3public ServerState.StoredServerPaymentChannel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder