Class BulkAnalyzeConversationsRequest.Builder (2.48.0)

public static final class BulkAnalyzeConversationsRequest.Builder extends GeneratedMessageV3.Builder<BulkAnalyzeConversationsRequest.Builder> implements BulkAnalyzeConversationsRequestOrBuilder

The request to analyze conversations in bulk.

Protobuf type google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BulkAnalyzeConversationsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BulkAnalyzeConversationsRequest.Builder
Overrides

build()

public BulkAnalyzeConversationsRequest build()
Returns
Type Description
BulkAnalyzeConversationsRequest

buildPartial()

public BulkAnalyzeConversationsRequest buildPartial()
Returns
Type Description
BulkAnalyzeConversationsRequest

clear()

public BulkAnalyzeConversationsRequest.Builder clear()
Returns
Type Description
BulkAnalyzeConversationsRequest.Builder
Overrides

clearAnalysisPercentage()

public BulkAnalyzeConversationsRequest.Builder clearAnalysisPercentage()

Required. Percentage of selected conversation to analyze, between [0, 100].

float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BulkAnalyzeConversationsRequest.Builder

This builder for chaining.

clearAnnotatorSelector()

public BulkAnalyzeConversationsRequest.Builder clearAnnotatorSelector()

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

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

Returns
Type Description
BulkAnalyzeConversationsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public BulkAnalyzeConversationsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BulkAnalyzeConversationsRequest.Builder
Overrides

clearFilter()

public BulkAnalyzeConversationsRequest.Builder clearFilter()

Required. Filter used to select the subset of conversations to analyze.

string filter = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BulkAnalyzeConversationsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BulkAnalyzeConversationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BulkAnalyzeConversationsRequest.Builder
Overrides

clearParent()

public BulkAnalyzeConversationsRequest.Builder clearParent()

Required. The parent resource to create analyses in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
BulkAnalyzeConversationsRequest.Builder

This builder for chaining.

clone()

public BulkAnalyzeConversationsRequest.Builder clone()
Returns
Type Description
BulkAnalyzeConversationsRequest.Builder
Overrides

getAnalysisPercentage()

public float getAnalysisPercentage()

Required. Percentage of selected conversation to analyze, between [0, 100].

float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
float

The analysisPercentage.

getAnnotatorSelector()

public AnnotatorSelector getAnnotatorSelector()

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

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

Returns
Type Description
AnnotatorSelector

The annotatorSelector.

getAnnotatorSelectorBuilder()

public AnnotatorSelector.Builder getAnnotatorSelectorBuilder()

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

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

Returns
Type Description
AnnotatorSelector.Builder

getAnnotatorSelectorOrBuilder()

public AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder()

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

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

Returns
Type Description
AnnotatorSelectorOrBuilder

getDefaultInstanceForType()

public BulkAnalyzeConversationsRequest getDefaultInstanceForType()
Returns
Type Description
BulkAnalyzeConversationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

public String getFilter()

Required. Filter used to select the subset of conversations to analyze.

string filter = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Required. Filter used to select the subset of conversations to analyze.

string filter = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for filter.

getParent()

public String getParent()

Required. The parent resource to create analyses in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource to create analyses in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasAnnotatorSelector()

public boolean hasAnnotatorSelector()

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

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

Returns
Type Description
boolean

Whether the annotatorSelector field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnnotatorSelector(AnnotatorSelector value)

public BulkAnalyzeConversationsRequest.Builder mergeAnnotatorSelector(AnnotatorSelector value)

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

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

Parameter
Name Description
value AnnotatorSelector
Returns
Type Description
BulkAnalyzeConversationsRequest.Builder

mergeFrom(BulkAnalyzeConversationsRequest other)

public BulkAnalyzeConversationsRequest.Builder mergeFrom(BulkAnalyzeConversationsRequest other)
Parameter
Name Description
other BulkAnalyzeConversationsRequest
Returns
Type Description
BulkAnalyzeConversationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BulkAnalyzeConversationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkAnalyzeConversationsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BulkAnalyzeConversationsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BulkAnalyzeConversationsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BulkAnalyzeConversationsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BulkAnalyzeConversationsRequest.Builder
Overrides

setAnalysisPercentage(float value)

public BulkAnalyzeConversationsRequest.Builder setAnalysisPercentage(float value)

Required. Percentage of selected conversation to analyze, between [0, 100].

float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value float

The analysisPercentage to set.

Returns
Type Description
BulkAnalyzeConversationsRequest.Builder

This builder for chaining.

setAnnotatorSelector(AnnotatorSelector value)

public BulkAnalyzeConversationsRequest.Builder setAnnotatorSelector(AnnotatorSelector value)

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

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

Parameter
Name Description
value AnnotatorSelector
Returns
Type Description
BulkAnalyzeConversationsRequest.Builder

setAnnotatorSelector(AnnotatorSelector.Builder builderForValue)

public BulkAnalyzeConversationsRequest.Builder setAnnotatorSelector(AnnotatorSelector.Builder builderForValue)

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

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

Parameter
Name Description
builderForValue AnnotatorSelector.Builder
Returns
Type Description
BulkAnalyzeConversationsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BulkAnalyzeConversationsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BulkAnalyzeConversationsRequest.Builder
Overrides

setFilter(String value)

public BulkAnalyzeConversationsRequest.Builder setFilter(String value)

Required. Filter used to select the subset of conversations to analyze.

string filter = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
BulkAnalyzeConversationsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public BulkAnalyzeConversationsRequest.Builder setFilterBytes(ByteString value)

Required. Filter used to select the subset of conversations to analyze.

string filter = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
BulkAnalyzeConversationsRequest.Builder

This builder for chaining.

setParent(String value)

public BulkAnalyzeConversationsRequest.Builder setParent(String value)

Required. The parent resource to create analyses in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BulkAnalyzeConversationsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BulkAnalyzeConversationsRequest.Builder setParentBytes(ByteString value)

Required. The parent resource to create analyses in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
BulkAnalyzeConversationsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BulkAnalyzeConversationsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BulkAnalyzeConversationsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BulkAnalyzeConversationsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BulkAnalyzeConversationsRequest.Builder
Overrides