Class AdvancedSettings.Builder (0.65.0)

public static final class AdvancedSettings.Builder extends GeneratedMessageV3.Builder<AdvancedSettings.Builder> implements AdvancedSettingsOrBuilder

Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the agent level, leaving other settings at the agent level unchanged.

DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel.

Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.

Protobuf type google.cloud.dialogflow.cx.v3.AdvancedSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AdvancedSettings build()
Returns
Type Description
AdvancedSettings

buildPartial()

public AdvancedSettings buildPartial()
Returns
Type Description
AdvancedSettings

clear()

public AdvancedSettings.Builder clear()
Returns
Type Description
AdvancedSettings.Builder
Overrides

clearAudioExportGcsDestination()

public AdvancedSettings.Builder clearAudioExportGcsDestination()

If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:

  • Agent level
  • Flow level

.google.cloud.dialogflow.cx.v3.GcsDestination audio_export_gcs_destination = 2;

Returns
Type Description
AdvancedSettings.Builder

clearDtmfSettings()

public AdvancedSettings.Builder clearDtmfSettings()

Settings for DTMF. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.DtmfSettings dtmf_settings = 5;

Returns
Type Description
AdvancedSettings.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearLoggingSettings()

public AdvancedSettings.Builder clearLoggingSettings()

Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

  • Agent level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings logging_settings = 6;

Returns
Type Description
AdvancedSettings.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSpeechSettings()

public AdvancedSettings.Builder clearSpeechSettings()

Settings for speech to text detection. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level

.google.cloud.dialogflow.cx.v3.AdvancedSettings.SpeechSettings speech_settings = 3;

Returns
Type Description
AdvancedSettings.Builder

clone()

public AdvancedSettings.Builder clone()
Returns
Type Description
AdvancedSettings.Builder
Overrides

getAudioExportGcsDestination()

public GcsDestination getAudioExportGcsDestination()

If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:

  • Agent level
  • Flow level

.google.cloud.dialogflow.cx.v3.GcsDestination audio_export_gcs_destination = 2;

Returns
Type Description
GcsDestination

The audioExportGcsDestination.

getAudioExportGcsDestinationBuilder()

public GcsDestination.Builder getAudioExportGcsDestinationBuilder()

If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:

  • Agent level
  • Flow level

.google.cloud.dialogflow.cx.v3.GcsDestination audio_export_gcs_destination = 2;

Returns
Type Description
GcsDestination.Builder

getAudioExportGcsDestinationOrBuilder()

public GcsDestinationOrBuilder getAudioExportGcsDestinationOrBuilder()

If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:

  • Agent level
  • Flow level

.google.cloud.dialogflow.cx.v3.GcsDestination audio_export_gcs_destination = 2;

Returns
Type Description
GcsDestinationOrBuilder

getDefaultInstanceForType()

public AdvancedSettings getDefaultInstanceForType()
Returns
Type Description
AdvancedSettings

getDescriptorForType()

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

getDtmfSettings()

public AdvancedSettings.DtmfSettings getDtmfSettings()

Settings for DTMF. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.DtmfSettings dtmf_settings = 5;

Returns
Type Description
AdvancedSettings.DtmfSettings

The dtmfSettings.

getDtmfSettingsBuilder()

public AdvancedSettings.DtmfSettings.Builder getDtmfSettingsBuilder()

Settings for DTMF. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.DtmfSettings dtmf_settings = 5;

Returns
Type Description
AdvancedSettings.DtmfSettings.Builder

getDtmfSettingsOrBuilder()

public AdvancedSettings.DtmfSettingsOrBuilder getDtmfSettingsOrBuilder()

Settings for DTMF. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.DtmfSettings dtmf_settings = 5;

Returns
Type Description
AdvancedSettings.DtmfSettingsOrBuilder

getLoggingSettings()

public AdvancedSettings.LoggingSettings getLoggingSettings()

Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

  • Agent level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings logging_settings = 6;

