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 |
Type |
Description |
int |
|
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 |
|
Static Methods
getDefaultInstance()
public static SecuritySettings.AudioExportSettings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SecuritySettings.AudioExportSettings.Builder newBuilder()
newBuilder(SecuritySettings.AudioExportSettings prototype)
public static SecuritySettings.AudioExportSettings.Builder newBuilder(SecuritySettings.AudioExportSettings prototype)
public static SecuritySettings.AudioExportSettings parseDelimitedFrom(InputStream input)
public static SecuritySettings.AudioExportSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SecuritySettings.AudioExportSettings parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecuritySettings.AudioExportSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SecuritySettings.AudioExportSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecuritySettings.AudioExportSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecuritySettings.AudioExportSettings parseFrom(CodedInputStream input)
public static SecuritySettings.AudioExportSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SecuritySettings.AudioExportSettings parseFrom(InputStream input)
public static SecuritySettings.AudioExportSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SecuritySettings.AudioExportSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecuritySettings.AudioExportSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SecuritySettings.AudioExportSettings> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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;
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()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SecuritySettings.AudioExportSettings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecuritySettings.AudioExportSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SecuritySettings.AudioExportSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides