Class SecuritySettings.AudioExportSettings (0.14.0)

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

Settings for exporting audio.

Protobuf type google.cloud.dialogflow.cx.v3.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
TypeDescription
int

AUDIO_FORMAT_FIELD_NUMBER

public static final int AUDIO_FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLE_AUDIO_REDACTION_FIELD_NUMBER

public static final int ENABLE_AUDIO_REDACTION_FIELD_NUMBER
Field Value
TypeDescription
int

GCS_BUCKET_FIELD_NUMBER

public static final int GCS_BUCKET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecuritySettings.AudioExportSettings getDefaultInstance()
Returns
TypeDescription
SecuritySettings.AudioExportSettings

getDescriptor()

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

newBuilder()

public static SecuritySettings.AudioExportSettings.Builder newBuilder()
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder

newBuilder(SecuritySettings.AudioExportSettings prototype)

public static SecuritySettings.AudioExportSettings.Builder newBuilder(SecuritySettings.AudioExportSettings prototype)
Parameter
NameDescription
prototypeSecuritySettings.AudioExportSettings
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder

parseDelimitedFrom(InputStream input)

public static SecuritySettings.AudioExportSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecuritySettings.AudioExportSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecuritySettings.AudioExportSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecuritySettings.AudioExportSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SecuritySettings.AudioExportSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SecuritySettings.AudioExportSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecuritySettings.AudioExportSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecuritySettings.AudioExportSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecuritySettings.AudioExportSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SecuritySettings.AudioExportSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecuritySettings.AudioExportSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecuritySettings.AudioExportSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecuritySettings.AudioExportSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SecuritySettings.AudioExportSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecuritySettings.AudioExportSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecuritySettings.AudioExportSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SecuritySettings.AudioExportSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecuritySettings.AudioExportSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecuritySettings.AudioExportSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecuritySettings.AudioExportSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SecuritySettings.AudioExportSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SecuritySettings.AudioExportSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecuritySettings.AudioExportSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecuritySettings.AudioExportSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAudioExportPattern()

public String getAudioExportPattern()

Filename pattern for exported audio.

string audio_export_pattern = 2;

Returns
TypeDescription
String

The audioExportPattern.

getAudioExportPatternBytes()

public ByteString getAudioExportPatternBytes()

Filename pattern for exported audio.

string audio_export_pattern = 2;

Returns
TypeDescription
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.v3.SecuritySettings.AudioExportSettings.AudioFormat audio_format = 4;

Returns
TypeDescription
SecuritySettings.AudioExportSettings.AudioFormat

The audioFormat.

getAudioFormatValue()

public int getAudioFormatValue()

File format for exported audio file. Currently only in telephony recordings.

.google.cloud.dialogflow.cx.v3.SecuritySettings.AudioExportSettings.AudioFormat audio_format = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for audioFormat.

getDefaultInstanceForType()

public SecuritySettings.AudioExportSettings getDefaultInstanceForType()
Returns
TypeDescription
SecuritySettings.AudioExportSettings

getEnableAudioRedaction()

public boolean getEnableAudioRedaction()

Enable audio redaction if it is true.

bool enable_audio_redaction = 3;

Returns
TypeDescription
boolean

The enableAudioRedaction.

getGcsBucket()

public String getGcsBucket()

Cloud Storage bucket to export audio record to. You need to grant service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com the Storage Object Admin role in this bucket.

string gcs_bucket = 1;

Returns
TypeDescription
String

The gcsBucket.

getGcsBucketBytes()

public ByteString getGcsBucketBytes()

Cloud Storage bucket to export audio record to. You need to grant service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com the Storage Object Admin role in this bucket.

string gcs_bucket = 1;

Returns
TypeDescription
ByteString

The bytes for gcsBucket.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SecuritySettings.AudioExportSettings.Builder newBuilderForType()
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecuritySettings.AudioExportSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SecuritySettings.AudioExportSettings.Builder toBuilder()
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException