Interface NcStreamProto.AttributeOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getData()
      not needed if len == 0, Attribute with name but no value
      NcStreamProto.DataType getDataType()
      5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
      int getDataTypeValue()
      5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
      int getLen()
      uint32 len = 3;
      String getName()
      string name = 1;
      com.google.protobuf.ByteString getNameBytes()
      string name = 1;
      String getSdata​(int index)
      used for string data
      com.google.protobuf.ByteString getSdataBytes​(int index)
      used for string data
      int getSdataCount()
      used for string data
      List<String> getSdataList()
      used for string data
      NcStreamProto.Attribute.Type getType()
      < 5.0
      int getTypeValue()
      < 5.0
      boolean getUnsigned()
      not used
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getName

        String getName()
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
        string name = 1;
        Returns:
        The bytes for name.
      • getTypeValue

        int getTypeValue()
         < 5.0
         
        .Attribute.Type type = 2;
        Returns:
        The enum numeric value on the wire for type.
      • getLen

        int getLen()
        uint32 len = 3;
        Returns:
        The len.
      • getData

        com.google.protobuf.ByteString getData()
         not needed if len == 0, Attribute with name but no value
         
        bytes data = 4;
        Returns:
        The data.
      • getSdataList

        List<String> getSdataList()
         used for string data
         
        repeated string sdata = 5;
        Returns:
        A list containing the sdata.
      • getSdataCount

        int getSdataCount()
         used for string data
         
        repeated string sdata = 5;
        Returns:
        The count of sdata.
      • getSdata

        String getSdata​(int index)
         used for string data
         
        repeated string sdata = 5;
        Parameters:
        index - The index of the element to return.
        Returns:
        The sdata at the given index.
      • getSdataBytes

        com.google.protobuf.ByteString getSdataBytes​(int index)
         used for string data
         
        repeated string sdata = 5;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the sdata at the given index.
      • getUnsigned

        boolean getUnsigned()
         not used
         
        bool unsigned = 6;
        Returns:
        The unsigned.
      • getDataTypeValue

        int getDataTypeValue()
         5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
         
        .DataType dataType = 7;
        Returns:
        The enum numeric value on the wire for dataType.
      • getDataType

        NcStreamProto.DataType getDataType()
         5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
         
        .DataType dataType = 7;
        Returns:
        The dataType.