org.hyperledger.fabric.protos.peer.ResponseOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: peer/proposal_response.proto
// Protobuf Java Version: 4.28.2
package org.hyperledger.fabric.protos.peer;
public interface ResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:protos.Response)
com.google.protobuf.MessageOrBuilder {
/**
*
* A status code that should follow the HTTP status codes.
*
*
* int32 status = 1 [json_name = "status"];
* @return The status.
*/
int getStatus();
/**
*
* A message associated with the response code.
*
*
* string message = 2 [json_name = "message"];
* @return The message.
*/
java.lang.String getMessage();
/**
*
* A message associated with the response code.
*
*
* string message = 2 [json_name = "message"];
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
/**
*
* A payload that can be used to include metadata with this response.
*
*
* bytes payload = 3 [json_name = "payload"];
* @return The payload.
*/
com.google.protobuf.ByteString getPayload();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy