Class GenerativeSettings
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings
- All Implemented Interfaces:
GenerativeSettingsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class GenerativeSettings
extends com.google.protobuf.GeneratedMessage
implements GenerativeSettingsOrBuilder
Settings for Generative AI.Protobuf type
google.cloud.dialogflow.cx.v3beta1.GenerativeSettings- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSettings for Generative AI.static final classSettings for Generative Fallback.static interfacestatic final classSettings for knowledge connector.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic GenerativeSettingsstatic final com.google.protobuf.Descriptors.DescriptorSettings for Generative Fallback.Settings for Generative Fallback.Settings for Generative Safety.Settings for Generative Safety.Settings for knowledge connector.Settings for knowledge connector.Language for this settings.com.google.protobuf.ByteStringLanguage for this settings.LLM model settings.LLM model settings.getName()Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generativeSettings`.com.google.protobuf.ByteStringFormat: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generativeSettings`.com.google.protobuf.Parser<GenerativeSettings>intbooleanSettings for Generative Fallback.booleanSettings for Generative Safety.inthashCode()booleanSettings for knowledge connector.booleanLLM model settings.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic GenerativeSettings.Builderstatic GenerativeSettings.BuildernewBuilder(GenerativeSettings prototype) protected GenerativeSettings.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static GenerativeSettingsparseDelimitedFrom(InputStream input) static GenerativeSettingsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenerativeSettingsparseFrom(byte[] data) static GenerativeSettingsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenerativeSettingsparseFrom(com.google.protobuf.ByteString data) static GenerativeSettingsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenerativeSettingsparseFrom(com.google.protobuf.CodedInputStream input) static GenerativeSettingsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenerativeSettingsparseFrom(InputStream input) static GenerativeSettingsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenerativeSettingsparseFrom(ByteBuffer data) static GenerativeSettingsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GenerativeSettings>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
FALLBACK_SETTINGS_FIELD_NUMBER
public static final int FALLBACK_SETTINGS_FIELD_NUMBER- See Also:
-
GENERATIVE_SAFETY_SETTINGS_FIELD_NUMBER
public static final int GENERATIVE_SAFETY_SETTINGS_FIELD_NUMBER- See Also:
-
KNOWLEDGE_CONNECTOR_SETTINGS_FIELD_NUMBER
public static final int KNOWLEDGE_CONNECTOR_SETTINGS_FIELD_NUMBER- See Also:
-
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER- See Also:
-
LLM_MODEL_SETTINGS_FIELD_NUMBER
public static final int LLM_MODEL_SETTINGS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generativeSettings`.
string name = 5;- Specified by:
getNamein interfaceGenerativeSettingsOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generativeSettings`.
string name = 5;- Specified by:
getNameBytesin interfaceGenerativeSettingsOrBuilder- Returns:
- The bytes for name.
-
hasFallbackSettings
public boolean hasFallbackSettings()Settings for Generative Fallback.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings fallback_settings = 1;- Specified by:
hasFallbackSettingsin interfaceGenerativeSettingsOrBuilder- Returns:
- Whether the fallbackSettings field is set.
-
getFallbackSettings
Settings for Generative Fallback.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings fallback_settings = 1;- Specified by:
getFallbackSettingsin interfaceGenerativeSettingsOrBuilder- Returns:
- The fallbackSettings.
-
getFallbackSettingsOrBuilder
Settings for Generative Fallback.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings fallback_settings = 1;- Specified by:
getFallbackSettingsOrBuilderin interfaceGenerativeSettingsOrBuilder
-
hasGenerativeSafetySettings
public boolean hasGenerativeSafetySettings()Settings for Generative Safety.
.google.cloud.dialogflow.cx.v3beta1.SafetySettings generative_safety_settings = 3;- Specified by:
hasGenerativeSafetySettingsin interfaceGenerativeSettingsOrBuilder- Returns:
- Whether the generativeSafetySettings field is set.
-
getGenerativeSafetySettings
Settings for Generative Safety.
.google.cloud.dialogflow.cx.v3beta1.SafetySettings generative_safety_settings = 3;- Specified by:
getGenerativeSafetySettingsin interfaceGenerativeSettingsOrBuilder- Returns:
- The generativeSafetySettings.
-
getGenerativeSafetySettingsOrBuilder
Settings for Generative Safety.
.google.cloud.dialogflow.cx.v3beta1.SafetySettings generative_safety_settings = 3;- Specified by:
getGenerativeSafetySettingsOrBuilderin interfaceGenerativeSettingsOrBuilder
-
hasKnowledgeConnectorSettings
public boolean hasKnowledgeConnectorSettings()Settings for knowledge connector.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings knowledge_connector_settings = 7;- Specified by:
hasKnowledgeConnectorSettingsin interfaceGenerativeSettingsOrBuilder- Returns:
- Whether the knowledgeConnectorSettings field is set.
-
getKnowledgeConnectorSettings
Settings for knowledge connector.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings knowledge_connector_settings = 7;- Specified by:
getKnowledgeConnectorSettingsin interfaceGenerativeSettingsOrBuilder- Returns:
- The knowledgeConnectorSettings.
-
getKnowledgeConnectorSettingsOrBuilder
public GenerativeSettings.KnowledgeConnectorSettingsOrBuilder getKnowledgeConnectorSettingsOrBuilder()Settings for knowledge connector.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings knowledge_connector_settings = 7;- Specified by:
getKnowledgeConnectorSettingsOrBuilderin interfaceGenerativeSettingsOrBuilder
-
getLanguageCode
Language for this settings.
string language_code = 4;- Specified by:
getLanguageCodein interfaceGenerativeSettingsOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()Language for this settings.
string language_code = 4;- Specified by:
getLanguageCodeBytesin interfaceGenerativeSettingsOrBuilder- Returns:
- The bytes for languageCode.
-
hasLlmModelSettings
public boolean hasLlmModelSettings()LLM model settings.
.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 8;- Specified by:
hasLlmModelSettingsin interfaceGenerativeSettingsOrBuilder- Returns:
- Whether the llmModelSettings field is set.
-
getLlmModelSettings
LLM model settings.
.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 8;- Specified by:
getLlmModelSettingsin interfaceGenerativeSettingsOrBuilder- Returns:
- The llmModelSettings.
-
getLlmModelSettingsOrBuilder
LLM model settings.
.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 8;- Specified by:
getLlmModelSettingsOrBuilderin interfaceGenerativeSettingsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GenerativeSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerativeSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerativeSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerativeSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerativeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerativeSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GenerativeSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GenerativeSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GenerativeSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GenerativeSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GenerativeSettings.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-