public static final class GenerativeSettings.FallbackSettings.Builder extends GeneratedMessageV3.Builder<GenerativeSettings.FallbackSettings.Builder> implements GenerativeSettings.FallbackSettingsOrBuilder
Settings for Generative Fallback.
Protobuf type google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllPromptTemplates(Iterable<? extends GenerativeSettings.FallbackSettings.PromptTemplate> values)
public GenerativeSettings.FallbackSettings.Builder addAllPromptTemplates(Iterable<? extends GenerativeSettings.FallbackSettings.PromptTemplate> values)
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate>
|
addPromptTemplates(GenerativeSettings.FallbackSettings.PromptTemplate value)
public GenerativeSettings.FallbackSettings.Builder addPromptTemplates(GenerativeSettings.FallbackSettings.PromptTemplate value)
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
addPromptTemplates(GenerativeSettings.FallbackSettings.PromptTemplate.Builder builderForValue)
public GenerativeSettings.FallbackSettings.Builder addPromptTemplates(GenerativeSettings.FallbackSettings.PromptTemplate.Builder builderForValue)
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
addPromptTemplates(int index, GenerativeSettings.FallbackSettings.PromptTemplate value)
public GenerativeSettings.FallbackSettings.Builder addPromptTemplates(int index, GenerativeSettings.FallbackSettings.PromptTemplate value)
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
addPromptTemplates(int index, GenerativeSettings.FallbackSettings.PromptTemplate.Builder builderForValue)
public GenerativeSettings.FallbackSettings.Builder addPromptTemplates(int index, GenerativeSettings.FallbackSettings.PromptTemplate.Builder builderForValue)
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
addPromptTemplatesBuilder()
public GenerativeSettings.FallbackSettings.PromptTemplate.Builder addPromptTemplatesBuilder()
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
addPromptTemplatesBuilder(int index)
public GenerativeSettings.FallbackSettings.PromptTemplate.Builder addPromptTemplatesBuilder(int index)
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerativeSettings.FallbackSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GenerativeSettings.FallbackSettings build()
buildPartial()
public GenerativeSettings.FallbackSettings buildPartial()
clear()
public GenerativeSettings.FallbackSettings.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GenerativeSettings.FallbackSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerativeSettings.FallbackSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPromptTemplates()
public GenerativeSettings.FallbackSettings.Builder clearPromptTemplates()
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
clearSelectedPrompt()
public GenerativeSettings.FallbackSettings.Builder clearSelectedPrompt()
Display name of the selected prompt.
string selected_prompt = 3;
clone()
public GenerativeSettings.FallbackSettings.Builder clone()
Overrides
getDefaultInstanceForType()
public GenerativeSettings.FallbackSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPromptTemplates(int index)
public GenerativeSettings.FallbackSettings.PromptTemplate getPromptTemplates(int index)
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
Parameter |
Name |
Description |
index |
int
|
getPromptTemplatesBuilder(int index)
public GenerativeSettings.FallbackSettings.PromptTemplate.Builder getPromptTemplatesBuilder(int index)
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
Parameter |
Name |
Description |
index |
int
|
getPromptTemplatesBuilderList()
public List<GenerativeSettings.FallbackSettings.PromptTemplate.Builder> getPromptTemplatesBuilderList()
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
getPromptTemplatesCount()
public int getPromptTemplatesCount()
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
Returns |
Type |
Description |
int |
|
getPromptTemplatesList()
public List<GenerativeSettings.FallbackSettings.PromptTemplate> getPromptTemplatesList()
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
getPromptTemplatesOrBuilder(int index)
public GenerativeSettings.FallbackSettings.PromptTemplateOrBuilder getPromptTemplatesOrBuilder(int index)
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
Parameter |
Name |
Description |
index |
int
|
getPromptTemplatesOrBuilderList()
public List<? extends GenerativeSettings.FallbackSettings.PromptTemplateOrBuilder> getPromptTemplatesOrBuilderList()
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplateOrBuilder> |
|
getSelectedPrompt()
public String getSelectedPrompt()
Display name of the selected prompt.
string selected_prompt = 3;
Returns |
Type |
Description |
String |
The selectedPrompt.
|
getSelectedPromptBytes()
public ByteString getSelectedPromptBytes()
Display name of the selected prompt.
string selected_prompt = 3;
Returns |
Type |
Description |
ByteString |
The bytes for selectedPrompt.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GenerativeSettings.FallbackSettings other)
public GenerativeSettings.FallbackSettings.Builder mergeFrom(GenerativeSettings.FallbackSettings other)
public GenerativeSettings.FallbackSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GenerativeSettings.FallbackSettings.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerativeSettings.FallbackSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removePromptTemplates(int index)
public GenerativeSettings.FallbackSettings.Builder removePromptTemplates(int index)
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public GenerativeSettings.FallbackSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPromptTemplates(int index, GenerativeSettings.FallbackSettings.PromptTemplate value)
public GenerativeSettings.FallbackSettings.Builder setPromptTemplates(int index, GenerativeSettings.FallbackSettings.PromptTemplate value)
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
setPromptTemplates(int index, GenerativeSettings.FallbackSettings.PromptTemplate.Builder builderForValue)
public GenerativeSettings.FallbackSettings.Builder setPromptTemplates(int index, GenerativeSettings.FallbackSettings.PromptTemplate.Builder builderForValue)
Stored prompts that can be selected, for example default templates like
"conservative" or "chatty", or user defined ones.
repeated .google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate prompt_templates = 4;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerativeSettings.FallbackSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSelectedPrompt(String value)
public GenerativeSettings.FallbackSettings.Builder setSelectedPrompt(String value)
Display name of the selected prompt.
string selected_prompt = 3;
Parameter |
Name |
Description |
value |
String
The selectedPrompt to set.
|
setSelectedPromptBytes(ByteString value)
public GenerativeSettings.FallbackSettings.Builder setSelectedPromptBytes(ByteString value)
Display name of the selected prompt.
string selected_prompt = 3;
Parameter |
Name |
Description |
value |
ByteString
The bytes for selectedPrompt to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerativeSettings.FallbackSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides