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<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, 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 | 
SESSION_INFO_FIELD_NUMBER  | 
static int | 
SESSIONS_FIELD_NUMBER  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)  | 
boolean | 
getActiveSessionCandidate()
Deprecated. 
 
wtclientrpc.Tower.active_session_candidate is deprecated.
     See wtclient.proto;l=122 
 | 
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()
Deprecated. 
 
wtclientrpc.Tower.num_sessions is deprecated.
     See wtclient.proto;l=127 
 | 
com.google.protobuf.Parser<Wtclient.Tower> | 
getParserForType()  | 
com.google.protobuf.ByteString | 
getPubkey()
 The identifying public key of the watchtower. 
 | 
int | 
getSerializedSize()  | 
Wtclient.TowerSessionInfo | 
getSessionInfo(int index)
 A list sessions held with the tower. 
 | 
int | 
getSessionInfoCount()
 A list sessions held with the tower. 
 | 
java.util.List<Wtclient.TowerSessionInfo> | 
getSessionInfoList()
 A list sessions held with the tower. 
 | 
Wtclient.TowerSessionInfoOrBuilder | 
getSessionInfoOrBuilder(int index)
 A list sessions held with the tower. 
 | 
java.util.List<? extends Wtclient.TowerSessionInfoOrBuilder> | 
getSessionInfoOrBuilderList()
 A list sessions held with the tower. 
 | 
Wtclient.TowerSession | 
getSessions(int index)
Deprecated.  
 | 
int | 
getSessionsCount()
Deprecated.  
 | 
java.util.List<Wtclient.TowerSession> | 
getSessionsList()
Deprecated.  
 | 
Wtclient.TowerSessionOrBuilder | 
getSessionsOrBuilder(int index)
Deprecated.  
 | 
java.util.List<? extends Wtclient.TowerSessionOrBuilder> | 
getSessionsOrBuilderList()
Deprecated.  
 | 
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)  | 
protected java.lang.Object | 
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  | 
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, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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 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 static final int SESSION_INFO_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 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 com.google.protobuf.ByteString getPubkey()
The identifying public key of the watchtower.
bytes pubkey = 1;getPubkey in interface Wtclient.TowerOrBuilderpublic com.google.protobuf.ProtocolStringList getAddressesList()
The list of addresses the watchtower is reachable over.
repeated string addresses = 2;getAddressesList in interface Wtclient.TowerOrBuilderpublic int getAddressesCount()
The list of addresses the watchtower is reachable over.
repeated string addresses = 2;getAddressesCount in interface Wtclient.TowerOrBuilderpublic java.lang.String getAddresses(int index)
The list of addresses the watchtower is reachable over.
repeated string addresses = 2;getAddresses in interface Wtclient.TowerOrBuilderindex - The index of the element to return.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.TowerOrBuilderindex - The index of the value to return.@Deprecated public boolean getActiveSessionCandidate()
Deprecated, use the active_session_candidate field under the correct identifier in the client_type map. Whether the watchtower is currently a candidate for new sessions.
bool active_session_candidate = 3 [deprecated = true];getActiveSessionCandidate in interface Wtclient.TowerOrBuilder@Deprecated public int getNumSessions()
Deprecated, use the num_sessions field under the correct identifier in the client_type map. The number of sessions that have been negotiated with the watchtower.
uint32 num_sessions = 4 [deprecated = true];getNumSessions in interface Wtclient.TowerOrBuilder@Deprecated public java.util.List<Wtclient.TowerSession> getSessionsList()
Deprecated, use the sessions field under the correct identifier in the client_type map. The list of sessions that have been negotiated with the watchtower.
repeated .wtclientrpc.TowerSession sessions = 5 [deprecated = true];getSessionsList in interface Wtclient.TowerOrBuilder@Deprecated public java.util.List<? extends Wtclient.TowerSessionOrBuilder> getSessionsOrBuilderList()
Deprecated, use the sessions field under the correct identifier in the client_type map. The list of sessions that have been negotiated with the watchtower.
repeated .wtclientrpc.TowerSession sessions = 5 [deprecated = true];getSessionsOrBuilderList in interface Wtclient.TowerOrBuilder@Deprecated public int getSessionsCount()
Deprecated, use the sessions field under the correct identifier in the client_type map. The list of sessions that have been negotiated with the watchtower.
repeated .wtclientrpc.TowerSession sessions = 5 [deprecated = true];getSessionsCount in interface Wtclient.TowerOrBuilder@Deprecated public Wtclient.TowerSession getSessions(int index)
Deprecated, use the sessions field under the correct identifier in the client_type map. The list of sessions that have been negotiated with the watchtower.
repeated .wtclientrpc.TowerSession sessions = 5 [deprecated = true];getSessions in interface Wtclient.TowerOrBuilder@Deprecated public Wtclient.TowerSessionOrBuilder getSessionsOrBuilder(int index)
Deprecated, use the sessions field under the correct identifier in the client_type map. The list of sessions that have been negotiated with the watchtower.
repeated .wtclientrpc.TowerSession sessions = 5 [deprecated = true];getSessionsOrBuilder in interface Wtclient.TowerOrBuilderpublic java.util.List<Wtclient.TowerSessionInfo> getSessionInfoList()
A list sessions held with the tower.
repeated .wtclientrpc.TowerSessionInfo session_info = 6;getSessionInfoList in interface Wtclient.TowerOrBuilderpublic java.util.List<? extends Wtclient.TowerSessionInfoOrBuilder> getSessionInfoOrBuilderList()
A list sessions held with the tower.
repeated .wtclientrpc.TowerSessionInfo session_info = 6;getSessionInfoOrBuilderList in interface Wtclient.TowerOrBuilderpublic int getSessionInfoCount()
A list sessions held with the tower.
repeated .wtclientrpc.TowerSessionInfo session_info = 6;getSessionInfoCount in interface Wtclient.TowerOrBuilderpublic Wtclient.TowerSessionInfo getSessionInfo(int index)
A list sessions held with the tower.
repeated .wtclientrpc.TowerSessionInfo session_info = 6;getSessionInfo in interface Wtclient.TowerOrBuilderpublic Wtclient.TowerSessionInfoOrBuilder getSessionInfoOrBuilder(int index)
A list sessions held with the tower.
repeated .wtclientrpc.TowerSessionInfo session_info = 6;getSessionInfoOrBuilder in interface Wtclient.TowerOrBuilderpublic 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 Wtclient.Tower parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Wtclient.Tower parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Wtclient.Tower parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Wtclient.Tower parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Wtclient.Tower parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Wtclient.Tower parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Wtclient.Tower parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Wtclient.Tower parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Wtclient.Tower parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Wtclient.Tower parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Wtclient.Tower parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Wtclient.Tower parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Wtclient.Tower.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic 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.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Wtclient.Tower.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public 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.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Wtclient.Tower getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder