// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
// @generated from file service/v1/response.proto (package service.v1, syntax proto3)
/* eslint-disable */

import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file service/v1/response.proto.
 */
export const file_service_v1_response: GenFile = /*@__PURE__*/
  fileDesc("ChlzZXJ2aWNlL3YxL3Jlc3BvbnNlLnByb3RvEgpzZXJ2aWNlLnYxIkAKCFJlc3BvbnNlEhIKCnJlcXVlc3RfaWQYASABKAkSDwoHc3VjY2VzcxgCIAEoCBIPCgdtZXNzYWdlGAMgASgJQqwBCg5jb20uc2VydmljZS52MUINUmVzcG9uc2VQcm90b1ABWjlnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvc2VydmljZS92MTtzZXJ2aWNldjGiAgNTWFiqAhNNZXNzYWdlcy5TZXJ2aWNlLlYxygIKU2VydmljZVxWMeICFlNlcnZpY2VcVjFcR1BCTWV0YWRhdGHqAgtTZXJ2aWNlOjpWMWIGcHJvdG8z");

/**
 * @generated from message service.v1.Response
 */
export type Response = Message<"service.v1.Response"> & {
  /**
   * @generated from field: string request_id = 1;
   */
  requestId: string;

  /**
   * True if the request was carried out
   *
   * @generated from field: bool success = 2;
   */
  success: boolean;

  /**
   * Either a status/response message or an error message if the request wasn't a success
   *
   * @generated from field: string message = 3;
   */
  message: string;
};

/**
 * Describes the message service.v1.Response.
 * Use `create(ResponseSchema)` to create a new message.
 */
export const ResponseSchema: GenMessage<Response> = /*@__PURE__*/
  messageDesc(file_service_v1_response, 0);

