Class HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder (4.14.0)

public static final class HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder extends GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder> implements HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySourceOrBuilder

Dialogflow source setting. Supported feature: DIALOGFLOW_ASSIST.

Protobuf type google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder
Overrides

build()

public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource build()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource

buildPartial()

public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource buildPartial()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource

clear()

public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder clear()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder
Overrides

clearAgent()

public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder clearAgent()

Required. The name of a Dialogflow virtual agent used for end user side intent detection and suggestion. Format: projects/<Project Number/ ID>/locations/<Location ID>/agent. When multiple agents are allowed in the same Dialogflow project.

string agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder
Overrides

clone()

public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder clone()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder
Overrides

getAgent()

public String getAgent()

Required. The name of a Dialogflow virtual agent used for end user side intent detection and suggestion. Format: projects/<Project Number/ ID>/locations/<Location ID>/agent. When multiple agents are allowed in the same Dialogflow project.

string agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The agent.

getAgentBytes()

public ByteString getAgentBytes()

Required. The name of a Dialogflow virtual agent used for end user side intent detection and suggestion. Format: projects/<Project Number/ ID>/locations/<Location ID>/agent. When multiple agents are allowed in the same Dialogflow project.

string agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for agent.

getDefaultInstanceForType()

public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource getDefaultInstanceForType()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource other)

public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource other)
Parameter
NameDescription
otherHumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder
Overrides

setAgent(String value)

public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder setAgent(String value)

Required. The name of a Dialogflow virtual agent used for end user side intent detection and suggestion. Format: projects/<Project Number/ ID>/locations/<Location ID>/agent. When multiple agents are allowed in the same Dialogflow project.

string agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The agent to set.

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder

This builder for chaining.

setAgentBytes(ByteString value)

public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder setAgentBytes(ByteString value)

Required. The name of a Dialogflow virtual agent used for end user side intent detection and suggestion. Format: projects/<Project Number/ ID>/locations/<Location ID>/agent. When multiple agents are allowed in the same Dialogflow project.

string agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for agent to set.

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder
Overrides

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

public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder
Overrides