Class SecuritySettings.AudioExportSettings.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SecuritySettings.AudioExportSettings.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SecuritySettings.AudioExportSettings.Builder>
      • getDefaultInstanceForType

        public SecuritySettings.AudioExportSettings getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public SecuritySettings.AudioExportSettings build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public SecuritySettings.AudioExportSettings buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SecuritySettings.AudioExportSettings.Builder>
      • 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;
        Specified by:
        getGcsBucket in interface SecuritySettings.AudioExportSettingsOrBuilder
        Returns:
        The gcsBucket.
      • getGcsBucketBytes

        public com.google.protobuf.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;
        Specified by:
        getGcsBucketBytes in interface SecuritySettings.AudioExportSettingsOrBuilder
        Returns:
        The bytes for gcsBucket.
      • setGcsBucket

        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;
        Parameters:
        value - The gcsBucket to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setGcsBucketBytes

        public SecuritySettings.AudioExportSettings.Builder setGcsBucketBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes for gcsBucket to set.
        Returns:
        This builder for chaining.
      • setAudioExportPattern

        public SecuritySettings.AudioExportSettings.Builder setAudioExportPattern​(String value)
         Filename pattern for exported audio.
         
        string audio_export_pattern = 2;
        Parameters:
        value - The audioExportPattern to set.
        Returns:
        This builder for chaining.
      • setAudioExportPatternBytes

        public SecuritySettings.AudioExportSettings.Builder setAudioExportPatternBytes​(com.google.protobuf.ByteString value)
         Filename pattern for exported audio.
         
        string audio_export_pattern = 2;
        Parameters:
        value - The bytes for audioExportPattern to set.
        Returns:
        This builder for chaining.
      • setEnableAudioRedaction

        public SecuritySettings.AudioExportSettings.Builder setEnableAudioRedaction​(boolean value)
         Enable audio redaction if it is true.
         
        bool enable_audio_redaction = 3;
        Parameters:
        value - The enableAudioRedaction to set.
        Returns:
        This builder for chaining.
      • 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;
        Specified by:
        getAudioFormatValue in interface SecuritySettings.AudioExportSettingsOrBuilder
        Returns:
        The enum numeric value on the wire for audioFormat.
      • setAudioFormatValue

        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;
        Parameters:
        value - The enum numeric value on the wire for audioFormat to set.
        Returns:
        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:
        This builder for chaining.