Class 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 Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
      • clear

        public LinkInfo.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
      • getDefaultInstanceForType

        public LinkInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public LinkInfo build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public LinkInfo buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public LinkInfo.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
      • setField

        public LinkInfo.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                         Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
      • clearField

        public LinkInfo.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
      • clearOneof

        public LinkInfo.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
      • addRepeatedField

        public LinkInfo.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
      • mergeFrom

        public LinkInfo.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LinkInfo.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LinkInfo.Builder>
        Throws:
        IOException
      • hasInstance

        public boolean hasInstance()
        optional string instance = 1;
        Specified by:
        hasInstance in interface LinkInfoOrBuilder
        Returns:
        Whether the instance field is set.
      • getInstanceBytes

        public com.google.protobuf.ByteString getInstanceBytes()
        optional string instance = 1;
        Specified by:
        getInstanceBytes in interface LinkInfoOrBuilder
        Returns:
        The bytes for instance.
      • setInstance

        public LinkInfo.Builder setInstance​(String value)
        optional string instance = 1;
        Parameters:
        value - The instance to set.
        Returns:
        This builder for chaining.
      • clearInstance

        public LinkInfo.Builder clearInstance()
        optional string instance = 1;
        Returns:
        This builder for chaining.
      • setInstanceBytes

        public LinkInfo.Builder setInstanceBytes​(com.google.protobuf.ByteString value)
        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 interface LinkInfoOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        optional string name = 2;
        Specified by:
        getNameBytes in interface LinkInfoOrBuilder
        Returns:
        The bytes for name.
      • setName

        public LinkInfo.Builder setName​(String value)
        optional string name = 2;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public LinkInfo.Builder clearName()
        optional string name = 2;
        Returns:
        This builder for chaining.
      • setNameBytes

        public LinkInfo.Builder setNameBytes​(com.google.protobuf.ByteString value)
        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 interface LinkInfoOrBuilder
        Returns:
        Whether the type field is set.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
        optional string type = 3;
        Specified by:
        getTypeBytes in interface LinkInfoOrBuilder
        Returns:
        The bytes for type.
      • setType

        public LinkInfo.Builder setType​(String value)
        optional string type = 3;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public LinkInfo.Builder clearType()
        optional string type = 3;
        Returns:
        This builder for chaining.
      • setTypeBytes

        public LinkInfo.Builder setTypeBytes​(com.google.protobuf.ByteString value)
        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 interface LinkInfoOrBuilder
        Returns:
        Whether the spec field is set.
      • getSpecBytes

        public com.google.protobuf.ByteString getSpecBytes()
        optional string spec = 4;
        Specified by:
        getSpecBytes in interface LinkInfoOrBuilder
        Returns:
        The bytes for spec.
      • setSpec

        public LinkInfo.Builder setSpec​(String value)
        optional string spec = 4;
        Parameters:
        value - The spec to set.
        Returns:
        This builder for chaining.
      • clearSpec

        public LinkInfo.Builder clearSpec()
        optional string spec = 4;
        Returns:
        This builder for chaining.
      • setSpecBytes

        public LinkInfo.Builder setSpecBytes​(com.google.protobuf.ByteString value)
        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 interface LinkInfoOrBuilder
        Returns:
        Whether the disabled field is set.
      • getDisabled

        public boolean getDisabled()
        optional bool disabled = 6;
        Specified by:
        getDisabled in interface LinkInfoOrBuilder
        Returns:
        The disabled.
      • setDisabled

        public LinkInfo.Builder setDisabled​(boolean value)
        optional bool disabled = 6;
        Parameters:
        value - The disabled to set.
        Returns:
        This builder for chaining.
      • clearDisabled

        public LinkInfo.Builder clearDisabled()
        optional bool disabled = 6;
        Returns:
        This builder for chaining.
      • hasStatus

        public boolean hasStatus()
        optional string status = 7;
        Specified by:
        hasStatus in interface LinkInfoOrBuilder
        Returns:
        Whether the status field is set.
      • getStatusBytes

        public com.google.protobuf.ByteString getStatusBytes()
        optional string status = 7;
        Specified by:
        getStatusBytes in interface LinkInfoOrBuilder
        Returns:
        The bytes for status.
      • setStatus

        public LinkInfo.Builder setStatus​(String value)
        optional string status = 7;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public LinkInfo.Builder clearStatus()
        optional string status = 7;
        Returns:
        This builder for chaining.
      • setStatusBytes

        public LinkInfo.Builder setStatusBytes​(com.google.protobuf.ByteString value)
        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 interface LinkInfoOrBuilder
        Returns:
        Whether the dataInCount field is set.
      • getDataInCount

        public long getDataInCount()
        optional int64 dataInCount = 10;
        Specified by:
        getDataInCount in interface LinkInfoOrBuilder
        Returns:
        The dataInCount.
      • setDataInCount

        public LinkInfo.Builder setDataInCount​(long value)
        optional int64 dataInCount = 10;
        Parameters:
        value - The dataInCount to set.
        Returns:
        This builder for chaining.
      • clearDataInCount

        public LinkInfo.Builder clearDataInCount()
        optional int64 dataInCount = 10;
        Returns:
        This builder for chaining.
      • hasDataOutCount

        public boolean hasDataOutCount()
        optional int64 dataOutCount = 11;
        Specified by:
        hasDataOutCount in interface LinkInfoOrBuilder
        Returns:
        Whether the dataOutCount field is set.
      • getDataOutCount

        public long getDataOutCount()
        optional int64 dataOutCount = 11;
        Specified by:
        getDataOutCount in interface LinkInfoOrBuilder
        Returns:
        The dataOutCount.
      • setDataOutCount

        public LinkInfo.Builder setDataOutCount​(long value)
        optional int64 dataOutCount = 11;
        Parameters:
        value - The dataOutCount to set.
        Returns:
        This builder for chaining.
      • clearDataOutCount

        public LinkInfo.Builder clearDataOutCount()
        optional int64 dataOutCount = 11;
        Returns:
        This builder for chaining.
      • hasDetailedStatus

        public boolean hasDetailedStatus()
        optional string detailedStatus = 9;
        Specified by:
        hasDetailedStatus in interface LinkInfoOrBuilder
        Returns:
        Whether the detailedStatus field is set.
      • getDetailedStatusBytes

        public com.google.protobuf.ByteString getDetailedStatusBytes()
        optional string detailedStatus = 9;
        Specified by:
        getDetailedStatusBytes in interface LinkInfoOrBuilder
        Returns:
        The bytes for detailedStatus.
      • setDetailedStatus

        public LinkInfo.Builder setDetailedStatus​(String value)
        optional string detailedStatus = 9;
        Parameters:
        value - The detailedStatus to set.
        Returns:
        This builder for chaining.
      • clearDetailedStatus

        public LinkInfo.Builder clearDetailedStatus()
        optional string detailedStatus = 9;
        Returns:
        This builder for chaining.
      • setDetailedStatusBytes

        public LinkInfo.Builder setDetailedStatusBytes​(com.google.protobuf.ByteString value)
        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 interface LinkInfoOrBuilder
        Returns:
        Whether the parentName field is set.
      • getParentName

        public String 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 interface LinkInfoOrBuilder
        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 interface LinkInfoOrBuilder
        Returns:
        The bytes for parentName.
      • setParentName

        public LinkInfo.Builder setParentName​(String value)
        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

        public LinkInfo.Builder 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

        public LinkInfo.Builder setParentNameBytes​(com.google.protobuf.ByteString value)
        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

        public final LinkInfo.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>
      • mergeUnknownFields

        public final LinkInfo.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LinkInfo.Builder>