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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public AnnotatorSelector.SummarizationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AnnotatorSelector.SummarizationConfig build()
public AnnotatorSelector.SummarizationConfig buildPartial()
public AnnotatorSelector.SummarizationConfig.Builder clear()
Overrides
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) = { ... }
public AnnotatorSelector.SummarizationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AnnotatorSelector.SummarizationConfig.Builder clearModelSource()
public AnnotatorSelector.SummarizationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AnnotatorSelector.SummarizationConfig.Builder clearSummarizationModel()
Default summarization model to be used.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig.SummarizationModel summarization_model = 2;
public AnnotatorSelector.SummarizationConfig.Builder clone()
Overrides
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.
|
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.
|
public AnnotatorSelector.SummarizationConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public AnnotatorSelector.SummarizationConfig.ModelSourceCase getModelSourceCase()
public AnnotatorSelector.SummarizationConfig.SummarizationModel getSummarizationModel()
Default summarization model to be used.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig.SummarizationModel summarization_model = 2;
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AnnotatorSelector.SummarizationConfig.Builder mergeFrom(AnnotatorSelector.SummarizationConfig other)
public AnnotatorSelector.SummarizationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AnnotatorSelector.SummarizationConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final AnnotatorSelector.SummarizationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.
|
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.
|
public AnnotatorSelector.SummarizationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AnnotatorSelector.SummarizationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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;
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.
|
public final AnnotatorSelector.SummarizationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides