Interface Gnmi.PathElemOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Gnmi.PathElem, Gnmi.PathElem.Builder
    Enclosing class:
    Gnmi

    public static interface Gnmi.PathElemOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsKey​(String key)
      Map of key (attribute) name to value.
      Map<String,​String> getKey()
      Deprecated.
      int getKeyCount()
      Map of key (attribute) name to value.
      Map<String,​String> getKeyMap()
      Map of key (attribute) name to value.
      String getKeyOrDefault​(String key, String defaultValue)
      Map of key (attribute) name to value.
      String getKeyOrThrow​(String key)
      Map of key (attribute) name to value.
      String getName()
      The name of the element in the path.
      com.google.protobuf.ByteString getNameBytes()
      The name of the element in the path.
      • 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()
         The name of the element in the path.
         
        string name = 1;
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name of the element in the path.
         
        string name = 1;
      • getKeyCount

        int getKeyCount()
         Map of key (attribute) name to value.
         
        map<string, string> key = 2;
      • containsKey

        boolean containsKey​(String key)
         Map of key (attribute) name to value.
         
        map<string, string> key = 2;
      • getKeyMap

        Map<String,​String> getKeyMap()
         Map of key (attribute) name to value.
         
        map<string, string> key = 2;
      • getKeyOrDefault

        String getKeyOrDefault​(String key,
                               String defaultValue)
         Map of key (attribute) name to value.
         
        map<string, string> key = 2;
      • getKeyOrThrow

        String getKeyOrThrow​(String key)
         Map of key (attribute) name to value.
         
        map<string, string> key = 2;