import { ServiceType } from "@protobuf-ts/runtime-rpc";
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { Status } from "../../google/rpc/status";
import { AdGroupAdLabel } from "../resources/ad_group_ad_label";
/**
 * Request message for [AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v11.services.AdGroupAdLabelService.MutateAdGroupAdLabels].
 *
 * @generated from protobuf message google.ads.googleads.v11.services.MutateAdGroupAdLabelsRequest
 */
export interface MutateAdGroupAdLabelsRequest {
    /**
     * Required. ID of the customer whose ad group ad labels are being modified.
     *
     * @generated from protobuf field: string customer_id = 1;
     */
    customerId: string;
    /**
     * Required. The list of operations to perform on ad group ad labels.
     *
     * @generated from protobuf field: repeated google.ads.googleads.v11.services.AdGroupAdLabelOperation operations = 2;
     */
    operations: AdGroupAdLabelOperation[];
    /**
     * If true, successful operations will be carried out and invalid
     * operations will return errors. If false, all operations will be carried
     * out in one transaction if and only if they are all valid.
     * Default is false.
     *
     * @generated from protobuf field: bool partial_failure = 3;
     */
    partialFailure: boolean;
    /**
     * If true, the request is validated but not executed. Only errors are
     * returned, not results.
     *
     * @generated from protobuf field: bool validate_only = 4;
     */
    validateOnly: boolean;
}
/**
 * A single operation (create, remove) on an ad group ad label.
 *
 * @generated from protobuf message google.ads.googleads.v11.services.AdGroupAdLabelOperation
 */
export interface AdGroupAdLabelOperation {
    /**
     * @generated from protobuf oneof: operation
     */
    operation: {
        oneofKind: "create";
        /**
         * Create operation: No resource name is expected for the new ad group ad
         * label.
         *
         * @generated from protobuf field: google.ads.googleads.v11.resources.AdGroupAdLabel create = 1;
         */
        create: AdGroupAdLabel;
    } | {
        oneofKind: "remove";
        /**
         * Remove operation: A resource name for the ad group ad label
         * being removed, in this format:
         *
         * `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}_{label_id}`
         *
         * @generated from protobuf field: string remove = 2;
         */
        remove: string;
    } | {
        oneofKind: undefined;
    };
}
/**
 * Response message for an ad group ad labels mutate.
 *
 * @generated from protobuf message google.ads.googleads.v11.services.MutateAdGroupAdLabelsResponse
 */
export interface MutateAdGroupAdLabelsResponse {
    /**
     * Errors that pertain to operation failures in the partial failure mode.
     * Returned only when partial_failure = true and all errors occur inside the
     * operations. If any errors occur outside the operations (for example, auth
     * errors), we return an RPC level error.
     *
     * @generated from protobuf field: google.rpc.Status partial_failure_error = 3;
     */
    partialFailureError?: Status;
    /**
     * All results for the mutate.
     *
     * @generated from protobuf field: repeated google.ads.googleads.v11.services.MutateAdGroupAdLabelResult results = 2;
     */
    results: MutateAdGroupAdLabelResult[];
}
/**
 * The result for an ad group ad label mutate.
 *
 * @generated from protobuf message google.ads.googleads.v11.services.MutateAdGroupAdLabelResult
 */
export interface MutateAdGroupAdLabelResult {
    /**
     * Returned for successful operations.
     *
     * @generated from protobuf field: string resource_name = 1;
     */
    resourceName: string;
}
declare class MutateAdGroupAdLabelsRequest$Type extends MessageType<MutateAdGroupAdLabelsRequest> {
    constructor();
    create(value?: PartialMessage<MutateAdGroupAdLabelsRequest>): MutateAdGroupAdLabelsRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MutateAdGroupAdLabelsRequest): MutateAdGroupAdLabelsRequest;
    internalBinaryWrite(message: MutateAdGroupAdLabelsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message google.ads.googleads.v11.services.MutateAdGroupAdLabelsRequest
 */
export declare const MutateAdGroupAdLabelsRequest: MutateAdGroupAdLabelsRequest$Type;
declare class AdGroupAdLabelOperation$Type extends MessageType<AdGroupAdLabelOperation> {
    constructor();
    create(value?: PartialMessage<AdGroupAdLabelOperation>): AdGroupAdLabelOperation;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdGroupAdLabelOperation): AdGroupAdLabelOperation;
    internalBinaryWrite(message: AdGroupAdLabelOperation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message google.ads.googleads.v11.services.AdGroupAdLabelOperation
 */
export declare const AdGroupAdLabelOperation: AdGroupAdLabelOperation$Type;
declare class MutateAdGroupAdLabelsResponse$Type extends MessageType<MutateAdGroupAdLabelsResponse> {
    constructor();
    create(value?: PartialMessage<MutateAdGroupAdLabelsResponse>): MutateAdGroupAdLabelsResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MutateAdGroupAdLabelsResponse): MutateAdGroupAdLabelsResponse;
    internalBinaryWrite(message: MutateAdGroupAdLabelsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message google.ads.googleads.v11.services.MutateAdGroupAdLabelsResponse
 */
export declare const MutateAdGroupAdLabelsResponse: MutateAdGroupAdLabelsResponse$Type;
declare class MutateAdGroupAdLabelResult$Type extends MessageType<MutateAdGroupAdLabelResult> {
    constructor();
    create(value?: PartialMessage<MutateAdGroupAdLabelResult>): MutateAdGroupAdLabelResult;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MutateAdGroupAdLabelResult): MutateAdGroupAdLabelResult;
    internalBinaryWrite(message: MutateAdGroupAdLabelResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message google.ads.googleads.v11.services.MutateAdGroupAdLabelResult
 */
export declare const MutateAdGroupAdLabelResult: MutateAdGroupAdLabelResult$Type;
/**
 * @generated ServiceType for protobuf service google.ads.googleads.v11.services.AdGroupAdLabelService
 */
export declare const AdGroupAdLabelService: ServiceType;
export {};
