Class AnnotatorSelector.SummarizationConfig (2.42.0)

public static final class AnnotatorSelector.SummarizationConfig extends GeneratedMessageV3 implements AnnotatorSelector.SummarizationConfigOrBuilder

Configuration for summarization.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AnnotatorSelector.SummarizationConfig

Static Fields

CONVERSATION_PROFILE_FIELD_NUMBER

public static final int CONVERSATION_PROFILE_FIELD_NUMBER
Field Value
Type Description
int

SUMMARIZATION_MODEL_FIELD_NUMBER

public static final int SUMMARIZATION_MODEL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnnotatorSelector.SummarizationConfig getDefaultInstance()
Returns
Type Description
AnnotatorSelector.SummarizationConfig

getDescriptor()

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

newBuilder()

public static AnnotatorSelector.SummarizationConfig.Builder newBuilder()
Returns
Type Description
AnnotatorSelector.SummarizationConfig.Builder

newBuilder(AnnotatorSelector.SummarizationConfig prototype)

public static AnnotatorSelector.SummarizationConfig.Builder newBuilder(AnnotatorSelector.SummarizationConfig prototype)
Parameter
Name Description
prototype AnnotatorSelector.SummarizationConfig
Returns
Type Description
AnnotatorSelector.SummarizationConfig.Builder

parseDelimitedFrom(InputStream input)

public static AnnotatorSelector.SummarizationConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnnotatorSelector.SummarizationConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotatorSelector.SummarizationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotatorSelector.SummarizationConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AnnotatorSelector.SummarizationConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AnnotatorSelector.SummarizationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnnotatorSelector.SummarizationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotatorSelector.SummarizationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnnotatorSelector.SummarizationConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AnnotatorSelector.SummarizationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnnotatorSelector.SummarizationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotatorSelector.SummarizationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnnotatorSelector.SummarizationConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AnnotatorSelector.SummarizationConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotatorSelector.SummarizationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotatorSelector.SummarizationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AnnotatorSelector.SummarizationConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnnotatorSelector.SummarizationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotatorSelector.SummarizationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotatorSelector.SummarizationConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AnnotatorSelector.SummarizationConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AnnotatorSelector.SummarizationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnnotatorSelector.SummarizationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotatorSelector.SummarizationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AnnotatorSelector.SummarizationConfig> parser()
Returns
Type Description
Parser<SummarizationConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getModelSourceCase()

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

getParserForType()

public Parser<AnnotatorSelector.SummarizationConfig> getParserForType()
Returns
Type Description
Parser<SummarizationConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnnotatorSelector.SummarizationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AnnotatorSelector.SummarizationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException