public static final class StateInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StateInfo.Builder> implements StateInfoOrBuilder
StateInfo is used for a peer to relay its state information to other peersProtobuf type
gossip.StateInfo
Modifier and Type | Method and Description |
---|---|
StateInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StateInfo |
build() |
StateInfo |
buildPartial() |
StateInfo.Builder |
clear() |
StateInfo.Builder |
clearChannelMAC()
channel_MAC is an authentication code that proves
that the peer that sent this message knows
the name of the channel.
|
StateInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StateInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StateInfo.Builder |
clearPkiId()
bytes pki_id = 3 [json_name = "pkiId"]; |
StateInfo.Builder |
clearProperties()
.gossip.Properties properties = 5 [json_name = "properties"]; |
StateInfo.Builder |
clearTimestamp()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"]; |
StateInfo.Builder |
clone() |
com.google.protobuf.ByteString |
getChannelMAC()
channel_MAC is an authentication code that proves
that the peer that sent this message knows
the name of the channel.
|
StateInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getPkiId()
bytes pki_id = 3 [json_name = "pkiId"]; |
Properties |
getProperties()
.gossip.Properties properties = 5 [json_name = "properties"]; |
Properties.Builder |
getPropertiesBuilder()
.gossip.Properties properties = 5 [json_name = "properties"]; |
PropertiesOrBuilder |
getPropertiesOrBuilder()
.gossip.Properties properties = 5 [json_name = "properties"]; |
PeerTime |
getTimestamp()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"]; |
PeerTime.Builder |
getTimestampBuilder()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"]; |
PeerTimeOrBuilder |
getTimestampOrBuilder()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"]; |
boolean |
hasProperties()
.gossip.Properties properties = 5 [json_name = "properties"]; |
boolean |
hasTimestamp()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"]; |
boolean |
isInitialized() |
StateInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StateInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
StateInfo.Builder |
mergeFrom(StateInfo other) |
StateInfo.Builder |
mergeProperties(Properties value)
.gossip.Properties properties = 5 [json_name = "properties"]; |
StateInfo.Builder |
mergeTimestamp(PeerTime value)
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"]; |
StateInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StateInfo.Builder |
setChannelMAC(com.google.protobuf.ByteString value)
channel_MAC is an authentication code that proves
that the peer that sent this message knows
the name of the channel.
|
StateInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StateInfo.Builder |
setPkiId(com.google.protobuf.ByteString value)
bytes pki_id = 3 [json_name = "pkiId"]; |
StateInfo.Builder |
setProperties(Properties.Builder builderForValue)
.gossip.Properties properties = 5 [json_name = "properties"]; |
StateInfo.Builder |
setProperties(Properties value)
.gossip.Properties properties = 5 [json_name = "properties"]; |
StateInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StateInfo.Builder |
setTimestamp(PeerTime.Builder builderForValue)
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"]; |
StateInfo.Builder |
setTimestamp(PeerTime value)
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"]; |
StateInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public StateInfo.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<StateInfo.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<StateInfo.Builder>
public StateInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StateInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StateInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StateInfo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<StateInfo.Builder>
public StateInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<StateInfo.Builder>
public StateInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<StateInfo.Builder>
public StateInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<StateInfo.Builder>
public StateInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StateInfo.Builder>
public StateInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StateInfo.Builder>
public StateInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StateInfo.Builder>
public StateInfo.Builder mergeFrom(StateInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<StateInfo.Builder>
public StateInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<StateInfo.Builder>
IOException
public boolean hasTimestamp()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"];
hasTimestamp
in interface StateInfoOrBuilder
public PeerTime getTimestamp()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"];
getTimestamp
in interface StateInfoOrBuilder
public StateInfo.Builder setTimestamp(PeerTime value)
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"];
public StateInfo.Builder setTimestamp(PeerTime.Builder builderForValue)
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"];
public StateInfo.Builder mergeTimestamp(PeerTime value)
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"];
public StateInfo.Builder clearTimestamp()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"];
public PeerTime.Builder getTimestampBuilder()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"];
public PeerTimeOrBuilder getTimestampOrBuilder()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"];
getTimestampOrBuilder
in interface StateInfoOrBuilder
public com.google.protobuf.ByteString getPkiId()
bytes pki_id = 3 [json_name = "pkiId"];
getPkiId
in interface StateInfoOrBuilder
public StateInfo.Builder setPkiId(com.google.protobuf.ByteString value)
bytes pki_id = 3 [json_name = "pkiId"];
value
- The pkiId to set.public StateInfo.Builder clearPkiId()
bytes pki_id = 3 [json_name = "pkiId"];
public com.google.protobuf.ByteString getChannelMAC()
channel_MAC is an authentication code that proves that the peer that sent this message knows the name of the channel.
bytes channel_MAC = 4 [json_name = "channelMAC"];
getChannelMAC
in interface StateInfoOrBuilder
public StateInfo.Builder setChannelMAC(com.google.protobuf.ByteString value)
channel_MAC is an authentication code that proves that the peer that sent this message knows the name of the channel.
bytes channel_MAC = 4 [json_name = "channelMAC"];
value
- The channelMAC to set.public StateInfo.Builder clearChannelMAC()
channel_MAC is an authentication code that proves that the peer that sent this message knows the name of the channel.
bytes channel_MAC = 4 [json_name = "channelMAC"];
public boolean hasProperties()
.gossip.Properties properties = 5 [json_name = "properties"];
hasProperties
in interface StateInfoOrBuilder
public Properties getProperties()
.gossip.Properties properties = 5 [json_name = "properties"];
getProperties
in interface StateInfoOrBuilder
public StateInfo.Builder setProperties(Properties value)
.gossip.Properties properties = 5 [json_name = "properties"];
public StateInfo.Builder setProperties(Properties.Builder builderForValue)
.gossip.Properties properties = 5 [json_name = "properties"];
public StateInfo.Builder mergeProperties(Properties value)
.gossip.Properties properties = 5 [json_name = "properties"];
public StateInfo.Builder clearProperties()
.gossip.Properties properties = 5 [json_name = "properties"];
public Properties.Builder getPropertiesBuilder()
.gossip.Properties properties = 5 [json_name = "properties"];
public PropertiesOrBuilder getPropertiesOrBuilder()
.gossip.Properties properties = 5 [json_name = "properties"];
getPropertiesOrBuilder
in interface StateInfoOrBuilder
public final StateInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StateInfo.Builder>
public final StateInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StateInfo.Builder>
Copyright © 2022. All rights reserved.