Class AnnotatorSelector.SummarizationConfig.Builder (2.23.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnnotatorSelector.SummarizationConfig build()
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig

buildPartial()

public AnnotatorSelector.SummarizationConfig buildPartial()
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AnnotatorSelector.SummarizationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig.Builder
Overrides

clearModelSource()

public AnnotatorSelector.SummarizationConfig.Builder clearModelSource()
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public AnnotatorSelector.SummarizationConfig.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for conversationProfile.

getDefaultInstanceForType()

public AnnotatorSelector.SummarizationConfig getDefaultInstanceForType()
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getModelSourceCase()

public AnnotatorSelector.SummarizationConfig.ModelSourceCase getModelSourceCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the summarizationModel field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnnotatorSelector.SummarizationConfig other)

public AnnotatorSelector.SummarizationConfig.Builder mergeFrom(AnnotatorSelector.SummarizationConfig other)
Parameter
NameDescription
otherAnnotatorSelector.SummarizationConfig
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The conversationProfile to set.

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

The bytes for conversationProfile to set.

Returns
TypeDescription
AnnotatorSelector.SummarizationConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AnnotatorSelector.SummarizationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueAnnotatorSelector.SummarizationConfig.SummarizationModel

The summarizationModel to set.

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

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

Returns
TypeDescription
AnnotatorSelector.SummarizationConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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