Returns
Type Description
AdvancedSettings.LoggingSettings

The loggingSettings.

getLoggingSettingsBuilder()

public AdvancedSettings.LoggingSettings.Builder getLoggingSettingsBuilder()

Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

  • Agent level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings logging_settings = 6;

Returns
Type Description
AdvancedSettings.LoggingSettings.Builder

getLoggingSettingsOrBuilder()

public AdvancedSettings.LoggingSettingsOrBuilder getLoggingSettingsOrBuilder()

Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

  • Agent level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings logging_settings = 6;

Returns
Type Description
AdvancedSettings.LoggingSettingsOrBuilder

getSpeechSettings()

public AdvancedSettings.SpeechSettings getSpeechSettings()

Settings for speech to text detection. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level

.google.cloud.dialogflow.cx.v3.AdvancedSettings.SpeechSettings speech_settings = 3;

Returns
Type Description
AdvancedSettings.SpeechSettings

The speechSettings.

getSpeechSettingsBuilder()

public AdvancedSettings.SpeechSettings.Builder getSpeechSettingsBuilder()

Settings for speech to text detection. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level

.google.cloud.dialogflow.cx.v3.AdvancedSettings.SpeechSettings speech_settings = 3;

Returns
Type Description
AdvancedSettings.SpeechSettings.Builder

getSpeechSettingsOrBuilder()

public AdvancedSettings.SpeechSettingsOrBuilder getSpeechSettingsOrBuilder()

Settings for speech to text detection. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level

.google.cloud.dialogflow.cx.v3.AdvancedSettings.SpeechSettings speech_settings = 3;

Returns
Type Description
AdvancedSettings.SpeechSettingsOrBuilder

hasAudioExportGcsDestination()

public boolean hasAudioExportGcsDestination()

If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:

  • Agent level
  • Flow level

.google.cloud.dialogflow.cx.v3.GcsDestination audio_export_gcs_destination = 2;

Returns
Type Description
boolean

Whether the audioExportGcsDestination field is set.

hasDtmfSettings()

public boolean hasDtmfSettings()

Settings for DTMF. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.DtmfSettings dtmf_settings = 5;

Returns
Type Description
boolean

Whether the dtmfSettings field is set.

hasLoggingSettings()

public boolean hasLoggingSettings()

Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

  • Agent level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings logging_settings = 6;

Returns
Type Description
boolean

Whether the loggingSettings field is set.

hasSpeechSettings()

public boolean hasSpeechSettings()

Settings for speech to text detection. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level

.google.cloud.dialogflow.cx.v3.AdvancedSettings.SpeechSettings speech_settings = 3;

Returns
Type Description
boolean

Whether the speechSettings field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAudioExportGcsDestination(GcsDestination value)

public AdvancedSettings.Builder mergeAudioExportGcsDestination(GcsDestination value)

If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:

  • Agent level
  • Flow level

.google.cloud.dialogflow.cx.v3.GcsDestination audio_export_gcs_destination = 2;

Parameter
Name Description
value GcsDestination
Returns
Type Description
AdvancedSettings.Builder

mergeDtmfSettings(AdvancedSettings.DtmfSettings value)

public AdvancedSettings.Builder mergeDtmfSettings(AdvancedSettings.DtmfSettings value)

Settings for DTMF. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.DtmfSettings dtmf_settings = 5;

Parameter
Name Description
value AdvancedSettings.DtmfSettings
Returns
Type Description
AdvancedSettings.Builder

mergeFrom(AdvancedSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLoggingSettings(AdvancedSettings.LoggingSettings value)

public AdvancedSettings.Builder mergeLoggingSettings(AdvancedSettings.LoggingSettings value)

Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

  • Agent level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings logging_settings = 6;

Parameter
Name Description
value AdvancedSettings.LoggingSettings
Returns
Type Description
AdvancedSettings.Builder

mergeSpeechSettings(AdvancedSettings.SpeechSettings value)

public AdvancedSettings.Builder mergeSpeechSettings(AdvancedSettings.SpeechSettings value)

Settings for speech to text detection. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level

.google.cloud.dialogflow.cx.v3.AdvancedSettings.SpeechSettings speech_settings = 3;

Parameter
Name Description
value AdvancedSettings.SpeechSettings
Returns
Type Description
AdvancedSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AdvancedSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AdvancedSettings.Builder
Overrides

setAudioExportGcsDestination(GcsDestination value)

public AdvancedSettings.Builder setAudioExportGcsDestination(GcsDestination value)

If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:

  • Agent level
  • Flow level

.google.cloud.dialogflow.cx.v3.GcsDestination audio_export_gcs_destination = 2;

Parameter
Name Description
value GcsDestination
Returns
Type Description
AdvancedSettings.Builder

setAudioExportGcsDestination(GcsDestination.Builder builderForValue)

public AdvancedSettings.Builder setAudioExportGcsDestination(GcsDestination.Builder builderForValue)

If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:

  • Agent level
  • Flow level

.google.cloud.dialogflow.cx.v3.GcsDestination audio_export_gcs_destination = 2;

Parameter
Name Description
builderForValue GcsDestination.Builder
Returns
Type Description
AdvancedSettings.Builder

setDtmfSettings(AdvancedSettings.DtmfSettings value)

public AdvancedSettings.Builder setDtmfSettings(AdvancedSettings.DtmfSettings value)

Settings for DTMF. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.DtmfSettings dtmf_settings = 5;

Parameter
Name Description
value AdvancedSettings.DtmfSettings
Returns
Type Description
AdvancedSettings.Builder

setDtmfSettings(AdvancedSettings.DtmfSettings.Builder builderForValue)

public AdvancedSettings.Builder setDtmfSettings(AdvancedSettings.DtmfSettings.Builder builderForValue)

Settings for DTMF. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.DtmfSettings dtmf_settings = 5;

Parameter
Name Description
builderForValue AdvancedSettings.DtmfSettings.Builder
Returns
Type Description
AdvancedSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLoggingSettings(AdvancedSettings.LoggingSettings value)

public AdvancedSettings.Builder setLoggingSettings(AdvancedSettings.LoggingSettings value)

Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

  • Agent level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings logging_settings = 6;

Parameter
Name Description
value AdvancedSettings.LoggingSettings
Returns
Type Description
AdvancedSettings.Builder

setLoggingSettings(AdvancedSettings.LoggingSettings.Builder builderForValue)

public AdvancedSettings.Builder setLoggingSettings(AdvancedSettings.LoggingSettings.Builder builderForValue)

Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

  • Agent level.

.google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings logging_settings = 6;

Parameter
Name Description
builderForValue AdvancedSettings.LoggingSettings.Builder
Returns
Type Description
AdvancedSettings.Builder

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

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

setSpeechSettings(AdvancedSettings.SpeechSettings value)

public AdvancedSettings.Builder setSpeechSettings(AdvancedSettings.SpeechSettings value)

Settings for speech to text detection. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level

.google.cloud.dialogflow.cx.v3.AdvancedSettings.SpeechSettings speech_settings = 3;

Parameter
Name Description
value AdvancedSettings.SpeechSettings
Returns
Type Description
AdvancedSettings.Builder

setSpeechSettings(AdvancedSettings.SpeechSettings.Builder builderForValue)

public AdvancedSettings.Builder setSpeechSettings(AdvancedSettings.SpeechSettings.Builder builderForValue)

Settings for speech to text detection. Exposed at the following levels:

  • Agent level
  • Flow level
  • Page level
  • Parameter level

.google.cloud.dialogflow.cx.v3.AdvancedSettings.SpeechSettings speech_settings = 3;

Parameter
Name Description
builderForValue AdvancedSettings.SpeechSettings.Builder
Returns
Type Description
AdvancedSettings.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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