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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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
@Deprecated public static final com.google.protobuf.Parser<ServerState.StoredServerPaymentChannel> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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()
Protocol version 2 only - the P2SH hash doesn't contain the required key
optional bytes clientKey = 8;
hasClientKey
in interface ServerState.StoredServerPaymentChannelOrBuilder
public 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.StoredServerPaymentChannelOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ServerState.StoredServerPaymentChannel parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ServerState.StoredServerPaymentChannel parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
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(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ServerState.StoredServerPaymentChannel parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ServerState.StoredServerPaymentChannel parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ServerState.StoredServerPaymentChannel parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ServerState.StoredServerPaymentChannel parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static ServerState.StoredServerPaymentChannel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
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()
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.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ServerState.StoredServerPaymentChannel getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder