Interface Rpc.GetResponseOrBuilder

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

    public static interface Rpc.GetResponseOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getStamp()
      * Timestamp in ms.
      int getStatus()
      * Status code.
      java.lang.String getStatusMessage()
      * The status message.
      com.google.protobuf.ByteString getStatusMessageBytes()
      * The status message.
      com.google.protobuf.ByteString getValue()
      * Value of the requested attribute.
      • 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

      • getStatus

        int getStatus()
         *
         Status code. Can be
         200 - OK
         204 - Already committed transaction
         400 - Bad request - if missing some required field(s) in request
         404 - Entity or attribute not found
         500 - Internal server error
         
        uint32 status = 1;
        Returns:
        The status.
      • getStatusMessage

        java.lang.String getStatusMessage()
         *
         The status message. Might be omitted if status is 200.
         
        string statusMessage = 2;
        Returns:
        The statusMessage.
      • getStatusMessageBytes

        com.google.protobuf.ByteString getStatusMessageBytes()
         *
         The status message. Might be omitted if status is 200.
         
        string statusMessage = 2;
        Returns:
        The bytes for statusMessage.
      • getValue

        com.google.protobuf.ByteString getValue()
         *
         Value of the requested attribute.
         
        bytes value = 3;
        Returns:
        The value.
      • getStamp

        long getStamp()
         *
         Timestamp in ms.
         
        uint64 stamp = 4;
        Returns:
        The stamp.