public static final class Wtclient.Tower extends com.google.protobuf.GeneratedMessageV3 implements Wtclient.TowerOrBuilder
wtclientrpc.Tower
Modifier and Type | Class and Description |
---|---|
static class |
Wtclient.Tower.Builder
Protobuf type
wtclientrpc.Tower |
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVE_SESSION_CANDIDATE_FIELD_NUMBER |
static int |
ADDRESSES_FIELD_NUMBER |
static int |
NUM_SESSIONS_FIELD_NUMBER |
static int |
PUBKEY_FIELD_NUMBER |
static int |
SESSIONS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
getActiveSessionCandidate()
Whether the watchtower is currently a candidate for new sessions.
|
java.lang.String |
getAddresses(int index)
The list of addresses the watchtower is reachable over.
|
com.google.protobuf.ByteString |
getAddressesBytes(int index)
The list of addresses the watchtower is reachable over.
|
int |
getAddressesCount()
The list of addresses the watchtower is reachable over.
|
com.google.protobuf.ProtocolStringList |
getAddressesList()
The list of addresses the watchtower is reachable over.
|
static Wtclient.Tower |
getDefaultInstance() |
Wtclient.Tower |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getNumSessions()
The number of sessions that have been negotiated with the watchtower.
|
com.google.protobuf.Parser<Wtclient.Tower> |
getParserForType() |
com.google.protobuf.ByteString |
getPubkey()
The identifying public key of the watchtower.
|
int |
getSerializedSize() |
Wtclient.TowerSession |
getSessions(int index)
The list of sessions that have been negotiated with the watchtower.
|
int |
getSessionsCount()
The list of sessions that have been negotiated with the watchtower.
|
java.util.List<Wtclient.TowerSession> |
getSessionsList()
The list of sessions that have been negotiated with the watchtower.
|
Wtclient.TowerSessionOrBuilder |
getSessionsOrBuilder(int index)
The list of sessions that have been negotiated with the watchtower.
|
java.util.List<? extends Wtclient.TowerSessionOrBuilder> |
getSessionsOrBuilderList()
The list of sessions that have been negotiated with the watchtower.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Wtclient.Tower.Builder |
newBuilder() |
static Wtclient.Tower.Builder |
newBuilder(Wtclient.Tower prototype) |
Wtclient.Tower.Builder |
newBuilderForType() |
protected Wtclient.Tower.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Wtclient.Tower |
parseDelimitedFrom(java.io.InputStream input) |
static Wtclient.Tower |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Wtclient.Tower |
parseFrom(byte[] data) |
static Wtclient.Tower |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Wtclient.Tower |
parseFrom(java.nio.ByteBuffer data) |
static Wtclient.Tower |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Wtclient.Tower |
parseFrom(com.google.protobuf.ByteString data) |
static Wtclient.Tower |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Wtclient.Tower |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Wtclient.Tower |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Wtclient.Tower |
parseFrom(java.io.InputStream input) |
static Wtclient.Tower |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Wtclient.Tower> |
parser() |
Wtclient.Tower.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, 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 PUBKEY_FIELD_NUMBER
public static final int ADDRESSES_FIELD_NUMBER
public static final int ACTIVE_SESSION_CANDIDATE_FIELD_NUMBER
public static final int NUM_SESSIONS_FIELD_NUMBER
public static final int SESSIONS_FIELD_NUMBER
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 com.google.protobuf.ByteString getPubkey()
The identifying public key of the watchtower.
bytes pubkey = 1;
getPubkey
in interface Wtclient.TowerOrBuilder
public com.google.protobuf.ProtocolStringList getAddressesList()
The list of addresses the watchtower is reachable over.
repeated string addresses = 2;
getAddressesList
in interface Wtclient.TowerOrBuilder
public int getAddressesCount()
The list of addresses the watchtower is reachable over.
repeated string addresses = 2;
getAddressesCount
in interface Wtclient.TowerOrBuilder
public java.lang.String getAddresses(int index)
The list of addresses the watchtower is reachable over.
repeated string addresses = 2;
getAddresses
in interface Wtclient.TowerOrBuilder
public com.google.protobuf.ByteString getAddressesBytes(int index)
The list of addresses the watchtower is reachable over.
repeated string addresses = 2;
getAddressesBytes
in interface Wtclient.TowerOrBuilder
public boolean getActiveSessionCandidate()
Whether the watchtower is currently a candidate for new sessions.
bool active_session_candidate = 3;
getActiveSessionCandidate
in interface Wtclient.TowerOrBuilder
public int getNumSessions()
The number of sessions that have been negotiated with the watchtower.
uint32 num_sessions = 4;
getNumSessions
in interface Wtclient.TowerOrBuilder
public java.util.List<Wtclient.TowerSession> getSessionsList()
The list of sessions that have been negotiated with the watchtower.
repeated .wtclientrpc.TowerSession sessions = 5;
getSessionsList
in interface Wtclient.TowerOrBuilder
public java.util.List<? extends Wtclient.TowerSessionOrBuilder> getSessionsOrBuilderList()
The list of sessions that have been negotiated with the watchtower.
repeated .wtclientrpc.TowerSession sessions = 5;
getSessionsOrBuilderList
in interface Wtclient.TowerOrBuilder
public int getSessionsCount()
The list of sessions that have been negotiated with the watchtower.
repeated .wtclientrpc.TowerSession sessions = 5;
getSessionsCount
in interface Wtclient.TowerOrBuilder
public Wtclient.TowerSession getSessions(int index)
The list of sessions that have been negotiated with the watchtower.
repeated .wtclientrpc.TowerSession sessions = 5;
getSessions
in interface Wtclient.TowerOrBuilder
public Wtclient.TowerSessionOrBuilder getSessionsOrBuilder(int index)
The list of sessions that have been negotiated with the watchtower.
repeated .wtclientrpc.TowerSession sessions = 5;
getSessionsOrBuilder
in interface Wtclient.TowerOrBuilder
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 Wtclient.Tower parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Wtclient.Tower parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Wtclient.Tower parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Wtclient.Tower parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Wtclient.Tower parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Wtclient.Tower parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Wtclient.Tower parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Wtclient.Tower parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Wtclient.Tower parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Wtclient.Tower parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Wtclient.Tower parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Wtclient.Tower parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Wtclient.Tower.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Wtclient.Tower.Builder newBuilder()
public static Wtclient.Tower.Builder newBuilder(Wtclient.Tower prototype)
public Wtclient.Tower.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Wtclient.Tower.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Wtclient.Tower getDefaultInstance()
public static com.google.protobuf.Parser<Wtclient.Tower> parser()
public com.google.protobuf.Parser<Wtclient.Tower> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Wtclient.Tower getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder