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

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

/**
 * Describes the file service/v1/status.proto.
 */
export const file_service_v1_status: GenFile = /*@__PURE__*/
  fileDesc("ChdzZXJ2aWNlL3YxL3N0YXR1cy5wcm90bxIKc2VydmljZS52MSJ8Cg1TZXJ2aWNlU3RhdHVzEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkSDAoEdHlwZRgEIAEoCRIKCgJpcBgFIAEoCRIiCgZzdGF0dXMYBiABKA4yEi5zZXJ2aWNlLnYxLlN0YXR1cypHCgZTdGF0dXMSFgoSU1RBVFVTX1VOU1BFQ0lGSUVEEAASEgoOU1RBVFVTX09GRkxJTkUQARIRCg1TVEFUVVNfT05MSU5FEAJCqgEKDmNvbS5zZXJ2aWNlLnYxQgtTdGF0dXNQcm90b1ABWjlnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvc2VydmljZS92MTtzZXJ2aWNldjGiAgNTWFiqAhNNZXNzYWdlcy5TZXJ2aWNlLlYxygIKU2VydmljZVxWMeICFlNlcnZpY2VcVjFcR1BCTWV0YWRhdGHqAgtTZXJ2aWNlOjpWMWIGcHJvdG8z");

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

  /**
   * @generated from field: string name = 2;
   */
  name: string;

  /**
   * @generated from field: string description = 3;
   */
  description: string;

  /**
   * @generated from field: string type = 4;
   */
  type: string;

  /**
   * @generated from field: string ip = 5;
   */
  ip: string;

  /**
   * @generated from field: service.v1.Status status = 6;
   */
  status: Status;
};

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

/**
 * @generated from enum service.v1.Status
 */
export enum Status {
  /**
   * @generated from enum value: STATUS_UNSPECIFIED = 0;
   */
  UNSPECIFIED = 0,

  /**
   * @generated from enum value: STATUS_OFFLINE = 1;
   */
  OFFLINE = 1,

  /**
   * @generated from enum value: STATUS_ONLINE = 2;
   */
  ONLINE = 2,
}

/**
 * Describes the enum service.v1.Status.
 */
export const StatusSchema: GenEnum<Status> = /*@__PURE__*/
  enumDesc(file_service_v1_status, 0);

