Class AnnotatorSelector.SummarizationConfig.Builder (2.51.0)

public static final class AnnotatorSelector.SummarizationConfig.Builder extends GeneratedMessageV3.Builder<AnnotatorSelector.SummarizationConfig.Builder> implements AnnotatorSelector.SummarizationConfigOrBuilder

Configuration for summarization.

Protobuf type google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnnotatorSelector.SummarizationConfig build()
Returns
Type Description
AnnotatorSelector.SummarizationConfig

buildPartial()

public AnnotatorSelector.SummarizationConfig buildPartial()
Returns
Type Description
AnnotatorSelector.SummarizationConfig

clear()

public AnnotatorSelector.SummarizationConfig.Builder clear()
Returns
Type Description
AnnotatorSelector.SummarizationConfig.Builder
Overrides

clearConversationProfile()

public AnnotatorSelector.SummarizationConfig.Builder clearConversationProfile()

Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}

string conversation_profile = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
AnnotatorSelector.SummarizationConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearModelSource()

public AnnotatorSelector.SummarizationConfig.Builder clearModelSource()
Returns
Type Description
AnnotatorSelector.SummarizationConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSummarizationModel()

public AnnotatorSelector.SummarizationConfig.Builder clearSummarizationModel()

Default summarization model to be used.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig.SummarizationModel summarization_model = 2;

Returns
Type Description
AnnotatorSelector.SummarizationConfig.Builder

This builder for chaining.

clone()

public AnnotatorSelector.SummarizationConfig.Builder clone()
Returns
Type Description
AnnotatorSelector.SummarizationConfig.Builder
Overrides

getConversationProfile()

public String getConversationProfile()

Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}

string conversation_profile = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The conversationProfile.

getConversationProfileBytes()

public ByteString getConversationProfileBytes()

Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}

string conversation_profile = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for conversationProfile.

getDefaultInstanceForType()

public AnnotatorSelector.SummarizationConfig getDefaultInstanceForType()
Returns
Type Description
AnnotatorSelector.SummarizationConfig

getDescriptorForType()

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

getModelSourceCase()

public AnnotatorSelector.SummarizationConfig.ModelSourceCase getModelSourceCase()
Returns
Type Description
AnnotatorSelector.SummarizationConfig.ModelSourceCase

getSummarizationModel()

public AnnotatorSelector.SummarizationConfig.SummarizationModel getSummarizationModel()

Default summarization model to be used.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig.SummarizationModel summarization_model = 2;

Returns
Type Description
AnnotatorSelector.SummarizationConfig.SummarizationModel

The summarizationModel.

getSummarizationModelValue()

public int getSummarizationModelValue()

Default summarization model to be used.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig.SummarizationModel summarization_model = 2;

Returns
Type Description
int

The enum numeric value on the wire for summarizationModel.

hasConversationProfile()

public boolean hasConversationProfile()

Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}

string conversation_profile = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the conversationProfile field is set.

hasSummarizationModel()

public boolean hasSummarizationModel()

Default summarization model to be used.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig.SummarizationModel summarization_model = 2;

Returns
Type Description
boolean

Whether the summarizationModel field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnnotatorSelector.SummarizationConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConversationProfile(String value)

public AnnotatorSelector.SummarizationConfig.Builder setConversationProfile(String value)

Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}

string conversation_profile = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The conversationProfile to set.

Returns
Type Description
AnnotatorSelector.SummarizationConfig.Builder

This builder for chaining.

setConversationProfileBytes(ByteString value)

public AnnotatorSelector.SummarizationConfig.Builder setConversationProfileBytes(ByteString value)

Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}

string conversation_profile = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for conversationProfile to set.

Returns
Type Description
AnnotatorSelector.SummarizationConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSummarizationModel(AnnotatorSelector.SummarizationConfig.SummarizationModel value)

public AnnotatorSelector.SummarizationConfig.Builder setSummarizationModel(AnnotatorSelector.SummarizationConfig.SummarizationModel value)

Default summarization model to be used.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig.SummarizationModel summarization_model = 2;

Parameter
Name Description
value AnnotatorSelector.SummarizationConfig.SummarizationModel

The summarizationModel to set.

Returns
Type Description
AnnotatorSelector.SummarizationConfig.Builder

This builder for chaining.

setSummarizationModelValue(int value)

public AnnotatorSelector.SummarizationConfig.Builder setSummarizationModelValue(int value)

Default summarization model to be used.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig.SummarizationModel summarization_model = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for summarizationModel to set.

Returns
Type Description
AnnotatorSelector.SummarizationConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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