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​(java.lang.String key)
      Map of key (attribute) name to value.
      java.util.Map<java.lang.String,​java.lang.String> getKey()
      Deprecated.
      int getKeyCount()
      Map of key (attribute) name to value.
      java.util.Map<java.lang.String,​java.lang.String> getKeyMap()
      Map of key (attribute) name to value.
      java.lang.String getKeyOrDefault​(java.lang.String key, java.lang.String defaultValue)
      Map of key (attribute) name to value.
      java.lang.String getKeyOrThrow​(java.lang.String key)
      Map of key (attribute) name to value.
      java.lang.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

        java.lang.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​(java.lang.String key)
         Map of key (attribute) name to value.
         
        map<string, string> key = 2;
      • getKey

        @Deprecated
        java.util.Map<java.lang.String,​java.lang.String> getKey()
        Deprecated.
        Use getKeyMap() instead.
      • getKeyMap

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

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

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