Class Engine.ChatEngineMetadata.Builder (0.81.0)

public static final class Engine.ChatEngineMetadata.Builder extends GeneratedMessage.Builder<Engine.ChatEngineMetadata.Builder> implements Engine.ChatEngineMetadataOrBuilder

Additional information of a Chat Engine. Fields in this message are output only.

Protobuf type google.cloud.discoveryengine.v1alpha.Engine.ChatEngineMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Engine.ChatEngineMetadata build()
Returns
Type Description
Engine.ChatEngineMetadata

buildPartial()

public Engine.ChatEngineMetadata buildPartial()
Returns
Type Description
Engine.ChatEngineMetadata

clear()

public Engine.ChatEngineMetadata.Builder clear()
Returns
Type Description
Engine.ChatEngineMetadata.Builder
Overrides

clearDialogflowAgent()

public Engine.ChatEngineMetadata.Builder clearDialogflowAgent()

The resource name of a Dialogflow agent, that this Chat Engine refers to.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string dialogflow_agent = 1;

Returns
Type Description
Engine.ChatEngineMetadata.Builder

This builder for chaining.

getDefaultInstanceForType()

public Engine.ChatEngineMetadata getDefaultInstanceForType()
Returns
Type Description
Engine.ChatEngineMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDialogflowAgent()

public String getDialogflowAgent()

The resource name of a Dialogflow agent, that this Chat Engine refers to.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string dialogflow_agent = 1;

Returns
Type Description
String

The dialogflowAgent.

getDialogflowAgentBytes()

public ByteString getDialogflowAgentBytes()

The resource name of a Dialogflow agent, that this Chat Engine refers to.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string dialogflow_agent = 1;

Returns
Type Description
ByteString

The bytes for dialogflowAgent.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Engine.ChatEngineMetadata other)

public Engine.ChatEngineMetadata.Builder mergeFrom(Engine.ChatEngineMetadata other)
Parameter
Name Description
other Engine.ChatEngineMetadata
Returns
Type Description
Engine.ChatEngineMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Engine.ChatEngineMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Engine.ChatEngineMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Engine.ChatEngineMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Engine.ChatEngineMetadata.Builder
Overrides

setDialogflowAgent(String value)

public Engine.ChatEngineMetadata.Builder setDialogflowAgent(String value)

The resource name of a Dialogflow agent, that this Chat Engine refers to.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string dialogflow_agent = 1;

Parameter
Name Description
value String

The dialogflowAgent to set.

Returns
Type Description
Engine.ChatEngineMetadata.Builder

This builder for chaining.

setDialogflowAgentBytes(ByteString value)

public Engine.ChatEngineMetadata.Builder setDialogflowAgentBytes(ByteString value)

The resource name of a Dialogflow agent, that this Chat Engine refers to.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string dialogflow_agent = 1;

Parameter
Name Description
value ByteString

The bytes for dialogflowAgent to set.

Returns
Type Description
Engine.ChatEngineMetadata.Builder

This builder for chaining.