Class BulkAnalyzeConversationsRequest.Builder (2.27.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BulkAnalyzeConversationsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BulkAnalyzeConversationsRequest.Builder
Overrides

build()

public BulkAnalyzeConversationsRequest build()
Returns
TypeDescription
BulkAnalyzeConversationsRequest

buildPartial()

public BulkAnalyzeConversationsRequest buildPartial()
Returns
TypeDescription
BulkAnalyzeConversationsRequest

clear()

public BulkAnalyzeConversationsRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BulkAnalyzeConversationsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public BulkAnalyzeConversationsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BulkAnalyzeConversationsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BulkAnalyzeConversationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
BulkAnalyzeConversationsRequest.Builder

This builder for chaining.

clone()

public BulkAnalyzeConversationsRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AnnotatorSelectorOrBuilder

getDefaultInstanceForType()

public BulkAnalyzeConversationsRequest getDefaultInstanceForType()
Returns
TypeDescription
BulkAnalyzeConversationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the annotatorSelector field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAnnotatorSelector
Returns
TypeDescription
BulkAnalyzeConversationsRequest.Builder

mergeFrom(BulkAnalyzeConversationsRequest other)

public BulkAnalyzeConversationsRequest.Builder mergeFrom(BulkAnalyzeConversationsRequest other)
Parameter
NameDescription
otherBulkAnalyzeConversationsRequest
Returns
TypeDescription
BulkAnalyzeConversationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BulkAnalyzeConversationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkAnalyzeConversationsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BulkAnalyzeConversationsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BulkAnalyzeConversationsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BulkAnalyzeConversationsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuefloat

The analysisPercentage to set.

Returns
TypeDescription
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
NameDescription
valueAnnotatorSelector
Returns
TypeDescription
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
NameDescription
builderForValueAnnotatorSelector.Builder
Returns
TypeDescription
BulkAnalyzeConversationsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BulkAnalyzeConversationsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The filter to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BulkAnalyzeConversationsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BulkAnalyzeConversationsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BulkAnalyzeConversationsRequest.Builder
Overrides