public static final class WatchtowerOuterClass.GetInfoResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WatchtowerOuterClass.GetInfoResponse.Builder> implements WatchtowerOuterClass.GetInfoResponseOrBuilder
watchtowerrpc.GetInfoResponse
Modifier and Type | Method and Description |
---|---|
WatchtowerOuterClass.GetInfoResponse.Builder |
addAllListeners(java.lang.Iterable<java.lang.String> values)
The listening addresses of the watchtower.
|
WatchtowerOuterClass.GetInfoResponse.Builder |
addAllUris(java.lang.Iterable<java.lang.String> values)
The URIs of the watchtower.
|
WatchtowerOuterClass.GetInfoResponse.Builder |
addListeners(java.lang.String value)
The listening addresses of the watchtower.
|
WatchtowerOuterClass.GetInfoResponse.Builder |
addListenersBytes(com.google.protobuf.ByteString value)
The listening addresses of the watchtower.
|
WatchtowerOuterClass.GetInfoResponse.Builder |
addUris(java.lang.String value)
The URIs of the watchtower.
|
WatchtowerOuterClass.GetInfoResponse.Builder |
addUrisBytes(com.google.protobuf.ByteString value)
The URIs of the watchtower.
|
WatchtowerOuterClass.GetInfoResponse |
build() |
WatchtowerOuterClass.GetInfoResponse |
buildPartial() |
WatchtowerOuterClass.GetInfoResponse.Builder |
clear() |
WatchtowerOuterClass.GetInfoResponse.Builder |
clearListeners()
The listening addresses of the watchtower.
|
WatchtowerOuterClass.GetInfoResponse.Builder |
clearPubkey()
The public key of the watchtower.
|
WatchtowerOuterClass.GetInfoResponse.Builder |
clearUris()
The URIs of the watchtower.
|
WatchtowerOuterClass.GetInfoResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getListeners(int index)
The listening addresses of the watchtower.
|
com.google.protobuf.ByteString |
getListenersBytes(int index)
The listening addresses of the watchtower.
|
int |
getListenersCount()
The listening addresses of the watchtower.
|
com.google.protobuf.ProtocolStringList |
getListenersList()
The listening addresses of the watchtower.
|
com.google.protobuf.ByteString |
getPubkey()
The public key of the watchtower.
|
java.lang.String |
getUris(int index)
The URIs of the watchtower.
|
com.google.protobuf.ByteString |
getUrisBytes(int index)
The URIs of the watchtower.
|
int |
getUrisCount()
The URIs of the watchtower.
|
com.google.protobuf.ProtocolStringList |
getUrisList()
The URIs of the watchtower.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
WatchtowerOuterClass.GetInfoResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WatchtowerOuterClass.GetInfoResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
WatchtowerOuterClass.GetInfoResponse.Builder |
mergeFrom(WatchtowerOuterClass.GetInfoResponse other) |
WatchtowerOuterClass.GetInfoResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WatchtowerOuterClass.GetInfoResponse.Builder |
setListeners(int index,
java.lang.String value)
The listening addresses of the watchtower.
|
WatchtowerOuterClass.GetInfoResponse.Builder |
setPubkey(com.google.protobuf.ByteString value)
The public key of the watchtower.
|
WatchtowerOuterClass.GetInfoResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WatchtowerOuterClass.GetInfoResponse.Builder |
setUris(int index,
java.lang.String value)
The URIs of the watchtower.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<WatchtowerOuterClass.GetInfoResponse.Builder>
public WatchtowerOuterClass.GetInfoResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<WatchtowerOuterClass.GetInfoResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<WatchtowerOuterClass.GetInfoResponse.Builder>
public WatchtowerOuterClass.GetInfoResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public WatchtowerOuterClass.GetInfoResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public WatchtowerOuterClass.GetInfoResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public WatchtowerOuterClass.GetInfoResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WatchtowerOuterClass.GetInfoResponse.Builder>
public WatchtowerOuterClass.GetInfoResponse.Builder mergeFrom(WatchtowerOuterClass.GetInfoResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<WatchtowerOuterClass.GetInfoResponse.Builder>
public WatchtowerOuterClass.GetInfoResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WatchtowerOuterClass.GetInfoResponse.Builder>
java.io.IOException
public com.google.protobuf.ByteString getPubkey()
The public key of the watchtower.
bytes pubkey = 1;
getPubkey
in interface WatchtowerOuterClass.GetInfoResponseOrBuilder
public WatchtowerOuterClass.GetInfoResponse.Builder setPubkey(com.google.protobuf.ByteString value)
The public key of the watchtower.
bytes pubkey = 1;
value
- The pubkey to set.public WatchtowerOuterClass.GetInfoResponse.Builder clearPubkey()
The public key of the watchtower.
bytes pubkey = 1;
public com.google.protobuf.ProtocolStringList getListenersList()
The listening addresses of the watchtower.
repeated string listeners = 2;
getListenersList
in interface WatchtowerOuterClass.GetInfoResponseOrBuilder
public int getListenersCount()
The listening addresses of the watchtower.
repeated string listeners = 2;
getListenersCount
in interface WatchtowerOuterClass.GetInfoResponseOrBuilder
public java.lang.String getListeners(int index)
The listening addresses of the watchtower.
repeated string listeners = 2;
getListeners
in interface WatchtowerOuterClass.GetInfoResponseOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getListenersBytes(int index)
The listening addresses of the watchtower.
repeated string listeners = 2;
getListenersBytes
in interface WatchtowerOuterClass.GetInfoResponseOrBuilder
index
- The index of the value to return.public WatchtowerOuterClass.GetInfoResponse.Builder setListeners(int index, java.lang.String value)
The listening addresses of the watchtower.
repeated string listeners = 2;
index
- The index to set the value at.value
- The listeners to set.public WatchtowerOuterClass.GetInfoResponse.Builder addListeners(java.lang.String value)
The listening addresses of the watchtower.
repeated string listeners = 2;
value
- The listeners to add.public WatchtowerOuterClass.GetInfoResponse.Builder addAllListeners(java.lang.Iterable<java.lang.String> values)
The listening addresses of the watchtower.
repeated string listeners = 2;
values
- The listeners to add.public WatchtowerOuterClass.GetInfoResponse.Builder clearListeners()
The listening addresses of the watchtower.
repeated string listeners = 2;
public WatchtowerOuterClass.GetInfoResponse.Builder addListenersBytes(com.google.protobuf.ByteString value)
The listening addresses of the watchtower.
repeated string listeners = 2;
value
- The bytes of the listeners to add.public com.google.protobuf.ProtocolStringList getUrisList()
The URIs of the watchtower.
repeated string uris = 3;
getUrisList
in interface WatchtowerOuterClass.GetInfoResponseOrBuilder
public int getUrisCount()
The URIs of the watchtower.
repeated string uris = 3;
getUrisCount
in interface WatchtowerOuterClass.GetInfoResponseOrBuilder
public java.lang.String getUris(int index)
The URIs of the watchtower.
repeated string uris = 3;
getUris
in interface WatchtowerOuterClass.GetInfoResponseOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getUrisBytes(int index)
The URIs of the watchtower.
repeated string uris = 3;
getUrisBytes
in interface WatchtowerOuterClass.GetInfoResponseOrBuilder
index
- The index of the value to return.public WatchtowerOuterClass.GetInfoResponse.Builder setUris(int index, java.lang.String value)
The URIs of the watchtower.
repeated string uris = 3;
index
- The index to set the value at.value
- The uris to set.public WatchtowerOuterClass.GetInfoResponse.Builder addUris(java.lang.String value)
The URIs of the watchtower.
repeated string uris = 3;
value
- The uris to add.public WatchtowerOuterClass.GetInfoResponse.Builder addAllUris(java.lang.Iterable<java.lang.String> values)
The URIs of the watchtower.
repeated string uris = 3;
values
- The uris to add.public WatchtowerOuterClass.GetInfoResponse.Builder clearUris()
The URIs of the watchtower.
repeated string uris = 3;
public WatchtowerOuterClass.GetInfoResponse.Builder addUrisBytes(com.google.protobuf.ByteString value)
The URIs of the watchtower.
repeated string uris = 3;
value
- The bytes of the uris to add.public final WatchtowerOuterClass.GetInfoResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WatchtowerOuterClass.GetInfoResponse.Builder>
public final WatchtowerOuterClass.GetInfoResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WatchtowerOuterClass.GetInfoResponse.Builder>