# Path: google/cloud/servicedirectory_v1beta1/types/endpoint.py
# class Endpoint(proto.Message):
# 
# Path: google/cloud/servicedirectory_v1beta1/types/namespace.py
# class Namespace(proto.Message):
# 
# Path: google/cloud/servicedirectory_v1beta1/types/service.py
# class Service(proto.Message):


import proto  # type: ignore
from google.cloud.servicedirectory_v1beta1.types import endpoint as gcs_endpoint
from google.cloud.servicedirectory_v1beta1.types import namespace as gcs_namespace
from google.cloud.servicedirectory_v1beta1.types import service as gcs_service
from google.protobuf import field_mask_pb2  # type: ignore
    Attributes:
        name (str):
            Required. The name of the service to delete.
    """

    name = proto.Field(proto.STRING, number=1,)


class CreateEndpointRequest(proto.Message):
    r"""The request message for
    [RegistrationService.CreateEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.CreateEndpoint].

    Attributes:
        parent (str):
            Required. The resource name of the service
            that this endpoint provides.
        endpoint_id (str):
            Required. The Resource ID must be 1-63 characters long, and
            comply with RFC1035. Specifically, the name must be 1-63
            characters long and match the regular expression
            ``[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?`` which means the first
            character must be a lowercase letter, and all following
            characters must be a dash, lowercase letter, or digit,
            except the last character, which cannot be a dash.
        endpoint (google.cloud.servicedirectory_v1beta1.types.Endpoint):
            Required. A endpoint with initial fields set.
    """

    parent = proto.Field(proto.STRING, number=1,)
    endpoint_id = proto.Field(proto.STRING, number=2,)

# Path: google/cloud/servicedirectory_v1beta1/types/endpoint.py
# class Endpoint(proto.Message):
# 
# Path: google/cloud/servicedirectory_v1beta1/types/namespace.py
# class Namespace(proto.Message):
# 
# Path: google/cloud/servicedirectory_v1beta1/types/service.py
# class Service(proto.Message):


# Path: google/cloud/servicedirectory_v1beta1/types/registration_service.py
import proto  # type: ignore
from google.cloud.servicedirectory_v1beta1.types import endpoint as gcs_endpoint
from google.cloud.servicedirectory_v1beta1.types import namespace as gcs_namespace
from google.cloud.servicedirectory_v1beta1.types import service as gcs_service
from google.protobuf import field_mask_pb2  # type: ignore

    Attributes:
        name (str):
            Required. The name of the service to delete.
    """

    name = proto.Field(proto.STRING, number=1,)


class CreateEndpointRequest(proto.Message):
    r"""The request message for
    [RegistrationService.CreateEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.CreateEndpoint].

    Attributes:
        parent (str):
            Required. The resource name of the service
            that this endpoint provides.
        endpoint_id (str):
            Required. The Resource ID must be 1-63 characters long, and
            comply with RFC1035. Specifically, the name must be 1-63
            characters long and match the regular expression
            ``[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?`` which means the first
            character must be a lowercase letter, and all following
            characters must be a dash, lowercase letter, or digit,
            except the last character, which cannot be a dash.
        endpoint (google.cloud.servicedirectory_v1beta1.types.Endpoint):
            Required. A endpoint with initial fields set.
    """

    parent = proto.Field(proto.STRING, number=1,)
    endpoint_id = proto.Field(proto.STRING, number=2,)

    endpoint = proto.Field(proto.MESSAGE, number=3, message=gcs_endpoint.Endpoint,)