# Generated by the protocol buffer compiler.  DO NOT EDIT!
# sources: services/options/field-options.proto
# plugin: python-betterproto
from dataclasses import dataclass

import betterproto
from betterproto.grpc.grpclib_server import ServiceBase


@dataclass(eq=False, repr=False)
class AnnotationOption(betterproto.Message):
    active: bool = betterproto.bool_field(1)
    """Is this annotation active"""

    message: str = betterproto.string_field(2)
    """Custom annotation message to provide"""


@dataclass(eq=False, repr=False)
class SdkTemplateOption(betterproto.Message):
    anonymous: bool = betterproto.bool_field(1)
    """
    Whether the service endpoint allows anonymous (no auth token necessary)
    authentication This is used by the `protoc-gen-dentity-sdk` plugin for
    metadata.
    """

    ignore: bool = betterproto.bool_field(2)
    """
    Whether the SDK template generator should ignore this method. This method
    will be wrapped manually.
    """

    no_arguments: bool = betterproto.bool_field(3)
    """
    Whether the SDK template generator should generate this method without
    arguments, eg ProviderService.GetEcosystemInfo() where the request object
    is empty
    """

    experimental: "AnnotationOption" = betterproto.message_field(4)
    """
    This endpoint is experimental. Consider it in beta, so documentation may be
    incomplete or incorrect.
    """

    deprecated: "AnnotationOption" = betterproto.message_field(5)
    """This endpoint is deprecated. It will be removed in the future."""
