# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/oslogin_v1/proto/oslogin.proto

import sys

_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import client_pb2 as google_dot_api_dot_client__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
from google.cloud.oslogin_v1.proto import (
    common_pb2 as google_dot_cloud_dot_oslogin_dot_common_dot_common__pb2,
)
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
    name="google/cloud/oslogin_v1/proto/oslogin.proto",
    package="google.cloud.oslogin.v1",
    syntax="proto3",
    serialized_options=_b(
        "\n\033com.google.cloud.oslogin.v1B\014OsLoginProtoP\001Z>google.golang.org/genproto/googleapis/cloud/oslogin/v1;oslogin\252\002\027Google.Cloud.OsLogin.V1\312\002\027Google\\Cloud\\OsLogin\\V1"
    ),
    serialized_pb=_b(
        '\n+google/cloud/oslogin_v1/proto/oslogin.proto\x12\x17google.cloud.oslogin.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/oslogin/common/common.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto"\x98\x02\n\x0cLoginProfile\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x0eposix_accounts\x18\x02 \x03(\x0b\x32).google.cloud.oslogin.common.PosixAccount\x12Q\n\x0fssh_public_keys\x18\x03 \x03(\x0b\x32\x38.google.cloud.oslogin.v1.LoginProfile.SshPublicKeysEntry\x1a_\n\x12SshPublicKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKey:\x02\x38\x01"V\n\x19\x44\x65letePosixAccountRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/PosixAccount"V\n\x19\x44\x65leteSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey"z\n\x16GetLoginProfileRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#oslogin.googleapis.com/PosixAccount\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x11\n\tsystem_id\x18\x03 \x01(\t"S\n\x16GetSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey"\xb4\x01\n\x19ImportSshPublicKeyRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#oslogin.googleapis.com/SshPublicKey\x12\x46\n\x0essh_public_key\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKeyB\x03\xe0\x41\x01\x12\x12\n\nproject_id\x18\x03 \x01(\t"Z\n\x1aImportSshPublicKeyResponse\x12<\n\rlogin_profile\x18\x01 \x01(\x0b\x32%.google.cloud.oslogin.v1.LoginProfile"\xcf\x01\n\x19UpdateSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey\x12\x46\n\x0essh_public_key\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKeyB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask2\xd0\t\n\x0eOsLoginService\x12\x8e\x01\n\x12\x44\x65letePosixAccount\x12\x32.google.cloud.oslogin.v1.DeletePosixAccountRequest\x1a\x16.google.protobuf.Empty",\x82\xd3\xe4\x93\x02\x1f*\x1d/v1/{name=users/*/projects/*}\xda\x41\x04name\x12\x93\x01\n\x12\x44\x65leteSshPublicKey\x12\x32.google.cloud.oslogin.v1.DeleteSshPublicKeyRequest\x1a\x16.google.protobuf.Empty"1\x82\xd3\xe4\x93\x02$*"/v1/{name=users/*/sshPublicKeys/*}\xda\x41\x04name\x12\x99\x01\n\x0fGetLoginProfile\x12/.google.cloud.oslogin.v1.GetLoginProfileRequest\x1a%.google.cloud.oslogin.v1.LoginProfile".\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{name=users/*}/loginProfile\xda\x41\x04name\x12\xa0\x01\n\x0fGetSshPublicKey\x12/.google.cloud.oslogin.v1.GetSshPublicKeyRequest\x1a).google.cloud.oslogin.common.SshPublicKey"1\x82\xd3\xe4\x93\x02$\x12"/v1/{name=users/*/sshPublicKeys/*}\xda\x41\x04name\x12\xf9\x01\n\x12ImportSshPublicKey\x12\x32.google.cloud.oslogin.v1.ImportSshPublicKeyRequest\x1a\x33.google.cloud.oslogin.v1.ImportSshPublicKeyResponse"z\x82\xd3\xe4\x93\x02\x39"\'/v1/{parent=users/*}:importSshPublicKey:\x0essh_public_key\xda\x41\x15parent,ssh_public_key\xda\x41 parent,ssh_public_key,project_id\x12\xe7\x01\n\x12UpdateSshPublicKey\x12\x32.google.cloud.oslogin.v1.UpdateSshPublicKeyRequest\x1a).google.cloud.oslogin.common.SshPublicKey"r\x82\xd3\xe4\x93\x02\x34\x32"/v1/{name=users/*/sshPublicKeys/*}:\x0essh_public_key\xda\x41\x13name,ssh_public_key\xda\x41\x1fname,ssh_public_key,update_mask\x1ar\xca\x41\x16oslogin.googleapis.com\xd2\x41Vhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/computeB\xa1\x01\n\x1b\x63om.google.cloud.oslogin.v1B\x0cOsLoginProtoP\x01Z>google.golang.org/genproto/googleapis/cloud/oslogin/v1;oslogin\xaa\x02\x17Google.Cloud.OsLogin.V1\xca\x02\x17Google\\Cloud\\OsLogin\\V1b\x06proto3'
    ),
    dependencies=[
        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
        google_dot_api_dot_client__pb2.DESCRIPTOR,
        google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,
        google_dot_api_dot_resource__pb2.DESCRIPTOR,
        google_dot_cloud_dot_oslogin_dot_common_dot_common__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,
    ],
)


_LOGINPROFILE_SSHPUBLICKEYSENTRY = _descriptor.Descriptor(
    name="SshPublicKeysEntry",
    full_name="google.cloud.oslogin.v1.LoginProfile.SshPublicKeysEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.oslogin.v1.LoginProfile.SshPublicKeysEntry.key",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="value",
            full_name="google.cloud.oslogin.v1.LoginProfile.SshPublicKeysEntry.value",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=_b("8\001"),
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=478,
    serialized_end=573,
)

_LOGINPROFILE = _descriptor.Descriptor(
    name="LoginProfile",
    full_name="google.cloud.oslogin.v1.LoginProfile",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.oslogin.v1.LoginProfile.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="posix_accounts",
            full_name="google.cloud.oslogin.v1.LoginProfile.posix_accounts",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="ssh_public_keys",
            full_name="google.cloud.oslogin.v1.LoginProfile.ssh_public_keys",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[_LOGINPROFILE_SSHPUBLICKEYSENTRY],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=293,
    serialized_end=573,
)


_DELETEPOSIXACCOUNTREQUEST = _descriptor.Descriptor(
    name="DeletePosixAccountRequest",
    full_name="google.cloud.oslogin.v1.DeletePosixAccountRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.oslogin.v1.DeletePosixAccountRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A%\n#oslogin.googleapis.com/PosixAccount"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=575,
    serialized_end=661,
)


_DELETESSHPUBLICKEYREQUEST = _descriptor.Descriptor(
    name="DeleteSshPublicKeyRequest",
    full_name="google.cloud.oslogin.v1.DeleteSshPublicKeyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.oslogin.v1.DeleteSshPublicKeyRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A%\n#oslogin.googleapis.com/SshPublicKey"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=663,
    serialized_end=749,
)


_GETLOGINPROFILEREQUEST = _descriptor.Descriptor(
    name="GetLoginProfileRequest",
    full_name="google.cloud.oslogin.v1.GetLoginProfileRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.oslogin.v1.GetLoginProfileRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A%\022#oslogin.googleapis.com/PosixAccount"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.oslogin.v1.GetLoginProfileRequest.project_id",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="system_id",
            full_name="google.cloud.oslogin.v1.GetLoginProfileRequest.system_id",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=751,
    serialized_end=873,
)


_GETSSHPUBLICKEYREQUEST = _descriptor.Descriptor(
    name="GetSshPublicKeyRequest",
    full_name="google.cloud.oslogin.v1.GetSshPublicKeyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.oslogin.v1.GetSshPublicKeyRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A%\n#oslogin.googleapis.com/SshPublicKey"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=875,
    serialized_end=958,
)


_IMPORTSSHPUBLICKEYREQUEST = _descriptor.Descriptor(
    name="ImportSshPublicKeyRequest",
    full_name="google.cloud.oslogin.v1.ImportSshPublicKeyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.oslogin.v1.ImportSshPublicKeyRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A%\022#oslogin.googleapis.com/SshPublicKey"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="ssh_public_key",
            full_name="google.cloud.oslogin.v1.ImportSshPublicKeyRequest.ssh_public_key",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.oslogin.v1.ImportSshPublicKeyRequest.project_id",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=961,
    serialized_end=1141,
)


_IMPORTSSHPUBLICKEYRESPONSE = _descriptor.Descriptor(
    name="ImportSshPublicKeyResponse",
    full_name="google.cloud.oslogin.v1.ImportSshPublicKeyResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="login_profile",
            full_name="google.cloud.oslogin.v1.ImportSshPublicKeyResponse.login_profile",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1143,
    serialized_end=1233,
)


_UPDATESSHPUBLICKEYREQUEST = _descriptor.Descriptor(
    name="UpdateSshPublicKeyRequest",
    full_name="google.cloud.oslogin.v1.UpdateSshPublicKeyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.oslogin.v1.UpdateSshPublicKeyRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A%\n#oslogin.googleapis.com/SshPublicKey"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="ssh_public_key",
            full_name="google.cloud.oslogin.v1.UpdateSshPublicKeyRequest.ssh_public_key",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="update_mask",
            full_name="google.cloud.oslogin.v1.UpdateSshPublicKeyRequest.update_mask",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1236,
    serialized_end=1443,
)

_LOGINPROFILE_SSHPUBLICKEYSENTRY.fields_by_name[
    "value"
].message_type = google_dot_cloud_dot_oslogin_dot_common_dot_common__pb2._SSHPUBLICKEY
_LOGINPROFILE_SSHPUBLICKEYSENTRY.containing_type = _LOGINPROFILE
_LOGINPROFILE.fields_by_name[
    "posix_accounts"
].message_type = google_dot_cloud_dot_oslogin_dot_common_dot_common__pb2._POSIXACCOUNT
_LOGINPROFILE.fields_by_name[
    "ssh_public_keys"
].message_type = _LOGINPROFILE_SSHPUBLICKEYSENTRY
_IMPORTSSHPUBLICKEYREQUEST.fields_by_name[
    "ssh_public_key"
].message_type = google_dot_cloud_dot_oslogin_dot_common_dot_common__pb2._SSHPUBLICKEY
_IMPORTSSHPUBLICKEYRESPONSE.fields_by_name["login_profile"].message_type = _LOGINPROFILE
_UPDATESSHPUBLICKEYREQUEST.fields_by_name[
    "ssh_public_key"
].message_type = google_dot_cloud_dot_oslogin_dot_common_dot_common__pb2._SSHPUBLICKEY
_UPDATESSHPUBLICKEYREQUEST.fields_by_name[
    "update_mask"
].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK
DESCRIPTOR.message_types_by_name["LoginProfile"] = _LOGINPROFILE
DESCRIPTOR.message_types_by_name[
    "DeletePosixAccountRequest"
] = _DELETEPOSIXACCOUNTREQUEST
DESCRIPTOR.message_types_by_name[
    "DeleteSshPublicKeyRequest"
] = _DELETESSHPUBLICKEYREQUEST
DESCRIPTOR.message_types_by_name["GetLoginProfileRequest"] = _GETLOGINPROFILEREQUEST
DESCRIPTOR.message_types_by_name["GetSshPublicKeyRequest"] = _GETSSHPUBLICKEYREQUEST
DESCRIPTOR.message_types_by_name[
    "ImportSshPublicKeyRequest"
] = _IMPORTSSHPUBLICKEYREQUEST
DESCRIPTOR.message_types_by_name[
    "ImportSshPublicKeyResponse"
] = _IMPORTSSHPUBLICKEYRESPONSE
DESCRIPTOR.message_types_by_name[
    "UpdateSshPublicKeyRequest"
] = _UPDATESSHPUBLICKEYREQUEST
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

LoginProfile = _reflection.GeneratedProtocolMessageType(
    "LoginProfile",
    (_message.Message,),
    dict(
        SshPublicKeysEntry=_reflection.GeneratedProtocolMessageType(
            "SshPublicKeysEntry",
            (_message.Message,),
            dict(
                DESCRIPTOR=_LOGINPROFILE_SSHPUBLICKEYSENTRY,
                __module__="google.cloud.oslogin_v1.proto.oslogin_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.oslogin.v1.LoginProfile.SshPublicKeysEntry)
            ),
        ),
        DESCRIPTOR=_LOGINPROFILE,
        __module__="google.cloud.oslogin_v1.proto.oslogin_pb2",
        __doc__="""The user profile information used for logging in to a virtual machine on
  Google Compute Engine.
  
  
  Attributes:
      name:
          Required. A unique user ID.
      posix_accounts:
          The list of POSIX accounts associated with the user.
      ssh_public_keys:
          A map from SSH public key fingerprint to the associated key
          object.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.oslogin.v1.LoginProfile)
    ),
)
_sym_db.RegisterMessage(LoginProfile)
_sym_db.RegisterMessage(LoginProfile.SshPublicKeysEntry)

DeletePosixAccountRequest = _reflection.GeneratedProtocolMessageType(
    "DeletePosixAccountRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DELETEPOSIXACCOUNTREQUEST,
        __module__="google.cloud.oslogin_v1.proto.oslogin_pb2",
        __doc__="""A request message for deleting a POSIX account entry.
  
  
  Attributes:
      name:
          Required. A reference to the POSIX account to update. POSIX
          accounts are identified by the project ID they are associated
          with. A reference to the POSIX account is in format
          ``users/{user}/projects/{project}``.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.oslogin.v1.DeletePosixAccountRequest)
    ),
)
_sym_db.RegisterMessage(DeletePosixAccountRequest)

DeleteSshPublicKeyRequest = _reflection.GeneratedProtocolMessageType(
    "DeleteSshPublicKeyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DELETESSHPUBLICKEYREQUEST,
        __module__="google.cloud.oslogin_v1.proto.oslogin_pb2",
        __doc__="""A request message for deleting an SSH public key.
  
  
  Attributes:
      name:
          Required. The fingerprint of the public key to update. Public
          keys are identified by their SHA-256 fingerprint. The
          fingerprint of the public key is in format
          ``users/{user}/sshPublicKeys/{fingerprint}``.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.oslogin.v1.DeleteSshPublicKeyRequest)
    ),
)
_sym_db.RegisterMessage(DeleteSshPublicKeyRequest)

GetLoginProfileRequest = _reflection.GeneratedProtocolMessageType(
    "GetLoginProfileRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETLOGINPROFILEREQUEST,
        __module__="google.cloud.oslogin_v1.proto.oslogin_pb2",
        __doc__="""A request message for retrieving the login profile information for a
  user.
  
  
  Attributes:
      name:
          Required. The unique ID for the user in format
          ``users/{user}``.
      project_id:
          The project ID of the Google Cloud Platform project.
      system_id:
          A system ID for filtering the results of the request.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.oslogin.v1.GetLoginProfileRequest)
    ),
)
_sym_db.RegisterMessage(GetLoginProfileRequest)

GetSshPublicKeyRequest = _reflection.GeneratedProtocolMessageType(
    "GetSshPublicKeyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETSSHPUBLICKEYREQUEST,
        __module__="google.cloud.oslogin_v1.proto.oslogin_pb2",
        __doc__="""A request message for retrieving an SSH public key.
  
  
  Attributes:
      name:
          Required. The fingerprint of the public key to retrieve.
          Public keys are identified by their SHA-256 fingerprint. The
          fingerprint of the public key is in format
          ``users/{user}/sshPublicKeys/{fingerprint}``.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.oslogin.v1.GetSshPublicKeyRequest)
    ),
)
_sym_db.RegisterMessage(GetSshPublicKeyRequest)

ImportSshPublicKeyRequest = _reflection.GeneratedProtocolMessageType(
    "ImportSshPublicKeyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_IMPORTSSHPUBLICKEYREQUEST,
        __module__="google.cloud.oslogin_v1.proto.oslogin_pb2",
        __doc__="""A request message for importing an SSH public key.
  
  
  Attributes:
      parent:
          Required. The unique ID for the user in format
          ``users/{user}``.
      ssh_public_key:
          Optional. The SSH public key and expiration time.
      project_id:
          The project ID of the Google Cloud Platform project.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.oslogin.v1.ImportSshPublicKeyRequest)
    ),
)
_sym_db.RegisterMessage(ImportSshPublicKeyRequest)

ImportSshPublicKeyResponse = _reflection.GeneratedProtocolMessageType(
    "ImportSshPublicKeyResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_IMPORTSSHPUBLICKEYRESPONSE,
        __module__="google.cloud.oslogin_v1.proto.oslogin_pb2",
        __doc__="""A response message for importing an SSH public key.
  
  
  Attributes:
      login_profile:
          The login profile information for the user.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.oslogin.v1.ImportSshPublicKeyResponse)
    ),
)
_sym_db.RegisterMessage(ImportSshPublicKeyResponse)

UpdateSshPublicKeyRequest = _reflection.GeneratedProtocolMessageType(
    "UpdateSshPublicKeyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_UPDATESSHPUBLICKEYREQUEST,
        __module__="google.cloud.oslogin_v1.proto.oslogin_pb2",
        __doc__="""A request message for updating an SSH public key.
  
  
  Attributes:
      name:
          Required. The fingerprint of the public key to update. Public
          keys are identified by their SHA-256 fingerprint. The
          fingerprint of the public key is in format
          ``users/{user}/sshPublicKeys/{fingerprint}``.
      ssh_public_key:
          Required. The SSH public key and expiration time.
      update_mask:
          Mask to control which fields get updated. Updates all if not
          present.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.oslogin.v1.UpdateSshPublicKeyRequest)
    ),
)
_sym_db.RegisterMessage(UpdateSshPublicKeyRequest)


DESCRIPTOR._options = None
_LOGINPROFILE_SSHPUBLICKEYSENTRY._options = None
_LOGINPROFILE.fields_by_name["name"]._options = None
_DELETEPOSIXACCOUNTREQUEST.fields_by_name["name"]._options = None
_DELETESSHPUBLICKEYREQUEST.fields_by_name["name"]._options = None
_GETLOGINPROFILEREQUEST.fields_by_name["name"]._options = None
_GETSSHPUBLICKEYREQUEST.fields_by_name["name"]._options = None
_IMPORTSSHPUBLICKEYREQUEST.fields_by_name["parent"]._options = None
_IMPORTSSHPUBLICKEYREQUEST.fields_by_name["ssh_public_key"]._options = None
_UPDATESSHPUBLICKEYREQUEST.fields_by_name["name"]._options = None
_UPDATESSHPUBLICKEYREQUEST.fields_by_name["ssh_public_key"]._options = None

_OSLOGINSERVICE = _descriptor.ServiceDescriptor(
    name="OsLoginService",
    full_name="google.cloud.oslogin.v1.OsLoginService",
    file=DESCRIPTOR,
    index=0,
    serialized_options=_b(
        "\312A\026oslogin.googleapis.com\322AVhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/compute"
    ),
    serialized_start=1446,
    serialized_end=2678,
    methods=[
        _descriptor.MethodDescriptor(
            name="DeletePosixAccount",
            full_name="google.cloud.oslogin.v1.OsLoginService.DeletePosixAccount",
            index=0,
            containing_service=None,
            input_type=_DELETEPOSIXACCOUNTREQUEST,
            output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
            serialized_options=_b(
                "\202\323\344\223\002\037*\035/v1/{name=users/*/projects/*}\332A\004name"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="DeleteSshPublicKey",
            full_name="google.cloud.oslogin.v1.OsLoginService.DeleteSshPublicKey",
            index=1,
            containing_service=None,
            input_type=_DELETESSHPUBLICKEYREQUEST,
            output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
            serialized_options=_b(
                '\202\323\344\223\002$*"/v1/{name=users/*/sshPublicKeys/*}\332A\004name'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetLoginProfile",
            full_name="google.cloud.oslogin.v1.OsLoginService.GetLoginProfile",
            index=2,
            containing_service=None,
            input_type=_GETLOGINPROFILEREQUEST,
            output_type=_LOGINPROFILE,
            serialized_options=_b(
                "\202\323\344\223\002!\022\037/v1/{name=users/*}/loginProfile\332A\004name"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetSshPublicKey",
            full_name="google.cloud.oslogin.v1.OsLoginService.GetSshPublicKey",
            index=3,
            containing_service=None,
            input_type=_GETSSHPUBLICKEYREQUEST,
            output_type=google_dot_cloud_dot_oslogin_dot_common_dot_common__pb2._SSHPUBLICKEY,
            serialized_options=_b(
                '\202\323\344\223\002$\022"/v1/{name=users/*/sshPublicKeys/*}\332A\004name'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="ImportSshPublicKey",
            full_name="google.cloud.oslogin.v1.OsLoginService.ImportSshPublicKey",
            index=4,
            containing_service=None,
            input_type=_IMPORTSSHPUBLICKEYREQUEST,
            output_type=_IMPORTSSHPUBLICKEYRESPONSE,
            serialized_options=_b(
                "\202\323\344\223\0029\"'/v1/{parent=users/*}:importSshPublicKey:\016ssh_public_key\332A\025parent,ssh_public_key\332A parent,ssh_public_key,project_id"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="UpdateSshPublicKey",
            full_name="google.cloud.oslogin.v1.OsLoginService.UpdateSshPublicKey",
            index=5,
            containing_service=None,
            input_type=_UPDATESSHPUBLICKEYREQUEST,
            output_type=google_dot_cloud_dot_oslogin_dot_common_dot_common__pb2._SSHPUBLICKEY,
            serialized_options=_b(
                '\202\323\344\223\00242"/v1/{name=users/*/sshPublicKeys/*}:\016ssh_public_key\332A\023name,ssh_public_key\332A\037name,ssh_public_key,update_mask'
            ),
        ),
    ],
)
_sym_db.RegisterServiceDescriptor(_OSLOGINSERVICE)

DESCRIPTOR.services_by_name["OsLoginService"] = _OSLOGINSERVICE

# @@protoc_insertion_point(module_scope)
