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.
Protobuf type
google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig
Fields
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static HumanAgentAssistantConfig.ConversationModelConfig getDefaultInstance()
Returns
getDefaultInstanceForType()
public HumanAgentAssistantConfig.ConversationModelConfig getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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
newBuilder()
public static HumanAgentAssistantConfig.ConversationModelConfig.Builder newBuilder()
Returns
newBuilder(HumanAgentAssistantConfig.ConversationModelConfig prototype)
public static HumanAgentAssistantConfig.ConversationModelConfig.Builder newBuilder(HumanAgentAssistantConfig.ConversationModelConfig prototype)
Parameter
Returns
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
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
toBuilder()
public HumanAgentAssistantConfig.ConversationModelConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions