Class AnnotatorSelector.SummarizationConfig (2.34.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
TypeDescription
int

SUMMARIZATION_MODEL_FIELD_NUMBER

public static final int SUMMARIZATION_MODEL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnnotatorSelector.SummarizationConfig getDefaultInstance()
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AnnotatorSelector.SummarizationConfig.Builder newBuilder()
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig.Builder

newBuilder(AnnotatorSelector.SummarizationConfig prototype)

public static AnnotatorSelector.SummarizationConfig.Builder newBuilder(AnnotatorSelector.SummarizationConfig prototype)
Parameter
NameDescription
prototypeAnnotatorSelector.SummarizationConfig
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig.Builder

parseDelimitedFrom(InputStream input)

public static AnnotatorSelector.SummarizationConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotatorSelector.SummarizationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AnnotatorSelector.SummarizationConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnnotatorSelector.SummarizationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnnotatorSelector.SummarizationConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnnotatorSelector.SummarizationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnnotatorSelector.SummarizationConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotatorSelector.SummarizationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AnnotatorSelector.SummarizationConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotatorSelector.SummarizationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AnnotatorSelector.SummarizationConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnnotatorSelector.SummarizationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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

getModelSourceCase()

public AnnotatorSelector.SummarizationConfig.ModelSourceCase getModelSourceCase()
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig.ModelSourceCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnnotatorSelector.SummarizationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AnnotatorSelector.SummarizationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException