All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.dialogflow.cx.v3.AudioConfigProto Maven / Gradle / Ivy

There is a newer version: 0.67.0
Show newest version
/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dialogflow/cx/v3/audio_config.proto

package com.google.cloud.dialogflow.cx.v3;

public final class AudioConfigProto {
  private AudioConfigProto() {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
  }

  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_dialogflow_cx_v3_SpeechWordInfo_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_dialogflow_cx_v3_SpeechWordInfo_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_dialogflow_cx_v3_InputAudioConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_dialogflow_cx_v3_InputAudioConfig_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_dialogflow_cx_v3_VoiceSelectionParams_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_dialogflow_cx_v3_VoiceSelectionParams_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_dialogflow_cx_v3_SynthesizeSpeechConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_dialogflow_cx_v3_SynthesizeSpeechConfig_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_dialogflow_cx_v3_OutputAudioConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_dialogflow_cx_v3_OutputAudioConfig_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
    return descriptor;
  }

  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;

  static {
    java.lang.String[] descriptorData = {
      "\n0google/cloud/dialogflow/cx/v3/audio_co"
          + "nfig.proto\022\035google.cloud.dialogflow.cx.v"
          + "3\032\037google/api/field_behavior.proto\032\031goog"
          + "le/api/resource.proto\032\036google/protobuf/d"
          + "uration.proto\032\037google/protobuf/timestamp"
          + ".proto\032\034google/api/annotations.proto\"\222\001\n"
          + "\016SpeechWordInfo\022\014\n\004word\030\003 \001(\t\022/\n\014start_o"
          + "ffset\030\001 \001(\0132\031.google.protobuf.Duration\022-"
          + "\n\nend_offset\030\002 \001(\0132\031.google.protobuf.Dur"
          + "ation\022\022\n\nconfidence\030\004 \001(\002\"\233\002\n\020InputAudio"
          + "Config\022I\n\016audio_encoding\030\001 \001(\0162,.google."
          + "cloud.dialogflow.cx.v3.AudioEncodingB\003\340A"
          + "\002\022\031\n\021sample_rate_hertz\030\002 \001(\005\022\030\n\020enable_w"
          + "ord_info\030\r \001(\010\022\024\n\014phrase_hints\030\004 \003(\t\022\r\n\005"
          + "model\030\007 \001(\t\022H\n\rmodel_variant\030\n \001(\01621.goo"
          + "gle.cloud.dialogflow.cx.v3.SpeechModelVa"
          + "riant\022\030\n\020single_utterance\030\010 \001(\010\"i\n\024Voice"
          + "SelectionParams\022\014\n\004name\030\001 \001(\t\022C\n\013ssml_ge"
          + "nder\030\002 \001(\0162..google.cloud.dialogflow.cx."
          + "v3.SsmlVoiceGender\"\266\001\n\026SynthesizeSpeechC"
          + "onfig\022\025\n\rspeaking_rate\030\001 \001(\001\022\r\n\005pitch\030\002 "
          + "\001(\001\022\026\n\016volume_gain_db\030\003 \001(\001\022\032\n\022effects_p"
          + "rofile_id\030\005 \003(\t\022B\n\005voice\030\004 \001(\01323.google."
          + "cloud.dialogflow.cx.v3.VoiceSelectionPar"
          + "ams\"\330\001\n\021OutputAudioConfig\022O\n\016audio_encod"
          + "ing\030\001 \001(\01622.google.cloud.dialogflow.cx.v"
          + "3.OutputAudioEncodingB\003\340A\002\022\031\n\021sample_rat"
          + "e_hertz\030\002 \001(\005\022W\n\030synthesize_speech_confi"
          + "g\030\003 \001(\01325.google.cloud.dialogflow.cx.v3."
          + "SynthesizeSpeechConfig*\373\001\n\rAudioEncoding"
          + "\022\036\n\032AUDIO_ENCODING_UNSPECIFIED\020\000\022\034\n\030AUDI"
          + "O_ENCODING_LINEAR_16\020\001\022\027\n\023AUDIO_ENCODING"
          + "_FLAC\020\002\022\030\n\024AUDIO_ENCODING_MULAW\020\003\022\026\n\022AUD"
          + "IO_ENCODING_AMR\020\004\022\031\n\025AUDIO_ENCODING_AMR_"
          + "WB\020\005\022\033\n\027AUDIO_ENCODING_OGG_OPUS\020\006\022)\n%AUD"
          + "IO_ENCODING_SPEEX_WITH_HEADER_BYTE\020\007*v\n\022"
          + "SpeechModelVariant\022$\n SPEECH_MODEL_VARIA"
          + "NT_UNSPECIFIED\020\000\022\026\n\022USE_BEST_AVAILABLE\020\001"
          + "\022\020\n\014USE_STANDARD\020\002\022\020\n\014USE_ENHANCED\020\003*\215\001\n"
          + "\017SsmlVoiceGender\022!\n\035SSML_VOICE_GENDER_UN"
          + "SPECIFIED\020\000\022\032\n\026SSML_VOICE_GENDER_MALE\020\001\022"
          + "\034\n\030SSML_VOICE_GENDER_FEMALE\020\002\022\035\n\031SSML_VO"
          + "ICE_GENDER_NEUTRAL\020\003*\354\001\n\023OutputAudioEnco"
          + "ding\022%\n!OUTPUT_AUDIO_ENCODING_UNSPECIFIE"
          + "D\020\000\022#\n\037OUTPUT_AUDIO_ENCODING_LINEAR_16\020\001"
          + "\022\035\n\031OUTPUT_AUDIO_ENCODING_MP3\020\002\022%\n!OUTPU"
          + "T_AUDIO_ENCODING_MP3_64_KBPS\020\004\022\"\n\036OUTPUT"
          + "_AUDIO_ENCODING_OGG_OPUS\020\003\022\037\n\033OUTPUT_AUD"
          + "IO_ENCODING_MULAW\020\005B\304\001\n!com.google.cloud"
          + ".dialogflow.cx.v3B\020AudioConfigProtoP\001Z?g"
          + "oogle.golang.org/genproto/googleapis/clo"
          + "ud/dialogflow/cx/v3;cx\370\001\001\242\002\002DF\252\002\035Google."
          + "Cloud.Dialogflow.Cx.V3\352\002!Google::Cloud::"
          + "Dialogflow::CX::V3b\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.api.ResourceProto.getDescriptor(),
              com.google.protobuf.DurationProto.getDescriptor(),
              com.google.protobuf.TimestampProto.getDescriptor(),
              com.google.api.AnnotationsProto.getDescriptor(),
            });
    internal_static_google_cloud_dialogflow_cx_v3_SpeechWordInfo_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_dialogflow_cx_v3_SpeechWordInfo_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_dialogflow_cx_v3_SpeechWordInfo_descriptor,
            new java.lang.String[] {
              "Word", "StartOffset", "EndOffset", "Confidence",
            });
    internal_static_google_cloud_dialogflow_cx_v3_InputAudioConfig_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_cloud_dialogflow_cx_v3_InputAudioConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_dialogflow_cx_v3_InputAudioConfig_descriptor,
            new java.lang.String[] {
              "AudioEncoding",
              "SampleRateHertz",
              "EnableWordInfo",
              "PhraseHints",
              "Model",
              "ModelVariant",
              "SingleUtterance",
            });
    internal_static_google_cloud_dialogflow_cx_v3_VoiceSelectionParams_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_google_cloud_dialogflow_cx_v3_VoiceSelectionParams_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_dialogflow_cx_v3_VoiceSelectionParams_descriptor,
            new java.lang.String[] {
              "Name", "SsmlGender",
            });
    internal_static_google_cloud_dialogflow_cx_v3_SynthesizeSpeechConfig_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_google_cloud_dialogflow_cx_v3_SynthesizeSpeechConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_dialogflow_cx_v3_SynthesizeSpeechConfig_descriptor,
            new java.lang.String[] {
              "SpeakingRate", "Pitch", "VolumeGainDb", "EffectsProfileId", "Voice",
            });
    internal_static_google_cloud_dialogflow_cx_v3_OutputAudioConfig_descriptor =
        getDescriptor().getMessageTypes().get(4);
    internal_static_google_cloud_dialogflow_cx_v3_OutputAudioConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_dialogflow_cx_v3_OutputAudioConfig_descriptor,
            new java.lang.String[] {
              "AudioEncoding", "SampleRateHertz", "SynthesizeSpeechConfig",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.api.ResourceProto.getDescriptor();
    com.google.protobuf.DurationProto.getDescriptor();
    com.google.protobuf.TimestampProto.getDescriptor();
    com.google.api.AnnotationsProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy