Class Engine.ChatEngineMetadata.Builder (0.39.0)

public static final class Engine.ChatEngineMetadata.Builder extends GeneratedMessageV3.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.v1.Engine.ChatEngineMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Engine.ChatEngineMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Engine.ChatEngineMetadata.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public Engine.ChatEngineMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Engine.ChatEngineMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Engine.ChatEngineMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Engine.ChatEngineMetadata.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Engine.ChatEngineMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public Engine.ChatEngineMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Engine.ChatEngineMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Engine.ChatEngineMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Engine.ChatEngineMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Engine.ChatEngineMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Engine.ChatEngineMetadata.Builder
Overrides