Class SecuritySettings.AudioExportSettings (0.65.0)

public static final class SecuritySettings.AudioExportSettings extends GeneratedMessageV3 implements SecuritySettings.AudioExportSettingsOrBuilder

Settings for exporting audio.

Protobuf type google.cloud.dialogflow.cx.v3beta1.SecuritySettings.AudioExportSettings

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SecuritySettings.AudioExportSettings

Static Fields

AUDIO_EXPORT_PATTERN_FIELD_NUMBER

public static final int AUDIO_EXPORT_PATTERN_FIELD_NUMBER
Field Value
Type Description
int

AUDIO_FORMAT_FIELD_NUMBER

public static final int AUDIO_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_AUDIO_REDACTION_FIELD_NUMBER

public static final int ENABLE_AUDIO_REDACTION_FIELD_NUMBER
Field Value
Type Description
int

GCS_BUCKET_FIELD_NUMBER

public static final int GCS_BUCKET_FIELD_NUMBER
Field Value
Type Description
int

STORE_TTS_AUDIO_FIELD_NUMBER

public static final int STORE_TTS_AUDIO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SecuritySettings.AudioExportSettings getDefaultInstance()
Returns
Type Description
SecuritySettings.AudioExportSettings

getDescriptor()

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

newBuilder()

public static SecuritySettings.AudioExportSettings.Builder newBuilder()
Returns
Type Description
SecuritySettings.AudioExportSettings.Builder

newBuilder(SecuritySettings.AudioExportSettings prototype)

public static SecuritySettings.AudioExportSettings.Builder newBuilder(SecuritySettings.AudioExportSettings prototype)
Parameter
Name Description
prototype SecuritySettings.AudioExportSettings
Returns
Type Description
SecuritySettings.AudioExportSettings.Builder

parseDelimitedFrom(InputStream input)

public static SecuritySettings.AudioExportSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecuritySettings.AudioExportSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecuritySettings.AudioExportSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecuritySettings.AudioExportSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SecuritySettings.AudioExportSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SecuritySettings.AudioExportSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecuritySettings.AudioExportSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecuritySettings.AudioExportSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecuritySettings.AudioExportSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SecuritySettings.AudioExportSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecuritySettings.AudioExportSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecuritySettings.AudioExportSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecuritySettings.AudioExportSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SecuritySettings.AudioExportSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecuritySettings.AudioExportSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecuritySettings.AudioExportSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SecuritySettings.AudioExportSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecuritySettings.AudioExportSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecuritySettings.AudioExportSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecuritySettings.AudioExportSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SecuritySettings.AudioExportSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SecuritySettings.AudioExportSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecuritySettings.AudioExportSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecuritySettings.AudioExportSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SecuritySettings.AudioExportSettings> parser()
Returns
Type Description
Parser<AudioExportSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAudioExportPattern()

public String getAudioExportPattern()

Filename pattern for exported audio.

string audio_export_pattern = 2;

Returns
Type Description
String

The audioExportPattern.

getAudioExportPatternBytes()

public ByteString getAudioExportPatternBytes()

Filename pattern for exported audio.

string audio_export_pattern = 2;

Returns
Type Description
ByteString

The bytes for audioExportPattern.

getAudioFormat()

public 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
Type Description
SecuritySettings.AudioExportSettings.AudioFormat

The audioFormat.

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;

Returns
Type Description
int

The enum numeric value on the wire for audioFormat.

getDefaultInstanceForType()

public SecuritySettings.AudioExportSettings getDefaultInstanceForType()
Returns
Type Description
SecuritySettings.AudioExportSettings

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;

Returns
Type Description
boolean

The enableAudioRedaction.

getGcsBucket()

public 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
Type Description
String

The gcsBucket.

getGcsBucketBytes()

public 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
Type Description
ByteString

The bytes for gcsBucket.

getParserForType()

public Parser<SecuritySettings.AudioExportSettings> getParserForType()
Returns
Type Description
Parser<AudioExportSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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;

Returns
Type Description
boolean

The storeTtsAudio.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SecuritySettings.AudioExportSettings.Builder newBuilderForType()
Returns
Type Description
SecuritySettings.AudioExportSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecuritySettings.AudioExportSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SecuritySettings.AudioExportSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SecuritySettings.AudioExportSettings.Builder toBuilder()
Returns
Type Description
SecuritySettings.AudioExportSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException