Interface Rpc.StatusOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getStatus()
      * Status code: 200 - OK - the request was processed and is ingested 400 - Bad request - the request was missing some key parts 404 - Not found - the entity or attribute not found in the settings 412 - Not acceptable - the message has unknown format (unable to validate the scheme) 502 - Bad gateway - cannot connect to the target storage 504 - Gateway timeout - the request timed out
      java.lang.String getStatusMessage()
      * Textual information for the event.
      com.google.protobuf.ByteString getStatusMessageBytes()
      * Textual information for the event.
      java.lang.String getUuid()
      * The UUID of the original ingest request
      com.google.protobuf.ByteString getUuidBytes()
      * The UUID of the original ingest request
      • 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

      • getUuid

        java.lang.String getUuid()
         * The UUID of the original ingest request 
         
        string uuid = 1;
        Returns:
        The uuid.
      • getUuidBytes

        com.google.protobuf.ByteString getUuidBytes()
         * The UUID of the original ingest request 
         
        string uuid = 1;
        Returns:
        The bytes for uuid.
      • getStatus

        int getStatus()
         * Status code:
         200 - OK - the request was processed and is ingested
         400 - Bad request - the request was missing some key parts
         404 - Not found - the entity or attribute not found in the settings
         412 - Not acceptable - the message has unknown format (unable to validate the scheme)
         502 - Bad gateway - cannot connect to the target storage
         504 - Gateway timeout - the request timed out
         
        uint32 status = 2;
        Returns:
        The status.
      • getStatusMessage

        java.lang.String getStatusMessage()
         *
         Textual information for the event. Might be missing for 200 OK.
         Contains error message if any error occurs
         
        string statusMessage = 3;
        Returns:
        The statusMessage.
      • getStatusMessageBytes

        com.google.protobuf.ByteString getStatusMessageBytes()
         *
         Textual information for the event. Might be missing for 200 OK.
         Contains error message if any error occurs
         
        string statusMessage = 3;
        Returns:
        The bytes for statusMessage.