public static final class StatusProto.CheckConnectivity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StatusProto.CheckConnectivity.Builder> implements StatusProto.CheckConnectivityOrBuilder
CheckConnectivity is sent by a client to check the connectivity of a given
roster. The Time must be within 2 minutes of the server's time. The signature
must be a schnorr-signature using the private conode-key on the following
message:
sha256( bytes.LittleEndian.PutUInt64(Time) |
binary.LittleEndian.PutUInt64(Timeout) |
FindFaulty ? byte(1) : byte(0) |
protobuf.Encode(List[0]) | protobuf.Encode(List[1])... )
Protobuf type status.CheckConnectivity| Modifier and Type | Method and Description |
|---|---|
StatusProto.CheckConnectivity.Builder |
addAllList(Iterable<? extends NetworkProto.ServerIdentity> values)
repeated .network.ServerIdentity list = 4; |
StatusProto.CheckConnectivity.Builder |
addList(int index,
NetworkProto.ServerIdentity.Builder builderForValue)
repeated .network.ServerIdentity list = 4; |
StatusProto.CheckConnectivity.Builder |
addList(int index,
NetworkProto.ServerIdentity value)
repeated .network.ServerIdentity list = 4; |
StatusProto.CheckConnectivity.Builder |
addList(NetworkProto.ServerIdentity.Builder builderForValue)
repeated .network.ServerIdentity list = 4; |
StatusProto.CheckConnectivity.Builder |
addList(NetworkProto.ServerIdentity value)
repeated .network.ServerIdentity list = 4; |
NetworkProto.ServerIdentity.Builder |
addListBuilder()
repeated .network.ServerIdentity list = 4; |
NetworkProto.ServerIdentity.Builder |
addListBuilder(int index)
repeated .network.ServerIdentity list = 4; |
StatusProto.CheckConnectivity.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StatusProto.CheckConnectivity |
build() |
StatusProto.CheckConnectivity |
buildPartial() |
StatusProto.CheckConnectivity.Builder |
clear() |
StatusProto.CheckConnectivity.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StatusProto.CheckConnectivity.Builder |
clearFindfaulty()
required bool findfaulty = 3; |
StatusProto.CheckConnectivity.Builder |
clearList()
repeated .network.ServerIdentity list = 4; |
StatusProto.CheckConnectivity.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StatusProto.CheckConnectivity.Builder |
clearSignature()
required bytes signature = 5; |
StatusProto.CheckConnectivity.Builder |
clearTime()
required sint64 time = 1; |
StatusProto.CheckConnectivity.Builder |
clearTimeout()
required sint64 timeout = 2; |
StatusProto.CheckConnectivity.Builder |
clone() |
StatusProto.CheckConnectivity |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getFindfaulty()
required bool findfaulty = 3; |
NetworkProto.ServerIdentity |
getList(int index)
repeated .network.ServerIdentity list = 4; |
NetworkProto.ServerIdentity.Builder |
getListBuilder(int index)
repeated .network.ServerIdentity list = 4; |
List<NetworkProto.ServerIdentity.Builder> |
getListBuilderList()
repeated .network.ServerIdentity list = 4; |
int |
getListCount()
repeated .network.ServerIdentity list = 4; |
List<NetworkProto.ServerIdentity> |
getListList()
repeated .network.ServerIdentity list = 4; |
NetworkProto.ServerIdentityOrBuilder |
getListOrBuilder(int index)
repeated .network.ServerIdentity list = 4; |
List<? extends NetworkProto.ServerIdentityOrBuilder> |
getListOrBuilderList()
repeated .network.ServerIdentity list = 4; |
com.google.protobuf.ByteString |
getSignature()
required bytes signature = 5; |
long |
getTime()
required sint64 time = 1; |
long |
getTimeout()
required sint64 timeout = 2; |
boolean |
hasFindfaulty()
required bool findfaulty = 3; |
boolean |
hasSignature()
required bytes signature = 5; |
boolean |
hasTime()
required sint64 time = 1; |
boolean |
hasTimeout()
required sint64 timeout = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StatusProto.CheckConnectivity.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StatusProto.CheckConnectivity.Builder |
mergeFrom(com.google.protobuf.Message other) |
StatusProto.CheckConnectivity.Builder |
mergeFrom(StatusProto.CheckConnectivity other) |
StatusProto.CheckConnectivity.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StatusProto.CheckConnectivity.Builder |
removeList(int index)
repeated .network.ServerIdentity list = 4; |
StatusProto.CheckConnectivity.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StatusProto.CheckConnectivity.Builder |
setFindfaulty(boolean value)
required bool findfaulty = 3; |
StatusProto.CheckConnectivity.Builder |
setList(int index,
NetworkProto.ServerIdentity.Builder builderForValue)
repeated .network.ServerIdentity list = 4; |
StatusProto.CheckConnectivity.Builder |
setList(int index,
NetworkProto.ServerIdentity value)
repeated .network.ServerIdentity list = 4; |
StatusProto.CheckConnectivity.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StatusProto.CheckConnectivity.Builder |
setSignature(com.google.protobuf.ByteString value)
required bytes signature = 5; |
StatusProto.CheckConnectivity.Builder |
setTime(long value)
required sint64 time = 1; |
StatusProto.CheckConnectivity.Builder |
setTimeout(long value)
required sint64 timeout = 2; |
StatusProto.CheckConnectivity.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StatusProto.CheckConnectivity.Builder>public StatusProto.CheckConnectivity.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StatusProto.CheckConnectivity.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StatusProto.CheckConnectivity.Builder>public StatusProto.CheckConnectivity getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StatusProto.CheckConnectivity build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StatusProto.CheckConnectivity buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StatusProto.CheckConnectivity.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StatusProto.CheckConnectivity.Builder>public StatusProto.CheckConnectivity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<StatusProto.CheckConnectivity.Builder>public StatusProto.CheckConnectivity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StatusProto.CheckConnectivity.Builder>public StatusProto.CheckConnectivity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StatusProto.CheckConnectivity.Builder>public StatusProto.CheckConnectivity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StatusProto.CheckConnectivity.Builder>public StatusProto.CheckConnectivity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StatusProto.CheckConnectivity.Builder>public StatusProto.CheckConnectivity.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StatusProto.CheckConnectivity.Builder>public StatusProto.CheckConnectivity.Builder mergeFrom(StatusProto.CheckConnectivity other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StatusProto.CheckConnectivity.Builder>public StatusProto.CheckConnectivity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StatusProto.CheckConnectivity.Builder>IOExceptionpublic boolean hasTime()
required sint64 time = 1;hasTime in interface StatusProto.CheckConnectivityOrBuilderpublic long getTime()
required sint64 time = 1;getTime in interface StatusProto.CheckConnectivityOrBuilderpublic StatusProto.CheckConnectivity.Builder setTime(long value)
required sint64 time = 1;public StatusProto.CheckConnectivity.Builder clearTime()
required sint64 time = 1;public boolean hasTimeout()
required sint64 timeout = 2;hasTimeout in interface StatusProto.CheckConnectivityOrBuilderpublic long getTimeout()
required sint64 timeout = 2;getTimeout in interface StatusProto.CheckConnectivityOrBuilderpublic StatusProto.CheckConnectivity.Builder setTimeout(long value)
required sint64 timeout = 2;public StatusProto.CheckConnectivity.Builder clearTimeout()
required sint64 timeout = 2;public boolean hasFindfaulty()
required bool findfaulty = 3;hasFindfaulty in interface StatusProto.CheckConnectivityOrBuilderpublic boolean getFindfaulty()
required bool findfaulty = 3;getFindfaulty in interface StatusProto.CheckConnectivityOrBuilderpublic StatusProto.CheckConnectivity.Builder setFindfaulty(boolean value)
required bool findfaulty = 3;public StatusProto.CheckConnectivity.Builder clearFindfaulty()
required bool findfaulty = 3;public List<NetworkProto.ServerIdentity> getListList()
repeated .network.ServerIdentity list = 4;getListList in interface StatusProto.CheckConnectivityOrBuilderpublic int getListCount()
repeated .network.ServerIdentity list = 4;getListCount in interface StatusProto.CheckConnectivityOrBuilderpublic NetworkProto.ServerIdentity getList(int index)
repeated .network.ServerIdentity list = 4;getList in interface StatusProto.CheckConnectivityOrBuilderpublic StatusProto.CheckConnectivity.Builder setList(int index, NetworkProto.ServerIdentity value)
repeated .network.ServerIdentity list = 4;public StatusProto.CheckConnectivity.Builder setList(int index, NetworkProto.ServerIdentity.Builder builderForValue)
repeated .network.ServerIdentity list = 4;public StatusProto.CheckConnectivity.Builder addList(NetworkProto.ServerIdentity value)
repeated .network.ServerIdentity list = 4;public StatusProto.CheckConnectivity.Builder addList(int index, NetworkProto.ServerIdentity value)
repeated .network.ServerIdentity list = 4;public StatusProto.CheckConnectivity.Builder addList(NetworkProto.ServerIdentity.Builder builderForValue)
repeated .network.ServerIdentity list = 4;public StatusProto.CheckConnectivity.Builder addList(int index, NetworkProto.ServerIdentity.Builder builderForValue)
repeated .network.ServerIdentity list = 4;public StatusProto.CheckConnectivity.Builder addAllList(Iterable<? extends NetworkProto.ServerIdentity> values)
repeated .network.ServerIdentity list = 4;public StatusProto.CheckConnectivity.Builder clearList()
repeated .network.ServerIdentity list = 4;public StatusProto.CheckConnectivity.Builder removeList(int index)
repeated .network.ServerIdentity list = 4;public NetworkProto.ServerIdentity.Builder getListBuilder(int index)
repeated .network.ServerIdentity list = 4;public NetworkProto.ServerIdentityOrBuilder getListOrBuilder(int index)
repeated .network.ServerIdentity list = 4;getListOrBuilder in interface StatusProto.CheckConnectivityOrBuilderpublic List<? extends NetworkProto.ServerIdentityOrBuilder> getListOrBuilderList()
repeated .network.ServerIdentity list = 4;getListOrBuilderList in interface StatusProto.CheckConnectivityOrBuilderpublic NetworkProto.ServerIdentity.Builder addListBuilder()
repeated .network.ServerIdentity list = 4;public NetworkProto.ServerIdentity.Builder addListBuilder(int index)
repeated .network.ServerIdentity list = 4;public List<NetworkProto.ServerIdentity.Builder> getListBuilderList()
repeated .network.ServerIdentity list = 4;public boolean hasSignature()
required bytes signature = 5;hasSignature in interface StatusProto.CheckConnectivityOrBuilderpublic com.google.protobuf.ByteString getSignature()
required bytes signature = 5;getSignature in interface StatusProto.CheckConnectivityOrBuilderpublic StatusProto.CheckConnectivity.Builder setSignature(com.google.protobuf.ByteString value)
required bytes signature = 5;public StatusProto.CheckConnectivity.Builder clearSignature()
required bytes signature = 5;public final StatusProto.CheckConnectivity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StatusProto.CheckConnectivity.Builder>public final StatusProto.CheckConnectivity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StatusProto.CheckConnectivity.Builder>Copyright © 2019. All rights reserved.