Class SecuritySettings.AudioExportSettings.Builder (0.22.0)

public static final class SecuritySettings.AudioExportSettings.Builder extends GeneratedMessageV3.Builder<SecuritySettings.AudioExportSettings.Builder> implements SecuritySettings.AudioExportSettingsOrBuilder

Settings for exporting audio.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public SecuritySettings.AudioExportSettings.Builder clear()
Returns
Type Description
SecuritySettings.AudioExportSettings.Builder
Overrides

clearAudioExportPattern()

public SecuritySettings.AudioExportSettings.Builder clearAudioExportPattern()

Filename pattern for exported audio.

string audio_export_pattern = 2;

Returns
Type Description
SecuritySettings.AudioExportSettings.Builder

This builder for chaining.

clearAudioFormat()

public SecuritySettings.AudioExportSettings.Builder clearAudioFormat()

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

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

Returns
Type Description
SecuritySettings.AudioExportSettings.Builder

This builder for chaining.

clearEnableAudioRedaction()

public SecuritySettings.AudioExportSettings.Builder clearEnableAudioRedaction()

Enable audio redaction if it is true.

bool enable_audio_redaction = 3;

Returns
Type Description
SecuritySettings.AudioExportSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGcsBucket()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public SecuritySettings.AudioExportSettings.Builder clone()
Returns
Type Description
SecuritySettings.AudioExportSettings.Builder
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.v3.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.v3.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

getDescriptorForType()

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

getEnableAudioRedaction()

public boolean getEnableAudioRedaction()

Enable audio redaction if it is true.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecuritySettings.AudioExportSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAudioExportPattern(String value)

public SecuritySettings.AudioExportSettings.Builder setAudioExportPattern(String value)

Filename pattern for exported audio.

string audio_export_pattern = 2;

Parameter
Name Description
value String

The audioExportPattern to set.

Returns
Type Description
SecuritySettings.AudioExportSettings.Builder

This builder for chaining.

setAudioExportPatternBytes(ByteString value)

public SecuritySettings.AudioExportSettings.Builder setAudioExportPatternBytes(ByteString value)

Filename pattern for exported audio.

string audio_export_pattern = 2;

Parameter
Name Description
value ByteString

The bytes for audioExportPattern to set.

Returns
Type Description
SecuritySettings.AudioExportSettings.Builder

This builder for chaining.

setAudioFormat(SecuritySettings.AudioExportSettings.AudioFormat value)

public SecuritySettings.AudioExportSettings.Builder setAudioFormat(SecuritySettings.AudioExportSettings.AudioFormat value)

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

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

Parameter
Name Description
value SecuritySettings.AudioExportSettings.AudioFormat

The audioFormat to set.

Returns
Type Description
SecuritySettings.AudioExportSettings.Builder

This builder for chaining.

setAudioFormatValue(int value)

public SecuritySettings.AudioExportSettings.Builder setAudioFormatValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for audioFormat to set.

Returns
Type Description
SecuritySettings.AudioExportSettings.Builder

This builder for chaining.

setEnableAudioRedaction(boolean value)

public SecuritySettings.AudioExportSettings.Builder setEnableAudioRedaction(boolean value)

Enable audio redaction if it is true.

bool enable_audio_redaction = 3;

Parameter
Name Description
value boolean

The enableAudioRedaction to set.

Returns
Type Description
SecuritySettings.AudioExportSettings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsBucket(String value)

public SecuritySettings.AudioExportSettings.Builder setGcsBucket(String 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;

Parameter
Name Description
value String

The gcsBucket to set.

Returns
Type Description
SecuritySettings.AudioExportSettings.Builder

This builder for chaining.

setGcsBucketBytes(ByteString value)

public SecuritySettings.AudioExportSettings.Builder setGcsBucketBytes(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;

Parameter
Name Description
value ByteString

The bytes for gcsBucket to set.

Returns
Type Description
SecuritySettings.AudioExportSettings.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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