Class HumanAgentAssistantConfig.ConversationModelConfig (4.4.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > HumanAgentAssistantConfig.ConversationModelConfig

Fields

MODEL_FIELD_NUMBER

public static final int MODEL_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstance()

public static HumanAgentAssistantConfig.ConversationModelConfig getDefaultInstance()
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig

getDefaultInstanceForType()

public HumanAgentAssistantConfig.ConversationModelConfig getDefaultInstanceForType()
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getModel()

public String getModel()

Conversation model resource name. Format: projects/<Project ID>/conversationModels/<Model ID>.

string model = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for model.

getParserForType()

public Parser<HumanAgentAssistantConfig.ConversationModelConfig> getParserForType()
Returns
TypeDescription
Parser<ConversationModelConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static HumanAgentAssistantConfig.ConversationModelConfig.Builder newBuilder()
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder

newBuilder(HumanAgentAssistantConfig.ConversationModelConfig prototype)

public static HumanAgentAssistantConfig.ConversationModelConfig.Builder newBuilder(HumanAgentAssistantConfig.ConversationModelConfig prototype)
Parameter
NameDescription
prototypeHumanAgentAssistantConfig.ConversationModelConfig
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder

newBuilderForType()

public HumanAgentAssistantConfig.ConversationModelConfig.Builder newBuilderForType()
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HumanAgentAssistantConfig.ConversationModelConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static HumanAgentAssistantConfig.ConversationModelConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.ConversationModelConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.ConversationModelConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<HumanAgentAssistantConfig.ConversationModelConfig> parser()
Returns
TypeDescription
Parser<ConversationModelConfig>

toBuilder()

public HumanAgentAssistantConfig.ConversationModelConfig.Builder toBuilder()
Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException