# Path: google/cloud/contact_center_insights_v1/types/resources.py
# class Conversation(proto.Message):
#     class Medium(proto.Enum):
#     class CallMetadata(proto.Message):
#     class Transcript(proto.Message):
#         class TranscriptSegment(proto.Message):
#             class WordInfo(proto.Message):
#             class DialogflowSegmentMetadata(proto.Message):
# class Analysis(proto.Message):
# class ConversationDataSource(proto.Message):
# class GcsSource(proto.Message):
# class DialogflowSource(proto.Message):
# class AnalysisResult(proto.Message):
#     class CallAnalysisMetadata(proto.Message):
# class IssueModelResult(proto.Message):
# class ConversationLevelSentiment(proto.Message):
# class IssueAssignment(proto.Message):
# class CallAnnotation(proto.Message):
# class AnnotationBoundary(proto.Message):
# class Entity(proto.Message):
#     class Type(proto.Enum):
# class Intent(proto.Message):
# class PhraseMatchData(proto.Message):
# class DialogflowIntent(proto.Message):
# class InterruptionData(proto.Message):
# class SilenceData(proto.Message):
# class HoldData(proto.Message):
# class EntityMentionData(proto.Message):
#     class MentionType(proto.Enum):
# class IntentMatchData(proto.Message):
# class SentimentData(proto.Message):
# class IssueModel(proto.Message):
#     class State(proto.Enum):
#     class InputDataConfig(proto.Message):
# class Issue(proto.Message):
# class IssueModelLabelStats(proto.Message):
#     class IssueStats(proto.Message):
# class PhraseMatcher(proto.Message):
#     class PhraseMatcherType(proto.Enum):
# class PhraseMatchRuleGroup(proto.Message):
#     class PhraseMatchRuleGroupType(proto.Enum):
# class PhraseMatchRule(proto.Message):
# class PhraseMatchRuleConfig(proto.Message):
# class ExactMatchConfig(proto.Message):
# class Settings(proto.Message):
#     class AnalysisConfig(proto.Message):
# class RuntimeAnnotation(proto.Message):
# class AnswerFeedback(proto.Message):
#     class CorrectnessLevel(proto.Enum):
# class ArticleSuggestionData(proto.Message):
# class FaqAnswerData(proto.Message):
# class SmartReplyData(proto.Message):
# class SmartComposeSuggestionData(proto.Message):
# class DialogflowInteractionData(proto.Message):
# class ConversationParticipant(proto.Message):
#     class Role(proto.Enum):
# class View(proto.Message):
#         MEDIUM_UNSPECIFIED = 0
#         PHONE_CALL = 1
#         CHAT = 2
#         TYPE_UNSPECIFIED = 0
#         PERSON = 1
#         LOCATION = 2
#         ORGANIZATION = 3
#         EVENT = 4
#         WORK_OF_ART = 5
#         CONSUMER_GOOD = 6
#         OTHER = 7
#         PHONE_NUMBER = 9
#         ADDRESS = 10
#         DATE = 11
#         NUMBER = 12
#         PRICE = 13
#         MENTION_TYPE_UNSPECIFIED = 0
#         PROPER = 1
#         COMMON = 2
#         STATE_UNSPECIFIED = 0
#         UNDEPLOYED = 1
#         DEPLOYING = 2
#         DEPLOYED = 3
#         UNDEPLOYING = 4
#         DELETING = 5
#         PHRASE_MATCHER_TYPE_UNSPECIFIED = 0
#         ALL_OF = 1
#         ANY_OF = 2
#         PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED = 0
#         ALL_OF = 1
#         ANY_OF = 2
#         CORRECTNESS_LEVEL_UNSPECIFIED = 0
#         NOT_CORRECT = 1
#         PARTIALLY_CORRECT = 2
#         FULLY_CORRECT = 3
#         ROLE_UNSPECIFIED = 0
#         HUMAN_AGENT = 1
#         AUTOMATED_AGENT = 2
#         END_USER = 3
#         ANY_AGENT = 4


import proto  # type: ignore
from google.cloud.contact_center_insights_v1.types import resources
from google.protobuf import duration_pb2  # type: ignore
from google.protobuf import field_mask_pb2  # type: ignore
from google.protobuf import timestamp_pb2  # type: ignore
from google.rpc import status_pb2  # type: ignore
class GetIssueRequest(proto.Message):
    r"""The request to get an issue.

    Attributes:
        name (str):
            Required. The name of the issue to get.
    """

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


class ListIssuesRequest(proto.Message):
    r"""Request to list issues.

    Attributes:
        parent (str):
            Required. The parent resource of the issue.
    """

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


class ListIssuesResponse(proto.Message):
    r"""The response of listing issues.

    Attributes:
        issues (Sequence[google.cloud.contact_center_insights_v1.types.Issue]):
            The issues that match the request.
    """


# Path: google/cloud/contact_center_insights_v1/types/resources.py
# class Conversation(proto.Message):
#     class Medium(proto.Enum):
#     class CallMetadata(proto.Message):
#     class Transcript(proto.Message):
#         class TranscriptSegment(proto.Message):
#             class WordInfo(proto.Message):
#             class DialogflowSegmentMetadata(proto.Message):
# class Analysis(proto.Message):
# class ConversationDataSource(proto.Message):
# class GcsSource(proto.Message):
# class DialogflowSource(proto.Message):
# class AnalysisResult(proto.Message):
#     class CallAnalysisMetadata(proto.Message):
# class IssueModelResult(proto.Message):
# class ConversationLevelSentiment(proto.Message):
# class IssueAssignment(proto.Message):
# class CallAnnotation(proto.Message):
# class AnnotationBoundary(proto.Message):
# class Entity(proto.Message):
#     class Type(proto.Enum):
# class Intent(proto.Message):
# class PhraseMatchData(proto.Message):
# class DialogflowIntent(proto.Message):
# class InterruptionData(proto.Message):
# class SilenceData(proto.Message):
# class HoldData(proto.Message):
# class EntityMentionData(proto.Message):
#     class MentionType(proto.Enum):
# class IntentMatchData(proto.Message):
# class SentimentData(proto.Message):
# class IssueModel(proto.Message):
#     class State(proto.Enum):
#     class InputDataConfig(proto.Message):
# class Issue(proto.Message):
# class IssueModelLabelStats(proto.Message):
#     class IssueStats(proto.Message):
# class PhraseMatcher(proto.Message):
#     class PhraseMatcherType(proto.Enum):
# class PhraseMatchRuleGroup(proto.Message):
#     class PhraseMatchRuleGroupType(proto.Enum):
# class PhraseMatchRule(proto.Message):
# class PhraseMatchRuleConfig(proto.Message):
# class ExactMatchConfig(proto.Message):
# class Settings(proto.Message):
#     class AnalysisConfig(proto.Message):
# class RuntimeAnnotation(proto.Message):
# class AnswerFeedback(proto.Message):
#     class CorrectnessLevel(proto.Enum):
# class ArticleSuggestionData(proto.Message):
# class FaqAnswerData(proto.Message):
# class SmartReplyData(proto.Message):
# class SmartComposeSuggestionData(proto.Message):
# class DialogflowInteractionData(proto.Message):
# class ConversationParticipant(proto.Message):
#     class Role(proto.Enum):
# class View(proto.Message):
#         MEDIUM_UNSPECIFIED = 0
#         PHONE_CALL = 1
#         CHAT = 2
#         TYPE_UNSPECIFIED = 0
#         PERSON = 1
#         LOCATION = 2
#         ORGANIZATION = 3
#         EVENT = 4
#         WORK_OF_ART = 5
#         CONSUMER_GOOD = 6
#         OTHER = 7
#         PHONE_NUMBER = 9
#         ADDRESS = 10
#         DATE = 11
#         NUMBER = 12
#         PRICE = 13
#         MENTION_TYPE_UNSPECIFIED = 0
#         PROPER = 1
#         COMMON = 2
#         STATE_UNSPECIFIED = 0
#         UNDEPLOYED = 1
#         DEPLOYING = 2
#         DEPLOYED = 3
#         UNDEPLOYING = 4
#         DELETING = 5
#         PHRASE_MATCHER_TYPE_UNSPECIFIED = 0
#         ALL_OF = 1
#         ANY_OF = 2
#         PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED = 0
#         ALL_OF = 1
#         ANY_OF = 2
#         CORRECTNESS_LEVEL_UNSPECIFIED = 0
#         NOT_CORRECT = 1
#         PARTIALLY_CORRECT = 2
#         FULLY_CORRECT = 3
#         ROLE_UNSPECIFIED = 0
#         HUMAN_AGENT = 1
#         AUTOMATED_AGENT = 2
#         END_USER = 3
#         ANY_AGENT = 4


# Path: google/cloud/contact_center_insights_v1/types/contact_center_insights.py
import proto  # type: ignore
from google.cloud.contact_center_insights_v1.types import resources
from google.protobuf import duration_pb2  # type: ignore
from google.protobuf import field_mask_pb2  # type: ignore
from google.protobuf import timestamp_pb2  # type: ignore
from google.rpc import status_pb2  # type: ignore

class GetIssueRequest(proto.Message):
    r"""The request to get an issue.

    Attributes:
        name (str):
            Required. The name of the issue to get.
    """

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


class ListIssuesRequest(proto.Message):
    r"""Request to list issues.

    Attributes:
        parent (str):
            Required. The parent resource of the issue.
    """

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


class ListIssuesResponse(proto.Message):
    r"""The response of listing issues.

    Attributes:
        issues (Sequence[google.cloud.contact_center_insights_v1.types.Issue]):
            The issues that match the request.
    """


    issues = proto.RepeatedField(proto.MESSAGE, number=1, message=resources.Issue,)