Interface Gnmi.ErrorOrBuilder

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

    @Deprecated
    public static interface Gnmi.ErrorOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    Deprecated.
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      int getCode()
      Deprecated.
      Canonical gRPC error code.
      com.google.protobuf.Any getData()
      Deprecated.
      Optional additional information.
      com.google.protobuf.AnyOrBuilder getDataOrBuilder()
      Deprecated.
      Optional additional information.
      java.lang.String getMessage()
      Deprecated.
      Human readable error.
      com.google.protobuf.ByteString getMessageBytes()
      Deprecated.
      Human readable error.
      boolean hasData()
      Deprecated.
      Optional additional information.
      • 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

      • getCode

        int getCode()
        Deprecated.
         Canonical gRPC error code.
         
        uint32 code = 1;
      • getMessage

        java.lang.String getMessage()
        Deprecated.
         Human readable error.
         
        string message = 2;
      • getMessageBytes

        com.google.protobuf.ByteString getMessageBytes()
        Deprecated.
         Human readable error.
         
        string message = 2;
      • hasData

        boolean hasData()
        Deprecated.
         Optional additional information.
         
        .google.protobuf.Any data = 3;
      • getData

        com.google.protobuf.Any getData()
        Deprecated.
         Optional additional information.
         
        .google.protobuf.Any data = 3;
      • getDataOrBuilder

        com.google.protobuf.AnyOrBuilder getDataOrBuilder()
        Deprecated.
         Optional additional information.
         
        .google.protobuf.Any data = 3;