Interface AnalysisRuleOrBuilder (2.54.0)

public interface AnalysisRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActive()

public abstract boolean getActive()

If true, apply this rule to conversations. Otherwise, this rule is inactive and saved as a draft.

bool active = 8;

Returns
Type Description
boolean

The active.

getAnalysisPercentage()

public abstract double getAnalysisPercentage()

Percentage of conversations that we should apply this analysis setting automatically, between [0, 1]. For example, 0.1 means 10%. Conversations are sampled in a determenestic way. The original runtime_percentage & upload percentage will be replaced by defining filters on the conversation.

double analysis_percentage = 7;

Returns
Type Description
double

The analysisPercentage.

getAnnotatorSelector()

public abstract AnnotatorSelector getAnnotatorSelector()

Selector of annotators to run and the phrase matchers to use for conversations that matches the conversation_filter. If not specified, NO annotators will be run.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 6;

Returns
Type Description
AnnotatorSelector

The annotatorSelector.

getAnnotatorSelectorOrBuilder()

public abstract AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder()

Selector of annotators to run and the phrase matchers to use for conversations that matches the conversation_filter. If not specified, NO annotators will be run.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 6;

Returns
Type Description
AnnotatorSelectorOrBuilder

getConversationFilter()

public abstract String getConversationFilter()

Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations.

string conversation_filter = 5;

Returns
Type Description
String

The conversationFilter.

getConversationFilterBytes()

public abstract ByteString getConversationFilterBytes()

Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations.

string conversation_filter = 5;

Returns
Type Description
ByteString

The bytes for conversationFilter.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time at which this analysis rule was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which this analysis rule was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDisplayName()

public abstract String getDisplayName()

Display Name of the analysis rule.

optional string display_name = 4;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Display Name of the analysis rule.

optional string display_name = 4;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public abstract String getName()

Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The most recent time at which this analysis rule was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The most recent time at which this analysis rule was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasAnnotatorSelector()

public abstract boolean hasAnnotatorSelector()

Selector of annotators to run and the phrase matchers to use for conversations that matches the conversation_filter. If not specified, NO annotators will be run.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 6;

Returns
Type Description
boolean

Whether the annotatorSelector field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time at which this analysis rule was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasDisplayName()

public abstract boolean hasDisplayName()

Display Name of the analysis rule.

optional string display_name = 4;

Returns
Type Description
boolean

Whether the displayName field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The most recent time at which this analysis rule was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.