public static final class HumanAgentAssistantConfig.ConversationModelConfig extends GeneratedMessageV3 implements HumanAgentAssistantConfig.ConversationModelConfigOrBuilder
Custom conversation models used in agent assist feature.
Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY,
CONVERSATION_SUMMARIZATION.
Protobuf type
google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig
Static Fields
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static HumanAgentAssistantConfig.ConversationModelConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static HumanAgentAssistantConfig.ConversationModelConfig.Builder newBuilder()
Returns
newBuilder(HumanAgentAssistantConfig.ConversationModelConfig prototype)
public static HumanAgentAssistantConfig.ConversationModelConfig.Builder newBuilder(HumanAgentAssistantConfig.ConversationModelConfig prototype)
Parameter
Returns
public static HumanAgentAssistantConfig.ConversationModelConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static HumanAgentAssistantConfig.ConversationModelConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<HumanAgentAssistantConfig.ConversationModelConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public HumanAgentAssistantConfig.ConversationModelConfig getDefaultInstanceForType()
Returns
getModel()
Conversation model resource name. Format: projects/<Project
ID>/conversationModels/<Model ID>
.
string model = 1 [(.google.api.resource_reference) = { ... }
Returns
Type |
Description |
String |
The model.
|
getModelBytes()
public ByteString getModelBytes()
Conversation model resource name. Format: projects/<Project
ID>/conversationModels/<Model ID>
.
string model = 1 [(.google.api.resource_reference) = { ... }
Returns
getParserForType()
public Parser<HumanAgentAssistantConfig.ConversationModelConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public HumanAgentAssistantConfig.ConversationModelConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HumanAgentAssistantConfig.ConversationModelConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public HumanAgentAssistantConfig.ConversationModelConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions