Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
locations_pb2.pyi97 linesDownload Raw Back to location
1# Copyright 2025 Google LLC2#3# Licensed under the Apache License, Version 2.0 (the "License");4# you may not use this file except in compliance with the License.5# You may obtain a copy of the License at6#7#     http://www.apache.org/licenses/LICENSE-2.08#9# Unless required by applicable law or agreed to in writing, software10# distributed under the License is distributed on an "AS IS" BASIS,11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12# See the License for the specific language governing permissions and13# limitations under the License.14 15from typing import ClassVar as _ClassVar16from typing import Iterable as _Iterable17from typing import Mapping as _Mapping18from typing import Optional as _Optional19from typing import Union as _Union20 21from google.protobuf import any_pb2 as _any_pb222from google.protobuf import descriptor as _descriptor23from google.protobuf import message as _message24from google.protobuf.internal import containers as _containers25 26from google.api import annotations_pb2 as _annotations_pb227from google.api import client_pb2 as _client_pb228 29DESCRIPTOR: _descriptor.FileDescriptor30 31class ListLocationsRequest(_message.Message):32    __slots__ = ("name", "filter", "page_size", "page_token")33    NAME_FIELD_NUMBER: _ClassVar[int]34    FILTER_FIELD_NUMBER: _ClassVar[int]35    PAGE_SIZE_FIELD_NUMBER: _ClassVar[int]36    PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int]37    name: str38    filter: str39    page_size: int40    page_token: str41    def __init__(42        self,43        name: _Optional[str] = ...,44        filter: _Optional[str] = ...,45        page_size: _Optional[int] = ...,46        page_token: _Optional[str] = ...,47    ) -> None: ...48 49class ListLocationsResponse(_message.Message):50    __slots__ = ("locations", "next_page_token")51    LOCATIONS_FIELD_NUMBER: _ClassVar[int]52    NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int]53    locations: _containers.RepeatedCompositeFieldContainer[Location]54    next_page_token: str55    def __init__(56        self,57        locations: _Optional[_Iterable[_Union[Location, _Mapping]]] = ...,58        next_page_token: _Optional[str] = ...,59    ) -> None: ...60 61class GetLocationRequest(_message.Message):62    __slots__ = ("name",)63    NAME_FIELD_NUMBER: _ClassVar[int]64    name: str65    def __init__(self, name: _Optional[str] = ...) -> None: ...66 67class Location(_message.Message):68    __slots__ = ("name", "location_id", "display_name", "labels", "metadata")69    class LabelsEntry(_message.Message):70        __slots__ = ("key", "value")71        KEY_FIELD_NUMBER: _ClassVar[int]72        VALUE_FIELD_NUMBER: _ClassVar[int]73        key: str74        value: str75        def __init__(76            self, key: _Optional[str] = ..., value: _Optional[str] = ...77        ) -> None: ...78 79    NAME_FIELD_NUMBER: _ClassVar[int]80    LOCATION_ID_FIELD_NUMBER: _ClassVar[int]81    DISPLAY_NAME_FIELD_NUMBER: _ClassVar[int]82    LABELS_FIELD_NUMBER: _ClassVar[int]83    METADATA_FIELD_NUMBER: _ClassVar[int]84    name: str85    location_id: str86    display_name: str87    labels: _containers.ScalarMap[str, str]88    metadata: _any_pb2.Any89    def __init__(90        self,91        name: _Optional[str] = ...,92        location_id: _Optional[str] = ...,93        display_name: _Optional[str] = ...,94        labels: _Optional[_Mapping[str, str]] = ...,95        metadata: _Optional[_Union[_any_pb2.Any, _Mapping]] = ...,96    ) -> None: ...97 
codekingpro/portable-devtools · Team Ai