public static final class SecuritySettings.AudioExportSettings extends GeneratedMessageV3 implements SecuritySettings.AudioExportSettingsOrBuilder
Settings for exporting audio.
Protobuf type google.cloud.dialogflow.cx.v3beta1.SecuritySettings.AudioExportSettings
Static Fields
AUDIO_EXPORT_PATTERN_FIELD_NUMBER
public static final int AUDIO_EXPORT_PATTERN_FIELD_NUMBER
Field Value
public static final int AUDIO_FORMAT_FIELD_NUMBER
Field Value
ENABLE_AUDIO_REDACTION_FIELD_NUMBER
public static final int ENABLE_AUDIO_REDACTION_FIELD_NUMBER
Field Value
GCS_BUCKET_FIELD_NUMBER
public static final int GCS_BUCKET_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SecuritySettings.AudioExportSettings getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SecuritySettings.AudioExportSettings.Builder newBuilder()
Returns
newBuilder(SecuritySettings.AudioExportSettings prototype)
public static SecuritySettings.AudioExportSettings.Builder newBuilder(SecuritySettings.AudioExportSettings prototype)
Parameter
Returns
public static SecuritySettings.AudioExportSettings parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SecuritySettings.AudioExportSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SecuritySettings.AudioExportSettings parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecuritySettings.AudioExportSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SecuritySettings.AudioExportSettings parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecuritySettings.AudioExportSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecuritySettings.AudioExportSettings parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SecuritySettings.AudioExportSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecuritySettings.AudioExportSettings parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SecuritySettings.AudioExportSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SecuritySettings.AudioExportSettings parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecuritySettings.AudioExportSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SecuritySettings.AudioExportSettings> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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.
|
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
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
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.
|
getParserForType()
public Parser<SecuritySettings.AudioExportSettings> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SecuritySettings.AudioExportSettings.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecuritySettings.AudioExportSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SecuritySettings.AudioExportSettings.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions