contactcenterinsights

package
Version: v0.0.0-...-00ab72f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConversationView_name = map[int32]string{
		0: "CONVERSATION_VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "FULL",
	}
	ConversationView_value = map[string]int32{
		"CONVERSATION_VIEW_UNSPECIFIED": 0,
		"BASIC":                         1,
		"FULL":                          2,
	}
)

Enum value maps for ConversationView.

View Source
var (
	ExportInsightsDataRequest_WriteDisposition_name = map[int32]string{
		0: "WRITE_DISPOSITION_UNSPECIFIED",
		1: "WRITE_TRUNCATE",
		2: "WRITE_APPEND",
	}
	ExportInsightsDataRequest_WriteDisposition_value = map[string]int32{
		"WRITE_DISPOSITION_UNSPECIFIED": 0,
		"WRITE_TRUNCATE":                1,
		"WRITE_APPEND":                  2,
	}
)

Enum value maps for ExportInsightsDataRequest_WriteDisposition.

View Source
var (
	Conversation_Medium_name = map[int32]string{
		0: "MEDIUM_UNSPECIFIED",
		1: "PHONE_CALL",
		2: "CHAT",
	}
	Conversation_Medium_value = map[string]int32{
		"MEDIUM_UNSPECIFIED": 0,
		"PHONE_CALL":         1,
		"CHAT":               2,
	}
)

Enum value maps for Conversation_Medium.

View Source
var (
	Entity_Type_name = map[int32]string{
		0:  "TYPE_UNSPECIFIED",
		1:  "PERSON",
		2:  "LOCATION",
		3:  "ORGANIZATION",
		4:  "EVENT",
		5:  "WORK_OF_ART",
		6:  "CONSUMER_GOOD",
		7:  "OTHER",
		9:  "PHONE_NUMBER",
		10: "ADDRESS",
		11: "DATE",
		12: "NUMBER",
		13: "PRICE",
	}
	Entity_Type_value = map[string]int32{
		"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,
	}
)

Enum value maps for Entity_Type.

View Source
var (
	EntityMentionData_MentionType_name = map[int32]string{
		0: "MENTION_TYPE_UNSPECIFIED",
		1: "PROPER",
		2: "COMMON",
	}
	EntityMentionData_MentionType_value = map[string]int32{
		"MENTION_TYPE_UNSPECIFIED": 0,
		"PROPER":                   1,
		"COMMON":                   2,
	}
)

Enum value maps for EntityMentionData_MentionType.

View Source
var (
	IssueModel_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "UNDEPLOYED",
		2: "DEPLOYING",
		3: "DEPLOYED",
		4: "UNDEPLOYING",
		5: "DELETING",
	}
	IssueModel_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"UNDEPLOYED":        1,
		"DEPLOYING":         2,
		"DEPLOYED":          3,
		"UNDEPLOYING":       4,
		"DELETING":          5,
	}
)

Enum value maps for IssueModel_State.

View Source
var (
	PhraseMatcher_PhraseMatcherType_name = map[int32]string{
		0: "PHRASE_MATCHER_TYPE_UNSPECIFIED",
		1: "ALL_OF",
		2: "ANY_OF",
	}
	PhraseMatcher_PhraseMatcherType_value = map[string]int32{
		"PHRASE_MATCHER_TYPE_UNSPECIFIED": 0,
		"ALL_OF":                          1,
		"ANY_OF":                          2,
	}
)

Enum value maps for PhraseMatcher_PhraseMatcherType.

View Source
var (
	PhraseMatchRuleGroup_PhraseMatchRuleGroupType_name = map[int32]string{
		0: "PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED",
		1: "ALL_OF",
		2: "ANY_OF",
	}
	PhraseMatchRuleGroup_PhraseMatchRuleGroupType_value = map[string]int32{
		"PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED": 0,
		"ALL_OF": 1,
		"ANY_OF": 2,
	}
)

Enum value maps for PhraseMatchRuleGroup_PhraseMatchRuleGroupType.

View Source
var (
	AnswerFeedback_CorrectnessLevel_name = map[int32]string{
		0: "CORRECTNESS_LEVEL_UNSPECIFIED",
		1: "NOT_CORRECT",
		2: "PARTIALLY_CORRECT",
		3: "FULLY_CORRECT",
	}
	AnswerFeedback_CorrectnessLevel_value = map[string]int32{
		"CORRECTNESS_LEVEL_UNSPECIFIED": 0,
		"NOT_CORRECT":                   1,
		"PARTIALLY_CORRECT":             2,
		"FULLY_CORRECT":                 3,
	}
)

Enum value maps for AnswerFeedback_CorrectnessLevel.

View Source
var (
	ConversationParticipant_Role_name = map[int32]string{
		0: "ROLE_UNSPECIFIED",
		1: "HUMAN_AGENT",
		2: "AUTOMATED_AGENT",
		3: "END_USER",
		4: "ANY_AGENT",
	}
	ConversationParticipant_Role_value = map[string]int32{
		"ROLE_UNSPECIFIED": 0,
		"HUMAN_AGENT":      1,
		"AUTOMATED_AGENT":  2,
		"END_USER":         3,
		"ANY_AGENT":        4,
	}
)

Enum value maps for ConversationParticipant_Role.

View Source
var File_google_cloud_contactcenterinsights_v1_contact_center_insights_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_contactcenterinsights_v1_resources_proto protoreflect.FileDescriptor

Functions

func RegisterContactCenterInsightsServer

func RegisterContactCenterInsightsServer(s *grpc.Server, srv ContactCenterInsightsServer)

Types

type Analysis

type Analysis struct {

	// Immutable. The resource name of the analysis.
	// Format:
	// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The time at which the analysis was requested.
	RequestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`
	// Output only. The time at which the analysis was created, which occurs when the
	// long-running operation completes.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The result of the analysis, which is populated when the analysis
	// finishes.
	AnalysisResult *AnalysisResult `protobuf:"bytes,7,opt,name=analysis_result,json=analysisResult,proto3" json:"analysis_result,omitempty"`
	// contains filtered or unexported fields
}

The analysis resource.

func (*Analysis) Descriptor deprecated

func (*Analysis) Descriptor() ([]byte, []int)

Deprecated: Use Analysis.ProtoReflect.Descriptor instead.

func (*Analysis) GetAnalysisResult

func (x *Analysis) GetAnalysisResult() *AnalysisResult

func (*Analysis) GetCreateTime

func (x *Analysis) GetCreateTime() *timestamppb.Timestamp

func (*Analysis) GetName

func (x *Analysis) GetName() string

func (*Analysis) GetRequestTime

func (x *Analysis) GetRequestTime() *timestamppb.Timestamp

func (*Analysis) ProtoMessage

func (*Analysis) ProtoMessage()

func (*Analysis) ProtoReflect

func (x *Analysis) ProtoReflect() protoreflect.Message

func (*Analysis) Reset

func (x *Analysis) Reset()

func (*Analysis) String

func (x *Analysis) String() string

type AnalysisResult

type AnalysisResult struct {

	// Metadata discovered during analysis.
	//
	// Types that are assignable to Metadata:
	//	*AnalysisResult_CallAnalysisMetadata_
	Metadata isAnalysisResult_Metadata `protobuf_oneof:"metadata"`
	// The time at which the analysis ended.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

The result of an analysis.

func (*AnalysisResult) Descriptor deprecated

func (*AnalysisResult) Descriptor() ([]byte, []int)

Deprecated: Use AnalysisResult.ProtoReflect.Descriptor instead.

func (*AnalysisResult) GetCallAnalysisMetadata

func (x *AnalysisResult) GetCallAnalysisMetadata() *AnalysisResult_CallAnalysisMetadata

func (*AnalysisResult) GetEndTime

func (x *AnalysisResult) GetEndTime() *timestamppb.Timestamp

func (*AnalysisResult) GetMetadata

func (m *AnalysisResult) GetMetadata() isAnalysisResult_Metadata

func (*AnalysisResult) ProtoMessage

func (*AnalysisResult) ProtoMessage()

func (*AnalysisResult) ProtoReflect

func (x *AnalysisResult) ProtoReflect() protoreflect.Message

func (*AnalysisResult) Reset

func (x *AnalysisResult) Reset()

func (*AnalysisResult) String

func (x *AnalysisResult) String() string

type AnalysisResult_CallAnalysisMetadata

type AnalysisResult_CallAnalysisMetadata struct {

	// A list of call annotations that apply to this call.
	Annotations []*CallAnnotation `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty"`
	// All the entities in the call.
	Entities map[string]*Entity `` /* 157-byte string literal not displayed */
	// Overall conversation-level sentiment for each channel of the call.
	Sentiments []*ConversationLevelSentiment `protobuf:"bytes,4,rep,name=sentiments,proto3" json:"sentiments,omitempty"`
	// All the matched intents in the call.
	Intents map[string]*Intent `` /* 155-byte string literal not displayed */
	// All the matched phrase matchers in the call.
	PhraseMatchers map[string]*PhraseMatchData `` /* 191-byte string literal not displayed */
	// Overall conversation-level issue modeling result.
	IssueModelResult *IssueModelResult `protobuf:"bytes,8,opt,name=issue_model_result,json=issueModelResult,proto3" json:"issue_model_result,omitempty"`
	// contains filtered or unexported fields
}

Call-specific metadata created during analysis.

func (*AnalysisResult_CallAnalysisMetadata) Descriptor deprecated

func (*AnalysisResult_CallAnalysisMetadata) Descriptor() ([]byte, []int)

Deprecated: Use AnalysisResult_CallAnalysisMetadata.ProtoReflect.Descriptor instead.

func (*AnalysisResult_CallAnalysisMetadata) GetAnnotations

func (x *AnalysisResult_CallAnalysisMetadata) GetAnnotations() []*CallAnnotation

func (*AnalysisResult_CallAnalysisMetadata) GetEntities

func (x *AnalysisResult_CallAnalysisMetadata) GetEntities() map[string]*Entity

func (*AnalysisResult_CallAnalysisMetadata) GetIntents

func (x *AnalysisResult_CallAnalysisMetadata) GetIntents() map[string]*Intent

func (*AnalysisResult_CallAnalysisMetadata) GetIssueModelResult

func (x *AnalysisResult_CallAnalysisMetadata) GetIssueModelResult() *IssueModelResult

func (*AnalysisResult_CallAnalysisMetadata) GetPhraseMatchers

func (x *AnalysisResult_CallAnalysisMetadata) GetPhraseMatchers() map[string]*PhraseMatchData

func (*AnalysisResult_CallAnalysisMetadata) GetSentiments

func (*AnalysisResult_CallAnalysisMetadata) ProtoMessage

func (*AnalysisResult_CallAnalysisMetadata) ProtoMessage()

func (*AnalysisResult_CallAnalysisMetadata) ProtoReflect

func (*AnalysisResult_CallAnalysisMetadata) Reset

func (*AnalysisResult_CallAnalysisMetadata) String

type AnalysisResult_CallAnalysisMetadata_

type AnalysisResult_CallAnalysisMetadata_ struct {
	// Call-specific metadata created by the analysis.
	CallAnalysisMetadata *AnalysisResult_CallAnalysisMetadata `protobuf:"bytes,2,opt,name=call_analysis_metadata,json=callAnalysisMetadata,proto3,oneof"`
}

type AnnotationBoundary

type AnnotationBoundary struct {

	// A detailed boundary, which describes a more specific point.
	//
	// Types that are assignable to DetailedBoundary:
	//	*AnnotationBoundary_WordIndex
	DetailedBoundary isAnnotationBoundary_DetailedBoundary `protobuf_oneof:"detailed_boundary"`
	// The index in the sequence of transcribed pieces of the conversation where
	// the boundary is located. This index starts at zero.
	TranscriptIndex int32 `protobuf:"varint,1,opt,name=transcript_index,json=transcriptIndex,proto3" json:"transcript_index,omitempty"`
	// contains filtered or unexported fields
}

A point in a conversation that marks the start or the end of an annotation.

func (*AnnotationBoundary) Descriptor deprecated

func (*AnnotationBoundary) Descriptor() ([]byte, []int)

Deprecated: Use AnnotationBoundary.ProtoReflect.Descriptor instead.

func (*AnnotationBoundary) GetDetailedBoundary

func (m *AnnotationBoundary) GetDetailedBoundary() isAnnotationBoundary_DetailedBoundary

func (*AnnotationBoundary) GetTranscriptIndex

func (x *AnnotationBoundary) GetTranscriptIndex() int32

func (*AnnotationBoundary) GetWordIndex

func (x *AnnotationBoundary) GetWordIndex() int32

func (*AnnotationBoundary) ProtoMessage

func (*AnnotationBoundary) ProtoMessage()

func (*AnnotationBoundary) ProtoReflect

func (x *AnnotationBoundary) ProtoReflect() protoreflect.Message

func (*AnnotationBoundary) Reset

func (x *AnnotationBoundary) Reset()

func (*AnnotationBoundary) String

func (x *AnnotationBoundary) String() string

type AnnotationBoundary_WordIndex

type AnnotationBoundary_WordIndex struct {
	// The word index of this boundary with respect to the first word in the
	// transcript piece. This index starts at zero.
	WordIndex int32 `protobuf:"varint,3,opt,name=word_index,json=wordIndex,proto3,oneof"`
}

type AnswerFeedback

type AnswerFeedback struct {

	// The correctness level of an answer.
	CorrectnessLevel AnswerFeedback_CorrectnessLevel `` /* 185-byte string literal not displayed */
	// Indicates whether an answer or item was clicked by the human agent.
	Clicked bool `protobuf:"varint,2,opt,name=clicked,proto3" json:"clicked,omitempty"`
	// Indicates whether an answer or item was displayed to the human agent in the
	// agent desktop UI.
	Displayed bool `protobuf:"varint,3,opt,name=displayed,proto3" json:"displayed,omitempty"`
	// contains filtered or unexported fields
}

The feedback that the customer has about a certain answer in the conversation.

func (*AnswerFeedback) Descriptor deprecated

func (*AnswerFeedback) Descriptor() ([]byte, []int)

Deprecated: Use AnswerFeedback.ProtoReflect.Descriptor instead.

func (*AnswerFeedback) GetClicked

func (x *AnswerFeedback) GetClicked() bool

func (*AnswerFeedback) GetCorrectnessLevel

func (x *AnswerFeedback) GetCorrectnessLevel() AnswerFeedback_CorrectnessLevel

func (*AnswerFeedback) GetDisplayed

func (x *AnswerFeedback) GetDisplayed() bool

func (*AnswerFeedback) ProtoMessage

func (*AnswerFeedback) ProtoMessage()

func (*AnswerFeedback) ProtoReflect

func (x *AnswerFeedback) ProtoReflect() protoreflect.Message

func (*AnswerFeedback) Reset

func (x *AnswerFeedback) Reset()

func (*AnswerFeedback) String

func (x *AnswerFeedback) String() string

type AnswerFeedback_CorrectnessLevel

type AnswerFeedback_CorrectnessLevel int32

The correctness level of an answer.

const (
	// Correctness level unspecified.
	AnswerFeedback_CORRECTNESS_LEVEL_UNSPECIFIED AnswerFeedback_CorrectnessLevel = 0
	// Answer is totally wrong.
	AnswerFeedback_NOT_CORRECT AnswerFeedback_CorrectnessLevel = 1
	// Answer is partially correct.
	AnswerFeedback_PARTIALLY_CORRECT AnswerFeedback_CorrectnessLevel = 2
	// Answer is fully correct.
	AnswerFeedback_FULLY_CORRECT AnswerFeedback_CorrectnessLevel = 3
)

func (AnswerFeedback_CorrectnessLevel) Descriptor

func (AnswerFeedback_CorrectnessLevel) Enum

func (AnswerFeedback_CorrectnessLevel) EnumDescriptor deprecated

func (AnswerFeedback_CorrectnessLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use AnswerFeedback_CorrectnessLevel.Descriptor instead.

func (AnswerFeedback_CorrectnessLevel) Number

func (AnswerFeedback_CorrectnessLevel) String

func (AnswerFeedback_CorrectnessLevel) Type

type ArticleSuggestionData

type ArticleSuggestionData struct {

	// Article title.
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// Article URI.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// The system's confidence score that this article is a good match for this
	// conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
	// certain).
	ConfidenceScore float32 `protobuf:"fixed32,3,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"`
	// Map that contains metadata about the Article Suggestion and the document
	// that it originates from.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// Name of the query record.
	// Format:
	// projects/{project}/locations/{location}/queryRecords/{query_record}
	QueryRecord string `protobuf:"bytes,5,opt,name=query_record,json=queryRecord,proto3" json:"query_record,omitempty"`
	// The knowledge document that this answer was extracted from.
	// Format:
	// projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
	Source string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

Agent Assist Article Suggestion data.

func (*ArticleSuggestionData) Descriptor deprecated

func (*ArticleSuggestionData) Descriptor() ([]byte, []int)

Deprecated: Use ArticleSuggestionData.ProtoReflect.Descriptor instead.

func (*ArticleSuggestionData) GetConfidenceScore

func (x *ArticleSuggestionData) GetConfidenceScore() float32

func (*ArticleSuggestionData) GetMetadata

func (x *ArticleSuggestionData) GetMetadata() map[string]string

func (*ArticleSuggestionData) GetQueryRecord

func (x *ArticleSuggestionData) GetQueryRecord() string

func (*ArticleSuggestionData) GetSource

func (x *ArticleSuggestionData) GetSource() string

func (*ArticleSuggestionData) GetTitle

func (x *ArticleSuggestionData) GetTitle() string

func (*ArticleSuggestionData) GetUri

func (x *ArticleSuggestionData) GetUri() string

func (*ArticleSuggestionData) ProtoMessage

func (*ArticleSuggestionData) ProtoMessage()

func (*ArticleSuggestionData) ProtoReflect

func (x *ArticleSuggestionData) ProtoReflect() protoreflect.Message

func (*ArticleSuggestionData) Reset

func (x *ArticleSuggestionData) Reset()

func (*ArticleSuggestionData) String

func (x *ArticleSuggestionData) String() string

type CalculateIssueModelStatsRequest

type CalculateIssueModelStatsRequest struct {

	// Required. The resource name of the issue model to query against.
	IssueModel string `protobuf:"bytes,1,opt,name=issue_model,json=issueModel,proto3" json:"issue_model,omitempty"`
	// contains filtered or unexported fields
}

Request to get statistics of an issue model.

func (*CalculateIssueModelStatsRequest) Descriptor deprecated

func (*CalculateIssueModelStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use CalculateIssueModelStatsRequest.ProtoReflect.Descriptor instead.

func (*CalculateIssueModelStatsRequest) GetIssueModel

func (x *CalculateIssueModelStatsRequest) GetIssueModel() string

func (*CalculateIssueModelStatsRequest) ProtoMessage

func (*CalculateIssueModelStatsRequest) ProtoMessage()

func (*CalculateIssueModelStatsRequest) ProtoReflect

func (*CalculateIssueModelStatsRequest) Reset

func (*CalculateIssueModelStatsRequest) String

type CalculateIssueModelStatsResponse

type CalculateIssueModelStatsResponse struct {

	// The latest label statistics for the queried issue model. Includes results
	// on both training data and data labeled after deployment.
	CurrentStats *IssueModelLabelStats `protobuf:"bytes,4,opt,name=current_stats,json=currentStats,proto3" json:"current_stats,omitempty"`
	// contains filtered or unexported fields
}

Response of querying an issue model's statistics.

func (*CalculateIssueModelStatsResponse) Descriptor deprecated

func (*CalculateIssueModelStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use CalculateIssueModelStatsResponse.ProtoReflect.Descriptor instead.

func (*CalculateIssueModelStatsResponse) GetCurrentStats

func (*CalculateIssueModelStatsResponse) ProtoMessage

func (*CalculateIssueModelStatsResponse) ProtoMessage()

func (*CalculateIssueModelStatsResponse) ProtoReflect

func (*CalculateIssueModelStatsResponse) Reset

func (*CalculateIssueModelStatsResponse) String

type CalculateStatsRequest

type CalculateStatsRequest struct {

	// Required. The location of the conversations.
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// A filter to reduce results to a specific subset. This field is useful for
	// getting statistics about conversations with specific properties.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

The request for calculating conversation statistics.

func (*CalculateStatsRequest) Descriptor deprecated

func (*CalculateStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use CalculateStatsRequest.ProtoReflect.Descriptor instead.

func (*CalculateStatsRequest) GetFilter

func (x *CalculateStatsRequest) GetFilter() string

func (*CalculateStatsRequest) GetLocation

func (x *CalculateStatsRequest) GetLocation() string

func (*CalculateStatsRequest) ProtoMessage

func (*CalculateStatsRequest) ProtoMessage()

func (*CalculateStatsRequest) ProtoReflect

func (x *CalculateStatsRequest) ProtoReflect() protoreflect.Message

func (*CalculateStatsRequest) Reset

func (x *CalculateStatsRequest) Reset()

func (*CalculateStatsRequest) String

func (x *CalculateStatsRequest) String() string

type CalculateStatsResponse

type CalculateStatsResponse struct {

	// The average duration of all conversations. The average is calculated using
	// only conversations that have a time duration.
	AverageDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=average_duration,json=averageDuration,proto3" json:"average_duration,omitempty"`
	// The average number of turns per conversation.
	AverageTurnCount int32 `protobuf:"varint,2,opt,name=average_turn_count,json=averageTurnCount,proto3" json:"average_turn_count,omitempty"`
	// The total number of conversations.
	ConversationCount int32 `protobuf:"varint,3,opt,name=conversation_count,json=conversationCount,proto3" json:"conversation_count,omitempty"`
	// A map associating each smart highlighter display name with its respective
	// number of matches in the set of conversations.
	SmartHighlighterMatches map[string]int32 `` /* 221-byte string literal not displayed */
	// A map associating each custom highlighter resource name with its respective
	// number of matches in the set of conversations.
	CustomHighlighterMatches map[string]int32 `` /* 224-byte string literal not displayed */
	// A map associating each issue resource name with its respective number of
	// matches in the set of conversations. Key has the format:
	// `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
	// Deprecated, use `issue_matches_stats` field instead.
	//
	// Deprecated: Do not use.
	IssueMatches map[string]int32 `` /* 186-byte string literal not displayed */
	// A map associating each issue resource name with its respective number of
	// matches in the set of conversations. Key has the format:
	// `projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>`
	IssueMatchesStats map[string]*IssueModelLabelStats_IssueStats `` /* 202-byte string literal not displayed */
	// A time series representing the count of conversations created over time
	// that match that requested filter criteria.
	ConversationCountTimeSeries *CalculateStatsResponse_TimeSeries `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

The response for calculating conversation statistics.

func (*CalculateStatsResponse) Descriptor deprecated

func (*CalculateStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use CalculateStatsResponse.ProtoReflect.Descriptor instead.

func (*CalculateStatsResponse) GetAverageDuration

func (x *CalculateStatsResponse) GetAverageDuration() *durationpb.Duration

func (*CalculateStatsResponse) GetAverageTurnCount

func (x *CalculateStatsResponse) GetAverageTurnCount() int32

func (*CalculateStatsResponse) GetConversationCount

func (x *CalculateStatsResponse) GetConversationCount() int32

func (*CalculateStatsResponse) GetConversationCountTimeSeries

func (x *CalculateStatsResponse) GetConversationCountTimeSeries() *CalculateStatsResponse_TimeSeries

func (*CalculateStatsResponse) GetCustomHighlighterMatches

func (x *CalculateStatsResponse) GetCustomHighlighterMatches() map[string]int32

func (*CalculateStatsResponse) GetIssueMatches deprecated

func (x *CalculateStatsResponse) GetIssueMatches() map[string]int32

Deprecated: Do not use.

func (*CalculateStatsResponse) GetIssueMatchesStats

func (x *CalculateStatsResponse) GetIssueMatchesStats() map[string]*IssueModelLabelStats_IssueStats

func (*CalculateStatsResponse) GetSmartHighlighterMatches

func (x *CalculateStatsResponse) GetSmartHighlighterMatches() map[string]int32

func (*CalculateStatsResponse) ProtoMessage

func (*CalculateStatsResponse) ProtoMessage()

func (*CalculateStatsResponse) ProtoReflect

func (x *CalculateStatsResponse) ProtoReflect() protoreflect.Message

func (*CalculateStatsResponse) Reset

func (x *CalculateStatsResponse) Reset()

func (*CalculateStatsResponse) String

func (x *CalculateStatsResponse) String() string

type CalculateStatsResponse_TimeSeries

type CalculateStatsResponse_TimeSeries struct {

	// The duration of each interval.
	IntervalDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=interval_duration,json=intervalDuration,proto3" json:"interval_duration,omitempty"`
	// An ordered list of intervals from earliest to latest, where each interval
	// represents the number of conversations that transpired during the time
	// window.
	Points []*CalculateStatsResponse_TimeSeries_Interval `protobuf:"bytes,2,rep,name=points,proto3" json:"points,omitempty"`
	// contains filtered or unexported fields
}

A time series representing conversations over time.

func (*CalculateStatsResponse_TimeSeries) Descriptor deprecated

func (*CalculateStatsResponse_TimeSeries) Descriptor() ([]byte, []int)

Deprecated: Use CalculateStatsResponse_TimeSeries.ProtoReflect.Descriptor instead.

func (*CalculateStatsResponse_TimeSeries) GetIntervalDuration

func (x *CalculateStatsResponse_TimeSeries) GetIntervalDuration() *durationpb.Duration

func (*CalculateStatsResponse_TimeSeries) GetPoints

func (*CalculateStatsResponse_TimeSeries) ProtoMessage

func (*CalculateStatsResponse_TimeSeries) ProtoMessage()

func (*CalculateStatsResponse_TimeSeries) ProtoReflect

func (*CalculateStatsResponse_TimeSeries) Reset

func (*CalculateStatsResponse_TimeSeries) String

type CalculateStatsResponse_TimeSeries_Interval

type CalculateStatsResponse_TimeSeries_Interval struct {

	// The start time of this interval.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The number of conversations created in this interval.
	ConversationCount int32 `protobuf:"varint,2,opt,name=conversation_count,json=conversationCount,proto3" json:"conversation_count,omitempty"`
	// contains filtered or unexported fields
}

A single interval in a time series.

func (*CalculateStatsResponse_TimeSeries_Interval) Descriptor deprecated

Deprecated: Use CalculateStatsResponse_TimeSeries_Interval.ProtoReflect.Descriptor instead.

func (*CalculateStatsResponse_TimeSeries_Interval) GetConversationCount

func (x *CalculateStatsResponse_TimeSeries_Interval) GetConversationCount() int32

func (*CalculateStatsResponse_TimeSeries_Interval) GetStartTime

func (*CalculateStatsResponse_TimeSeries_Interval) ProtoMessage

func (*CalculateStatsResponse_TimeSeries_Interval) ProtoReflect

func (*CalculateStatsResponse_TimeSeries_Interval) Reset

func (*CalculateStatsResponse_TimeSeries_Interval) String

type CallAnnotation

type CallAnnotation struct {

	// The data in the annotation.
	//
	// Types that are assignable to Data:
	//	*CallAnnotation_InterruptionData
	//	*CallAnnotation_SentimentData
	//	*CallAnnotation_SilenceData
	//	*CallAnnotation_HoldData
	//	*CallAnnotation_EntityMentionData
	//	*CallAnnotation_IntentMatchData
	//	*CallAnnotation_PhraseMatchData
	Data isCallAnnotation_Data `protobuf_oneof:"data"`
	// The channel of the audio where the annotation occurs. For single-channel
	// audio, this field is not populated.
	ChannelTag int32 `protobuf:"varint,1,opt,name=channel_tag,json=channelTag,proto3" json:"channel_tag,omitempty"`
	// The boundary in the conversation where the annotation starts, inclusive.
	AnnotationStartBoundary *AnnotationBoundary `` /* 132-byte string literal not displayed */
	// The boundary in the conversation where the annotation ends, inclusive.
	AnnotationEndBoundary *AnnotationBoundary `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

A piece of metadata that applies to a window of a call.

func (*CallAnnotation) Descriptor deprecated

func (*CallAnnotation) Descriptor() ([]byte, []int)

Deprecated: Use CallAnnotation.ProtoReflect.Descriptor instead.

func (*CallAnnotation) GetAnnotationEndBoundary

func (x *CallAnnotation) GetAnnotationEndBoundary() *AnnotationBoundary

func (*CallAnnotation) GetAnnotationStartBoundary

func (x *CallAnnotation) GetAnnotationStartBoundary() *AnnotationBoundary

func (*CallAnnotation) GetChannelTag

func (x *CallAnnotation) GetChannelTag() int32

func (*CallAnnotation) GetData

func (m *CallAnnotation) GetData() isCallAnnotation_Data

func (*CallAnnotation) GetEntityMentionData

func (x *CallAnnotation) GetEntityMentionData() *EntityMentionData

func (*CallAnnotation) GetHoldData

func (x *CallAnnotation) GetHoldData() *HoldData

func (*CallAnnotation) GetIntentMatchData

func (x *CallAnnotation) GetIntentMatchData() *IntentMatchData

func (*CallAnnotation) GetInterruptionData

func (x *CallAnnotation) GetInterruptionData() *InterruptionData

func (*CallAnnotation) GetPhraseMatchData

func (x *CallAnnotation) GetPhraseMatchData() *PhraseMatchData

func (*CallAnnotation) GetSentimentData

func (x *CallAnnotation) GetSentimentData() *SentimentData

func (*CallAnnotation) GetSilenceData

func (x *CallAnnotation) GetSilenceData() *SilenceData

func (*CallAnnotation) ProtoMessage

func (*CallAnnotation) ProtoMessage()

func (*CallAnnotation) ProtoReflect

func (x *CallAnnotation) ProtoReflect() protoreflect.Message

func (*CallAnnotation) Reset

func (x *CallAnnotation) Reset()

func (*CallAnnotation) String

func (x *CallAnnotation) String() string

type CallAnnotation_EntityMentionData

type CallAnnotation_EntityMentionData struct {
	// Data specifying an entity mention.
	EntityMentionData *EntityMentionData `protobuf:"bytes,15,opt,name=entity_mention_data,json=entityMentionData,proto3,oneof"`
}

type CallAnnotation_HoldData

type CallAnnotation_HoldData struct {
	// Data specifying a hold.
	HoldData *HoldData `protobuf:"bytes,13,opt,name=hold_data,json=holdData,proto3,oneof"`
}

type CallAnnotation_IntentMatchData

type CallAnnotation_IntentMatchData struct {
	// Data specifying an intent match.
	IntentMatchData *IntentMatchData `protobuf:"bytes,16,opt,name=intent_match_data,json=intentMatchData,proto3,oneof"`
}

type CallAnnotation_InterruptionData

type CallAnnotation_InterruptionData struct {
	// Data specifying an interruption.
	InterruptionData *InterruptionData `protobuf:"bytes,10,opt,name=interruption_data,json=interruptionData,proto3,oneof"`
}

type CallAnnotation_PhraseMatchData

type CallAnnotation_PhraseMatchData struct {
	// Data specifying a phrase match.
	PhraseMatchData *PhraseMatchData `protobuf:"bytes,17,opt,name=phrase_match_data,json=phraseMatchData,proto3,oneof"`
}

type CallAnnotation_SentimentData

type CallAnnotation_SentimentData struct {
	// Data specifying sentiment.
	SentimentData *SentimentData `protobuf:"bytes,11,opt,name=sentiment_data,json=sentimentData,proto3,oneof"`
}

type CallAnnotation_SilenceData

type CallAnnotation_SilenceData struct {
	// Data specifying silence.
	SilenceData *SilenceData `protobuf:"bytes,12,opt,name=silence_data,json=silenceData,proto3,oneof"`
}

type ContactCenterInsightsClient

type ContactCenterInsightsClient interface {
	// Creates a conversation.
	CreateConversation(ctx context.Context, in *CreateConversationRequest, opts ...grpc.CallOption) (*Conversation, error)
	// Updates a conversation.
	UpdateConversation(ctx context.Context, in *UpdateConversationRequest, opts ...grpc.CallOption) (*Conversation, error)
	// Gets a conversation.
	GetConversation(ctx context.Context, in *GetConversationRequest, opts ...grpc.CallOption) (*Conversation, error)
	// Lists conversations.
	ListConversations(ctx context.Context, in *ListConversationsRequest, opts ...grpc.CallOption) (*ListConversationsResponse, error)
	// Deletes a conversation.
	DeleteConversation(ctx context.Context, in *DeleteConversationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates an analysis. The long running operation is done when the analysis
	// has completed.
	CreateAnalysis(ctx context.Context, in *CreateAnalysisRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Gets an analysis.
	GetAnalysis(ctx context.Context, in *GetAnalysisRequest, opts ...grpc.CallOption) (*Analysis, error)
	// Lists analyses.
	ListAnalyses(ctx context.Context, in *ListAnalysesRequest, opts ...grpc.CallOption) (*ListAnalysesResponse, error)
	// Deletes an analysis.
	DeleteAnalysis(ctx context.Context, in *DeleteAnalysisRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Export insights data to a destination defined in the request body.
	ExportInsightsData(ctx context.Context, in *ExportInsightsDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Creates an issue model.
	CreateIssueModel(ctx context.Context, in *CreateIssueModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates an issue model.
	UpdateIssueModel(ctx context.Context, in *UpdateIssueModelRequest, opts ...grpc.CallOption) (*IssueModel, error)
	// Gets an issue model.
	GetIssueModel(ctx context.Context, in *GetIssueModelRequest, opts ...grpc.CallOption) (*IssueModel, error)
	// Lists issue models.
	ListIssueModels(ctx context.Context, in *ListIssueModelsRequest, opts ...grpc.CallOption) (*ListIssueModelsResponse, error)
	// Deletes an issue model.
	DeleteIssueModel(ctx context.Context, in *DeleteIssueModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deploys an issue model. Returns an error if a model is already deployed.
	// An issue model can only be used in analysis after it has been deployed.
	DeployIssueModel(ctx context.Context, in *DeployIssueModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Undeploys an issue model.
	// An issue model can not be used in analysis after it has been undeployed.
	UndeployIssueModel(ctx context.Context, in *UndeployIssueModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Gets an issue.
	GetIssue(ctx context.Context, in *GetIssueRequest, opts ...grpc.CallOption) (*Issue, error)
	// Lists issues.
	ListIssues(ctx context.Context, in *ListIssuesRequest, opts ...grpc.CallOption) (*ListIssuesResponse, error)
	// Updates an issue.
	UpdateIssue(ctx context.Context, in *UpdateIssueRequest, opts ...grpc.CallOption) (*Issue, error)
	// Gets an issue model's statistics.
	CalculateIssueModelStats(ctx context.Context, in *CalculateIssueModelStatsRequest, opts ...grpc.CallOption) (*CalculateIssueModelStatsResponse, error)
	// Creates a phrase matcher.
	CreatePhraseMatcher(ctx context.Context, in *CreatePhraseMatcherRequest, opts ...grpc.CallOption) (*PhraseMatcher, error)
	// Gets a phrase matcher.
	GetPhraseMatcher(ctx context.Context, in *GetPhraseMatcherRequest, opts ...grpc.CallOption) (*PhraseMatcher, error)
	// Lists phrase matchers.
	ListPhraseMatchers(ctx context.Context, in *ListPhraseMatchersRequest, opts ...grpc.CallOption) (*ListPhraseMatchersResponse, error)
	// Deletes a phrase matcher.
	DeletePhraseMatcher(ctx context.Context, in *DeletePhraseMatcherRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates a phrase matcher.
	UpdatePhraseMatcher(ctx context.Context, in *UpdatePhraseMatcherRequest, opts ...grpc.CallOption) (*PhraseMatcher, error)
	// Gets conversation statistics.
	CalculateStats(ctx context.Context, in *CalculateStatsRequest, opts ...grpc.CallOption) (*CalculateStatsResponse, error)
	// Gets project-level settings.
	GetSettings(ctx context.Context, in *GetSettingsRequest, opts ...grpc.CallOption) (*Settings, error)
	// Updates project-level settings.
	UpdateSettings(ctx context.Context, in *UpdateSettingsRequest, opts ...grpc.CallOption) (*Settings, error)
	// Creates a view.
	CreateView(ctx context.Context, in *CreateViewRequest, opts ...grpc.CallOption) (*View, error)
	// Gets a view.
	GetView(ctx context.Context, in *GetViewRequest, opts ...grpc.CallOption) (*View, error)
	// Lists views.
	ListViews(ctx context.Context, in *ListViewsRequest, opts ...grpc.CallOption) (*ListViewsResponse, error)
	// Updates a view.
	UpdateView(ctx context.Context, in *UpdateViewRequest, opts ...grpc.CallOption) (*View, error)
	// Deletes a view.
	DeleteView(ctx context.Context, in *DeleteViewRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ContactCenterInsightsClient is the client API for ContactCenterInsights service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ContactCenterInsightsServer

type ContactCenterInsightsServer interface {
	// Creates a conversation.
	CreateConversation(context.Context, *CreateConversationRequest) (*Conversation, error)
	// Updates a conversation.
	UpdateConversation(context.Context, *UpdateConversationRequest) (*Conversation, error)
	// Gets a conversation.
	GetConversation(context.Context, *GetConversationRequest) (*Conversation, error)
	// Lists conversations.
	ListConversations(context.Context, *ListConversationsRequest) (*ListConversationsResponse, error)
	// Deletes a conversation.
	DeleteConversation(context.Context, *DeleteConversationRequest) (*emptypb.Empty, error)
	// Creates an analysis. The long running operation is done when the analysis
	// has completed.
	CreateAnalysis(context.Context, *CreateAnalysisRequest) (*longrunning.Operation, error)
	// Gets an analysis.
	GetAnalysis(context.Context, *GetAnalysisRequest) (*Analysis, error)
	// Lists analyses.
	ListAnalyses(context.Context, *ListAnalysesRequest) (*ListAnalysesResponse, error)
	// Deletes an analysis.
	DeleteAnalysis(context.Context, *DeleteAnalysisRequest) (*emptypb.Empty, error)
	// Export insights data to a destination defined in the request body.
	ExportInsightsData(context.Context, *ExportInsightsDataRequest) (*longrunning.Operation, error)
	// Creates an issue model.
	CreateIssueModel(context.Context, *CreateIssueModelRequest) (*longrunning.Operation, error)
	// Updates an issue model.
	UpdateIssueModel(context.Context, *UpdateIssueModelRequest) (*IssueModel, error)
	// Gets an issue model.
	GetIssueModel(context.Context, *GetIssueModelRequest) (*IssueModel, error)
	// Lists issue models.
	ListIssueModels(context.Context, *ListIssueModelsRequest) (*ListIssueModelsResponse, error)
	// Deletes an issue model.
	DeleteIssueModel(context.Context, *DeleteIssueModelRequest) (*longrunning.Operation, error)
	// Deploys an issue model. Returns an error if a model is already deployed.
	// An issue model can only be used in analysis after it has been deployed.
	DeployIssueModel(context.Context, *DeployIssueModelRequest) (*longrunning.Operation, error)
	// Undeploys an issue model.
	// An issue model can not be used in analysis after it has been undeployed.
	UndeployIssueModel(context.Context, *UndeployIssueModelRequest) (*longrunning.Operation, error)
	// Gets an issue.
	GetIssue(context.Context, *GetIssueRequest) (*Issue, error)
	// Lists issues.
	ListIssues(context.Context, *ListIssuesRequest) (*ListIssuesResponse, error)
	// Updates an issue.
	UpdateIssue(context.Context, *UpdateIssueRequest) (*Issue, error)
	// Gets an issue model's statistics.
	CalculateIssueModelStats(context.Context, *CalculateIssueModelStatsRequest) (*CalculateIssueModelStatsResponse, error)
	// Creates a phrase matcher.
	CreatePhraseMatcher(context.Context, *CreatePhraseMatcherRequest) (*PhraseMatcher, error)
	// Gets a phrase matcher.
	GetPhraseMatcher(context.Context, *GetPhraseMatcherRequest) (*PhraseMatcher, error)
	// Lists phrase matchers.
	ListPhraseMatchers(context.Context, *ListPhraseMatchersRequest) (*ListPhraseMatchersResponse, error)
	// Deletes a phrase matcher.
	DeletePhraseMatcher(context.Context, *DeletePhraseMatcherRequest) (*emptypb.Empty, error)
	// Updates a phrase matcher.
	UpdatePhraseMatcher(context.Context, *UpdatePhraseMatcherRequest) (*PhraseMatcher, error)
	// Gets conversation statistics.
	CalculateStats(context.Context, *CalculateStatsRequest) (*CalculateStatsResponse, error)
	// Gets project-level settings.
	GetSettings(context.Context, *GetSettingsRequest) (*Settings, error)
	// Updates project-level settings.
	UpdateSettings(context.Context, *UpdateSettingsRequest) (*Settings, error)
	// Creates a view.
	CreateView(context.Context, *CreateViewRequest) (*View, error)
	// Gets a view.
	GetView(context.Context, *GetViewRequest) (*View, error)
	// Lists views.
	ListViews(context.Context, *ListViewsRequest) (*ListViewsResponse, error)
	// Updates a view.
	UpdateView(context.Context, *UpdateViewRequest) (*View, error)
	// Deletes a view.
	DeleteView(context.Context, *DeleteViewRequest) (*emptypb.Empty, error)
}

ContactCenterInsightsServer is the server API for ContactCenterInsights service.

type Conversation

type Conversation struct {

	// Metadata that applies to the conversation.
	//
	// Types that are assignable to Metadata:
	//	*Conversation_CallMetadata_
	Metadata isConversation_Metadata `protobuf_oneof:"metadata"`
	// A time to live expiration setting, can be either a specified timestamp or a
	// duration from the time that the conversation creation request was received.
	// Conversations with an expiration set will be removed up to 24 hours after
	// the specified time.
	//
	// Types that are assignable to Expiration:
	//	*Conversation_ExpireTime
	//	*Conversation_Ttl
	Expiration isConversation_Expiration `protobuf_oneof:"expiration"`
	// Immutable. The resource name of the conversation.
	// Format:
	// projects/{project}/locations/{location}/conversations/{conversation}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The source of the audio and transcription for the conversation.
	DataSource *ConversationDataSource `protobuf:"bytes,2,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
	// Output only. The time at which the conversation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The most recent time at which the conversation was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The time at which the conversation started.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// A user-specified language code for the conversation.
	LanguageCode string `protobuf:"bytes,14,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// An opaque, user-specified string representing the human agent who handled
	// the conversation.
	AgentId string `protobuf:"bytes,5,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	// A map for the user to specify any custom fields. A maximum of 20 labels per
	// conversation is allowed, with a maximum of 256 characters per entry.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Output only. The conversation transcript.
	Transcript *Conversation_Transcript `protobuf:"bytes,8,opt,name=transcript,proto3" json:"transcript,omitempty"`
	// Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
	Medium Conversation_Medium `` /* 129-byte string literal not displayed */
	// Output only. The duration of the conversation.
	Duration *durationpb.Duration `protobuf:"bytes,10,opt,name=duration,proto3" json:"duration,omitempty"`
	// Output only. The number of turns in the conversation.
	TurnCount int32 `protobuf:"varint,11,opt,name=turn_count,json=turnCount,proto3" json:"turn_count,omitempty"`
	// Output only. The conversation's latest analysis, if one exists.
	LatestAnalysis *Analysis `protobuf:"bytes,12,opt,name=latest_analysis,json=latestAnalysis,proto3" json:"latest_analysis,omitempty"`
	// Output only. The annotations that were generated during the customer and agent
	// interaction.
	RuntimeAnnotations []*RuntimeAnnotation `protobuf:"bytes,13,rep,name=runtime_annotations,json=runtimeAnnotations,proto3" json:"runtime_annotations,omitempty"`
	// Output only. All the matched Dialogflow intents in the call. The key corresponds to a
	// Dialogflow intent, format:
	// projects/{project}/agent/{agent}/intents/{intent}
	DialogflowIntents map[string]*DialogflowIntent `` /* 201-byte string literal not displayed */
	// Obfuscated user ID which the customer sent to us.
	ObfuscatedUserId string `protobuf:"bytes,21,opt,name=obfuscated_user_id,json=obfuscatedUserId,proto3" json:"obfuscated_user_id,omitempty"`
	// contains filtered or unexported fields
}

The conversation resource.

func (*Conversation) Descriptor deprecated

func (*Conversation) Descriptor() ([]byte, []int)

Deprecated: Use Conversation.ProtoReflect.Descriptor instead.

func (*Conversation) GetAgentId

func (x *Conversation) GetAgentId() string

func (*Conversation) GetCallMetadata

func (x *Conversation) GetCallMetadata() *Conversation_CallMetadata

func (*Conversation) GetCreateTime

func (x *Conversation) GetCreateTime() *timestamppb.Timestamp

func (*Conversation) GetDataSource

func (x *Conversation) GetDataSource() *ConversationDataSource

func (*Conversation) GetDialogflowIntents

func (x *Conversation) GetDialogflowIntents() map[string]*DialogflowIntent

func (*Conversation) GetDuration

func (x *Conversation) GetDuration() *durationpb.Duration

func (*Conversation) GetExpiration

func (m *Conversation) GetExpiration() isConversation_Expiration

func (*Conversation) GetExpireTime

func (x *Conversation) GetExpireTime() *timestamppb.Timestamp

func (*Conversation) GetLabels

func (x *Conversation) GetLabels() map[string]string

func (*Conversation) GetLanguageCode

func (x *Conversation) GetLanguageCode() string

func (*Conversation) GetLatestAnalysis

func (x *Conversation) GetLatestAnalysis() *Analysis

func (*Conversation) GetMedium

func (x *Conversation) GetMedium() Conversation_Medium

func (*Conversation) GetMetadata

func (m *Conversation) GetMetadata() isConversation_Metadata

func (*Conversation) GetName

func (x *Conversation) GetName() string

func (*Conversation) GetObfuscatedUserId

func (x *Conversation) GetObfuscatedUserId() string

func (*Conversation) GetRuntimeAnnotations

func (x *Conversation) GetRuntimeAnnotations() []*RuntimeAnnotation

func (*Conversation) GetStartTime

func (x *Conversation) GetStartTime() *timestamppb.Timestamp

func (*Conversation) GetTranscript

func (x *Conversation) GetTranscript() *Conversation_Transcript

func (*Conversation) GetTtl

func (x *Conversation) GetTtl() *durationpb.Duration

func (*Conversation) GetTurnCount

func (x *Conversation) GetTurnCount() int32

func (*Conversation) GetUpdateTime

func (x *Conversation) GetUpdateTime() *timestamppb.Timestamp

func (*Conversation) ProtoMessage

func (*Conversation) ProtoMessage()

func (*Conversation) ProtoReflect

func (x *Conversation) ProtoReflect() protoreflect.Message

func (*Conversation) Reset

func (x *Conversation) Reset()

func (*Conversation) String

func (x *Conversation) String() string

type ConversationDataSource

type ConversationDataSource struct {

	// The source of the conversation.
	//
	// Types that are assignable to Source:
	//	*ConversationDataSource_GcsSource
	//	*ConversationDataSource_DialogflowSource
	Source isConversationDataSource_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

The conversation source, which is a combination of transcript and audio.

func (*ConversationDataSource) Descriptor deprecated

func (*ConversationDataSource) Descriptor() ([]byte, []int)

Deprecated: Use ConversationDataSource.ProtoReflect.Descriptor instead.

func (*ConversationDataSource) GetDialogflowSource

func (x *ConversationDataSource) GetDialogflowSource() *DialogflowSource

func (*ConversationDataSource) GetGcsSource

func (x *ConversationDataSource) GetGcsSource() *GcsSource

func (*ConversationDataSource) GetSource

func (m *ConversationDataSource) GetSource() isConversationDataSource_Source

func (*ConversationDataSource) ProtoMessage

func (*ConversationDataSource) ProtoMessage()

func (*ConversationDataSource) ProtoReflect

func (x *ConversationDataSource) ProtoReflect() protoreflect.Message

func (*ConversationDataSource) Reset

func (x *ConversationDataSource) Reset()

func (*ConversationDataSource) String

func (x *ConversationDataSource) String() string

type ConversationDataSource_DialogflowSource

type ConversationDataSource_DialogflowSource struct {
	// The source when the conversation comes from Dialogflow.
	DialogflowSource *DialogflowSource `protobuf:"bytes,3,opt,name=dialogflow_source,json=dialogflowSource,proto3,oneof"`
}

type ConversationDataSource_GcsSource

type ConversationDataSource_GcsSource struct {
	// A Cloud Storage location specification for the audio and transcript.
	GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}

type ConversationLevelSentiment

type ConversationLevelSentiment struct {

	// The channel of the audio that the data applies to.
	ChannelTag int32 `protobuf:"varint,1,opt,name=channel_tag,json=channelTag,proto3" json:"channel_tag,omitempty"`
	// Data specifying sentiment.
	SentimentData *SentimentData `protobuf:"bytes,2,opt,name=sentiment_data,json=sentimentData,proto3" json:"sentiment_data,omitempty"`
	// contains filtered or unexported fields
}

One channel of conversation-level sentiment data.

func (*ConversationLevelSentiment) Descriptor deprecated

func (*ConversationLevelSentiment) Descriptor() ([]byte, []int)

Deprecated: Use ConversationLevelSentiment.ProtoReflect.Descriptor instead.

func (*ConversationLevelSentiment) GetChannelTag

func (x *ConversationLevelSentiment) GetChannelTag() int32

func (*ConversationLevelSentiment) GetSentimentData

func (x *ConversationLevelSentiment) GetSentimentData() *SentimentData

func (*ConversationLevelSentiment) ProtoMessage

func (*ConversationLevelSentiment) ProtoMessage()

func (*ConversationLevelSentiment) ProtoReflect

func (*ConversationLevelSentiment) Reset

func (x *ConversationLevelSentiment) Reset()

func (*ConversationLevelSentiment) String

func (x *ConversationLevelSentiment) String() string

type ConversationParticipant

type ConversationParticipant struct {

	// Types that are assignable to Participant:
	//	*ConversationParticipant_DialogflowParticipantName
	//	*ConversationParticipant_UserId
	Participant isConversationParticipant_Participant `protobuf_oneof:"participant"`
	// Deprecated. Use `dialogflow_participant_name` instead.
	// The name of the Dialogflow participant. Format:
	// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
	//
	// Deprecated: Do not use.
	DialogflowParticipant string `protobuf:"bytes,1,opt,name=dialogflow_participant,json=dialogflowParticipant,proto3" json:"dialogflow_participant,omitempty"`
	// Obfuscated user ID from Dialogflow.
	ObfuscatedExternalUserId string `` /* 137-byte string literal not displayed */
	// The role of the participant.
	Role ConversationParticipant_Role `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

The call participant speaking for a given utterance.

func (*ConversationParticipant) Descriptor deprecated

func (*ConversationParticipant) Descriptor() ([]byte, []int)

Deprecated: Use ConversationParticipant.ProtoReflect.Descriptor instead.

func (*ConversationParticipant) GetDialogflowParticipant deprecated

func (x *ConversationParticipant) GetDialogflowParticipant() string

Deprecated: Do not use.

func (*ConversationParticipant) GetDialogflowParticipantName

func (x *ConversationParticipant) GetDialogflowParticipantName() string

func (*ConversationParticipant) GetObfuscatedExternalUserId

func (x *ConversationParticipant) GetObfuscatedExternalUserId() string

func (*ConversationParticipant) GetParticipant

func (m *ConversationParticipant) GetParticipant() isConversationParticipant_Participant

func (*ConversationParticipant) GetRole

func (*ConversationParticipant) GetUserId

func (x *ConversationParticipant) GetUserId() string

func (*ConversationParticipant) ProtoMessage

func (*ConversationParticipant) ProtoMessage()

func (*ConversationParticipant) ProtoReflect

func (x *ConversationParticipant) ProtoReflect() protoreflect.Message

func (*ConversationParticipant) Reset

func (x *ConversationParticipant) Reset()

func (*ConversationParticipant) String

func (x *ConversationParticipant) String() string

type ConversationParticipant_DialogflowParticipantName

type ConversationParticipant_DialogflowParticipantName struct {
	// The name of the participant provided by Dialogflow. Format:
	// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
	DialogflowParticipantName string `protobuf:"bytes,5,opt,name=dialogflow_participant_name,json=dialogflowParticipantName,proto3,oneof"`
}

type ConversationParticipant_Role

type ConversationParticipant_Role int32

The role of the participant.

const (
	// Participant's role is not set.
	ConversationParticipant_ROLE_UNSPECIFIED ConversationParticipant_Role = 0
	// Participant is a human agent.
	ConversationParticipant_HUMAN_AGENT ConversationParticipant_Role = 1
	// Participant is an automated agent.
	ConversationParticipant_AUTOMATED_AGENT ConversationParticipant_Role = 2
	// Participant is an end user who conversed with the contact center.
	ConversationParticipant_END_USER ConversationParticipant_Role = 3
	// Participant is either a human or automated agent.
	ConversationParticipant_ANY_AGENT ConversationParticipant_Role = 4
)

func (ConversationParticipant_Role) Descriptor

func (ConversationParticipant_Role) Enum

func (ConversationParticipant_Role) EnumDescriptor deprecated

func (ConversationParticipant_Role) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConversationParticipant_Role.Descriptor instead.

func (ConversationParticipant_Role) Number

func (ConversationParticipant_Role) String

func (ConversationParticipant_Role) Type

type ConversationParticipant_UserId

type ConversationParticipant_UserId struct {
	// A user-specified ID representing the participant.
	UserId string `protobuf:"bytes,6,opt,name=user_id,json=userId,proto3,oneof"`
}

type ConversationView

type ConversationView int32

Represents the options for views of a conversation.

const (
	// Not specified. Defaults to FULL on GetConversationRequest and BASIC for
	// ListConversationsRequest.
	ConversationView_CONVERSATION_VIEW_UNSPECIFIED ConversationView = 0
	// Transcript field is not populated in the response for Insights
	// conversation.
	ConversationView_BASIC ConversationView = 1
	// All fields are populated for Insights conversation.
	ConversationView_FULL ConversationView = 2
)

func (ConversationView) Descriptor

func (ConversationView) Enum

func (ConversationView) EnumDescriptor deprecated

func (ConversationView) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConversationView.Descriptor instead.

func (ConversationView) Number

func (ConversationView) String

func (x ConversationView) String() string

func (ConversationView) Type

type Conversation_CallMetadata

type Conversation_CallMetadata struct {

	// The audio channel that contains the customer.
	CustomerChannel int32 `protobuf:"varint,1,opt,name=customer_channel,json=customerChannel,proto3" json:"customer_channel,omitempty"`
	// The audio channel that contains the agent.
	AgentChannel int32 `protobuf:"varint,2,opt,name=agent_channel,json=agentChannel,proto3" json:"agent_channel,omitempty"`
	// contains filtered or unexported fields
}

Call-specific metadata.

func (*Conversation_CallMetadata) Descriptor deprecated

func (*Conversation_CallMetadata) Descriptor() ([]byte, []int)

Deprecated: Use Conversation_CallMetadata.ProtoReflect.Descriptor instead.

func (*Conversation_CallMetadata) GetAgentChannel

func (x *Conversation_CallMetadata) GetAgentChannel() int32

func (*Conversation_CallMetadata) GetCustomerChannel

func (x *Conversation_CallMetadata) GetCustomerChannel() int32

func (*Conversation_CallMetadata) ProtoMessage

func (*Conversation_CallMetadata) ProtoMessage()

func (*Conversation_CallMetadata) ProtoReflect

func (*Conversation_CallMetadata) Reset

func (x *Conversation_CallMetadata) Reset()

func (*Conversation_CallMetadata) String

func (x *Conversation_CallMetadata) String() string

type Conversation_CallMetadata_

type Conversation_CallMetadata_ struct {
	// Call-specific metadata.
	CallMetadata *Conversation_CallMetadata `protobuf:"bytes,7,opt,name=call_metadata,json=callMetadata,proto3,oneof"`
}

type Conversation_ExpireTime

type Conversation_ExpireTime struct {
	// The time at which this conversation should expire. After this time, the
	// conversation data and any associated analyses will be deleted.
	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=expire_time,json=expireTime,proto3,oneof"`
}

type Conversation_Medium

type Conversation_Medium int32

Possible media for the conversation.

const (
	// Default value, if unspecified will default to PHONE_CALL.
	Conversation_MEDIUM_UNSPECIFIED Conversation_Medium = 0
	// The format for conversations that took place over the phone.
	Conversation_PHONE_CALL Conversation_Medium = 1
	// The format for conversations that took place over chat.
	Conversation_CHAT Conversation_Medium = 2
)

func (Conversation_Medium) Descriptor

func (Conversation_Medium) Enum

func (Conversation_Medium) EnumDescriptor deprecated

func (Conversation_Medium) EnumDescriptor() ([]byte, []int)

Deprecated: Use Conversation_Medium.Descriptor instead.

func (Conversation_Medium) Number

func (Conversation_Medium) String

func (x Conversation_Medium) String() string

func (Conversation_Medium) Type

type Conversation_Transcript

type Conversation_Transcript struct {

	// A list of sequential transcript segments that comprise the conversation.
	TranscriptSegments []*Conversation_Transcript_TranscriptSegment `protobuf:"bytes,1,rep,name=transcript_segments,json=transcriptSegments,proto3" json:"transcript_segments,omitempty"`
	// contains filtered or unexported fields
}

A message representing the transcript of a conversation.

func (*Conversation_Transcript) Descriptor deprecated

func (*Conversation_Transcript) Descriptor() ([]byte, []int)

Deprecated: Use Conversation_Transcript.ProtoReflect.Descriptor instead.

func (*Conversation_Transcript) GetTranscriptSegments

func (*Conversation_Transcript) ProtoMessage

func (*Conversation_Transcript) ProtoMessage()

func (*Conversation_Transcript) ProtoReflect

func (x *Conversation_Transcript) ProtoReflect() protoreflect.Message

func (*Conversation_Transcript) Reset

func (x *Conversation_Transcript) Reset()

func (*Conversation_Transcript) String

func (x *Conversation_Transcript) String() string

type Conversation_Transcript_TranscriptSegment

type Conversation_Transcript_TranscriptSegment struct {

	// The time that the message occurred, if provided.
	MessageTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=message_time,json=messageTime,proto3" json:"message_time,omitempty"`
	// The text of this segment.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// A confidence estimate between 0.0 and 1.0 of the fidelity of this
	// segment. A default value of 0.0 indicates that the value is unset.
	Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// A list of the word-specific information for each word in the segment.
	Words []*Conversation_Transcript_TranscriptSegment_WordInfo `protobuf:"bytes,3,rep,name=words,proto3" json:"words,omitempty"`
	// The language code of this segment as a
	// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
	// Example: "en-US".
	LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// For conversations derived from multi-channel audio, this is the channel
	// number corresponding to the audio from that channel. For
	// audioChannelCount = N, its output values can range from '1' to 'N'. A
	// channel tag of 0 indicates that the audio is mono.
	ChannelTag int32 `protobuf:"varint,5,opt,name=channel_tag,json=channelTag,proto3" json:"channel_tag,omitempty"`
	// The participant of this segment.
	SegmentParticipant *ConversationParticipant `protobuf:"bytes,9,opt,name=segment_participant,json=segmentParticipant,proto3" json:"segment_participant,omitempty"`
	// CCAI metadata relating to the current transcript segment.
	DialogflowSegmentMetadata *Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata `` /* 139-byte string literal not displayed */
	// The sentiment for this transcript segment.
	Sentiment *SentimentData `protobuf:"bytes,11,opt,name=sentiment,proto3" json:"sentiment,omitempty"`
	// contains filtered or unexported fields
}

A segment of a full transcript.

func (*Conversation_Transcript_TranscriptSegment) Descriptor deprecated

func (*Conversation_Transcript_TranscriptSegment) Descriptor() ([]byte, []int)

Deprecated: Use Conversation_Transcript_TranscriptSegment.ProtoReflect.Descriptor instead.

func (*Conversation_Transcript_TranscriptSegment) GetChannelTag

func (*Conversation_Transcript_TranscriptSegment) GetConfidence

func (*Conversation_Transcript_TranscriptSegment) GetDialogflowSegmentMetadata

func (*Conversation_Transcript_TranscriptSegment) GetLanguageCode

func (*Conversation_Transcript_TranscriptSegment) GetMessageTime

func (*Conversation_Transcript_TranscriptSegment) GetSegmentParticipant

func (*Conversation_Transcript_TranscriptSegment) GetSentiment

func (*Conversation_Transcript_TranscriptSegment) GetText

func (*Conversation_Transcript_TranscriptSegment) GetWords

func (*Conversation_Transcript_TranscriptSegment) ProtoMessage

func (*Conversation_Transcript_TranscriptSegment) ProtoReflect

func (*Conversation_Transcript_TranscriptSegment) Reset

func (*Conversation_Transcript_TranscriptSegment) String

type Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata

type Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata struct {

	// Whether the transcript segment was covered under the configured smart
	// reply allowlist in Agent Assist.
	SmartReplyAllowlistCovered bool `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

Metadata from Dialogflow relating to the current transcript segment.

func (*Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) Descriptor deprecated

Deprecated: Use Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata.ProtoReflect.Descriptor instead.

func (*Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) GetSmartReplyAllowlistCovered

func (*Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) ProtoMessage

func (*Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) ProtoReflect

func (*Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) Reset

func (*Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) String

type Conversation_Transcript_TranscriptSegment_WordInfo

type Conversation_Transcript_TranscriptSegment_WordInfo struct {

	// Time offset of the start of this word relative to the beginning of
	// the total conversation.
	StartOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"`
	// Time offset of the end of this word relative to the beginning of the
	// total conversation.
	EndOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"`
	// The word itself. Includes punctuation marks that surround the word.
	Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"`
	// A confidence estimate between 0.0 and 1.0 of the fidelity of this
	// word. A default value of 0.0 indicates that the value is unset.
	Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// contains filtered or unexported fields
}

Word-level info for words in a transcript.

func (*Conversation_Transcript_TranscriptSegment_WordInfo) Descriptor deprecated

Deprecated: Use Conversation_Transcript_TranscriptSegment_WordInfo.ProtoReflect.Descriptor instead.

func (*Conversation_Transcript_TranscriptSegment_WordInfo) GetConfidence

func (*Conversation_Transcript_TranscriptSegment_WordInfo) GetEndOffset

func (*Conversation_Transcript_TranscriptSegment_WordInfo) GetStartOffset

func (*Conversation_Transcript_TranscriptSegment_WordInfo) GetWord

func (*Conversation_Transcript_TranscriptSegment_WordInfo) ProtoMessage

func (*Conversation_Transcript_TranscriptSegment_WordInfo) ProtoReflect

func (*Conversation_Transcript_TranscriptSegment_WordInfo) Reset

func (*Conversation_Transcript_TranscriptSegment_WordInfo) String

type Conversation_Ttl

type Conversation_Ttl struct {
	// Input only. The TTL for this resource. If specified, then this TTL will
	// be used to calculate the expire time.
	Ttl *durationpb.Duration `protobuf:"bytes,16,opt,name=ttl,proto3,oneof"`
}

type CreateAnalysisOperationMetadata

type CreateAnalysisOperationMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. The Conversation that this Analysis Operation belongs to.
	Conversation string `protobuf:"bytes,3,opt,name=conversation,proto3" json:"conversation,omitempty"`
	// contains filtered or unexported fields
}

Metadata for a create analysis operation.

func (*CreateAnalysisOperationMetadata) Descriptor deprecated

func (*CreateAnalysisOperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use CreateAnalysisOperationMetadata.ProtoReflect.Descriptor instead.

func (*CreateAnalysisOperationMetadata) GetConversation

func (x *CreateAnalysisOperationMetadata) GetConversation() string

func (*CreateAnalysisOperationMetadata) GetCreateTime

func (*CreateAnalysisOperationMetadata) GetEndTime

func (*CreateAnalysisOperationMetadata) ProtoMessage

func (*CreateAnalysisOperationMetadata) ProtoMessage()

func (*CreateAnalysisOperationMetadata) ProtoReflect

func (*CreateAnalysisOperationMetadata) Reset

func (*CreateAnalysisOperationMetadata) String

type CreateAnalysisRequest

type CreateAnalysisRequest struct {

	// Required. The parent resource of the analysis.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The analysis to create.
	Analysis *Analysis `protobuf:"bytes,2,opt,name=analysis,proto3" json:"analysis,omitempty"`
	// contains filtered or unexported fields
}

The request to create an analysis.

func (*CreateAnalysisRequest) Descriptor deprecated

func (*CreateAnalysisRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAnalysisRequest.ProtoReflect.Descriptor instead.

func (*CreateAnalysisRequest) GetAnalysis

func (x *CreateAnalysisRequest) GetAnalysis() *Analysis

func (*CreateAnalysisRequest) GetParent

func (x *CreateAnalysisRequest) GetParent() string

func (*CreateAnalysisRequest) ProtoMessage

func (*CreateAnalysisRequest) ProtoMessage()

func (*CreateAnalysisRequest) ProtoReflect

func (x *CreateAnalysisRequest) ProtoReflect() protoreflect.Message

func (*CreateAnalysisRequest) Reset

func (x *CreateAnalysisRequest) Reset()

func (*CreateAnalysisRequest) String

func (x *CreateAnalysisRequest) String() string

type CreateConversationRequest

type CreateConversationRequest struct {

	// Required. The parent resource of the conversation.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The conversation resource to create.
	Conversation *Conversation `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation,omitempty"`
	// A unique ID for the new conversation. This ID will become the final
	// component of the conversation's resource name. If no ID is specified, a
	// server-generated ID will be used.
	//
	// This value should be 4-64 characters and must match the regular
	// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`
	ConversationId string `protobuf:"bytes,3,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	// contains filtered or unexported fields
}

Request to create a conversation.

func (*CreateConversationRequest) Descriptor deprecated

func (*CreateConversationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateConversationRequest.ProtoReflect.Descriptor instead.

func (*CreateConversationRequest) GetConversation

func (x *CreateConversationRequest) GetConversation() *Conversation

func (*CreateConversationRequest) GetConversationId

func (x *CreateConversationRequest) GetConversationId() string

func (*CreateConversationRequest) GetParent

func (x *CreateConversationRequest) GetParent() string

func (*CreateConversationRequest) ProtoMessage

func (*CreateConversationRequest) ProtoMessage()

func (*CreateConversationRequest) ProtoReflect

func (*CreateConversationRequest) Reset

func (x *CreateConversationRequest) Reset()

func (*CreateConversationRequest) String

func (x *CreateConversationRequest) String() string

type CreateIssueModelMetadata

type CreateIssueModelMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The original request for creation.
	Request *CreateIssueModelRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

Metadata for creating an issue model.

func (*CreateIssueModelMetadata) Descriptor deprecated

func (*CreateIssueModelMetadata) Descriptor() ([]byte, []int)

Deprecated: Use CreateIssueModelMetadata.ProtoReflect.Descriptor instead.

func (*CreateIssueModelMetadata) GetCreateTime

func (x *CreateIssueModelMetadata) GetCreateTime() *timestamppb.Timestamp

func (*CreateIssueModelMetadata) GetEndTime

func (*CreateIssueModelMetadata) GetRequest

func (*CreateIssueModelMetadata) ProtoMessage

func (*CreateIssueModelMetadata) ProtoMessage()

func (*CreateIssueModelMetadata) ProtoReflect

func (x *CreateIssueModelMetadata) ProtoReflect() protoreflect.Message

func (*CreateIssueModelMetadata) Reset

func (x *CreateIssueModelMetadata) Reset()

func (*CreateIssueModelMetadata) String

func (x *CreateIssueModelMetadata) String() string

type CreateIssueModelRequest

type CreateIssueModelRequest struct {

	// Required. The parent resource of the issue model.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The issue model to create.
	IssueModel *IssueModel `protobuf:"bytes,2,opt,name=issue_model,json=issueModel,proto3" json:"issue_model,omitempty"`
	// contains filtered or unexported fields
}

The request to create an issue model.

func (*CreateIssueModelRequest) Descriptor deprecated

func (*CreateIssueModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateIssueModelRequest.ProtoReflect.Descriptor instead.

func (*CreateIssueModelRequest) GetIssueModel

func (x *CreateIssueModelRequest) GetIssueModel() *IssueModel

func (*CreateIssueModelRequest) GetParent

func (x *CreateIssueModelRequest) GetParent() string

func (*CreateIssueModelRequest) ProtoMessage

func (*CreateIssueModelRequest) ProtoMessage()

func (*CreateIssueModelRequest) ProtoReflect

func (x *CreateIssueModelRequest) ProtoReflect() protoreflect.Message

func (*CreateIssueModelRequest) Reset

func (x *CreateIssueModelRequest) Reset()

func (*CreateIssueModelRequest) String

func (x *CreateIssueModelRequest) String() string

type CreatePhraseMatcherRequest

type CreatePhraseMatcherRequest struct {

	// Required. The parent resource of the phrase matcher. Required. The location to create
	// a phrase matcher for.
	// Format: `projects/<Project ID>/locations/<Location ID>` or
	// `projects/<Project Number>/locations/<Location ID>`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The phrase matcher resource to create.
	PhraseMatcher *PhraseMatcher `protobuf:"bytes,2,opt,name=phrase_matcher,json=phraseMatcher,proto3" json:"phrase_matcher,omitempty"`
	// contains filtered or unexported fields
}

Request to create a phrase matcher.

func (*CreatePhraseMatcherRequest) Descriptor deprecated

func (*CreatePhraseMatcherRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreatePhraseMatcherRequest.ProtoReflect.Descriptor instead.

func (*CreatePhraseMatcherRequest) GetParent

func (x *CreatePhraseMatcherRequest) GetParent() string

func (*CreatePhraseMatcherRequest) GetPhraseMatcher

func (x *CreatePhraseMatcherRequest) GetPhraseMatcher() *PhraseMatcher

func (*CreatePhraseMatcherRequest) ProtoMessage

func (*CreatePhraseMatcherRequest) ProtoMessage()

func (*CreatePhraseMatcherRequest) ProtoReflect

func (*CreatePhraseMatcherRequest) Reset

func (x *CreatePhraseMatcherRequest) Reset()

func (*CreatePhraseMatcherRequest) String

func (x *CreatePhraseMatcherRequest) String() string

type CreateViewRequest

type CreateViewRequest struct {

	// Required. The parent resource of the view. Required. The location to create
	// a view for.
	// Format: `projects/<Project ID>/locations/<Location ID>` or
	// `projects/<Project Number>/locations/<Location ID>`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The view resource to create.
	View *View `protobuf:"bytes,2,opt,name=view,proto3" json:"view,omitempty"`
	// contains filtered or unexported fields
}

The request to create a view.

func (*CreateViewRequest) Descriptor deprecated

func (*CreateViewRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateViewRequest.ProtoReflect.Descriptor instead.

func (*CreateViewRequest) GetParent

func (x *CreateViewRequest) GetParent() string

func (*CreateViewRequest) GetView

func (x *CreateViewRequest) GetView() *View

func (*CreateViewRequest) ProtoMessage

func (*CreateViewRequest) ProtoMessage()

func (*CreateViewRequest) ProtoReflect

func (x *CreateViewRequest) ProtoReflect() protoreflect.Message

func (*CreateViewRequest) Reset

func (x *CreateViewRequest) Reset()

func (*CreateViewRequest) String

func (x *CreateViewRequest) String() string

type DeleteAnalysisRequest

type DeleteAnalysisRequest struct {

	// Required. The name of the analysis to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request to delete an analysis.

func (*DeleteAnalysisRequest) Descriptor deprecated

func (*DeleteAnalysisRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAnalysisRequest.ProtoReflect.Descriptor instead.

func (*DeleteAnalysisRequest) GetName

func (x *DeleteAnalysisRequest) GetName() string

func (*DeleteAnalysisRequest) ProtoMessage

func (*DeleteAnalysisRequest) ProtoMessage()

func (*DeleteAnalysisRequest) ProtoReflect

func (x *DeleteAnalysisRequest) ProtoReflect() protoreflect.Message

func (*DeleteAnalysisRequest) Reset

func (x *DeleteAnalysisRequest) Reset()

func (*DeleteAnalysisRequest) String

func (x *DeleteAnalysisRequest) String() string

type DeleteConversationRequest

type DeleteConversationRequest struct {

	// Required. The name of the conversation to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If set to true, all of this conversation's analyses will also be deleted.
	// Otherwise, the request will only succeed if the conversation has no
	// analyses.
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

The request to delete a conversation.

func (*DeleteConversationRequest) Descriptor deprecated

func (*DeleteConversationRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteConversationRequest.ProtoReflect.Descriptor instead.

func (*DeleteConversationRequest) GetForce

func (x *DeleteConversationRequest) GetForce() bool

func (*DeleteConversationRequest) GetName

func (x *DeleteConversationRequest) GetName() string

func (*DeleteConversationRequest) ProtoMessage

func (*DeleteConversationRequest) ProtoMessage()

func (*DeleteConversationRequest) ProtoReflect

func (*DeleteConversationRequest) Reset

func (x *DeleteConversationRequest) Reset()

func (*DeleteConversationRequest) String

func (x *DeleteConversationRequest) String() string

type DeleteIssueModelMetadata

type DeleteIssueModelMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The original request for deletion.
	Request *DeleteIssueModelRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

Metadata for deleting an issue model.

func (*DeleteIssueModelMetadata) Descriptor deprecated

func (*DeleteIssueModelMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DeleteIssueModelMetadata.ProtoReflect.Descriptor instead.

func (*DeleteIssueModelMetadata) GetCreateTime

func (x *DeleteIssueModelMetadata) GetCreateTime() *timestamppb.Timestamp

func (*DeleteIssueModelMetadata) GetEndTime

func (*DeleteIssueModelMetadata) GetRequest

func (*DeleteIssueModelMetadata) ProtoMessage

func (*DeleteIssueModelMetadata) ProtoMessage()

func (*DeleteIssueModelMetadata) ProtoReflect

func (x *DeleteIssueModelMetadata) ProtoReflect() protoreflect.Message

func (*DeleteIssueModelMetadata) Reset

func (x *DeleteIssueModelMetadata) Reset()

func (*DeleteIssueModelMetadata) String

func (x *DeleteIssueModelMetadata) String() string

type DeleteIssueModelRequest

type DeleteIssueModelRequest struct {

	// Required. The name of the issue model to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request to delete an issue model.

func (*DeleteIssueModelRequest) Descriptor deprecated

func (*DeleteIssueModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteIssueModelRequest.ProtoReflect.Descriptor instead.

func (*DeleteIssueModelRequest) GetName

func (x *DeleteIssueModelRequest) GetName() string

func (*DeleteIssueModelRequest) ProtoMessage

func (*DeleteIssueModelRequest) ProtoMessage()

func (*DeleteIssueModelRequest) ProtoReflect

func (x *DeleteIssueModelRequest) ProtoReflect() protoreflect.Message

func (*DeleteIssueModelRequest) Reset

func (x *DeleteIssueModelRequest) Reset()

func (*DeleteIssueModelRequest) String

func (x *DeleteIssueModelRequest) String() string

type DeletePhraseMatcherRequest

type DeletePhraseMatcherRequest struct {

	// Required. The name of the phrase matcher to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request to delete a phrase matcher.

func (*DeletePhraseMatcherRequest) Descriptor deprecated

func (*DeletePhraseMatcherRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePhraseMatcherRequest.ProtoReflect.Descriptor instead.

func (*DeletePhraseMatcherRequest) GetName

func (x *DeletePhraseMatcherRequest) GetName() string

func (*DeletePhraseMatcherRequest) ProtoMessage

func (*DeletePhraseMatcherRequest) ProtoMessage()

func (*DeletePhraseMatcherRequest) ProtoReflect

func (*DeletePhraseMatcherRequest) Reset

func (x *DeletePhraseMatcherRequest) Reset()

func (*DeletePhraseMatcherRequest) String

func (x *DeletePhraseMatcherRequest) String() string

type DeleteViewRequest

type DeleteViewRequest struct {

	// Required. The name of the view to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request to delete a view.

func (*DeleteViewRequest) Descriptor deprecated

func (*DeleteViewRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteViewRequest.ProtoReflect.Descriptor instead.

func (*DeleteViewRequest) GetName

func (x *DeleteViewRequest) GetName() string

func (*DeleteViewRequest) ProtoMessage

func (*DeleteViewRequest) ProtoMessage()

func (*DeleteViewRequest) ProtoReflect

func (x *DeleteViewRequest) ProtoReflect() protoreflect.Message

func (*DeleteViewRequest) Reset

func (x *DeleteViewRequest) Reset()

func (*DeleteViewRequest) String

func (x *DeleteViewRequest) String() string

type DeployIssueModelMetadata

type DeployIssueModelMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The original request for deployment.
	Request *DeployIssueModelRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

Metadata for deploying an issue model.

func (*DeployIssueModelMetadata) Descriptor deprecated

func (*DeployIssueModelMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DeployIssueModelMetadata.ProtoReflect.Descriptor instead.

func (*DeployIssueModelMetadata) GetCreateTime

func (x *DeployIssueModelMetadata) GetCreateTime() *timestamppb.Timestamp

func (*DeployIssueModelMetadata) GetEndTime

func (*DeployIssueModelMetadata) GetRequest

func (*DeployIssueModelMetadata) ProtoMessage

func (*DeployIssueModelMetadata) ProtoMessage()

func (*DeployIssueModelMetadata) ProtoReflect

func (x *DeployIssueModelMetadata) ProtoReflect() protoreflect.Message

func (*DeployIssueModelMetadata) Reset

func (x *DeployIssueModelMetadata) Reset()

func (*DeployIssueModelMetadata) String

func (x *DeployIssueModelMetadata) String() string

type DeployIssueModelRequest

type DeployIssueModelRequest struct {

	// Required. The issue model to deploy.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request to deploy an issue model.

func (*DeployIssueModelRequest) Descriptor deprecated

func (*DeployIssueModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeployIssueModelRequest.ProtoReflect.Descriptor instead.

func (*DeployIssueModelRequest) GetName

func (x *DeployIssueModelRequest) GetName() string

func (*DeployIssueModelRequest) ProtoMessage

func (*DeployIssueModelRequest) ProtoMessage()

func (*DeployIssueModelRequest) ProtoReflect

func (x *DeployIssueModelRequest) ProtoReflect() protoreflect.Message

func (*DeployIssueModelRequest) Reset

func (x *DeployIssueModelRequest) Reset()

func (*DeployIssueModelRequest) String

func (x *DeployIssueModelRequest) String() string

type DeployIssueModelResponse

type DeployIssueModelResponse struct {
	// contains filtered or unexported fields
}

The response to deploy an issue model.

func (*DeployIssueModelResponse) Descriptor deprecated

func (*DeployIssueModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeployIssueModelResponse.ProtoReflect.Descriptor instead.

func (*DeployIssueModelResponse) ProtoMessage

func (*DeployIssueModelResponse) ProtoMessage()

func (*DeployIssueModelResponse) ProtoReflect

func (x *DeployIssueModelResponse) ProtoReflect() protoreflect.Message

func (*DeployIssueModelResponse) Reset

func (x *DeployIssueModelResponse) Reset()

func (*DeployIssueModelResponse) String

func (x *DeployIssueModelResponse) String() string

type DialogflowIntent

type DialogflowIntent struct {

	// The human-readable name of the intent.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE.

func (*DialogflowIntent) Descriptor deprecated

func (*DialogflowIntent) Descriptor() ([]byte, []int)

Deprecated: Use DialogflowIntent.ProtoReflect.Descriptor instead.

func (*DialogflowIntent) GetDisplayName

func (x *DialogflowIntent) GetDisplayName() string

func (*DialogflowIntent) ProtoMessage

func (*DialogflowIntent) ProtoMessage()

func (*DialogflowIntent) ProtoReflect

func (x *DialogflowIntent) ProtoReflect() protoreflect.Message

func (*DialogflowIntent) Reset

func (x *DialogflowIntent) Reset()

func (*DialogflowIntent) String

func (x *DialogflowIntent) String() string

type DialogflowInteractionData

type DialogflowInteractionData struct {

	// The Dialogflow intent resource path. Format:
	// projects/{project}/agent/{agent}/intents/{intent}
	DialogflowIntentId string `protobuf:"bytes,1,opt,name=dialogflow_intent_id,json=dialogflowIntentId,proto3" json:"dialogflow_intent_id,omitempty"`
	// The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
	// (completely certain).
	Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// contains filtered or unexported fields
}

Dialogflow interaction data.

func (*DialogflowInteractionData) Descriptor deprecated

func (*DialogflowInteractionData) Descriptor() ([]byte, []int)

Deprecated: Use DialogflowInteractionData.ProtoReflect.Descriptor instead.

func (*DialogflowInteractionData) GetConfidence

func (x *DialogflowInteractionData) GetConfidence() float32

func (*DialogflowInteractionData) GetDialogflowIntentId

func (x *DialogflowInteractionData) GetDialogflowIntentId() string

func (*DialogflowInteractionData) ProtoMessage

func (*DialogflowInteractionData) ProtoMessage()

func (*DialogflowInteractionData) ProtoReflect

func (*DialogflowInteractionData) Reset

func (x *DialogflowInteractionData) Reset()

func (*DialogflowInteractionData) String

func (x *DialogflowInteractionData) String() string

type DialogflowSource

type DialogflowSource struct {

	// Output only. The name of the Dialogflow conversation that this conversation
	// resource is derived from. Format:
	// projects/{project}/locations/{location}/conversations/{conversation}
	DialogflowConversation string `` /* 127-byte string literal not displayed */
	// Cloud Storage URI that points to a file that contains the conversation
	// audio.
	AudioUri string `protobuf:"bytes,3,opt,name=audio_uri,json=audioUri,proto3" json:"audio_uri,omitempty"`
	// contains filtered or unexported fields
}

A Dialogflow source of conversation data.

func (*DialogflowSource) Descriptor deprecated

func (*DialogflowSource) Descriptor() ([]byte, []int)

Deprecated: Use DialogflowSource.ProtoReflect.Descriptor instead.

func (*DialogflowSource) GetAudioUri

func (x *DialogflowSource) GetAudioUri() string

func (*DialogflowSource) GetDialogflowConversation

func (x *DialogflowSource) GetDialogflowConversation() string

func (*DialogflowSource) ProtoMessage

func (*DialogflowSource) ProtoMessage()

func (*DialogflowSource) ProtoReflect

func (x *DialogflowSource) ProtoReflect() protoreflect.Message

func (*DialogflowSource) Reset

func (x *DialogflowSource) Reset()

func (*DialogflowSource) String

func (x *DialogflowSource) String() string

type Entity

type Entity struct {

	// The representative name for the entity.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The entity type.
	Type Entity_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.contactcenterinsights.v1.Entity_Type" json:"type,omitempty"`
	// Metadata associated with the entity.
	//
	// For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
	// and Knowledge Graph MID (`mid`), if they are available. For the metadata
	// associated with other entity types, see the Type table below.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// The salience score associated with the entity in the [0, 1.0] range.
	//
	// The salience score for an entity provides information about the
	// importance or centrality of that entity to the entire document text.
	// Scores closer to 0 are less salient, while scores closer to 1.0 are highly
	// salient.
	Salience float32 `protobuf:"fixed32,4,opt,name=salience,proto3" json:"salience,omitempty"`
	// The aggregate sentiment expressed for this entity in the conversation.
	Sentiment *SentimentData `protobuf:"bytes,5,opt,name=sentiment,proto3" json:"sentiment,omitempty"`
	// contains filtered or unexported fields
}

The data for an entity annotation. Represents a phrase in the conversation that is a known entity, such as a person, an organization, or location.

func (*Entity) Descriptor deprecated

func (*Entity) Descriptor() ([]byte, []int)

Deprecated: Use Entity.ProtoReflect.Descriptor instead.

func (*Entity) GetDisplayName

func (x *Entity) GetDisplayName() string

func (*Entity) GetMetadata

func (x *Entity) GetMetadata() map[string]string

func (*Entity) GetSalience

func (x *Entity) GetSalience() float32

func (*Entity) GetSentiment

func (x *Entity) GetSentiment() *SentimentData

func (*Entity) GetType

func (x *Entity) GetType() Entity_Type

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) ProtoReflect

func (x *Entity) ProtoReflect() protoreflect.Message

func (*Entity) Reset

func (x *Entity) Reset()

func (*Entity) String

func (x *Entity) String() string

type EntityMentionData

type EntityMentionData struct {

	// The key of this entity in conversation entities.
	// Can be used to retrieve the exact `Entity` this mention is attached to.
	EntityUniqueId string `protobuf:"bytes,1,opt,name=entity_unique_id,json=entityUniqueId,proto3" json:"entity_unique_id,omitempty"`
	// The type of the entity mention.
	Type EntityMentionData_MentionType `` /* 135-byte string literal not displayed */
	// Sentiment expressed for this mention of the entity.
	Sentiment *SentimentData `protobuf:"bytes,3,opt,name=sentiment,proto3" json:"sentiment,omitempty"`
	// contains filtered or unexported fields
}

The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation.

func (*EntityMentionData) Descriptor deprecated

func (*EntityMentionData) Descriptor() ([]byte, []int)

Deprecated: Use EntityMentionData.ProtoReflect.Descriptor instead.

func (*EntityMentionData) GetEntityUniqueId

func (x *EntityMentionData) GetEntityUniqueId() string

func (*EntityMentionData) GetSentiment

func (x *EntityMentionData) GetSentiment() *SentimentData

func (*EntityMentionData) GetType

func (*EntityMentionData) ProtoMessage

func (*EntityMentionData) ProtoMessage()

func (*EntityMentionData) ProtoReflect

func (x *EntityMentionData) ProtoReflect() protoreflect.Message

func (*EntityMentionData) Reset

func (x *EntityMentionData) Reset()

func (*EntityMentionData) String

func (x *EntityMentionData) String() string

type EntityMentionData_MentionType

type EntityMentionData_MentionType int32

The supported types of mentions.

const (
	// Unspecified.
	EntityMentionData_MENTION_TYPE_UNSPECIFIED EntityMentionData_MentionType = 0
	// Proper noun.
	EntityMentionData_PROPER EntityMentionData_MentionType = 1
	// Common noun (or noun compound).
	EntityMentionData_COMMON EntityMentionData_MentionType = 2
)

func (EntityMentionData_MentionType) Descriptor

func (EntityMentionData_MentionType) Enum

func (EntityMentionData_MentionType) EnumDescriptor deprecated

func (EntityMentionData_MentionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EntityMentionData_MentionType.Descriptor instead.

func (EntityMentionData_MentionType) Number

func (EntityMentionData_MentionType) String

func (EntityMentionData_MentionType) Type

type Entity_Type

type Entity_Type int32

The type of the entity. For most entity types, the associated metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`). The table below lists the associated fields for entities that have different metadata.

const (
	// Unspecified.
	Entity_TYPE_UNSPECIFIED Entity_Type = 0
	// Person.
	Entity_PERSON Entity_Type = 1
	// Location.
	Entity_LOCATION Entity_Type = 2
	// Organization.
	Entity_ORGANIZATION Entity_Type = 3
	// Event.
	Entity_EVENT Entity_Type = 4
	// Artwork.
	Entity_WORK_OF_ART Entity_Type = 5
	// Consumer product.
	Entity_CONSUMER_GOOD Entity_Type = 6
	// Other types of entities.
	Entity_OTHER Entity_Type = 7
	// Phone number.
	//
	// The metadata lists the phone number (formatted according to local
	// convention), plus whichever additional elements appear in the text:
	//
	// * `number` - The actual number, broken down into sections according to
	// local convention.
	// * `national_prefix` - Country code, if detected.
	// * `area_code` - Region or area code, if detected.
	// * `extension` - Phone extension (to be dialed after connection), if
	// detected.
	Entity_PHONE_NUMBER Entity_Type = 9
	// Address.
	//
	// The metadata identifies the street number and locality plus whichever
	// additional elements appear in the text:
	//
	// * `street_number` - Street number.
	// * `locality` - City or town.
	// * `street_name` - Street/route name, if detected.
	// * `postal_code` - Postal code, if detected.
	// * `country` - Country, if detected.
	// * `broad_region` - Administrative area, such as the state, if detected.
	// * `narrow_region` - Smaller administrative area, such as county, if
	// detected.
	// * `sublocality` - Used in Asian addresses to demark a district within a
	// city, if detected.
	Entity_ADDRESS Entity_Type = 10
	// Date.
	//
	// The metadata identifies the components of the date:
	//
	// * `year` - Four digit year, if detected.
	// * `month` - Two digit month number, if detected.
	// * `day` - Two digit day number, if detected.
	Entity_DATE Entity_Type = 11
	// Number.
	//
	// The metadata is the number itself.
	Entity_NUMBER Entity_Type = 12
	// Price.
	//
	// The metadata identifies the `value` and `currency`.
	Entity_PRICE Entity_Type = 13
)

func (Entity_Type) Descriptor

func (Entity_Type) Enum

func (x Entity_Type) Enum() *Entity_Type

func (Entity_Type) EnumDescriptor deprecated

func (Entity_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Entity_Type.Descriptor instead.

func (Entity_Type) Number

func (x Entity_Type) Number() protoreflect.EnumNumber

func (Entity_Type) String

func (x Entity_Type) String() string

func (Entity_Type) Type

type ExactMatchConfig

type ExactMatchConfig struct {

	// Whether to consider case sensitivity when performing an exact match.
	CaseSensitive bool `protobuf:"varint,1,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"`
	// contains filtered or unexported fields
}

Exact match configuration.