Class SecuritySettings.AudioExportSettings.Builder (0.13.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.v3beta1.SecuritySettings.AudioExportSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecuritySettings.AudioExportSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder
Overrides

build()

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

buildPartial()

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

clear()

public SecuritySettings.AudioExportSettings.Builder clear()
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder
Overrides

clearAudioExportPattern()

public SecuritySettings.AudioExportSettings.Builder clearAudioExportPattern()

Filename pattern for exported audio.

string audio_export_pattern = 2;

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

Returns
TypeDescription
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
TypeDescription
SecuritySettings.AudioExportSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SecuritySettings.AudioExportSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder
Overrides

clearGcsBucket()

public SecuritySettings.AudioExportSettings.Builder clearGcsBucket()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SecuritySettings.AudioExportSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder
Overrides

clone()

public SecuritySettings.AudioExportSettings.Builder clone()
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder
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.v3beta1.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.v3beta1.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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecuritySettings.AudioExportSettings other)

public SecuritySettings.AudioExportSettings.Builder mergeFrom(SecuritySettings.AudioExportSettings other)
Parameter
NameDescription
otherSecuritySettings.AudioExportSettings
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SecuritySettings.AudioExportSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SecuritySettings.AudioExportSettings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecuritySettings.AudioExportSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The audioExportPattern to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for audioExportPattern to set.

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

Parameter
NameDescription
valueSecuritySettings.AudioExportSettings.AudioFormat

The audioFormat to set.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueboolean

The enableAudioRedaction to set.

Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SecuritySettings.AudioExportSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder
Overrides

setGcsBucket(String value)

public SecuritySettings.AudioExportSettings.Builder setGcsBucket(String value)

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;

Parameter
NameDescription
valueString

The gcsBucket to set.

Returns
TypeDescription
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. 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;

Parameter
NameDescription
valueByteString

The bytes for gcsBucket to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SecuritySettings.AudioExportSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SecuritySettings.AudioExportSettings.Builder
Overrides