Class Engine.ChatEngineMetadata.Builder (0.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Engine.ChatEngineMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Engine.ChatEngineMetadata.Builder
Overrides

build()

public Engine.ChatEngineMetadata build()
Returns
TypeDescription
Engine.ChatEngineMetadata

buildPartial()

public Engine.ChatEngineMetadata buildPartial()
Returns
TypeDescription
Engine.ChatEngineMetadata

clear()

public Engine.ChatEngineMetadata.Builder clear()
Returns
TypeDescription
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
TypeDescription
Engine.ChatEngineMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Engine.ChatEngineMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Engine.ChatEngineMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Engine.ChatEngineMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Engine.ChatEngineMetadata.Builder
Overrides

clone()

public Engine.ChatEngineMetadata.Builder clone()
Returns
TypeDescription
Engine.ChatEngineMetadata.Builder
Overrides

getDefaultInstanceForType()

public Engine.ChatEngineMetadata getDefaultInstanceForType()
Returns
TypeDescription
Engine.ChatEngineMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dialogflowAgent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Engine.ChatEngineMetadata other)

public Engine.ChatEngineMetadata.Builder mergeFrom(Engine.ChatEngineMetadata other)
Parameter
NameDescription
otherEngine.ChatEngineMetadata
Returns
TypeDescription
Engine.ChatEngineMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Engine.ChatEngineMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Engine.ChatEngineMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Engine.ChatEngineMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Engine.ChatEngineMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Engine.ChatEngineMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The dialogflowAgent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dialogflowAgent to set.

Returns
TypeDescription
Engine.ChatEngineMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Engine.ChatEngineMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Engine.ChatEngineMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Engine.ChatEngineMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Engine.ChatEngineMetadata.Builder
Overrides