from typing import (
    Any,
    Callable,
    ClassVar,
    Dict,
    Iterable,
    List,
    Optional,
    Sequence,
    Tuple,
    Union,
)

import grpc
from google.api_core.client_options import ClientOptions  # type: ignore
from google.api_core.gapic_v1.client_info import ClientInfo  # type: ignore
from google.api_core.retry import Retry  # type: ignore
from google.auth.credentials import Credentials  # type: ignore
from google.oauth2 import service_account as service_account  # type: ignore

from google.ads.google_ads.v5.proto.services import (
    product_bidding_category_constant_service_pb2 as product_bidding_category_constant_service_pb2,
)
from google.ads.google_ads.v5.services import (
    product_bidding_category_constant_service_client_config as product_bidding_category_constant_service_client_config,
)
from google.ads.google_ads.v5.services.transports import (
    product_bidding_category_constant_service_grpc_transport as product_bidding_category_constant_service_grpc_transport,
)
from google.ads.google_ads.v5.types import ProductBiddingCategoryConstant

class ProductBiddingCategoryConstantServiceClient:
    SERVICE_ADDRESS: ClassVar[str] = ...
    @classmethod
    def from_service_account_file(
        cls, filename: str, *args: Any, **kwargs: Any
    ) -> ProductBiddingCategoryConstantServiceClient: ...
    @classmethod
    def from_service_account_json(
        cls, filename: str, *args: Any, **kwargs: Any
    ) -> ProductBiddingCategoryConstantServiceClient: ...
    @classmethod
    def product_bidding_category_constant_path(
        cls, product_bidding_category_constant: Any
    ) -> str: ...
    transport: Union[
        product_bidding_category_constant_service_grpc_transport.ProductBiddingCategoryConstantServiceGrpcTransport,
        Callable[
            [Credentials, type],
            product_bidding_category_constant_service_grpc_transport.ProductBiddingCategoryConstantServiceGrpcTransport,
        ],
    ] = ...
    def __init__(
        self,
        transport: Optional[
            Union[
                product_bidding_category_constant_service_grpc_transport.ProductBiddingCategoryConstantServiceGrpcTransport,
                Callable[
                    [Credentials, type],
                    product_bidding_category_constant_service_grpc_transport.ProductBiddingCategoryConstantServiceGrpcTransport,
                ],
            ]
        ] = ...,
        channel: Optional[grpc.Channel] = ...,
        credentials: Optional[Credentials] = ...,
        client_config: Optional[Dict[str, Any]] = ...,
        client_info: Optional[ClientInfo] = ...,
        client_options: Optional[Union[Dict[str, Any], ClientOptions]] = ...,
    ) -> None: ...
    def get_product_bidding_category_constant(
        self,
        resource_name: str,
        retry: Optional[Retry] = ...,
        timeout: Optional[float] = ...,
        metadata: Optional[Sequence[Tuple[str, str]]] = ...,
    ) -> ProductBiddingCategoryConstant: ...
