Interface SecuritySettings.AudioExportSettingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SecuritySettings.AudioExportSettings,SecuritySettings.AudioExportSettings.Builder
- Enclosing class:
- SecuritySettings
public static interface SecuritySettings.AudioExportSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionFilename pattern for exported audio.com.google.protobuf.ByteStringFilename pattern for exported audio.File format for exported audio file.intFile format for exported audio file.booleanEnable audio redaction if it is true.Cloud Storage bucket to export audio record to.com.google.protobuf.ByteStringCloud Storage bucket to export audio record to.booleanWhether to store TTS audio.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getGcsBucket
String getGcsBucket()Cloud Storage bucket to export audio record to. Setting this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.
string gcs_bucket = 1;- Returns:
- The gcsBucket.
-
getGcsBucketBytes
com.google.protobuf.ByteString getGcsBucketBytes()Cloud Storage bucket to export audio record to. Setting this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.
string gcs_bucket = 1;- Returns:
- The bytes for gcsBucket.
-
getAudioExportPattern
String getAudioExportPattern()Filename pattern for exported audio. {conversation} and {timestamp} are placeholders that will be replaced with the conversation ID and epoch micros of the conversation. For example, "{conversation}/recording_{timestamp}.mulaw".string audio_export_pattern = 2;- Returns:
- The audioExportPattern.
-
getAudioExportPatternBytes
com.google.protobuf.ByteString getAudioExportPatternBytes()Filename pattern for exported audio. {conversation} and {timestamp} are placeholders that will be replaced with the conversation ID and epoch micros of the conversation. For example, "{conversation}/recording_{timestamp}.mulaw".string audio_export_pattern = 2;- Returns:
- The bytes for audioExportPattern.
-
getEnableAudioRedaction
boolean getEnableAudioRedaction()Enable audio redaction if it is true. Note that this only redacts end-user audio data; Synthesised audio from the virtual agent is not redacted.
bool enable_audio_redaction = 3;- Returns:
- The enableAudioRedaction.
-
getAudioFormatValue
int getAudioFormatValue()File format for exported audio file. Currently only in telephony recordings.
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.AudioExportSettings.AudioFormat audio_format = 4;- Returns:
- The enum numeric value on the wire for audioFormat.
-
getAudioFormat
SecuritySettings.AudioExportSettings.AudioFormat getAudioFormat()File format for exported audio file. Currently only in telephony recordings.
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.AudioExportSettings.AudioFormat audio_format = 4;- Returns:
- The audioFormat.
-
getStoreTtsAudio
boolean getStoreTtsAudio()Whether to store TTS audio. By default, TTS audio from the virtual agent is not exported.
bool store_tts_audio = 6;- Returns:
- The storeTtsAudio.
-