Package org.yamcs.protobuf
Class ConnectionInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
- org.yamcs.protobuf.ConnectionInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,ConnectionInfoOrBuilder
- Enclosing class:
- ConnectionInfo
public static final class ConnectionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder> implements ConnectionInfoOrBuilder
sent via the websocket with information about connected client
Protobuf typeyamcs.protobuf.web.ConnectionInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConnectionInfobuild()ConnectionInfobuildPartial()ConnectionInfo.Builderclear()ConnectionInfo.BuilderclearClearance()optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType clearance = 4;ConnectionInfo.BuilderclearClientId()optional int32 clientId = 1;ConnectionInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ConnectionInfo.BuilderclearInstance()optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;ConnectionInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ConnectionInfo.BuilderclearProcessor()optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;ConnectionInfo.Builderclone()Mdb.SignificanceInfo.SignificanceLevelTypegetClearance()optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType clearance = 4;intgetClientId()optional int32 clientId = 1;ConnectionInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()YamcsInstancegetInstance()optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;YamcsInstance.BuildergetInstanceBuilder()optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;YamcsInstanceOrBuildergetInstanceOrBuilder()optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;ProcessorInfogetProcessor()optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;ProcessorInfo.BuildergetProcessorBuilder()optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;ProcessorInfoOrBuildergetProcessorOrBuilder()optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;booleanhasClearance()optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType clearance = 4;booleanhasClientId()optional int32 clientId = 1;booleanhasInstance()optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;booleanhasProcessor()optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ConnectionInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ConnectionInfo.BuildermergeFrom(com.google.protobuf.Message other)ConnectionInfo.BuildermergeFrom(ConnectionInfo other)ConnectionInfo.BuildermergeInstance(YamcsInstance value)optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;ConnectionInfo.BuildermergeProcessor(ProcessorInfo value)optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;ConnectionInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConnectionInfo.BuildersetClearance(Mdb.SignificanceInfo.SignificanceLevelType value)optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType clearance = 4;ConnectionInfo.BuildersetClientId(int value)optional int32 clientId = 1;ConnectionInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConnectionInfo.BuildersetInstance(YamcsInstance value)optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;ConnectionInfo.BuildersetInstance(YamcsInstance.Builder builderForValue)optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;ConnectionInfo.BuildersetProcessor(ProcessorInfo value)optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;ConnectionInfo.BuildersetProcessor(ProcessorInfo.Builder builderForValue)optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;ConnectionInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ConnectionInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
clear
public ConnectionInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
getDefaultInstanceForType
public ConnectionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConnectionInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConnectionInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConnectionInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
setField
public ConnectionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
clearField
public ConnectionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
clearOneof
public ConnectionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
setRepeatedField
public ConnectionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
addRepeatedField
public ConnectionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
mergeFrom
public ConnectionInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConnectionInfo.Builder>
-
mergeFrom
public ConnectionInfo.Builder mergeFrom(ConnectionInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
mergeFrom
public ConnectionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConnectionInfo.Builder>- Throws:
IOException
-
hasClientId
public boolean hasClientId()
optional int32 clientId = 1;- Specified by:
hasClientIdin interfaceConnectionInfoOrBuilder
-
getClientId
public int getClientId()
optional int32 clientId = 1;- Specified by:
getClientIdin interfaceConnectionInfoOrBuilder
-
setClientId
public ConnectionInfo.Builder setClientId(int value)
optional int32 clientId = 1;
-
clearClientId
public ConnectionInfo.Builder clearClientId()
optional int32 clientId = 1;
-
hasInstance
public boolean hasInstance()
optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;- Specified by:
hasInstancein interfaceConnectionInfoOrBuilder
-
getInstance
public YamcsInstance getInstance()
optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;- Specified by:
getInstancein interfaceConnectionInfoOrBuilder
-
setInstance
public ConnectionInfo.Builder setInstance(YamcsInstance value)
optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;
-
setInstance
public ConnectionInfo.Builder setInstance(YamcsInstance.Builder builderForValue)
optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;
-
mergeInstance
public ConnectionInfo.Builder mergeInstance(YamcsInstance value)
optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;
-
clearInstance
public ConnectionInfo.Builder clearInstance()
optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;
-
getInstanceBuilder
public YamcsInstance.Builder getInstanceBuilder()
optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;
-
getInstanceOrBuilder
public YamcsInstanceOrBuilder getInstanceOrBuilder()
optional .yamcs.protobuf.yamcsManagement.YamcsInstance instance = 2;- Specified by:
getInstanceOrBuilderin interfaceConnectionInfoOrBuilder
-
hasProcessor
public boolean hasProcessor()
optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;- Specified by:
hasProcessorin interfaceConnectionInfoOrBuilder
-
getProcessor
public ProcessorInfo getProcessor()
optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;- Specified by:
getProcessorin interfaceConnectionInfoOrBuilder
-
setProcessor
public ConnectionInfo.Builder setProcessor(ProcessorInfo value)
optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;
-
setProcessor
public ConnectionInfo.Builder setProcessor(ProcessorInfo.Builder builderForValue)
optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;
-
mergeProcessor
public ConnectionInfo.Builder mergeProcessor(ProcessorInfo value)
optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;
-
clearProcessor
public ConnectionInfo.Builder clearProcessor()
optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;
-
getProcessorBuilder
public ProcessorInfo.Builder getProcessorBuilder()
optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;
-
getProcessorOrBuilder
public ProcessorInfoOrBuilder getProcessorOrBuilder()
optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processor = 3;- Specified by:
getProcessorOrBuilderin interfaceConnectionInfoOrBuilder
-
hasClearance
public boolean hasClearance()
optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType clearance = 4;- Specified by:
hasClearancein interfaceConnectionInfoOrBuilder
-
getClearance
public Mdb.SignificanceInfo.SignificanceLevelType getClearance()
optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType clearance = 4;- Specified by:
getClearancein interfaceConnectionInfoOrBuilder
-
setClearance
public ConnectionInfo.Builder setClearance(Mdb.SignificanceInfo.SignificanceLevelType value)
optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType clearance = 4;
-
clearClearance
public ConnectionInfo.Builder clearClearance()
optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType clearance = 4;
-
setUnknownFields
public final ConnectionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
mergeUnknownFields
public final ConnectionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
-