@java.lang.Override public com.google.cloud.speech.v1.RecognitionConfig getDefaultInstanceForType() { return com.google.cloud.speech.v1.RecognitionConfig.getDefaultInstance(); }
/** * * * <pre> * *Required* Provides information to the recognizer that specifies how to * process the request. * </pre> * * <code>.google.cloud.speech.v1.RecognitionConfig config = 1;</code> */ public com.google.cloud.speech.v1.RecognitionConfig getConfig() { return config_ == null ? com.google.cloud.speech.v1.RecognitionConfig.getDefaultInstance() : config_; } /**
/** * * * <pre> * *Required* Provides information to the recognizer that specifies how to * process the request. * </pre> * * <code>.google.cloud.speech.v1.RecognitionConfig config = 1;</code> */ public com.google.cloud.speech.v1.RecognitionConfig getConfig() { return config_ == null ? com.google.cloud.speech.v1.RecognitionConfig.getDefaultInstance() : config_; } /**
/** * * * <pre> * *Required* Provides information to the recognizer that specifies how to * process the request. * </pre> * * <code>.google.cloud.speech.v1.RecognitionConfig config = 1;</code> */ public com.google.cloud.speech.v1.RecognitionConfig getConfig() { return config_ == null ? com.google.cloud.speech.v1.RecognitionConfig.getDefaultInstance() : config_; } /**
/** * * * <pre> * *Required* Provides information to the recognizer that specifies how to * process the request. * </pre> * * <code>.google.cloud.speech.v1.RecognitionConfig config = 1;</code> */ public com.google.cloud.speech.v1.RecognitionConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { return config_ == null ? com.google.cloud.speech.v1.RecognitionConfig.getDefaultInstance() : config_; } } /**
/** * * * <pre> * *Required* Provides information to the recognizer that specifies how to * process the request. * </pre> * * <code>.google.cloud.speech.v1.RecognitionConfig config = 1;</code> */ public com.google.cloud.speech.v1.RecognitionConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { return config_ == null ? com.google.cloud.speech.v1.RecognitionConfig.getDefaultInstance() : config_; } } /**
/** * * * <pre> * *Required* Provides information to the recognizer that specifies how to * process the request. * </pre> * * <code>.google.cloud.speech.v1.RecognitionConfig config = 1;</code> */ public com.google.cloud.speech.v1.RecognitionConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { return config_ == null ? com.google.cloud.speech.v1.RecognitionConfig.getDefaultInstance() : config_; } } /**
/** * * * <pre> * *Required* Provides information to the recognizer that specifies how to * process the request. * </pre> * * <code>.google.cloud.speech.v1.RecognitionConfig config = 1;</code> */ public com.google.cloud.speech.v1.RecognitionConfig getConfig() { if (configBuilder_ == null) { return config_ == null ? com.google.cloud.speech.v1.RecognitionConfig.getDefaultInstance() : config_; } else { return configBuilder_.getMessage(); } } /**
/** * * * <pre> * *Required* Provides information to the recognizer that specifies how to * process the request. * </pre> * * <code>.google.cloud.speech.v1.RecognitionConfig config = 1;</code> */ public com.google.cloud.speech.v1.RecognitionConfig getConfig() { if (configBuilder_ == null) { return config_ == null ? com.google.cloud.speech.v1.RecognitionConfig.getDefaultInstance() : config_; } else { return configBuilder_.getMessage(); } } /**
/** * * * <pre> * *Required* Provides information to the recognizer that specifies how to * process the request. * </pre> * * <code>.google.cloud.speech.v1.RecognitionConfig config = 1;</code> */ public com.google.cloud.speech.v1.RecognitionConfig getConfig() { if (configBuilder_ == null) { return config_ == null ? com.google.cloud.speech.v1.RecognitionConfig.getDefaultInstance() : config_; } else { return configBuilder_.getMessage(); } } /**
/** * * * <pre> * *Required* The language of the supplied audio as a * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. * Example: "en-US". * See [Language Support](/speech-to-text/docs/languages) * for a list of the currently supported language codes. * </pre> * * <code>string language_code = 3;</code> */ public Builder clearLanguageCode() { languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /**
model_ = getDefaultInstance().getModel(); onChanged(); return this;
public Builder mergeFrom(com.google.cloud.speech.v1.RecognitionConfig other) { if (other == com.google.cloud.speech.v1.RecognitionConfig.getDefaultInstance()) return this; if (other.encoding_ != 0) { setEncodingValue(other.getEncodingValue());