Package org.yamcs.protobuf
Class LinkInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
org.yamcs.protobuf.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.yamcsManagement.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()
long
optional int64 dataInCount = 10;
long
optional int64 dataOutCount = 11;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional string detailedStatus = 9;
com.google.protobuf.ByteString
optional string detailedStatus = 9;
boolean
optional bool disabled = 6;
optional string instance = 1;
com.google.protobuf.ByteString
optional string instance = 1;
getName()
optional string name = 2;
com.google.protobuf.ByteString
optional string name = 2;
if this is a sublink of an aggregated data link, this is the name of the parentcom.google.protobuf.ByteString
if this is a sublink of an aggregated data link, this is the name of the parentgetSpec()
optional string spec = 4;
com.google.protobuf.ByteString
optional string spec = 4;
optional string status = 7;
com.google.protobuf.ByteString
optional string status = 7;
getType()
optional string type = 3;
com.google.protobuf.ByteString
optional string type = 3;
boolean
optional int64 dataInCount = 10;
boolean
optional int64 dataOutCount = 11;
boolean
optional string detailedStatus = 9;
boolean
optional bool disabled = 6;
boolean
optional string instance = 1;
boolean
hasName()
optional string name = 2;
boolean
if this is a sublink of an aggregated data link, this is the name of the parentboolean
hasSpec()
optional string spec = 4;
boolean
optional string status = 7;
boolean
hasType()
optional string type = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) final LinkInfo.Builder
mergeUnknownFields
(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.Builder
setUnknownFields
(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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-
setField
public LinkInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-
setRepeatedField
public LinkInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-
addRepeatedField
public LinkInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LinkInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LinkInfo.Builder>
- Throws:
IOException
-
hasInstance
public boolean hasInstance()optional string instance = 1;
- Specified by:
hasInstance
in interfaceLinkInfoOrBuilder
-
getInstance
optional string instance = 1;
- Specified by:
getInstance
in interfaceLinkInfoOrBuilder
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()optional string instance = 1;
- Specified by:
getInstanceBytes
in interfaceLinkInfoOrBuilder
-
setInstance
optional string instance = 1;
-
clearInstance
optional string instance = 1;
-
setInstanceBytes
optional string instance = 1;
-
hasName
public boolean hasName()optional string name = 2;
- Specified by:
hasName
in interfaceLinkInfoOrBuilder
-
getName
optional string name = 2;
- Specified by:
getName
in interfaceLinkInfoOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 2;
- Specified by:
getNameBytes
in interfaceLinkInfoOrBuilder
-
setName
optional string name = 2;
-
clearName
optional string name = 2;
-
setNameBytes
optional string name = 2;
-
hasType
public boolean hasType()optional string type = 3;
- Specified by:
hasType
in interfaceLinkInfoOrBuilder
-
getType
optional string type = 3;
- Specified by:
getType
in interfaceLinkInfoOrBuilder
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()optional string type = 3;
- Specified by:
getTypeBytes
in interfaceLinkInfoOrBuilder
-
setType
optional string type = 3;
-
clearType
optional string type = 3;
-
setTypeBytes
optional string type = 3;
-
hasSpec
public boolean hasSpec()optional string spec = 4;
- Specified by:
hasSpec
in interfaceLinkInfoOrBuilder
-
getSpec
optional string spec = 4;
- Specified by:
getSpec
in interfaceLinkInfoOrBuilder
-
getSpecBytes
public com.google.protobuf.ByteString getSpecBytes()optional string spec = 4;
- Specified by:
getSpecBytes
in interfaceLinkInfoOrBuilder
-
setSpec
optional string spec = 4;
-
clearSpec
optional string spec = 4;
-
setSpecBytes
optional string spec = 4;
-
hasDisabled
public boolean hasDisabled()optional bool disabled = 6;
- Specified by:
hasDisabled
in interfaceLinkInfoOrBuilder
-
getDisabled
public boolean getDisabled()optional bool disabled = 6;
- Specified by:
getDisabled
in interfaceLinkInfoOrBuilder
-
setDisabled
optional bool disabled = 6;
-
clearDisabled
optional bool disabled = 6;
-
hasStatus
public boolean hasStatus()optional string status = 7;
- Specified by:
hasStatus
in interfaceLinkInfoOrBuilder
-
getStatus
optional string status = 7;
- Specified by:
getStatus
in interfaceLinkInfoOrBuilder
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()optional string status = 7;
- Specified by:
getStatusBytes
in interfaceLinkInfoOrBuilder
-
setStatus
optional string status = 7;
-
clearStatus
optional string status = 7;
-
setStatusBytes
optional string status = 7;
-
hasDataInCount
public boolean hasDataInCount()optional int64 dataInCount = 10;
- Specified by:
hasDataInCount
in interfaceLinkInfoOrBuilder
-
getDataInCount
public long getDataInCount()optional int64 dataInCount = 10;
- Specified by:
getDataInCount
in interfaceLinkInfoOrBuilder
-
setDataInCount
optional int64 dataInCount = 10;
-
clearDataInCount
optional int64 dataInCount = 10;
-
hasDataOutCount
public boolean hasDataOutCount()optional int64 dataOutCount = 11;
- Specified by:
hasDataOutCount
in interfaceLinkInfoOrBuilder
-
getDataOutCount
public long getDataOutCount()optional int64 dataOutCount = 11;
- Specified by:
getDataOutCount
in interfaceLinkInfoOrBuilder
-
setDataOutCount
optional int64 dataOutCount = 11;
-
clearDataOutCount
optional int64 dataOutCount = 11;
-
hasDetailedStatus
public boolean hasDetailedStatus()optional string detailedStatus = 9;
- Specified by:
hasDetailedStatus
in interfaceLinkInfoOrBuilder
-
getDetailedStatus
optional string detailedStatus = 9;
- Specified by:
getDetailedStatus
in interfaceLinkInfoOrBuilder
-
getDetailedStatusBytes
public com.google.protobuf.ByteString getDetailedStatusBytes()optional string detailedStatus = 9;
- Specified by:
getDetailedStatusBytes
in interfaceLinkInfoOrBuilder
-
setDetailedStatus
optional string detailedStatus = 9;
-
clearDetailedStatus
optional string detailedStatus = 9;
-
setDetailedStatusBytes
optional string detailedStatus = 9;
-
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:
hasParentName
in interfaceLinkInfoOrBuilder
-
getParentName
if this is a sublink of an aggregated data link, this is the name of the parent
optional string parentName = 12;
- Specified by:
getParentName
in interfaceLinkInfoOrBuilder
-
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:
getParentNameBytes
in interfaceLinkInfoOrBuilder
-
setParentName
if this is a sublink of an aggregated data link, this is the name of the parent
optional string parentName = 12;
-
clearParentName
if this is a sublink of an aggregated data link, this is the name of the parent
optional string parentName = 12;
-
setParentNameBytes
if this is a sublink of an aggregated data link, this is the name of the parent
optional string parentName = 12;
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
-