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()
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
- Returns:
- Whether the instance field is set.
-
getInstance
optional string instance = 1;
- Specified by:
getInstance
in interfaceLinkInfoOrBuilder
- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()optional string instance = 1;
- Specified by:
getInstanceBytes
in 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:
hasName
in interfaceLinkInfoOrBuilder
- Returns:
- Whether the name field is set.
-
getName
optional string name = 2;
- Specified by:
getName
in interfaceLinkInfoOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 2;
- Specified by:
getNameBytes
in 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:
hasType
in interfaceLinkInfoOrBuilder
- Returns:
- Whether the type field is set.
-
getType
optional string type = 3;
- Specified by:
getType
in interfaceLinkInfoOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()optional string type = 3;
- Specified by:
getTypeBytes
in 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:
hasSpec
in interfaceLinkInfoOrBuilder
- Returns:
- Whether the spec field is set.
-
getSpec
optional string spec = 4;
- Specified by:
getSpec
in interfaceLinkInfoOrBuilder
- Returns:
- The spec.
-
getSpecBytes
public com.google.protobuf.ByteString getSpecBytes()optional string spec = 4;
- Specified by:
getSpecBytes
in 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:
hasDisabled
in interfaceLinkInfoOrBuilder
- Returns:
- Whether the disabled field is set.
-
getDisabled
public boolean getDisabled()optional bool disabled = 6;
- Specified by:
getDisabled
in 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:
hasStatus
in interfaceLinkInfoOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
optional string status = 7;
- Specified by:
getStatus
in interfaceLinkInfoOrBuilder
- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()optional string status = 7;
- Specified by:
getStatusBytes
in 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:
hasDataInCount
in interfaceLinkInfoOrBuilder
- Returns:
- Whether the dataInCount field is set.
-
getDataInCount
public long getDataInCount()optional int64 dataInCount = 10;
- Specified by:
getDataInCount
in 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:
hasDataOutCount
in interfaceLinkInfoOrBuilder
- Returns:
- Whether the dataOutCount field is set.
-
getDataOutCount
public long getDataOutCount()optional int64 dataOutCount = 11;
- Specified by:
getDataOutCount
in 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:
hasDetailedStatus
in interfaceLinkInfoOrBuilder
- Returns:
- Whether the detailedStatus field is set.
-
getDetailedStatus
optional string detailedStatus = 9;
- Specified by:
getDetailedStatus
in interfaceLinkInfoOrBuilder
- Returns:
- The detailedStatus.
-
getDetailedStatusBytes
public com.google.protobuf.ByteString getDetailedStatusBytes()optional string detailedStatus = 9;
- Specified by:
getDetailedStatusBytes
in 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:
hasParentName
in 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:
getParentName
in 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:
getParentNameBytes
in 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:
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>
-