if (subBuilder != null) { subBuilder.mergeFrom(config_); config_ = subBuilder.buildPartial();
if (subBuilder != null) { subBuilder.mergeFrom(config_); config_ = subBuilder.buildPartial();
if (subBuilder != null) { subBuilder.mergeFrom(config_); config_ = subBuilder.buildPartial();
/** * * * <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 Builder mergeConfig(com.google.cloud.speech.v1.RecognitionConfig value) { if (configBuilder_ == null) { if (config_ != null) { config_ = com.google.cloud.speech.v1.RecognitionConfig.newBuilder(config_) .mergeFrom(value) .buildPartial(); } else { config_ = value; } onChanged(); } else { configBuilder_.mergeFrom(value); } return this; } /**
/** * * * <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 Builder mergeConfig(com.google.cloud.speech.v1.RecognitionConfig value) { if (configBuilder_ == null) { if (config_ != null) { config_ = com.google.cloud.speech.v1.RecognitionConfig.newBuilder(config_) .mergeFrom(value) .buildPartial(); } else { config_ = value; } onChanged(); } else { configBuilder_.mergeFrom(value); } return this; } /**
/** * * * <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 Builder mergeConfig(com.google.cloud.speech.v1.RecognitionConfig value) { if (configBuilder_ == null) { if (config_ != null) { config_ = com.google.cloud.speech.v1.RecognitionConfig.newBuilder(config_) .mergeFrom(value) .buildPartial(); } else { config_ = value; } onChanged(); } else { configBuilder_.mergeFrom(value); } return this; } /**
@java.lang.Override public com.google.cloud.speech.v1.RecognitionConfig build() { com.google.cloud.speech.v1.RecognitionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }