//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements.  See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership.  The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License.  You may obtain a copy of the License at
// <p>
// http://www.apache.org/licenses/LICENSE-2.0
// <p>
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
/**
 * Describes the file Flight.proto.
 */
export const file_Flight = 
/*@__PURE__*/
fileDesc(" ", [file_google_protobuf_timestamp]);
/**
 * Describes the message arrow.flight.protocol.HandshakeRequest.
 * Use `create(HandshakeRequestSchema)` to create a new message.
 */
export const HandshakeRequestSchema = /*@__PURE__*/ messageDesc(file_Flight, 0);
/**
 * Describes the message arrow.flight.protocol.HandshakeResponse.
 * Use `create(HandshakeResponseSchema)` to create a new message.
 */
export const HandshakeResponseSchema = /*@__PURE__*/ messageDesc(file_Flight, 1);
/**
 * Describes the message arrow.flight.protocol.BasicAuth.
 * Use `create(BasicAuthSchema)` to create a new message.
 */
export const BasicAuthSchema = /*@__PURE__*/ messageDesc(file_Flight, 2);
/**
 * Describes the message arrow.flight.protocol.Empty.
 * Use `create(EmptySchema)` to create a new message.
 */
export const EmptySchema = /*@__PURE__*/ messageDesc(file_Flight, 3);
/**
 * Describes the message arrow.flight.protocol.ActionType.
 * Use `create(ActionTypeSchema)` to create a new message.
 */
export const ActionTypeSchema = /*@__PURE__*/ messageDesc(file_Flight, 4);
/**
 * Describes the message arrow.flight.protocol.Criteria.
 * Use `create(CriteriaSchema)` to create a new message.
 */
export const CriteriaSchema = /*@__PURE__*/ messageDesc(file_Flight, 5);
/**
 * Describes the message arrow.flight.protocol.Action.
 * Use `create(ActionSchema)` to create a new message.
 */
export const ActionSchema = /*@__PURE__*/ messageDesc(file_Flight, 6);
/**
 * Describes the message arrow.flight.protocol.Result.
 * Use `create(ResultSchema)` to create a new message.
 */
export const ResultSchema = /*@__PURE__*/ messageDesc(file_Flight, 7);
/**
 * Describes the message arrow.flight.protocol.SchemaResult.
 * Use `create(SchemaResultSchema)` to create a new message.
 */
export const SchemaResultSchema = /*@__PURE__*/ messageDesc(file_Flight, 8);
/**
 * Describes the message arrow.flight.protocol.FlightDescriptor.
 * Use `create(FlightDescriptorSchema)` to create a new message.
 */
export const FlightDescriptorSchema = /*@__PURE__*/ messageDesc(file_Flight, 9);
/**
 * Describes what type of descriptor is defined.
 *
 * @generated from enum arrow.flight.protocol.FlightDescriptor.DescriptorType
 */
export var FlightDescriptor_DescriptorType;
(function (FlightDescriptor_DescriptorType) {
    /**
     * Protobuf pattern, not used.
     *
     * @generated from enum value: UNKNOWN = 0;
     */
    FlightDescriptor_DescriptorType[FlightDescriptor_DescriptorType["UNKNOWN"] = 0] = "UNKNOWN";
    /**
     * A named path that identifies a dataset. A path is composed of a string
     * or list of strings describing a particular dataset. This is conceptually
     *  similar to a path inside a filesystem.
     *
     * @generated from enum value: PATH = 1;
     */
    FlightDescriptor_DescriptorType[FlightDescriptor_DescriptorType["PATH"] = 1] = "PATH";
    /**
     * An opaque command to generate a dataset.
     *
     * @generated from enum value: CMD = 2;
     */
    FlightDescriptor_DescriptorType[FlightDescriptor_DescriptorType["CMD"] = 2] = "CMD";
})(FlightDescriptor_DescriptorType || (FlightDescriptor_DescriptorType = {}));
/**
 * Describes the enum arrow.flight.protocol.FlightDescriptor.DescriptorType.
 */
export const FlightDescriptor_DescriptorTypeSchema = 
/*@__PURE__*/
enumDesc(file_Flight, 9, 0);
/**
 * Describes the message arrow.flight.protocol.FlightInfo.
 * Use `create(FlightInfoSchema)` to create a new message.
 */
export const FlightInfoSchema = /*@__PURE__*/ messageDesc(file_Flight, 10);
/**
 * Describes the message arrow.flight.protocol.PollInfo.
 * Use `create(PollInfoSchema)` to create a new message.
 */
export const PollInfoSchema = /*@__PURE__*/ messageDesc(file_Flight, 11);
/**
 * Describes the message arrow.flight.protocol.CancelFlightInfoRequest.
 * Use `create(CancelFlightInfoRequestSchema)` to create a new message.
 */
export const CancelFlightInfoRequestSchema = 
/*@__PURE__*/
messageDesc(file_Flight, 12);
/**
 * Describes the message arrow.flight.protocol.CancelFlightInfoResult.
 * Use `create(CancelFlightInfoResultSchema)` to create a new message.
 */
export const CancelFlightInfoResultSchema = 
/*@__PURE__*/
messageDesc(file_Flight, 13);
/**
 * Describes the message arrow.flight.protocol.Ticket.
 * Use `create(TicketSchema)` to create a new message.
 */
export const TicketSchema = /*@__PURE__*/ messageDesc(file_Flight, 14);
/**
 * Describes the message arrow.flight.protocol.Location.
 * Use `create(LocationSchema)` to create a new message.
 */
export const LocationSchema = /*@__PURE__*/ messageDesc(file_Flight, 15);
/**
 * Describes the message arrow.flight.protocol.FlightEndpoint.
 * Use `create(FlightEndpointSchema)` to create a new message.
 */
export const FlightEndpointSchema = /*@__PURE__*/ messageDesc(file_Flight, 16);
/**
 * Describes the message arrow.flight.protocol.RenewFlightEndpointRequest.
 * Use `create(RenewFlightEndpointRequestSchema)` to create a new message.
 */
export const RenewFlightEndpointRequestSchema = 
/*@__PURE__*/
messageDesc(file_Flight, 17);
/**
 * Describes the message arrow.flight.protocol.FlightData.
 * Use `create(FlightDataSchema)` to create a new message.
 */
export const FlightDataSchema = /*@__PURE__*/ messageDesc(file_Flight, 18);
/**
 * Describes the message arrow.flight.protocol.PutResult.
 * Use `create(PutResultSchema)` to create a new message.
 */
export const PutResultSchema = /*@__PURE__*/ messageDesc(file_Flight, 19);
/**
 * Describes the message arrow.flight.protocol.SessionOptionValue.
 * Use `create(SessionOptionValueSchema)` to create a new message.
 */
export const SessionOptionValueSchema = /*@__PURE__*/ messageDesc(file_Flight, 20);
/**
 * Describes the message arrow.flight.protocol.SessionOptionValue.StringListValue.
 * Use `create(SessionOptionValue_StringListValueSchema)` to create a new message.
 */
export const SessionOptionValue_StringListValueSchema = 
/*@__PURE__*/
messageDesc(file_Flight, 20, 0);
/**
 * Describes the message arrow.flight.protocol.SetSessionOptionsRequest.
 * Use `create(SetSessionOptionsRequestSchema)` to create a new message.
 */
export const SetSessionOptionsRequestSchema = 
/*@__PURE__*/
messageDesc(file_Flight, 21);
/**
 * Describes the message arrow.flight.protocol.SetSessionOptionsResult.
 * Use `create(SetSessionOptionsResultSchema)` to create a new message.
 */
export const SetSessionOptionsResultSchema = 
/*@__PURE__*/
messageDesc(file_Flight, 22);
/**
 * Describes the message arrow.flight.protocol.SetSessionOptionsResult.Error.
 * Use `create(SetSessionOptionsResult_ErrorSchema)` to create a new message.
 */
export const SetSessionOptionsResult_ErrorSchema = 
/*@__PURE__*/
messageDesc(file_Flight, 22, 0);
/**
 * @generated from enum arrow.flight.protocol.SetSessionOptionsResult.ErrorValue
 */
export var SetSessionOptionsResult_ErrorValue;
(function (SetSessionOptionsResult_ErrorValue) {
    /**
     * Protobuf deserialization fallback value: The status is unknown or unrecognized.
     * Servers should avoid using this value. The request may be retried by the client.
     *
     * @generated from enum value: UNSPECIFIED = 0;
     */
    SetSessionOptionsResult_ErrorValue[SetSessionOptionsResult_ErrorValue["UNSPECIFIED"] = 0] = "UNSPECIFIED";
    /**
     * The given session option name is invalid.
     *
     * @generated from enum value: INVALID_NAME = 1;
     */
    SetSessionOptionsResult_ErrorValue[SetSessionOptionsResult_ErrorValue["INVALID_NAME"] = 1] = "INVALID_NAME";
    /**
     * The session option value or type is invalid.
     *
     * @generated from enum value: INVALID_VALUE = 2;
     */
    SetSessionOptionsResult_ErrorValue[SetSessionOptionsResult_ErrorValue["INVALID_VALUE"] = 2] = "INVALID_VALUE";
    /**
     * The session option cannot be set.
     *
     * @generated from enum value: ERROR = 3;
     */
    SetSessionOptionsResult_ErrorValue[SetSessionOptionsResult_ErrorValue["ERROR"] = 3] = "ERROR";
})(SetSessionOptionsResult_ErrorValue || (SetSessionOptionsResult_ErrorValue = {}));
/**
 * Describes the enum arrow.flight.protocol.SetSessionOptionsResult.ErrorValue.
 */
export const SetSessionOptionsResult_ErrorValueSchema = 
/*@__PURE__*/
enumDesc(file_Flight, 22, 0);
/**
 * Describes the message arrow.flight.protocol.GetSessionOptionsRequest.
 * Use `create(GetSessionOptionsRequestSchema)` to create a new message.
 */
export const GetSessionOptionsRequestSchema = 
/*@__PURE__*/
messageDesc(file_Flight, 23);
/**
 * Describes the message arrow.flight.protocol.GetSessionOptionsResult.
 * Use `create(GetSessionOptionsResultSchema)` to create a new message.
 */
export const GetSessionOptionsResultSchema = 
/*@__PURE__*/
messageDesc(file_Flight, 24);
/**
 * Describes the message arrow.flight.protocol.CloseSessionRequest.
 * Use `create(CloseSessionRequestSchema)` to create a new message.
 */
export const CloseSessionRequestSchema = /*@__PURE__*/ messageDesc(file_Flight, 25);
/**
 * Describes the message arrow.flight.protocol.CloseSessionResult.
 * Use `create(CloseSessionResultSchema)` to create a new message.
 */
export const CloseSessionResultSchema = /*@__PURE__*/ messageDesc(file_Flight, 26);
/**
 * @generated from enum arrow.flight.protocol.CloseSessionResult.Status
 */
export var CloseSessionResult_Status;
(function (CloseSessionResult_Status) {
    /**
     * Protobuf deserialization fallback value: The session close status is unknown or
     * not recognized. Servers should avoid using this value (send a NOT_FOUND error if
     * the requested session is not known or expired). Clients can retry the request.
     *
     * @generated from enum value: UNSPECIFIED = 0;
     */
    CloseSessionResult_Status[CloseSessionResult_Status["UNSPECIFIED"] = 0] = "UNSPECIFIED";
    /**
     * The session close request is complete. Subsequent requests with
     * the same session produce a NOT_FOUND error.
     *
     * @generated from enum value: CLOSED = 1;
     */
    CloseSessionResult_Status[CloseSessionResult_Status["CLOSED"] = 1] = "CLOSED";
    /**
     * The session close request is in progress. The client may retry
     * the close request.
     *
     * @generated from enum value: CLOSING = 2;
     */
    CloseSessionResult_Status[CloseSessionResult_Status["CLOSING"] = 2] = "CLOSING";
    /**
     * The session is not closeable. The client should not retry the
     * close request.
     *
     * @generated from enum value: NOT_CLOSEABLE = 3;
     */
    CloseSessionResult_Status[CloseSessionResult_Status["NOT_CLOSEABLE"] = 3] = "NOT_CLOSEABLE";
})(CloseSessionResult_Status || (CloseSessionResult_Status = {}));
/**
 * Describes the enum arrow.flight.protocol.CloseSessionResult.Status.
 */
export const CloseSessionResult_StatusSchema = 
/*@__PURE__*/
enumDesc(file_Flight, 26, 0);
/**
 * The result of a cancel operation.
 *
 * This is used by CancelFlightInfoResult.status.
 *
 * @generated from enum arrow.flight.protocol.CancelStatus
 */
export var CancelStatus;
(function (CancelStatus) {
    /**
     * The cancellation status is unknown. Servers should avoid using
     * this value (send a NOT_FOUND error if the requested query is
     * not known). Clients can retry the request.
     *
     * @generated from enum value: CANCEL_STATUS_UNSPECIFIED = 0;
     */
    CancelStatus[CancelStatus["UNSPECIFIED"] = 0] = "UNSPECIFIED";
    /**
     * The cancellation request is complete. Subsequent requests with
     * the same payload may return CANCELLED or a NOT_FOUND error.
     *
     * @generated from enum value: CANCEL_STATUS_CANCELLED = 1;
     */
    CancelStatus[CancelStatus["CANCELLED"] = 1] = "CANCELLED";
    /**
     * The cancellation request is in progress. The client may retry
     * the cancellation request.
     *
     * @generated from enum value: CANCEL_STATUS_CANCELLING = 2;
     */
    CancelStatus[CancelStatus["CANCELLING"] = 2] = "CANCELLING";
    /**
     * The query is not cancellable. The client should not retry the
     * cancellation request.
     *
     * @generated from enum value: CANCEL_STATUS_NOT_CANCELLABLE = 3;
     */
    CancelStatus[CancelStatus["NOT_CANCELLABLE"] = 3] = "NOT_CANCELLABLE";
})(CancelStatus || (CancelStatus = {}));
/**
 * Describes the enum arrow.flight.protocol.CancelStatus.
 */
export const CancelStatusSchema = /*@__PURE__*/ enumDesc(file_Flight, 0);
/**
 * A flight service is an endpoint for retrieving or storing Arrow data. A
 * flight service can expose one or more predefined endpoints that can be
 * accessed using the Arrow Flight Protocol. Additionally, a flight service
 * can expose a set of actions that are available.
 *
 * @generated from service arrow.flight.protocol.FlightService
 */
export const FlightService = /*@__PURE__*/ serviceDesc(file_Flight, 0);
//# sourceMappingURL=Flight_pb.js.map