Class SecuritySettings.AudioExportSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SecuritySettings.AudioExportSettings.Builder>
com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.AudioExportSettings.Builder
- All Implemented Interfaces:
SecuritySettings.AudioExportSettingsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SecuritySettings.AudioExportSettings
public static final class SecuritySettings.AudioExportSettings.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SecuritySettings.AudioExportSettings.Builder>
implements SecuritySettings.AudioExportSettingsOrBuilder
Settings for exporting audio.Protobuf type
google.cloud.dialogflow.cx.v3beta1.SecuritySettings.AudioExportSettings-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Filename pattern for exported audio.File format for exported audio file.Enable audio redaction if it is true.Cloud Storage bucket to export audio record to.Whether to store TTS audio.Filename pattern for exported audio.com.google.protobuf.ByteStringFilename pattern for exported audio.File format for exported audio file.intFile format for exported audio file.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanEnable 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAudioExportPattern(String value) Filename pattern for exported audio.setAudioExportPatternBytes(com.google.protobuf.ByteString value) Filename pattern for exported audio.File format for exported audio file.setAudioFormatValue(int value) File format for exported audio file.setEnableAudioRedaction(boolean value) Enable audio redaction if it is true.setGcsBucket(String value) Cloud Storage bucket to export audio record to.setGcsBucketBytes(com.google.protobuf.ByteString value) Cloud Storage bucket to export audio record to.setStoreTtsAudio(boolean value) Whether to store TTS audio.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SecuritySettings.AudioExportSettings.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SecuritySettings.AudioExportSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SecuritySettings.AudioExportSettings.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecuritySettings.AudioExportSettings.Builder>
-
mergeFrom
public SecuritySettings.AudioExportSettings.Builder mergeFrom(SecuritySettings.AudioExportSettings other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SecuritySettings.AudioExportSettings.Builder>
-
mergeFrom
public SecuritySettings.AudioExportSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecuritySettings.AudioExportSettings.Builder>- Throws:
IOException
-
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;- Specified by:
getGcsBucketin interfaceSecuritySettings.AudioExportSettingsOrBuilder- Returns:
- The gcsBucket.
-
getGcsBucketBytes
public 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;- Specified by:
getGcsBucketBytesin interfaceSecuritySettings.AudioExportSettingsOrBuilder- Returns:
- The bytes for gcsBucket.
-
setGcsBucket
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;- Parameters:
value- The gcsBucket to set.- Returns:
- This builder for chaining.
-
clearGcsBucket
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:
- This builder for chaining.
-
setGcsBucketBytes
public SecuritySettings.AudioExportSettings.Builder setGcsBucketBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes for gcsBucket to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getAudioExportPatternin interfaceSecuritySettings.AudioExportSettingsOrBuilder- Returns:
- The audioExportPattern.
-
getAudioExportPatternBytes
public 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;- Specified by:
getAudioExportPatternBytesin interfaceSecuritySettings.AudioExportSettingsOrBuilder- Returns:
- The bytes for audioExportPattern.
-
setAudioExportPattern
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;- Parameters:
value- The audioExportPattern to set.- Returns:
- This builder for chaining.
-
clearAudioExportPattern
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:
- This builder for chaining.
-
setAudioExportPatternBytes
public SecuritySettings.AudioExportSettings.Builder setAudioExportPatternBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes for audioExportPattern to set.- Returns:
- This builder for chaining.
-
getEnableAudioRedaction
public 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;- Specified by:
getEnableAudioRedactionin interfaceSecuritySettings.AudioExportSettingsOrBuilder- Returns:
- The enableAudioRedaction.
-
setEnableAudioRedaction
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;- Parameters:
value- The enableAudioRedaction to set.- Returns:
- This builder for chaining.
-
clearEnableAudioRedaction
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:
- This builder for chaining.
-
getAudioFormatValue
public int getAudioFormatValue()File format for exported audio file. Currently only in telephony recordings.
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.AudioExportSettings.AudioFormat audio_format = 4;- Specified by:
getAudioFormatValuein interfaceSecuritySettings.AudioExportSettingsOrBuilder- Returns:
- The enum numeric value on the wire for audioFormat.
-
setAudioFormatValue
File format for exported audio file. Currently only in telephony recordings.
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.AudioExportSettings.AudioFormat audio_format = 4;- Parameters:
value- The enum numeric value on the wire for audioFormat to set.- Returns:
- This builder for chaining.
-
getAudioFormat
File format for exported audio file. Currently only in telephony recordings.
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.AudioExportSettings.AudioFormat audio_format = 4;- Specified by:
getAudioFormatin interfaceSecuritySettings.AudioExportSettingsOrBuilder- Returns:
- The audioFormat.
-
setAudioFormat
public SecuritySettings.AudioExportSettings.Builder setAudioFormat(SecuritySettings.AudioExportSettings.AudioFormat value) File format for exported audio file. Currently only in telephony recordings.
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.AudioExportSettings.AudioFormat audio_format = 4;- Parameters:
value- The audioFormat to set.- Returns:
- This builder for chaining.
-
clearAudioFormat
File format for exported audio file. Currently only in telephony recordings.
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.AudioExportSettings.AudioFormat audio_format = 4;- Returns:
- This builder for chaining.
-
getStoreTtsAudio
public boolean getStoreTtsAudio()Whether to store TTS audio. By default, TTS audio from the virtual agent is not exported.
bool store_tts_audio = 6;- Specified by:
getStoreTtsAudioin interfaceSecuritySettings.AudioExportSettingsOrBuilder- Returns:
- The storeTtsAudio.
-
setStoreTtsAudio
Whether to store TTS audio. By default, TTS audio from the virtual agent is not exported.
bool store_tts_audio = 6;- Parameters:
value- The storeTtsAudio to set.- Returns:
- This builder for chaining.
-
clearStoreTtsAudio
Whether to store TTS audio. By default, TTS audio from the virtual agent is not exported.
bool store_tts_audio = 6;- Returns:
- This builder for chaining.
-