java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
org.yamcs.protobuf.links.LinkInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,LinkInfoOrBuilder
- Enclosing class:
- LinkInfo
public static final class LinkInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
implements LinkInfoOrBuilder
Protobuf type
yamcs.protobuf.links.LinkInfo-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()optional int64 dataInCount = 10;optional int64 dataOutCount = 11;optional string detailedStatus = 9;optional bool disabled = 6;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) optional string instance = 1;optional string name = 2;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) if this is a sublink of an aggregated data link, this is the name of the parentoptional string spec = 4;optional string status = 7;optional string type = 3;clone()longoptional int64 dataInCount = 10;longoptional int64 dataOutCount = 11;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptoroptional string detailedStatus = 9;com.google.protobuf.ByteStringoptional string detailedStatus = 9;booleanoptional bool disabled = 6;optional string instance = 1;com.google.protobuf.ByteStringoptional string instance = 1;getName()optional string name = 2;com.google.protobuf.ByteStringoptional string name = 2;if this is a sublink of an aggregated data link, this is the name of the parentcom.google.protobuf.ByteStringif this is a sublink of an aggregated data link, this is the name of the parentgetSpec()optional string spec = 4;com.google.protobuf.ByteStringoptional string spec = 4;optional string status = 7;com.google.protobuf.ByteStringoptional string status = 7;getType()optional string type = 3;com.google.protobuf.ByteStringoptional string type = 3;booleanoptional int64 dataInCount = 10;booleanoptional int64 dataOutCount = 11;booleanoptional string detailedStatus = 9;booleanoptional bool disabled = 6;booleanoptional string instance = 1;booleanhasName()optional string name = 2;booleanif this is a sublink of an aggregated data link, this is the name of the parentbooleanhasSpec()optional string spec = 4;booleanoptional string status = 7;booleanhasType()optional string type = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final LinkInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDataInCount(long value) optional int64 dataInCount = 10;setDataOutCount(long value) optional int64 dataOutCount = 11;setDetailedStatus(String value) optional string detailedStatus = 9;setDetailedStatusBytes(com.google.protobuf.ByteString value) optional string detailedStatus = 9;setDisabled(boolean value) optional bool disabled = 6;setInstance(String value) optional string instance = 1;setInstanceBytes(com.google.protobuf.ByteString value) optional string instance = 1;optional string name = 2;setNameBytes(com.google.protobuf.ByteString value) optional string name = 2;setParentName(String value) if this is a sublink of an aggregated data link, this is the name of the parentsetParentNameBytes(com.google.protobuf.ByteString value) if this is a sublink of an aggregated data link, this is the name of the parentsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) optional string spec = 4;setSpecBytes(com.google.protobuf.ByteString value) optional string spec = 4;optional string status = 7;setStatusBytes(com.google.protobuf.ByteString value) optional string status = 7;optional string type = 3;setTypeBytes(com.google.protobuf.ByteString value) optional string type = 3;final LinkInfo.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<LinkInfo.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<LinkInfo.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<LinkInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<LinkInfo.Builder>
-
setField
public LinkInfo.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<LinkInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-
setRepeatedField
public LinkInfo.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<LinkInfo.Builder>
-
addRepeatedField
public LinkInfo.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<LinkInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LinkInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-
mergeFrom
public LinkInfo.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<LinkInfo.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()optional string instance = 1;- Specified by:
hasInstancein interfaceLinkInfoOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
optional string instance = 1;- Specified by:
getInstancein interfaceLinkInfoOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()optional string instance = 1;- Specified by:
getInstanceBytesin interfaceLinkInfoOrBuilder- Returns:
- The bytes for instance.
-
setInstance
optional string instance = 1;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
optional string instance = 1;- Returns:
- This builder for chaining.
-
setInstanceBytes
optional string instance = 1;- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()optional string name = 2;- Specified by:
hasNamein interfaceLinkInfoOrBuilder- Returns:
- Whether the name field is set.
-
getName
optional string name = 2;- Specified by:
getNamein interfaceLinkInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 2;- Specified by:
getNameBytesin interfaceLinkInfoOrBuilder- Returns:
- The bytes for name.
-
setName
optional string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
optional string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
optional string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()optional string type = 3;- Specified by:
hasTypein interfaceLinkInfoOrBuilder- Returns:
- Whether the type field is set.
-
getType
optional string type = 3;- Specified by:
getTypein interfaceLinkInfoOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()optional string type = 3;- Specified by:
getTypeBytesin interfaceLinkInfoOrBuilder- Returns:
- The bytes for type.
-
setType
optional string type = 3;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
optional string type = 3;- Returns:
- This builder for chaining.
-
setTypeBytes
optional string type = 3;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasSpec
public boolean hasSpec()optional string spec = 4;- Specified by:
hasSpecin interfaceLinkInfoOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
optional string spec = 4;- Specified by:
getSpecin interfaceLinkInfoOrBuilder- Returns:
- The spec.
-
getSpecBytes
public com.google.protobuf.ByteString getSpecBytes()optional string spec = 4;- Specified by:
getSpecBytesin interfaceLinkInfoOrBuilder- Returns:
- The bytes for spec.
-
setSpec
optional string spec = 4;- Parameters:
value- The spec to set.- Returns:
- This builder for chaining.
-
clearSpec
optional string spec = 4;- Returns:
- This builder for chaining.
-
setSpecBytes
optional string spec = 4;- Parameters:
value- The bytes for spec to set.- Returns:
- This builder for chaining.
-
hasDisabled
public boolean hasDisabled()optional bool disabled = 6;- Specified by:
hasDisabledin interfaceLinkInfoOrBuilder- Returns:
- Whether the disabled field is set.
-
getDisabled
public boolean getDisabled()optional bool disabled = 6;- Specified by:
getDisabledin interfaceLinkInfoOrBuilder- Returns:
- The disabled.
-
setDisabled
optional bool disabled = 6;- Parameters:
value- The disabled to set.- Returns:
- This builder for chaining.
-
clearDisabled
optional bool disabled = 6;- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()optional string status = 7;- Specified by:
hasStatusin interfaceLinkInfoOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
optional string status = 7;- Specified by:
getStatusin interfaceLinkInfoOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()optional string status = 7;- Specified by:
getStatusBytesin interfaceLinkInfoOrBuilder- Returns:
- The bytes for status.
-
setStatus
optional string status = 7;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
optional string status = 7;- Returns:
- This builder for chaining.
-
setStatusBytes
optional string status = 7;- Parameters:
value- The bytes for status to set.- Returns:
- This builder for chaining.
-
hasDataInCount
public boolean hasDataInCount()optional int64 dataInCount = 10;- Specified by:
hasDataInCountin interfaceLinkInfoOrBuilder- Returns:
- Whether the dataInCount field is set.
-
getDataInCount
public long getDataInCount()optional int64 dataInCount = 10;- Specified by:
getDataInCountin interfaceLinkInfoOrBuilder- Returns:
- The dataInCount.
-
setDataInCount
optional int64 dataInCount = 10;- Parameters:
value- The dataInCount to set.- Returns:
- This builder for chaining.
-
clearDataInCount
optional int64 dataInCount = 10;- Returns:
- This builder for chaining.
-
hasDataOutCount
public boolean hasDataOutCount()optional int64 dataOutCount = 11;- Specified by:
hasDataOutCountin interfaceLinkInfoOrBuilder- Returns:
- Whether the dataOutCount field is set.
-
getDataOutCount
public long getDataOutCount()optional int64 dataOutCount = 11;- Specified by:
getDataOutCountin interfaceLinkInfoOrBuilder- Returns:
- The dataOutCount.
-
setDataOutCount
optional int64 dataOutCount = 11;- Parameters:
value- The dataOutCount to set.- Returns:
- This builder for chaining.
-
clearDataOutCount
optional int64 dataOutCount = 11;- Returns:
- This builder for chaining.
-
hasDetailedStatus
public boolean hasDetailedStatus()optional string detailedStatus = 9;- Specified by:
hasDetailedStatusin interfaceLinkInfoOrBuilder- Returns:
- Whether the detailedStatus field is set.
-
getDetailedStatus
optional string detailedStatus = 9;- Specified by:
getDetailedStatusin interfaceLinkInfoOrBuilder- Returns:
- The detailedStatus.
-
getDetailedStatusBytes
public com.google.protobuf.ByteString getDetailedStatusBytes()optional string detailedStatus = 9;- Specified by:
getDetailedStatusBytesin interfaceLinkInfoOrBuilder- Returns:
- The bytes for detailedStatus.
-
setDetailedStatus
optional string detailedStatus = 9;- Parameters:
value- The detailedStatus to set.- Returns:
- This builder for chaining.
-
clearDetailedStatus
optional string detailedStatus = 9;- Returns:
- This builder for chaining.
-
setDetailedStatusBytes
optional string detailedStatus = 9;- Parameters:
value- The bytes for detailedStatus to set.- Returns:
- This builder for chaining.
-
hasParentName
public boolean hasParentName()if this is a sublink of an aggregated data link, this is the name of the parent
optional string parentName = 12;- Specified by:
hasParentNamein interfaceLinkInfoOrBuilder- Returns:
- Whether the parentName field is set.
-
getParentName
if this is a sublink of an aggregated data link, this is the name of the parent
optional string parentName = 12;- Specified by:
getParentNamein interfaceLinkInfoOrBuilder- Returns:
- The parentName.
-
getParentNameBytes
public com.google.protobuf.ByteString getParentNameBytes()if this is a sublink of an aggregated data link, this is the name of the parent
optional string parentName = 12;- Specified by:
getParentNameBytesin interfaceLinkInfoOrBuilder- Returns:
- The bytes for parentName.
-
setParentName
if this is a sublink of an aggregated data link, this is the name of the parent
optional string parentName = 12;- Parameters:
value- The parentName to set.- Returns:
- This builder for chaining.
-
clearParentName
if this is a sublink of an aggregated data link, this is the name of the parent
optional string parentName = 12;- Returns:
- This builder for chaining.
-
setParentNameBytes
if this is a sublink of an aggregated data link, this is the name of the parent
optional string parentName = 12;- Parameters:
value- The bytes for parentName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-