diff --git a/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStubSettings.java b/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStubSettings.java index 5d86db203..e085e1fd5 100644 --- a/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStubSettings.java +++ b/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStubSettings.java @@ -233,10 +233,10 @@ public static class Builder extends StubSettings.Builder * * int32 progress_percent = 1; + * + * @return The progressPercent. */ public int getProgressPercent() { return progressPercent_; @@ -160,6 +167,8 @@ public int getProgressPercent() { * * * .google.protobuf.Timestamp start_time = 2; + * + * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTime_ != null; @@ -172,6 +181,8 @@ public boolean hasStartTime() { * * * .google.protobuf.Timestamp start_time = 2; + * + * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; @@ -199,6 +210,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * * .google.protobuf.Timestamp last_update_time = 3; + * + * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; @@ -211,6 +224,8 @@ public boolean hasLastUpdateTime() { * * * .google.protobuf.Timestamp last_update_time = 3; + * + * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { return lastUpdateTime_ == null @@ -616,6 +631,8 @@ public Builder mergeFrom( * * * int32 progress_percent = 1; + * + * @return The progressPercent. */ public int getProgressPercent() { return progressPercent_; @@ -629,6 +646,9 @@ public int getProgressPercent() { * * * int32 progress_percent = 1; + * + * @param value The progressPercent to set. + * @return This builder for chaining. */ public Builder setProgressPercent(int value) { @@ -645,6 +665,8 @@ public Builder setProgressPercent(int value) { * * * int32 progress_percent = 1; + * + * @return This builder for chaining. */ public Builder clearProgressPercent() { @@ -667,6 +689,8 @@ public Builder clearProgressPercent() { * * * .google.protobuf.Timestamp start_time = 2; + * + * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; @@ -679,6 +703,8 @@ public boolean hasStartTime() { * * * .google.protobuf.Timestamp start_time = 2; + * + * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { @@ -842,6 +868,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * * .google.protobuf.Timestamp last_update_time = 3; + * + * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; @@ -854,6 +882,8 @@ public boolean hasLastUpdateTime() { * * * .google.protobuf.Timestamp last_update_time = 3; + * + * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeMetadataOrBuilder.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeMetadataOrBuilder.java index 1a8dfc9c9..bb8419c04 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeMetadataOrBuilder.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeMetadataOrBuilder.java @@ -32,6 +32,8 @@ public interface LongRunningRecognizeMetadataOrBuilder * * * int32 progress_percent = 1; + * + * @return The progressPercent. */ int getProgressPercent(); @@ -43,6 +45,8 @@ public interface LongRunningRecognizeMetadataOrBuilder * * * .google.protobuf.Timestamp start_time = 2; + * + * @return Whether the startTime field is set. */ boolean hasStartTime(); /** @@ -53,6 +57,8 @@ public interface LongRunningRecognizeMetadataOrBuilder * * * .google.protobuf.Timestamp start_time = 2; + * + * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** @@ -74,6 +80,8 @@ public interface LongRunningRecognizeMetadataOrBuilder * * * .google.protobuf.Timestamp last_update_time = 3; + * + * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** @@ -84,6 +92,8 @@ public interface LongRunningRecognizeMetadataOrBuilder * * * .google.protobuf.Timestamp last_update_time = 3; + * + * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequest.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequest.java index 953046c07..7968ec11b 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequest.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequest.java @@ -40,6 +40,12 @@ private LongRunningRecognizeRequest(com.google.protobuf.GeneratedMessageV3.Build private LongRunningRecognizeRequest() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LongRunningRecognizeRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -53,7 +59,6 @@ private LongRunningRecognizeRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -143,6 +148,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return config_ != null; @@ -158,6 +165,8 @@ public boolean hasConfig() { * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.speech.v1.RecognitionConfig getConfig() { return config_ == null @@ -192,6 +201,8 @@ public com.google.cloud.speech.v1.RecognitionConfigOrBuilder getConfigOrBuilder( * * .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the audio field is set. */ public boolean hasAudio() { return audio_ != null; @@ -206,6 +217,8 @@ public boolean hasAudio() { * * .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The audio. */ public com.google.cloud.speech.v1.RecognitionAudio getAudio() { return audio_ == null @@ -604,6 +617,8 @@ public Builder mergeFrom( * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; @@ -619,6 +634,8 @@ public boolean hasConfig() { * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.speech.v1.RecognitionConfig getConfig() { if (configBuilder_ == null) { @@ -811,6 +828,8 @@ public com.google.cloud.speech.v1.RecognitionConfigOrBuilder getConfigOrBuilder( * * .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the audio field is set. */ public boolean hasAudio() { return audioBuilder_ != null || audio_ != null; @@ -825,6 +844,8 @@ public boolean hasAudio() { * * .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The audio. */ public com.google.cloud.speech.v1.RecognitionAudio getAudio() { if (audioBuilder_ == null) { diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequestOrBuilder.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequestOrBuilder.java index 94d9ff7ff..7dc1aee83 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequestOrBuilder.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface LongRunningRecognizeRequestOrBuilder * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ boolean hasConfig(); /** @@ -47,6 +49,8 @@ public interface LongRunningRecognizeRequestOrBuilder * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ com.google.cloud.speech.v1.RecognitionConfig getConfig(); /** @@ -73,6 +77,8 @@ public interface LongRunningRecognizeRequestOrBuilder * * .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the audio field is set. */ boolean hasAudio(); /** @@ -85,6 +91,8 @@ public interface LongRunningRecognizeRequestOrBuilder * * .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The audio. */ com.google.cloud.speech.v1.RecognitionAudio getAudio(); /** diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeResponse.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeResponse.java index 71cfd530c..ba22a5204 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeResponse.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeResponse.java @@ -45,6 +45,12 @@ private LongRunningRecognizeResponse() { results_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LongRunningRecognizeResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudio.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudio.java index 1e5624573..6249a90ac 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudio.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudio.java @@ -42,6 +42,12 @@ private RecognitionAudio(com.google.protobuf.GeneratedMessageV3.Builder build private RecognitionAudio() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RecognitionAudio(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private RecognitionAudio( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -116,7 +121,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int audioSourceCase_ = 0; private java.lang.Object audioSource_; - public enum AudioSourceCase implements com.google.protobuf.Internal.EnumLite { + public enum AudioSourceCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { CONTENT(1), URI(2), AUDIOSOURCE_NOT_SET(0); @@ -125,7 +133,11 @@ public enum AudioSourceCase implements com.google.protobuf.Internal.EnumLite { private AudioSourceCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static AudioSourceCase valueOf(int value) { return forNumber(value); @@ -164,6 +176,8 @@ public AudioSourceCase getAudioSourceCase() { * * * bytes content = 1; + * + * @return The content. */ public com.google.protobuf.ByteString getContent() { if (audioSourceCase_ == 1) { @@ -187,6 +201,8 @@ public com.google.protobuf.ByteString getContent() { * * * string uri = 2; + * + * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = ""; @@ -218,6 +234,8 @@ public java.lang.String getUri() { * * * string uri = 2; + * + * @return The bytes for uri. */ public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = ""; @@ -627,6 +645,8 @@ public Builder clearAudioSource() { * * * bytes content = 1; + * + * @return The content. */ public com.google.protobuf.ByteString getContent() { if (audioSourceCase_ == 1) { @@ -644,6 +664,9 @@ public com.google.protobuf.ByteString getContent() { * * * bytes content = 1; + * + * @param value The content to set. + * @return This builder for chaining. */ public Builder setContent(com.google.protobuf.ByteString value) { if (value == null) { @@ -664,6 +687,8 @@ public Builder setContent(com.google.protobuf.ByteString value) { * * * bytes content = 1; + * + * @return This builder for chaining. */ public Builder clearContent() { if (audioSourceCase_ == 1) { @@ -688,6 +713,8 @@ public Builder clearContent() { * * * string uri = 2; + * + * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = ""; @@ -719,6 +746,8 @@ public java.lang.String getUri() { * * * string uri = 2; + * + * @return The bytes for uri. */ public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = ""; @@ -750,6 +779,9 @@ public com.google.protobuf.ByteString getUriBytes() { * * * string uri = 2; + * + * @param value The uri to set. + * @return This builder for chaining. */ public Builder setUri(java.lang.String value) { if (value == null) { @@ -774,6 +806,8 @@ public Builder setUri(java.lang.String value) { * * * string uri = 2; + * + * @return This builder for chaining. */ public Builder clearUri() { if (audioSourceCase_ == 2) { @@ -797,6 +831,9 @@ public Builder clearUri() { * * * string uri = 2; + * + * @param value The bytes for uri to set. + * @return This builder for chaining. */ public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudioOrBuilder.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudioOrBuilder.java index fe99e29d3..8fc4bbabb 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudioOrBuilder.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudioOrBuilder.java @@ -33,6 +33,8 @@ public interface RecognitionAudioOrBuilder * * * bytes content = 1; + * + * @return The content. */ com.google.protobuf.ByteString getContent(); @@ -50,6 +52,8 @@ public interface RecognitionAudioOrBuilder * * * string uri = 2; + * + * @return The uri. */ java.lang.String getUri(); /** @@ -66,6 +70,8 @@ public interface RecognitionAudioOrBuilder * * * string uri = 2; + * + * @return The bytes for uri. */ com.google.protobuf.ByteString getUriBytes(); diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java index 9f88b373d..0fb0833c5 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java @@ -45,6 +45,12 @@ private RecognitionConfig() { model_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RecognitionConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -100,10 +106,10 @@ private RecognitionConfig( } case 50: { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { speechContexts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000080; + mutable_bitField0_ |= 0x00000001; } speechContexts_.add( input.readMessage( @@ -189,7 +195,7 @@ private RecognitionConfig( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000080) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); } this.unknownFields = unknownFields.build(); @@ -450,12 +456,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static AudioEncoding valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static AudioEncoding forNumber(int value) { switch (value) { case 0: @@ -523,7 +537,6 @@ private AudioEncoding(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.speech.v1.RecognitionConfig.AudioEncoding) } - private int bitField0_; public static final int ENCODING_FIELD_NUMBER = 1; private int encoding_; /** @@ -536,6 +549,8 @@ private AudioEncoding(int value) { * * * .google.cloud.speech.v1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @return The enum numeric value on the wire for encoding. */ public int getEncodingValue() { return encoding_; @@ -550,6 +565,8 @@ public int getEncodingValue() { * * * .google.cloud.speech.v1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @return The encoding. */ public com.google.cloud.speech.v1.RecognitionConfig.AudioEncoding getEncoding() { @SuppressWarnings("deprecation") @@ -576,6 +593,8 @@ public com.google.cloud.speech.v1.RecognitionConfig.AudioEncoding getEncoding() * * * int32 sample_rate_hertz = 2; + * + * @return The sampleRateHertz. */ public int getSampleRateHertz() { return sampleRateHertz_; @@ -599,6 +618,8 @@ public int getSampleRateHertz() { * * * int32 audio_channel_count = 7; + * + * @return The audioChannelCount. */ public int getAudioChannelCount() { return audioChannelCount_; @@ -619,6 +640,8 @@ public int getAudioChannelCount() { * * * bool enable_separate_recognition_per_channel = 12; + * + * @return The enableSeparateRecognitionPerChannel. */ public boolean getEnableSeparateRecognitionPerChannel() { return enableSeparateRecognitionPerChannel_; @@ -639,6 +662,8 @@ public boolean getEnableSeparateRecognitionPerChannel() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -664,6 +689,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -692,6 +719,8 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * int32 max_alternatives = 4; + * + * @return The maxAlternatives. */ public int getMaxAlternatives() { return maxAlternatives_; @@ -710,6 +739,8 @@ public int getMaxAlternatives() { * * * bool profanity_filter = 5; + * + * @return The profanityFilter. */ public boolean getProfanityFilter() { return profanityFilter_; @@ -812,6 +843,8 @@ public com.google.cloud.speech.v1.SpeechContextOrBuilder getSpeechContextsOrBuil * * * bool enable_word_time_offsets = 8; + * + * @return The enableWordTimeOffsets. */ public boolean getEnableWordTimeOffsets() { return enableWordTimeOffsets_; @@ -833,6 +866,8 @@ public boolean getEnableWordTimeOffsets() { * * * bool enable_automatic_punctuation = 11; + * + * @return The enableAutomaticPunctuation. */ public boolean getEnableAutomaticPunctuation() { return enableAutomaticPunctuation_; @@ -855,6 +890,8 @@ public boolean getEnableAutomaticPunctuation() { * * * .google.cloud.speech.v1.SpeakerDiarizationConfig diarization_config = 19; + * + * @return Whether the diarizationConfig field is set. */ public boolean hasDiarizationConfig() { return diarizationConfig_ != null; @@ -874,6 +911,8 @@ public boolean hasDiarizationConfig() { * * * .google.cloud.speech.v1.SpeakerDiarizationConfig diarization_config = 19; + * + * @return The diarizationConfig. */ public com.google.cloud.speech.v1.SpeakerDiarizationConfig getDiarizationConfig() { return diarizationConfig_ == null @@ -911,6 +950,8 @@ public com.google.cloud.speech.v1.SpeakerDiarizationConfig getDiarizationConfig( * * * .google.cloud.speech.v1.RecognitionMetadata metadata = 9; + * + * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadata_ != null; @@ -923,6 +964,8 @@ public boolean hasMetadata() { * * * .google.cloud.speech.v1.RecognitionMetadata metadata = 9; + * + * @return The metadata. */ public com.google.cloud.speech.v1.RecognitionMetadata getMetadata() { return metadata_ == null @@ -983,6 +1026,8 @@ public com.google.cloud.speech.v1.RecognitionMetadataOrBuilder getMetadataOrBuil * * * string model = 13; + * + * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; @@ -1034,6 +1079,8 @@ public java.lang.String getModel() { * * * string model = 13; + * + * @return The bytes for model. */ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; @@ -1063,6 +1110,8 @@ public com.google.protobuf.ByteString getModelBytes() { * * * bool use_enhanced = 14; + * + * @return The useEnhanced. */ public boolean getUseEnhanced() { return useEnhanced_; @@ -1430,7 +1479,7 @@ public Builder clear() { if (speechContextsBuilder_ == null) { speechContexts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000001); } else { speechContextsBuilder_.clear(); } @@ -1482,7 +1531,6 @@ public com.google.cloud.speech.v1.RecognitionConfig buildPartial() { com.google.cloud.speech.v1.RecognitionConfig result = new com.google.cloud.speech.v1.RecognitionConfig(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.encoding_ = encoding_; result.sampleRateHertz_ = sampleRateHertz_; result.audioChannelCount_ = audioChannelCount_; @@ -1491,9 +1539,9 @@ public com.google.cloud.speech.v1.RecognitionConfig buildPartial() { result.maxAlternatives_ = maxAlternatives_; result.profanityFilter_ = profanityFilter_; if (speechContextsBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000001); } result.speechContexts_ = speechContexts_; } else { @@ -1513,7 +1561,6 @@ public com.google.cloud.speech.v1.RecognitionConfig buildPartial() { } result.model_ = model_; result.useEnhanced_ = useEnhanced_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1589,7 +1636,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1.RecognitionConfig other) { if (!other.speechContexts_.isEmpty()) { if (speechContexts_.isEmpty()) { speechContexts_ = other.speechContexts_; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSpeechContextsIsMutable(); speechContexts_.addAll(other.speechContexts_); @@ -1602,7 +1649,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1.RecognitionConfig other) { speechContextsBuilder_.dispose(); speechContextsBuilder_ = null; speechContexts_ = other.speechContexts_; - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000001); speechContextsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSpeechContextsFieldBuilder() @@ -1673,6 +1720,8 @@ public Builder mergeFrom( * * * .google.cloud.speech.v1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @return The enum numeric value on the wire for encoding. */ public int getEncodingValue() { return encoding_; @@ -1687,6 +1736,9 @@ public int getEncodingValue() { * * * .google.cloud.speech.v1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @param value The enum numeric value on the wire for encoding to set. + * @return This builder for chaining. */ public Builder setEncodingValue(int value) { encoding_ = value; @@ -1703,6 +1755,8 @@ public Builder setEncodingValue(int value) { * * * .google.cloud.speech.v1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @return The encoding. */ public com.google.cloud.speech.v1.RecognitionConfig.AudioEncoding getEncoding() { @SuppressWarnings("deprecation") @@ -1722,6 +1776,9 @@ public com.google.cloud.speech.v1.RecognitionConfig.AudioEncoding getEncoding() * * * .google.cloud.speech.v1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @param value The encoding to set. + * @return This builder for chaining. */ public Builder setEncoding(com.google.cloud.speech.v1.RecognitionConfig.AudioEncoding value) { if (value == null) { @@ -1742,6 +1799,8 @@ public Builder setEncoding(com.google.cloud.speech.v1.RecognitionConfig.AudioEnc * * * .google.cloud.speech.v1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @return This builder for chaining. */ public Builder clearEncoding() { @@ -1765,6 +1824,8 @@ public Builder clearEncoding() { * * * int32 sample_rate_hertz = 2; + * + * @return The sampleRateHertz. */ public int getSampleRateHertz() { return sampleRateHertz_; @@ -1783,6 +1844,9 @@ public int getSampleRateHertz() { * * * int32 sample_rate_hertz = 2; + * + * @param value The sampleRateHertz to set. + * @return This builder for chaining. */ public Builder setSampleRateHertz(int value) { @@ -1804,6 +1868,8 @@ public Builder setSampleRateHertz(int value) { * * * int32 sample_rate_hertz = 2; + * + * @return This builder for chaining. */ public Builder clearSampleRateHertz() { @@ -1829,6 +1895,8 @@ public Builder clearSampleRateHertz() { * * * int32 audio_channel_count = 7; + * + * @return The audioChannelCount. */ public int getAudioChannelCount() { return audioChannelCount_; @@ -1849,6 +1917,9 @@ public int getAudioChannelCount() { * * * int32 audio_channel_count = 7; + * + * @param value The audioChannelCount to set. + * @return This builder for chaining. */ public Builder setAudioChannelCount(int value) { @@ -1872,6 +1943,8 @@ public Builder setAudioChannelCount(int value) { * * * int32 audio_channel_count = 7; + * + * @return This builder for chaining. */ public Builder clearAudioChannelCount() { @@ -1894,6 +1967,8 @@ public Builder clearAudioChannelCount() { * * * bool enable_separate_recognition_per_channel = 12; + * + * @return The enableSeparateRecognitionPerChannel. */ public boolean getEnableSeparateRecognitionPerChannel() { return enableSeparateRecognitionPerChannel_; @@ -1911,6 +1986,9 @@ public boolean getEnableSeparateRecognitionPerChannel() { * * * bool enable_separate_recognition_per_channel = 12; + * + * @param value The enableSeparateRecognitionPerChannel to set. + * @return This builder for chaining. */ public Builder setEnableSeparateRecognitionPerChannel(boolean value) { @@ -1931,6 +2009,8 @@ public Builder setEnableSeparateRecognitionPerChannel(boolean value) { * * * bool enable_separate_recognition_per_channel = 12; + * + * @return This builder for chaining. */ public Builder clearEnableSeparateRecognitionPerChannel() { @@ -1953,6 +2033,8 @@ public Builder clearEnableSeparateRecognitionPerChannel() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -1978,6 +2060,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -2003,6 +2087,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -2026,6 +2113,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -2046,6 +2135,9 @@ public Builder clearLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2072,6 +2164,8 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { * * * int32 max_alternatives = 4; + * + * @return The maxAlternatives. */ public int getMaxAlternatives() { return maxAlternatives_; @@ -2089,6 +2183,9 @@ public int getMaxAlternatives() { * * * int32 max_alternatives = 4; + * + * @param value The maxAlternatives to set. + * @return This builder for chaining. */ public Builder setMaxAlternatives(int value) { @@ -2109,6 +2206,8 @@ public Builder setMaxAlternatives(int value) { * * * int32 max_alternatives = 4; + * + * @return This builder for chaining. */ public Builder clearMaxAlternatives() { @@ -2129,6 +2228,8 @@ public Builder clearMaxAlternatives() { * * * bool profanity_filter = 5; + * + * @return The profanityFilter. */ public boolean getProfanityFilter() { return profanityFilter_; @@ -2144,6 +2245,9 @@ public boolean getProfanityFilter() { * * * bool profanity_filter = 5; + * + * @param value The profanityFilter to set. + * @return This builder for chaining. */ public Builder setProfanityFilter(boolean value) { @@ -2162,6 +2266,8 @@ public Builder setProfanityFilter(boolean value) { * * * bool profanity_filter = 5; + * + * @return This builder for chaining. */ public Builder clearProfanityFilter() { @@ -2174,10 +2280,10 @@ public Builder clearProfanityFilter() { java.util.Collections.emptyList(); private void ensureSpeechContextsIsMutable() { - if (!((bitField0_ & 0x00000080) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { speechContexts_ = new java.util.ArrayList(speechContexts_); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000001; } } @@ -2437,7 +2543,7 @@ public Builder addAllSpeechContexts( public Builder clearSpeechContexts() { if (speechContextsBuilder_ == null) { speechContexts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { speechContextsBuilder_.clear(); @@ -2588,7 +2694,7 @@ public com.google.cloud.speech.v1.SpeechContext.Builder addSpeechContextsBuilder com.google.cloud.speech.v1.SpeechContext.Builder, com.google.cloud.speech.v1.SpeechContextOrBuilder>( speechContexts_, - ((bitField0_ & 0x00000080) != 0), + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); speechContexts_ = null; @@ -2608,6 +2714,8 @@ public com.google.cloud.speech.v1.SpeechContext.Builder addSpeechContextsBuilder * * * bool enable_word_time_offsets = 8; + * + * @return The enableWordTimeOffsets. */ public boolean getEnableWordTimeOffsets() { return enableWordTimeOffsets_; @@ -2623,6 +2731,9 @@ public boolean getEnableWordTimeOffsets() { * * * bool enable_word_time_offsets = 8; + * + * @param value The enableWordTimeOffsets to set. + * @return This builder for chaining. */ public Builder setEnableWordTimeOffsets(boolean value) { @@ -2641,6 +2752,8 @@ public Builder setEnableWordTimeOffsets(boolean value) { * * * bool enable_word_time_offsets = 8; + * + * @return This builder for chaining. */ public Builder clearEnableWordTimeOffsets() { @@ -2664,6 +2777,8 @@ public Builder clearEnableWordTimeOffsets() { * * * bool enable_automatic_punctuation = 11; + * + * @return The enableAutomaticPunctuation. */ public boolean getEnableAutomaticPunctuation() { return enableAutomaticPunctuation_; @@ -2682,6 +2797,9 @@ public boolean getEnableAutomaticPunctuation() { * * * bool enable_automatic_punctuation = 11; + * + * @param value The enableAutomaticPunctuation to set. + * @return This builder for chaining. */ public Builder setEnableAutomaticPunctuation(boolean value) { @@ -2703,6 +2821,8 @@ public Builder setEnableAutomaticPunctuation(boolean value) { * * * bool enable_automatic_punctuation = 11; + * + * @return This builder for chaining. */ public Builder clearEnableAutomaticPunctuation() { @@ -2732,6 +2852,8 @@ public Builder clearEnableAutomaticPunctuation() { * * * .google.cloud.speech.v1.SpeakerDiarizationConfig diarization_config = 19; + * + * @return Whether the diarizationConfig field is set. */ public boolean hasDiarizationConfig() { return diarizationConfigBuilder_ != null || diarizationConfig_ != null; @@ -2751,6 +2873,8 @@ public boolean hasDiarizationConfig() { * * * .google.cloud.speech.v1.SpeakerDiarizationConfig diarization_config = 19; + * + * @return The diarizationConfig. */ public com.google.cloud.speech.v1.SpeakerDiarizationConfig getDiarizationConfig() { if (diarizationConfigBuilder_ == null) { @@ -2973,6 +3097,8 @@ public Builder clearDiarizationConfig() { * * * .google.cloud.speech.v1.RecognitionMetadata metadata = 9; + * + * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; @@ -2985,6 +3111,8 @@ public boolean hasMetadata() { * * * .google.cloud.speech.v1.RecognitionMetadata metadata = 9; + * + * @return The metadata. */ public com.google.cloud.speech.v1.RecognitionMetadata getMetadata() { if (metadataBuilder_ == null) { @@ -3181,6 +3309,8 @@ public com.google.cloud.speech.v1.RecognitionMetadataOrBuilder getMetadataOrBuil * * * string model = 13; + * + * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; @@ -3232,6 +3362,8 @@ public java.lang.String getModel() { * * * string model = 13; + * + * @return The bytes for model. */ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; @@ -3283,6 +3415,9 @@ public com.google.protobuf.ByteString getModelBytes() { * * * string model = 13; + * + * @param value The model to set. + * @return This builder for chaining. */ public Builder setModel(java.lang.String value) { if (value == null) { @@ -3332,6 +3467,8 @@ public Builder setModel(java.lang.String value) { * * * string model = 13; + * + * @return This builder for chaining. */ public Builder clearModel() { @@ -3378,6 +3515,9 @@ public Builder clearModel() { * * * string model = 13; + * + * @param value The bytes for model to set. + * @return This builder for chaining. */ public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -3405,6 +3545,8 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) { * * * bool use_enhanced = 14; + * + * @return The useEnhanced. */ public boolean getUseEnhanced() { return useEnhanced_; @@ -3423,6 +3565,9 @@ public boolean getUseEnhanced() { * * * bool use_enhanced = 14; + * + * @param value The useEnhanced to set. + * @return This builder for chaining. */ public Builder setUseEnhanced(boolean value) { @@ -3444,6 +3589,8 @@ public Builder setUseEnhanced(boolean value) { * * * bool use_enhanced = 14; + * + * @return This builder for chaining. */ public Builder clearUseEnhanced() { diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java index b003cce86..5c347abe9 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java @@ -33,6 +33,8 @@ public interface RecognitionConfigOrBuilder * * * .google.cloud.speech.v1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @return The enum numeric value on the wire for encoding. */ int getEncodingValue(); /** @@ -45,6 +47,8 @@ public interface RecognitionConfigOrBuilder * * * .google.cloud.speech.v1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @return The encoding. */ com.google.cloud.speech.v1.RecognitionConfig.AudioEncoding getEncoding(); @@ -62,6 +66,8 @@ public interface RecognitionConfigOrBuilder * * * int32 sample_rate_hertz = 2; + * + * @return The sampleRateHertz. */ int getSampleRateHertz(); @@ -81,6 +87,8 @@ public interface RecognitionConfigOrBuilder * * * int32 audio_channel_count = 7; + * + * @return The audioChannelCount. */ int getAudioChannelCount(); @@ -97,6 +105,8 @@ public interface RecognitionConfigOrBuilder * * * bool enable_separate_recognition_per_channel = 12; + * + * @return The enableSeparateRecognitionPerChannel. */ boolean getEnableSeparateRecognitionPerChannel(); @@ -113,6 +123,8 @@ public interface RecognitionConfigOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -128,6 +140,8 @@ public interface RecognitionConfigOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); @@ -144,6 +158,8 @@ public interface RecognitionConfigOrBuilder * * * int32 max_alternatives = 4; + * + * @return The maxAlternatives. */ int getMaxAlternatives(); @@ -158,6 +174,8 @@ public interface RecognitionConfigOrBuilder * * * bool profanity_filter = 5; + * + * @return The profanityFilter. */ boolean getProfanityFilter(); @@ -244,6 +262,8 @@ public interface RecognitionConfigOrBuilder * * * bool enable_word_time_offsets = 8; + * + * @return The enableWordTimeOffsets. */ boolean getEnableWordTimeOffsets(); @@ -261,6 +281,8 @@ public interface RecognitionConfigOrBuilder * * * bool enable_automatic_punctuation = 11; + * + * @return The enableAutomaticPunctuation. */ boolean getEnableAutomaticPunctuation(); @@ -279,6 +301,8 @@ public interface RecognitionConfigOrBuilder * * * .google.cloud.speech.v1.SpeakerDiarizationConfig diarization_config = 19; + * + * @return Whether the diarizationConfig field is set. */ boolean hasDiarizationConfig(); /** @@ -296,6 +320,8 @@ public interface RecognitionConfigOrBuilder * * * .google.cloud.speech.v1.SpeakerDiarizationConfig diarization_config = 19; + * + * @return The diarizationConfig. */ com.google.cloud.speech.v1.SpeakerDiarizationConfig getDiarizationConfig(); /** @@ -324,6 +350,8 @@ public interface RecognitionConfigOrBuilder * * * .google.cloud.speech.v1.RecognitionMetadata metadata = 9; + * + * @return Whether the metadata field is set. */ boolean hasMetadata(); /** @@ -334,6 +362,8 @@ public interface RecognitionConfigOrBuilder * * * .google.cloud.speech.v1.RecognitionMetadata metadata = 9; + * + * @return The metadata. */ com.google.cloud.speech.v1.RecognitionMetadata getMetadata(); /** @@ -386,6 +416,8 @@ public interface RecognitionConfigOrBuilder * * * string model = 13; + * + * @return The model. */ java.lang.String getModel(); /** @@ -427,6 +459,8 @@ public interface RecognitionConfigOrBuilder * * * string model = 13; + * + * @return The bytes for model. */ com.google.protobuf.ByteString getModelBytes(); @@ -444,6 +478,8 @@ public interface RecognitionConfigOrBuilder * * * bool use_enhanced = 14; + * + * @return The useEnhanced. */ boolean getUseEnhanced(); } diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionMetadata.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionMetadata.java index f1b9e1403..223c3ebd8 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionMetadata.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionMetadata.java @@ -47,6 +47,12 @@ private RecognitionMetadata() { audioTopic_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RecognitionMetadata(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -60,7 +66,6 @@ private RecognitionMetadata( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -376,12 +381,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static InteractionType valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static InteractionType forNumber(int value) { switch (value) { case 0: @@ -559,12 +572,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static MicrophoneDistance valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static MicrophoneDistance forNumber(int value) { switch (value) { case 0: @@ -709,12 +730,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static OriginalMediaType valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static OriginalMediaType forNumber(int value) { switch (value) { case 0: @@ -937,12 +966,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static RecordingDeviceType valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static RecordingDeviceType forNumber(int value) { switch (value) { case 0: @@ -1021,6 +1058,8 @@ private RecordingDeviceType(int value) { * * * .google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1; + * + * @return The enum numeric value on the wire for interactionType. */ public int getInteractionTypeValue() { return interactionType_; @@ -1033,6 +1072,8 @@ public int getInteractionTypeValue() { * * * .google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1; + * + * @return The interactionType. */ public com.google.cloud.speech.v1.RecognitionMetadata.InteractionType getInteractionType() { @SuppressWarnings("deprecation") @@ -1056,6 +1097,8 @@ public com.google.cloud.speech.v1.RecognitionMetadata.InteractionType getInterac * * * uint32 industry_naics_code_of_audio = 3; + * + * @return The industryNaicsCodeOfAudio. */ public int getIndustryNaicsCodeOfAudio() { return industryNaicsCodeOfAudio_; @@ -1072,6 +1115,8 @@ public int getIndustryNaicsCodeOfAudio() { * * .google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @return The enum numeric value on the wire for microphoneDistance. */ public int getMicrophoneDistanceValue() { return microphoneDistance_; @@ -1085,6 +1130,8 @@ public int getMicrophoneDistanceValue() { * * .google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @return The microphoneDistance. */ public com.google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance getMicrophoneDistance() { @SuppressWarnings("deprecation") @@ -1107,6 +1154,8 @@ public com.google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance getMicr * * .google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @return The enum numeric value on the wire for originalMediaType. */ public int getOriginalMediaTypeValue() { return originalMediaType_; @@ -1120,6 +1169,8 @@ public int getOriginalMediaTypeValue() { * * .google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @return The originalMediaType. */ public com.google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType getOriginalMediaType() { @SuppressWarnings("deprecation") @@ -1143,6 +1194,8 @@ public com.google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType getOrigi * * .google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @return The enum numeric value on the wire for recordingDeviceType. */ public int getRecordingDeviceTypeValue() { return recordingDeviceType_; @@ -1157,6 +1210,8 @@ public int getRecordingDeviceTypeValue() { * * .google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @return The recordingDeviceType. */ public com.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType getRecordingDeviceType() { @@ -1181,6 +1236,8 @@ public int getRecordingDeviceTypeValue() { * * * string recording_device_name = 7; + * + * @return The recordingDeviceName. */ public java.lang.String getRecordingDeviceName() { java.lang.Object ref = recordingDeviceName_; @@ -1203,6 +1260,8 @@ public java.lang.String getRecordingDeviceName() { * * * string recording_device_name = 7; + * + * @return The bytes for recordingDeviceName. */ public com.google.protobuf.ByteString getRecordingDeviceNameBytes() { java.lang.Object ref = recordingDeviceName_; @@ -1229,6 +1288,8 @@ public com.google.protobuf.ByteString getRecordingDeviceNameBytes() { * * * string original_mime_type = 8; + * + * @return The originalMimeType. */ public java.lang.String getOriginalMimeType() { java.lang.Object ref = originalMimeType_; @@ -1252,6 +1313,8 @@ public java.lang.String getOriginalMimeType() { * * * string original_mime_type = 8; + * + * @return The bytes for originalMimeType. */ public com.google.protobuf.ByteString getOriginalMimeTypeBytes() { java.lang.Object ref = originalMimeType_; @@ -1276,6 +1339,8 @@ public com.google.protobuf.ByteString getOriginalMimeTypeBytes() { * * * string audio_topic = 10; + * + * @return The audioTopic. */ public java.lang.String getAudioTopic() { java.lang.Object ref = audioTopic_; @@ -1297,6 +1362,8 @@ public java.lang.String getAudioTopic() { * * * string audio_topic = 10; + * + * @return The bytes for audioTopic. */ public com.google.protobuf.ByteString getAudioTopicBytes() { java.lang.Object ref = audioTopic_; @@ -1767,6 +1834,8 @@ public Builder mergeFrom( * * .google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1; * + * + * @return The enum numeric value on the wire for interactionType. */ public int getInteractionTypeValue() { return interactionType_; @@ -1780,6 +1849,9 @@ public int getInteractionTypeValue() { * * .google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1; * + * + * @param value The enum numeric value on the wire for interactionType to set. + * @return This builder for chaining. */ public Builder setInteractionTypeValue(int value) { interactionType_ = value; @@ -1795,6 +1867,8 @@ public Builder setInteractionTypeValue(int value) { * * .google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1; * + * + * @return The interactionType. */ public com.google.cloud.speech.v1.RecognitionMetadata.InteractionType getInteractionType() { @SuppressWarnings("deprecation") @@ -1813,6 +1887,9 @@ public com.google.cloud.speech.v1.RecognitionMetadata.InteractionType getInterac * * .google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1; * + * + * @param value The interactionType to set. + * @return This builder for chaining. */ public Builder setInteractionType( com.google.cloud.speech.v1.RecognitionMetadata.InteractionType value) { @@ -1833,6 +1910,8 @@ public Builder setInteractionType( * * .google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1; * + * + * @return This builder for chaining. */ public Builder clearInteractionType() { @@ -1853,6 +1932,8 @@ public Builder clearInteractionType() { * * * uint32 industry_naics_code_of_audio = 3; + * + * @return The industryNaicsCodeOfAudio. */ public int getIndustryNaicsCodeOfAudio() { return industryNaicsCodeOfAudio_; @@ -1868,6 +1949,9 @@ public int getIndustryNaicsCodeOfAudio() { * * * uint32 industry_naics_code_of_audio = 3; + * + * @param value The industryNaicsCodeOfAudio to set. + * @return This builder for chaining. */ public Builder setIndustryNaicsCodeOfAudio(int value) { @@ -1886,6 +1970,8 @@ public Builder setIndustryNaicsCodeOfAudio(int value) { * * * uint32 industry_naics_code_of_audio = 3; + * + * @return This builder for chaining. */ public Builder clearIndustryNaicsCodeOfAudio() { @@ -1904,6 +1990,8 @@ public Builder clearIndustryNaicsCodeOfAudio() { * * .google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @return The enum numeric value on the wire for microphoneDistance. */ public int getMicrophoneDistanceValue() { return microphoneDistance_; @@ -1917,6 +2005,9 @@ public int getMicrophoneDistanceValue() { * * .google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @param value The enum numeric value on the wire for microphoneDistance to set. + * @return This builder for chaining. */ public Builder setMicrophoneDistanceValue(int value) { microphoneDistance_ = value; @@ -1932,6 +2023,8 @@ public Builder setMicrophoneDistanceValue(int value) { * * .google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @return The microphoneDistance. */ public com.google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance getMicrophoneDistance() { @@ -1952,6 +2045,9 @@ public Builder setMicrophoneDistanceValue(int value) { * * .google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @param value The microphoneDistance to set. + * @return This builder for chaining. */ public Builder setMicrophoneDistance( com.google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance value) { @@ -1972,6 +2068,8 @@ public Builder setMicrophoneDistance( * * .google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @return This builder for chaining. */ public Builder clearMicrophoneDistance() { @@ -1990,6 +2088,8 @@ public Builder clearMicrophoneDistance() { * * .google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @return The enum numeric value on the wire for originalMediaType. */ public int getOriginalMediaTypeValue() { return originalMediaType_; @@ -2003,6 +2103,9 @@ public int getOriginalMediaTypeValue() { * * .google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @param value The enum numeric value on the wire for originalMediaType to set. + * @return This builder for chaining. */ public Builder setOriginalMediaTypeValue(int value) { originalMediaType_ = value; @@ -2018,6 +2121,8 @@ public Builder setOriginalMediaTypeValue(int value) { * * .google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @return The originalMediaType. */ public com.google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType getOriginalMediaType() { @SuppressWarnings("deprecation") @@ -2037,6 +2142,9 @@ public com.google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType getOrigi * * .google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @param value The originalMediaType to set. + * @return This builder for chaining. */ public Builder setOriginalMediaType( com.google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType value) { @@ -2057,6 +2165,8 @@ public Builder setOriginalMediaType( * * .google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @return This builder for chaining. */ public Builder clearOriginalMediaType() { @@ -2076,6 +2186,8 @@ public Builder clearOriginalMediaType() { * * .google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @return The enum numeric value on the wire for recordingDeviceType. */ public int getRecordingDeviceTypeValue() { return recordingDeviceType_; @@ -2090,6 +2202,9 @@ public int getRecordingDeviceTypeValue() { * * .google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @param value The enum numeric value on the wire for recordingDeviceType to set. + * @return This builder for chaining. */ public Builder setRecordingDeviceTypeValue(int value) { recordingDeviceType_ = value; @@ -2106,6 +2221,8 @@ public Builder setRecordingDeviceTypeValue(int value) { * * .google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @return The recordingDeviceType. */ public com.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType getRecordingDeviceType() { @@ -2127,6 +2244,9 @@ public Builder setRecordingDeviceTypeValue(int value) { * * .google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @param value The recordingDeviceType to set. + * @return This builder for chaining. */ public Builder setRecordingDeviceType( com.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType value) { @@ -2148,6 +2268,8 @@ public Builder setRecordingDeviceType( * * .google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @return This builder for chaining. */ public Builder clearRecordingDeviceType() { @@ -2167,6 +2289,8 @@ public Builder clearRecordingDeviceType() { * * * string recording_device_name = 7; + * + * @return The recordingDeviceName. */ public java.lang.String getRecordingDeviceName() { java.lang.Object ref = recordingDeviceName_; @@ -2189,6 +2313,8 @@ public java.lang.String getRecordingDeviceName() { * * * string recording_device_name = 7; + * + * @return The bytes for recordingDeviceName. */ public com.google.protobuf.ByteString getRecordingDeviceNameBytes() { java.lang.Object ref = recordingDeviceName_; @@ -2211,6 +2337,9 @@ public com.google.protobuf.ByteString getRecordingDeviceNameBytes() { * * * string recording_device_name = 7; + * + * @param value The recordingDeviceName to set. + * @return This builder for chaining. */ public Builder setRecordingDeviceName(java.lang.String value) { if (value == null) { @@ -2231,6 +2360,8 @@ public Builder setRecordingDeviceName(java.lang.String value) { * * * string recording_device_name = 7; + * + * @return This builder for chaining. */ public Builder clearRecordingDeviceName() { @@ -2248,6 +2379,9 @@ public Builder clearRecordingDeviceName() { * * * string recording_device_name = 7; + * + * @param value The bytes for recordingDeviceName to set. + * @return This builder for chaining. */ public Builder setRecordingDeviceNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2272,6 +2406,8 @@ public Builder setRecordingDeviceNameBytes(com.google.protobuf.ByteString value) * * * string original_mime_type = 8; + * + * @return The originalMimeType. */ public java.lang.String getOriginalMimeType() { java.lang.Object ref = originalMimeType_; @@ -2295,6 +2431,8 @@ public java.lang.String getOriginalMimeType() { * * * string original_mime_type = 8; + * + * @return The bytes for originalMimeType. */ public com.google.protobuf.ByteString getOriginalMimeTypeBytes() { java.lang.Object ref = originalMimeType_; @@ -2318,6 +2456,9 @@ public com.google.protobuf.ByteString getOriginalMimeTypeBytes() { * * * string original_mime_type = 8; + * + * @param value The originalMimeType to set. + * @return This builder for chaining. */ public Builder setOriginalMimeType(java.lang.String value) { if (value == null) { @@ -2339,6 +2480,8 @@ public Builder setOriginalMimeType(java.lang.String value) { * * * string original_mime_type = 8; + * + * @return This builder for chaining. */ public Builder clearOriginalMimeType() { @@ -2357,6 +2500,9 @@ public Builder clearOriginalMimeType() { * * * string original_mime_type = 8; + * + * @param value The bytes for originalMimeType to set. + * @return This builder for chaining. */ public Builder setOriginalMimeTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2379,6 +2525,8 @@ public Builder setOriginalMimeTypeBytes(com.google.protobuf.ByteString value) { * * * string audio_topic = 10; + * + * @return The audioTopic. */ public java.lang.String getAudioTopic() { java.lang.Object ref = audioTopic_; @@ -2400,6 +2548,8 @@ public java.lang.String getAudioTopic() { * * * string audio_topic = 10; + * + * @return The bytes for audioTopic. */ public com.google.protobuf.ByteString getAudioTopicBytes() { java.lang.Object ref = audioTopic_; @@ -2421,6 +2571,9 @@ public com.google.protobuf.ByteString getAudioTopicBytes() { * * * string audio_topic = 10; + * + * @param value The audioTopic to set. + * @return This builder for chaining. */ public Builder setAudioTopic(java.lang.String value) { if (value == null) { @@ -2440,6 +2593,8 @@ public Builder setAudioTopic(java.lang.String value) { * * * string audio_topic = 10; + * + * @return This builder for chaining. */ public Builder clearAudioTopic() { @@ -2456,6 +2611,9 @@ public Builder clearAudioTopic() { * * * string audio_topic = 10; + * + * @param value The bytes for audioTopic to set. + * @return This builder for chaining. */ public Builder setAudioTopicBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionMetadataOrBuilder.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionMetadataOrBuilder.java index 65951f883..b14a31380 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionMetadataOrBuilder.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionMetadataOrBuilder.java @@ -31,6 +31,8 @@ public interface RecognitionMetadataOrBuilder * * * .google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1; + * + * @return The enum numeric value on the wire for interactionType. */ int getInteractionTypeValue(); /** @@ -41,6 +43,8 @@ public interface RecognitionMetadataOrBuilder * * * .google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1; + * + * @return The interactionType. */ com.google.cloud.speech.v1.RecognitionMetadata.InteractionType getInteractionType(); @@ -55,6 +59,8 @@ public interface RecognitionMetadataOrBuilder * * * uint32 industry_naics_code_of_audio = 3; + * + * @return The industryNaicsCodeOfAudio. */ int getIndustryNaicsCodeOfAudio(); @@ -67,6 +73,8 @@ public interface RecognitionMetadataOrBuilder * * .google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @return The enum numeric value on the wire for microphoneDistance. */ int getMicrophoneDistanceValue(); /** @@ -78,6 +86,8 @@ public interface RecognitionMetadataOrBuilder * * .google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @return The microphoneDistance. */ com.google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance getMicrophoneDistance(); @@ -90,6 +100,8 @@ public interface RecognitionMetadataOrBuilder * * .google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @return The enum numeric value on the wire for originalMediaType. */ int getOriginalMediaTypeValue(); /** @@ -101,6 +113,8 @@ public interface RecognitionMetadataOrBuilder * * .google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @return The originalMediaType. */ com.google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType getOriginalMediaType(); @@ -114,6 +128,8 @@ public interface RecognitionMetadataOrBuilder * * .google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @return The enum numeric value on the wire for recordingDeviceType. */ int getRecordingDeviceTypeValue(); /** @@ -126,6 +142,8 @@ public interface RecognitionMetadataOrBuilder * * .google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @return The recordingDeviceType. */ com.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType getRecordingDeviceType(); @@ -139,6 +157,8 @@ public interface RecognitionMetadataOrBuilder * * * string recording_device_name = 7; + * + * @return The recordingDeviceName. */ java.lang.String getRecordingDeviceName(); /** @@ -151,6 +171,8 @@ public interface RecognitionMetadataOrBuilder * * * string recording_device_name = 7; + * + * @return The bytes for recordingDeviceName. */ com.google.protobuf.ByteString getRecordingDeviceNameBytes(); @@ -165,6 +187,8 @@ public interface RecognitionMetadataOrBuilder * * * string original_mime_type = 8; + * + * @return The originalMimeType. */ java.lang.String getOriginalMimeType(); /** @@ -178,6 +202,8 @@ public interface RecognitionMetadataOrBuilder * * * string original_mime_type = 8; + * + * @return The bytes for originalMimeType. */ com.google.protobuf.ByteString getOriginalMimeTypeBytes(); @@ -190,6 +216,8 @@ public interface RecognitionMetadataOrBuilder * * * string audio_topic = 10; + * + * @return The audioTopic. */ java.lang.String getAudioTopic(); /** @@ -201,6 +229,8 @@ public interface RecognitionMetadataOrBuilder * * * string audio_topic = 10; + * + * @return The bytes for audioTopic. */ com.google.protobuf.ByteString getAudioTopicBytes(); } diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequest.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequest.java index 1bedfff3a..749b4c9ef 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequest.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequest.java @@ -39,6 +39,12 @@ private RecognizeRequest(com.google.protobuf.GeneratedMessageV3.Builder build private RecognizeRequest() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RecognizeRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private RecognizeRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -142,6 +147,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return config_ != null; @@ -157,6 +164,8 @@ public boolean hasConfig() { * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.speech.v1.RecognitionConfig getConfig() { return config_ == null @@ -191,6 +200,8 @@ public com.google.cloud.speech.v1.RecognitionConfigOrBuilder getConfigOrBuilder( * * .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the audio field is set. */ public boolean hasAudio() { return audio_ != null; @@ -205,6 +216,8 @@ public boolean hasAudio() { * * .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The audio. */ public com.google.cloud.speech.v1.RecognitionAudio getAudio() { return audio_ == null @@ -599,6 +612,8 @@ public Builder mergeFrom( * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; @@ -614,6 +629,8 @@ public boolean hasConfig() { * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.speech.v1.RecognitionConfig getConfig() { if (configBuilder_ == null) { @@ -806,6 +823,8 @@ public com.google.cloud.speech.v1.RecognitionConfigOrBuilder getConfigOrBuilder( * * .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the audio field is set. */ public boolean hasAudio() { return audioBuilder_ != null || audio_ != null; @@ -820,6 +839,8 @@ public boolean hasAudio() { * * .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The audio. */ public com.google.cloud.speech.v1.RecognitionAudio getAudio() { if (audioBuilder_ == null) { diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequestOrBuilder.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequestOrBuilder.java index 33608ae16..fbdc22b22 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequestOrBuilder.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface RecognizeRequestOrBuilder * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ boolean hasConfig(); /** @@ -47,6 +49,8 @@ public interface RecognizeRequestOrBuilder * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ com.google.cloud.speech.v1.RecognitionConfig getConfig(); /** @@ -73,6 +77,8 @@ public interface RecognizeRequestOrBuilder * * .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the audio field is set. */ boolean hasAudio(); /** @@ -85,6 +91,8 @@ public interface RecognizeRequestOrBuilder * * .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The audio. */ com.google.cloud.speech.v1.RecognitionAudio getAudio(); /** diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeResponse.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeResponse.java index 48046d87a..f651be3ae 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeResponse.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeResponse.java @@ -43,6 +43,12 @@ private RecognizeResponse() { results_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RecognizeResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeakerDiarizationConfig.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeakerDiarizationConfig.java index 45ddb844d..931109b47 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeakerDiarizationConfig.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeakerDiarizationConfig.java @@ -39,6 +39,12 @@ private SpeakerDiarizationConfig(com.google.protobuf.GeneratedMessageV3.Builder< private SpeakerDiarizationConfig() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SpeakerDiarizationConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private SpeakerDiarizationConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -129,6 +134,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * bool enable_speaker_diarization = 1; + * + * @return The enableSpeakerDiarization. */ public boolean getEnableSpeakerDiarization() { return enableSpeakerDiarization_; @@ -146,6 +153,8 @@ public boolean getEnableSpeakerDiarization() { * * * int32 min_speaker_count = 2; + * + * @return The minSpeakerCount. */ public int getMinSpeakerCount() { return minSpeakerCount_; @@ -163,6 +172,8 @@ public int getMinSpeakerCount() { * * * int32 max_speaker_count = 3; + * + * @return The maxSpeakerCount. */ public int getMaxSpeakerCount() { return maxSpeakerCount_; @@ -179,6 +190,8 @@ public int getMaxSpeakerCount() { * * int32 speaker_tag = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The speakerTag. */ @java.lang.Deprecated public int getSpeakerTag() { @@ -558,6 +571,8 @@ public Builder mergeFrom( * * * bool enable_speaker_diarization = 1; + * + * @return The enableSpeakerDiarization. */ public boolean getEnableSpeakerDiarization() { return enableSpeakerDiarization_; @@ -572,6 +587,9 @@ public boolean getEnableSpeakerDiarization() { * * * bool enable_speaker_diarization = 1; + * + * @param value The enableSpeakerDiarization to set. + * @return This builder for chaining. */ public Builder setEnableSpeakerDiarization(boolean value) { @@ -589,6 +607,8 @@ public Builder setEnableSpeakerDiarization(boolean value) { * * * bool enable_speaker_diarization = 1; + * + * @return This builder for chaining. */ public Builder clearEnableSpeakerDiarization() { @@ -608,6 +628,8 @@ public Builder clearEnableSpeakerDiarization() { * * * int32 min_speaker_count = 2; + * + * @return The minSpeakerCount. */ public int getMinSpeakerCount() { return minSpeakerCount_; @@ -622,6 +644,9 @@ public int getMinSpeakerCount() { * * * int32 min_speaker_count = 2; + * + * @param value The minSpeakerCount to set. + * @return This builder for chaining. */ public Builder setMinSpeakerCount(int value) { @@ -639,6 +664,8 @@ public Builder setMinSpeakerCount(int value) { * * * int32 min_speaker_count = 2; + * + * @return This builder for chaining. */ public Builder clearMinSpeakerCount() { @@ -658,6 +685,8 @@ public Builder clearMinSpeakerCount() { * * * int32 max_speaker_count = 3; + * + * @return The maxSpeakerCount. */ public int getMaxSpeakerCount() { return maxSpeakerCount_; @@ -672,6 +701,9 @@ public int getMaxSpeakerCount() { * * * int32 max_speaker_count = 3; + * + * @param value The maxSpeakerCount to set. + * @return This builder for chaining. */ public Builder setMaxSpeakerCount(int value) { @@ -689,6 +721,8 @@ public Builder setMaxSpeakerCount(int value) { * * * int32 max_speaker_count = 3; + * + * @return This builder for chaining. */ public Builder clearMaxSpeakerCount() { @@ -707,6 +741,8 @@ public Builder clearMaxSpeakerCount() { * * int32 speaker_tag = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The speakerTag. */ @java.lang.Deprecated public int getSpeakerTag() { @@ -721,6 +757,9 @@ public int getSpeakerTag() { * * int32 speaker_tag = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The speakerTag to set. + * @return This builder for chaining. */ @java.lang.Deprecated public Builder setSpeakerTag(int value) { @@ -738,6 +777,8 @@ public Builder setSpeakerTag(int value) { * * int32 speaker_tag = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearSpeakerTag() { diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeakerDiarizationConfigOrBuilder.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeakerDiarizationConfigOrBuilder.java index d3aaeacaf..8c793e9bc 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeakerDiarizationConfigOrBuilder.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeakerDiarizationConfigOrBuilder.java @@ -33,6 +33,8 @@ public interface SpeakerDiarizationConfigOrBuilder * * * bool enable_speaker_diarization = 1; + * + * @return The enableSpeakerDiarization. */ boolean getEnableSpeakerDiarization(); @@ -46,6 +48,8 @@ public interface SpeakerDiarizationConfigOrBuilder * * * int32 min_speaker_count = 2; + * + * @return The minSpeakerCount. */ int getMinSpeakerCount(); @@ -59,6 +63,8 @@ public interface SpeakerDiarizationConfigOrBuilder * * * int32 max_speaker_count = 3; + * + * @return The maxSpeakerCount. */ int getMaxSpeakerCount(); @@ -71,6 +77,8 @@ public interface SpeakerDiarizationConfigOrBuilder * * int32 speaker_tag = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The speakerTag. */ @java.lang.Deprecated int getSpeakerTag(); diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContext.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContext.java index 1a281a8ce..3e52b9e28 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContext.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContext.java @@ -42,6 +42,12 @@ private SpeechContext() { phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SpeechContext(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -133,6 +139,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * repeated string phrases = 1; + * + * @return A list containing the phrases. */ public com.google.protobuf.ProtocolStringList getPhrasesList() { return phrases_; @@ -155,6 +163,8 @@ public com.google.protobuf.ProtocolStringList getPhrasesList() { * * * repeated string phrases = 1; + * + * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); @@ -177,6 +187,9 @@ public int getPhrasesCount() { * * * repeated string phrases = 1; + * + * @param index The index of the element to return. + * @return The phrases at the given index. */ public java.lang.String getPhrases(int index) { return phrases_.get(index); @@ -199,6 +212,9 @@ public java.lang.String getPhrases(int index) { * * * repeated string phrases = 1; + * + * @param index The index of the value to return. + * @return The bytes of the phrases at the given index. */ public com.google.protobuf.ByteString getPhrasesBytes(int index) { return phrases_.getByteString(index); @@ -567,6 +583,8 @@ private void ensurePhrasesIsMutable() { * * * repeated string phrases = 1; + * + * @return A list containing the phrases. */ public com.google.protobuf.ProtocolStringList getPhrasesList() { return phrases_.getUnmodifiableView(); @@ -589,6 +607,8 @@ public com.google.protobuf.ProtocolStringList getPhrasesList() { * * * repeated string phrases = 1; + * + * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); @@ -611,6 +631,9 @@ public int getPhrasesCount() { * * * repeated string phrases = 1; + * + * @param index The index of the element to return. + * @return The phrases at the given index. */ public java.lang.String getPhrases(int index) { return phrases_.get(index); @@ -633,6 +656,9 @@ public java.lang.String getPhrases(int index) { * * * repeated string phrases = 1; + * + * @param index The index of the value to return. + * @return The bytes of the phrases at the given index. */ public com.google.protobuf.ByteString getPhrasesBytes(int index) { return phrases_.getByteString(index); @@ -655,6 +681,10 @@ public com.google.protobuf.ByteString getPhrasesBytes(int index) { * * * repeated string phrases = 1; + * + * @param index The index to set the value at. + * @param value The phrases to set. + * @return This builder for chaining. */ public Builder setPhrases(int index, java.lang.String value) { if (value == null) { @@ -683,6 +713,9 @@ public Builder setPhrases(int index, java.lang.String value) { * * * repeated string phrases = 1; + * + * @param value The phrases to add. + * @return This builder for chaining. */ public Builder addPhrases(java.lang.String value) { if (value == null) { @@ -711,6 +744,9 @@ public Builder addPhrases(java.lang.String value) { * * * repeated string phrases = 1; + * + * @param values The phrases to add. + * @return This builder for chaining. */ public Builder addAllPhrases(java.lang.Iterable values) { ensurePhrasesIsMutable(); @@ -736,6 +772,8 @@ public Builder addAllPhrases(java.lang.Iterable values) { * * * repeated string phrases = 1; + * + * @return This builder for chaining. */ public Builder clearPhrases() { phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -761,6 +799,9 @@ public Builder clearPhrases() { * * * repeated string phrases = 1; + * + * @param value The bytes of the phrases to add. + * @return This builder for chaining. */ public Builder addPhrasesBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContextOrBuilder.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContextOrBuilder.java index f2307cbb9..ece5a24d6 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContextOrBuilder.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContextOrBuilder.java @@ -41,6 +41,8 @@ public interface SpeechContextOrBuilder * * * repeated string phrases = 1; + * + * @return A list containing the phrases. */ java.util.List getPhrasesList(); /** @@ -61,6 +63,8 @@ public interface SpeechContextOrBuilder * * * repeated string phrases = 1; + * + * @return The count of phrases. */ int getPhrasesCount(); /** @@ -81,6 +85,9 @@ public interface SpeechContextOrBuilder * * * repeated string phrases = 1; + * + * @param index The index of the element to return. + * @return The phrases at the given index. */ java.lang.String getPhrases(int index); /** @@ -101,6 +108,9 @@ public interface SpeechContextOrBuilder * * * repeated string phrases = 1; + * + * @param index The index of the value to return. + * @return The bytes of the phrases at the given index. */ com.google.protobuf.ByteString getPhrasesBytes(int index); } diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java index 607071767..47df3fb83 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java @@ -230,27 +230,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "to/googleapis/cloud/speech/v1;speech\370\001\001\242" + "\002\003GCSb\006proto3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.AnyProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.AnyProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); internal_static_google_cloud_speech_v1_RecognizeRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_speech_v1_RecognizeRequest_fieldAccessorTable = diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternative.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternative.java index 7308e4d0c..ec34fdf55 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternative.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternative.java @@ -42,6 +42,12 @@ private SpeechRecognitionAlternative() { words_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SpeechRecognitionAlternative(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -80,9 +86,9 @@ private SpeechRecognitionAlternative( } case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { words_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000001; } words_.add( input.readMessage( @@ -103,7 +109,7 @@ private SpeechRecognitionAlternative( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { words_ = java.util.Collections.unmodifiableList(words_); } this.unknownFields = unknownFields.build(); @@ -126,7 +132,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.speech.v1.SpeechRecognitionAlternative.Builder.class); } - private int bitField0_; public static final int TRANSCRIPT_FIELD_NUMBER = 1; private volatile java.lang.Object transcript_; /** @@ -137,6 +142,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string transcript = 1; + * + * @return The transcript. */ public java.lang.String getTranscript() { java.lang.Object ref = transcript_; @@ -157,6 +164,8 @@ public java.lang.String getTranscript() { * * * string transcript = 1; + * + * @return The bytes for transcript. */ public com.google.protobuf.ByteString getTranscriptBytes() { java.lang.Object ref = transcript_; @@ -186,6 +195,8 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * * float confidence = 2; + * + * @return The confidence. */ public float getConfidence() { return confidence_; @@ -499,7 +510,7 @@ public Builder clear() { if (wordsBuilder_ == null) { words_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } else { wordsBuilder_.clear(); } @@ -531,19 +542,17 @@ public com.google.cloud.speech.v1.SpeechRecognitionAlternative buildPartial() { com.google.cloud.speech.v1.SpeechRecognitionAlternative result = new com.google.cloud.speech.v1.SpeechRecognitionAlternative(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.transcript_ = transcript_; result.confidence_ = confidence_; if (wordsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { words_ = java.util.Collections.unmodifiableList(words_); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } result.words_ = words_; } else { result.words_ = wordsBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -605,7 +614,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1.SpeechRecognitionAlternative if (!other.words_.isEmpty()) { if (words_.isEmpty()) { words_ = other.words_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureWordsIsMutable(); words_.addAll(other.words_); @@ -618,7 +627,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1.SpeechRecognitionAlternative wordsBuilder_.dispose(); wordsBuilder_ = null; words_ = other.words_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); wordsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getWordsFieldBuilder() @@ -669,6 +678,8 @@ public Builder mergeFrom( * * * string transcript = 1; + * + * @return The transcript. */ public java.lang.String getTranscript() { java.lang.Object ref = transcript_; @@ -689,6 +700,8 @@ public java.lang.String getTranscript() { * * * string transcript = 1; + * + * @return The bytes for transcript. */ public com.google.protobuf.ByteString getTranscriptBytes() { java.lang.Object ref = transcript_; @@ -709,6 +722,9 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * * string transcript = 1; + * + * @param value The transcript to set. + * @return This builder for chaining. */ public Builder setTranscript(java.lang.String value) { if (value == null) { @@ -727,6 +743,8 @@ public Builder setTranscript(java.lang.String value) { * * * string transcript = 1; + * + * @return This builder for chaining. */ public Builder clearTranscript() { @@ -742,6 +760,9 @@ public Builder clearTranscript() { * * * string transcript = 1; + * + * @param value The bytes for transcript to set. + * @return This builder for chaining. */ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -769,6 +790,8 @@ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { * * * float confidence = 2; + * + * @return The confidence. */ public float getConfidence() { return confidence_; @@ -787,6 +810,9 @@ public float getConfidence() { * * * float confidence = 2; + * + * @param value The confidence to set. + * @return This builder for chaining. */ public Builder setConfidence(float value) { @@ -808,6 +834,8 @@ public Builder setConfidence(float value) { * * * float confidence = 2; + * + * @return This builder for chaining. */ public Builder clearConfidence() { @@ -820,9 +848,9 @@ public Builder clearConfidence() { java.util.Collections.emptyList(); private void ensureWordsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { words_ = new java.util.ArrayList(words_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000001; } } @@ -1059,7 +1087,7 @@ public Builder addAllWords( public Builder clearWords() { if (wordsBuilder_ == null) { words_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { wordsBuilder_.clear(); @@ -1194,7 +1222,7 @@ public java.util.List getWordsBuild com.google.cloud.speech.v1.WordInfo, com.google.cloud.speech.v1.WordInfo.Builder, com.google.cloud.speech.v1.WordInfoOrBuilder>( - words_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + words_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); words_ = null; } return wordsBuilder_; diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternativeOrBuilder.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternativeOrBuilder.java index b535ea601..e6c9c82a1 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternativeOrBuilder.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternativeOrBuilder.java @@ -31,6 +31,8 @@ public interface SpeechRecognitionAlternativeOrBuilder * * * string transcript = 1; + * + * @return The transcript. */ java.lang.String getTranscript(); /** @@ -41,6 +43,8 @@ public interface SpeechRecognitionAlternativeOrBuilder * * * string transcript = 1; + * + * @return The bytes for transcript. */ com.google.protobuf.ByteString getTranscriptBytes(); @@ -58,6 +62,8 @@ public interface SpeechRecognitionAlternativeOrBuilder * * * float confidence = 2; + * + * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResult.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResult.java index 5f4b209bf..f2b24fcc7 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResult.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResult.java @@ -41,6 +41,12 @@ private SpeechRecognitionResult() { alternatives_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SpeechRecognitionResult(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -121,7 +127,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.speech.v1.SpeechRecognitionResult.Builder.class); } - private int bitField0_; public static final int ALTERNATIVES_FIELD_NUMBER = 1; private java.util.List alternatives_; /** @@ -215,6 +220,8 @@ public com.google.cloud.speech.v1.SpeechRecognitionAlternativeOrBuilder getAlter * * * int32 channel_tag = 2; + * + * @return The channelTag. */ public int getChannelTag() { return channelTag_; @@ -473,7 +480,6 @@ public com.google.cloud.speech.v1.SpeechRecognitionResult buildPartial() { com.google.cloud.speech.v1.SpeechRecognitionResult result = new com.google.cloud.speech.v1.SpeechRecognitionResult(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (alternativesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { alternatives_ = java.util.Collections.unmodifiableList(alternatives_); @@ -484,7 +490,6 @@ public com.google.cloud.speech.v1.SpeechRecognitionResult buildPartial() { result.alternatives_ = alternativesBuilder_.build(); } result.channelTag_ = channelTag_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1026,6 +1031,8 @@ public com.google.cloud.speech.v1.SpeechRecognitionAlternative.Builder addAltern * * * int32 channel_tag = 2; + * + * @return The channelTag. */ public int getChannelTag() { return channelTag_; @@ -1040,6 +1047,9 @@ public int getChannelTag() { * * * int32 channel_tag = 2; + * + * @param value The channelTag to set. + * @return This builder for chaining. */ public Builder setChannelTag(int value) { @@ -1057,6 +1067,8 @@ public Builder setChannelTag(int value) { * * * int32 channel_tag = 2; + * + * @return This builder for chaining. */ public Builder clearChannelTag() { diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResultOrBuilder.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResultOrBuilder.java index a5cf3b4c1..568951092 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResultOrBuilder.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResultOrBuilder.java @@ -101,6 +101,8 @@ com.google.cloud.speech.v1.SpeechRecognitionAlternativeOrBuilder getAlternatives * * * int32 channel_tag = 2; + * + * @return The channelTag. */ int getChannelTag(); } diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfig.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfig.java index f8a8d1cae..6a0533b8f 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfig.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfig.java @@ -40,6 +40,12 @@ private StreamingRecognitionConfig(com.google.protobuf.GeneratedMessageV3.Builde private StreamingRecognitionConfig() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StreamingRecognitionConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -53,7 +59,6 @@ private StreamingRecognitionConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -137,6 +142,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return config_ != null; @@ -152,6 +159,8 @@ public boolean hasConfig() { * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.speech.v1.RecognitionConfig getConfig() { return config_ == null @@ -193,6 +202,8 @@ public com.google.cloud.speech.v1.RecognitionConfigOrBuilder getConfigOrBuilder( * * * bool single_utterance = 2; + * + * @return The singleUtterance. */ public boolean getSingleUtterance() { return singleUtterance_; @@ -211,6 +222,8 @@ public boolean getSingleUtterance() { * * * bool interim_results = 3; + * + * @return The interimResults. */ public boolean getInterimResults() { return interimResults_; @@ -595,6 +608,8 @@ public Builder mergeFrom( * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; @@ -610,6 +625,8 @@ public boolean hasConfig() { * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.speech.v1.RecognitionConfig getConfig() { if (configBuilder_ == null) { @@ -804,6 +821,8 @@ public com.google.cloud.speech.v1.RecognitionConfigOrBuilder getConfigOrBuilder( * * * bool single_utterance = 2; + * + * @return The singleUtterance. */ public boolean getSingleUtterance() { return singleUtterance_; @@ -825,6 +844,9 @@ public boolean getSingleUtterance() { * * * bool single_utterance = 2; + * + * @param value The singleUtterance to set. + * @return This builder for chaining. */ public Builder setSingleUtterance(boolean value) { @@ -849,6 +871,8 @@ public Builder setSingleUtterance(boolean value) { * * * bool single_utterance = 2; + * + * @return This builder for chaining. */ public Builder clearSingleUtterance() { @@ -869,6 +893,8 @@ public Builder clearSingleUtterance() { * * * bool interim_results = 3; + * + * @return The interimResults. */ public boolean getInterimResults() { return interimResults_; @@ -884,6 +910,9 @@ public boolean getInterimResults() { * * * bool interim_results = 3; + * + * @param value The interimResults to set. + * @return This builder for chaining. */ public Builder setInterimResults(boolean value) { @@ -902,6 +931,8 @@ public Builder setInterimResults(boolean value) { * * * bool interim_results = 3; + * + * @return This builder for chaining. */ public Builder clearInterimResults() { diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfigOrBuilder.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfigOrBuilder.java index 5e05ebe8b..7c0218423 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfigOrBuilder.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfigOrBuilder.java @@ -34,6 +34,8 @@ public interface StreamingRecognitionConfigOrBuilder * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ boolean hasConfig(); /** @@ -47,6 +49,8 @@ public interface StreamingRecognitionConfigOrBuilder * * .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ com.google.cloud.speech.v1.RecognitionConfig getConfig(); /** @@ -80,6 +84,8 @@ public interface StreamingRecognitionConfigOrBuilder * * * bool single_utterance = 2; + * + * @return The singleUtterance. */ boolean getSingleUtterance(); @@ -94,6 +100,8 @@ public interface StreamingRecognitionConfigOrBuilder * * * bool interim_results = 3; + * + * @return The interimResults. */ boolean getInterimResults(); } diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResult.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResult.java index 5f2f80b54..97379b5f2 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResult.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResult.java @@ -43,6 +43,12 @@ private StreamingRecognitionResult() { languageCode_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StreamingRecognitionResult(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -155,7 +161,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.speech.v1.StreamingRecognitionResult.Builder.class); } - private int bitField0_; public static final int ALTERNATIVES_FIELD_NUMBER = 1; private java.util.List alternatives_; /** @@ -251,6 +256,8 @@ public com.google.cloud.speech.v1.SpeechRecognitionAlternativeOrBuilder getAlter * * * bool is_final = 2; + * + * @return The isFinal. */ public boolean getIsFinal() { return isFinal_; @@ -270,6 +277,8 @@ public boolean getIsFinal() { * * * float stability = 3; + * + * @return The stability. */ public float getStability() { return stability_; @@ -286,6 +295,8 @@ public float getStability() { * * * .google.protobuf.Duration result_end_time = 4; + * + * @return Whether the resultEndTime field is set. */ public boolean hasResultEndTime() { return resultEndTime_ != null; @@ -299,6 +310,8 @@ public boolean hasResultEndTime() { * * * .google.protobuf.Duration result_end_time = 4; + * + * @return The resultEndTime. */ public com.google.protobuf.Duration getResultEndTime() { return resultEndTime_ == null @@ -331,6 +344,8 @@ public com.google.protobuf.DurationOrBuilder getResultEndTimeOrBuilder() { * * * int32 channel_tag = 5; + * + * @return The channelTag. */ public int getChannelTag() { return channelTag_; @@ -348,6 +363,8 @@ public int getChannelTag() { * * * string language_code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -370,6 +387,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -692,7 +711,6 @@ public com.google.cloud.speech.v1.StreamingRecognitionResult buildPartial() { com.google.cloud.speech.v1.StreamingRecognitionResult result = new com.google.cloud.speech.v1.StreamingRecognitionResult(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (alternativesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { alternatives_ = java.util.Collections.unmodifiableList(alternatives_); @@ -711,7 +729,6 @@ public com.google.cloud.speech.v1.StreamingRecognitionResult buildPartial() { } result.channelTag_ = channelTag_; result.languageCode_ = languageCode_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1268,6 +1285,8 @@ public com.google.cloud.speech.v1.SpeechRecognitionAlternative.Builder addAltern * * * bool is_final = 2; + * + * @return The isFinal. */ public boolean getIsFinal() { return isFinal_; @@ -1284,6 +1303,9 @@ public boolean getIsFinal() { * * * bool is_final = 2; + * + * @param value The isFinal to set. + * @return This builder for chaining. */ public Builder setIsFinal(boolean value) { @@ -1303,6 +1325,8 @@ public Builder setIsFinal(boolean value) { * * * bool is_final = 2; + * + * @return This builder for chaining. */ public Builder clearIsFinal() { @@ -1324,6 +1348,8 @@ public Builder clearIsFinal() { * * * float stability = 3; + * + * @return The stability. */ public float getStability() { return stability_; @@ -1340,6 +1366,9 @@ public float getStability() { * * * float stability = 3; + * + * @param value The stability to set. + * @return This builder for chaining. */ public Builder setStability(float value) { @@ -1359,6 +1388,8 @@ public Builder setStability(float value) { * * * float stability = 3; + * + * @return This builder for chaining. */ public Builder clearStability() { @@ -1382,6 +1413,8 @@ public Builder clearStability() { * * * .google.protobuf.Duration result_end_time = 4; + * + * @return Whether the resultEndTime field is set. */ public boolean hasResultEndTime() { return resultEndTimeBuilder_ != null || resultEndTime_ != null; @@ -1395,6 +1428,8 @@ public boolean hasResultEndTime() { * * * .google.protobuf.Duration result_end_time = 4; + * + * @return The resultEndTime. */ public com.google.protobuf.Duration getResultEndTime() { if (resultEndTimeBuilder_ == null) { @@ -1568,6 +1603,8 @@ public com.google.protobuf.DurationOrBuilder getResultEndTimeOrBuilder() { * * * int32 channel_tag = 5; + * + * @return The channelTag. */ public int getChannelTag() { return channelTag_; @@ -1582,6 +1619,9 @@ public int getChannelTag() { * * * int32 channel_tag = 5; + * + * @param value The channelTag to set. + * @return This builder for chaining. */ public Builder setChannelTag(int value) { @@ -1599,6 +1639,8 @@ public Builder setChannelTag(int value) { * * * int32 channel_tag = 5; + * + * @return This builder for chaining. */ public Builder clearChannelTag() { @@ -1618,6 +1660,8 @@ public Builder clearChannelTag() { * * * string language_code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -1640,6 +1684,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -1662,6 +1708,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -1682,6 +1731,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -1699,6 +1750,9 @@ public Builder clearLanguageCode() { * * * string language_code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResultOrBuilder.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResultOrBuilder.java index b7688553d..50a3177fc 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResultOrBuilder.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResultOrBuilder.java @@ -103,6 +103,8 @@ com.google.cloud.speech.v1.SpeechRecognitionAlternativeOrBuilder getAlternatives * * * bool is_final = 2; + * + * @return The isFinal. */ boolean getIsFinal(); @@ -118,6 +120,8 @@ com.google.cloud.speech.v1.SpeechRecognitionAlternativeOrBuilder getAlternatives * * * float stability = 3; + * + * @return The stability. */ float getStability(); @@ -130,6 +134,8 @@ com.google.cloud.speech.v1.SpeechRecognitionAlternativeOrBuilder getAlternatives * * * .google.protobuf.Duration result_end_time = 4; + * + * @return Whether the resultEndTime field is set. */ boolean hasResultEndTime(); /** @@ -141,6 +147,8 @@ com.google.cloud.speech.v1.SpeechRecognitionAlternativeOrBuilder getAlternatives * * * .google.protobuf.Duration result_end_time = 4; + * + * @return The resultEndTime. */ com.google.protobuf.Duration getResultEndTime(); /** @@ -165,6 +173,8 @@ com.google.cloud.speech.v1.SpeechRecognitionAlternativeOrBuilder getAlternatives * * * int32 channel_tag = 5; + * + * @return The channelTag. */ int getChannelTag(); @@ -178,6 +188,8 @@ com.google.cloud.speech.v1.SpeechRecognitionAlternativeOrBuilder getAlternatives * * * string language_code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -190,6 +202,8 @@ com.google.cloud.speech.v1.SpeechRecognitionAlternativeOrBuilder getAlternatives * * * string language_code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequest.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequest.java index 0a3bdb121..db5068737 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequest.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequest.java @@ -43,6 +43,12 @@ private StreamingRecognizeRequest(com.google.protobuf.GeneratedMessageV3.Builder private StreamingRecognizeRequest() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StreamingRecognizeRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private StreamingRecognizeRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -130,7 +135,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int streamingRequestCase_ = 0; private java.lang.Object streamingRequest_; - public enum StreamingRequestCase implements com.google.protobuf.Internal.EnumLite { + public enum StreamingRequestCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { STREAMING_CONFIG(1), AUDIO_CONTENT(2), STREAMINGREQUEST_NOT_SET(0); @@ -139,7 +147,11 @@ public enum StreamingRequestCase implements com.google.protobuf.Internal.EnumLit private StreamingRequestCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static StreamingRequestCase valueOf(int value) { return forNumber(value); @@ -178,6 +190,8 @@ public StreamingRequestCase getStreamingRequestCase() { * * * .google.cloud.speech.v1.StreamingRecognitionConfig streaming_config = 1; + * + * @return Whether the streamingConfig field is set. */ public boolean hasStreamingConfig() { return streamingRequestCase_ == 1; @@ -192,6 +206,8 @@ public boolean hasStreamingConfig() { * * * .google.cloud.speech.v1.StreamingRecognitionConfig streaming_config = 1; + * + * @return The streamingConfig. */ public com.google.cloud.speech.v1.StreamingRecognitionConfig getStreamingConfig() { if (streamingRequestCase_ == 1) { @@ -234,6 +250,8 @@ public com.google.cloud.speech.v1.StreamingRecognitionConfig getStreamingConfig( * * * bytes audio_content = 2; + * + * @return The audioContent. */ public com.google.protobuf.ByteString getAudioContent() { if (streamingRequestCase_ == 2) { @@ -646,6 +664,8 @@ public Builder clearStreamingRequest() { * * * .google.cloud.speech.v1.StreamingRecognitionConfig streaming_config = 1; + * + * @return Whether the streamingConfig field is set. */ public boolean hasStreamingConfig() { return streamingRequestCase_ == 1; @@ -660,6 +680,8 @@ public boolean hasStreamingConfig() { * * * .google.cloud.speech.v1.StreamingRecognitionConfig streaming_config = 1; + * + * @return The streamingConfig. */ public com.google.cloud.speech.v1.StreamingRecognitionConfig getStreamingConfig() { if (streamingConfigBuilder_ == null) { @@ -871,6 +893,8 @@ public Builder clearStreamingConfig() { * * * bytes audio_content = 2; + * + * @return The audioContent. */ public com.google.protobuf.ByteString getAudioContent() { if (streamingRequestCase_ == 2) { @@ -893,6 +917,9 @@ public com.google.protobuf.ByteString getAudioContent() { * * * bytes audio_content = 2; + * + * @param value The audioContent to set. + * @return This builder for chaining. */ public Builder setAudioContent(com.google.protobuf.ByteString value) { if (value == null) { @@ -918,6 +945,8 @@ public Builder setAudioContent(com.google.protobuf.ByteString value) { * * * bytes audio_content = 2; + * + * @return This builder for chaining. */ public Builder clearAudioContent() { if (streamingRequestCase_ == 2) { diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequestOrBuilder.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequestOrBuilder.java index 206598e71..c7f5dcafc 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequestOrBuilder.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequestOrBuilder.java @@ -33,6 +33,8 @@ public interface StreamingRecognizeRequestOrBuilder * * * .google.cloud.speech.v1.StreamingRecognitionConfig streaming_config = 1; + * + * @return Whether the streamingConfig field is set. */ boolean hasStreamingConfig(); /** @@ -45,6 +47,8 @@ public interface StreamingRecognizeRequestOrBuilder * * * .google.cloud.speech.v1.StreamingRecognitionConfig streaming_config = 1; + * + * @return The streamingConfig. */ com.google.cloud.speech.v1.StreamingRecognitionConfig getStreamingConfig(); /** @@ -75,6 +79,8 @@ public interface StreamingRecognizeRequestOrBuilder * * * bytes audio_content = 2; + * + * @return The audioContent. */ com.google.protobuf.ByteString getAudioContent(); diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponse.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponse.java index f04bec500..5bdf6f7d0 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponse.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponse.java @@ -77,6 +77,12 @@ private StreamingRecognizeResponse() { speechEventType_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StreamingRecognizeResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -117,11 +123,11 @@ private StreamingRecognizeResponse( } case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { results_ = new java.util.ArrayList< com.google.cloud.speech.v1.StreamingRecognitionResult>(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } results_.add( input.readMessage( @@ -150,7 +156,7 @@ private StreamingRecognizeResponse( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { results_ = java.util.Collections.unmodifiableList(results_); } this.unknownFields = unknownFields.build(); @@ -247,12 +253,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static SpeechEventType valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static SpeechEventType forNumber(int value) { switch (value) { case 0: @@ -312,7 +326,6 @@ private SpeechEventType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType) } - private int bitField0_; public static final int ERROR_FIELD_NUMBER = 1; private com.google.rpc.Status error_; /** @@ -324,6 +337,8 @@ private SpeechEventType(int value) { * * * .google.rpc.Status error = 1; + * + * @return Whether the error field is set. */ public boolean hasError() { return error_ != null; @@ -337,6 +352,8 @@ public boolean hasError() { * * * .google.rpc.Status error = 1; + * + * @return The error. */ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; @@ -446,6 +463,8 @@ public com.google.cloud.speech.v1.StreamingRecognitionResultOrBuilder getResults * * .google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @return The enum numeric value on the wire for speechEventType. */ public int getSpeechEventTypeValue() { return speechEventType_; @@ -459,6 +478,8 @@ public int getSpeechEventTypeValue() { * * .google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @return The speechEventType. */ public com.google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType getSpeechEventType() { @@ -752,7 +773,7 @@ public Builder clear() { } if (resultsBuilder_ == null) { results_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { resultsBuilder_.clear(); } @@ -786,23 +807,21 @@ public com.google.cloud.speech.v1.StreamingRecognizeResponse buildPartial() { com.google.cloud.speech.v1.StreamingRecognizeResponse result = new com.google.cloud.speech.v1.StreamingRecognizeResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (errorBuilder_ == null) { result.error_ = error_; } else { result.error_ = errorBuilder_.build(); } if (resultsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { results_ = java.util.Collections.unmodifiableList(results_); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.results_ = results_; } else { result.results_ = resultsBuilder_.build(); } result.speechEventType_ = speechEventType_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -860,7 +879,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1.StreamingRecognizeResponse o if (!other.results_.isEmpty()) { if (results_.isEmpty()) { results_ = other.results_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureResultsIsMutable(); results_.addAll(other.results_); @@ -873,7 +892,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1.StreamingRecognizeResponse o resultsBuilder_.dispose(); resultsBuilder_ = null; results_ = other.results_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); resultsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getResultsFieldBuilder() @@ -931,6 +950,8 @@ public Builder mergeFrom( * * * .google.rpc.Status error = 1; + * + * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; @@ -944,6 +965,8 @@ public boolean hasError() { * * * .google.rpc.Status error = 1; + * + * @return The error. */ public com.google.rpc.Status getError() { if (errorBuilder_ == null) { @@ -1100,11 +1123,11 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { java.util.Collections.emptyList(); private void ensureResultsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { results_ = new java.util.ArrayList( results_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } @@ -1356,7 +1379,7 @@ public Builder addAllResults( public Builder clearResults() { if (resultsBuilder_ == null) { results_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { resultsBuilder_.clear(); @@ -1503,7 +1526,7 @@ public com.google.cloud.speech.v1.StreamingRecognitionResult.Builder addResultsB com.google.cloud.speech.v1.StreamingRecognitionResult, com.google.cloud.speech.v1.StreamingRecognitionResult.Builder, com.google.cloud.speech.v1.StreamingRecognitionResultOrBuilder>( - results_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + results_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); results_ = null; } return resultsBuilder_; @@ -1520,6 +1543,8 @@ public com.google.cloud.speech.v1.StreamingRecognitionResult.Builder addResultsB * * .google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @return The enum numeric value on the wire for speechEventType. */ public int getSpeechEventTypeValue() { return speechEventType_; @@ -1534,6 +1559,9 @@ public int getSpeechEventTypeValue() { * * .google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @param value The enum numeric value on the wire for speechEventType to set. + * @return This builder for chaining. */ public Builder setSpeechEventTypeValue(int value) { speechEventType_ = value; @@ -1550,6 +1578,8 @@ public Builder setSpeechEventTypeValue(int value) { * * .google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @return The speechEventType. */ public com.google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType getSpeechEventType() { @@ -1571,6 +1601,9 @@ public Builder setSpeechEventTypeValue(int value) { * * .google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @param value The speechEventType to set. + * @return This builder for chaining. */ public Builder setSpeechEventType( com.google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType value) { @@ -1592,6 +1625,8 @@ public Builder setSpeechEventType( * * .google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @return This builder for chaining. */ public Builder clearSpeechEventType() { diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponseOrBuilder.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponseOrBuilder.java index 18cc04445..15d5ec9b9 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponseOrBuilder.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponseOrBuilder.java @@ -32,6 +32,8 @@ public interface StreamingRecognizeResponseOrBuilder * * * .google.rpc.Status error = 1; + * + * @return Whether the error field is set. */ boolean hasError(); /** @@ -43,6 +45,8 @@ public interface StreamingRecognizeResponseOrBuilder * * * .google.rpc.Status error = 1; + * + * @return The error. */ com.google.rpc.Status getError(); /** @@ -133,6 +137,8 @@ public interface StreamingRecognizeResponseOrBuilder * * .google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @return The enum numeric value on the wire for speechEventType. */ int getSpeechEventTypeValue(); /** @@ -144,6 +150,8 @@ public interface StreamingRecognizeResponseOrBuilder * * .google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @return The speechEventType. */ com.google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType getSpeechEventType(); } diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfo.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfo.java index 1d43aae80..1525e254e 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfo.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfo.java @@ -41,6 +41,12 @@ private WordInfo() { word_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WordInfo(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private WordInfo( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -156,6 +161,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * .google.protobuf.Duration start_time = 1; + * + * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTime_ != null; @@ -173,6 +180,8 @@ public boolean hasStartTime() { * * * .google.protobuf.Duration start_time = 1; + * + * @return The startTime. */ public com.google.protobuf.Duration getStartTime() { return startTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTime_; @@ -210,6 +219,8 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() { * * * .google.protobuf.Duration end_time = 2; + * + * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTime_ != null; @@ -227,6 +238,8 @@ public boolean hasEndTime() { * * * .google.protobuf.Duration end_time = 2; + * + * @return The endTime. */ public com.google.protobuf.Duration getEndTime() { return endTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTime_; @@ -259,6 +272,8 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() { * * * string word = 3; + * + * @return The word. */ public java.lang.String getWord() { java.lang.Object ref = word_; @@ -279,6 +294,8 @@ public java.lang.String getWord() { * * * string word = 3; + * + * @return The bytes for word. */ public com.google.protobuf.ByteString getWordBytes() { java.lang.Object ref = word_; @@ -306,6 +323,8 @@ public com.google.protobuf.ByteString getWordBytes() { * * * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The speakerTag. */ public int getSpeakerTag() { return speakerTag_; @@ -714,6 +733,8 @@ public Builder mergeFrom( * * * .google.protobuf.Duration start_time = 1; + * + * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; @@ -731,6 +752,8 @@ public boolean hasStartTime() { * * * .google.protobuf.Duration start_time = 1; + * + * @return The startTime. */ public com.google.protobuf.Duration getStartTime() { if (startTimeBuilder_ == null) { @@ -934,6 +957,8 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() { * * * .google.protobuf.Duration end_time = 2; + * + * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; @@ -951,6 +976,8 @@ public boolean hasEndTime() { * * * .google.protobuf.Duration end_time = 2; + * + * @return The endTime. */ public com.google.protobuf.Duration getEndTime() { if (endTimeBuilder_ == null) { @@ -1144,6 +1171,8 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() { * * * string word = 3; + * + * @return The word. */ public java.lang.String getWord() { java.lang.Object ref = word_; @@ -1164,6 +1193,8 @@ public java.lang.String getWord() { * * * string word = 3; + * + * @return The bytes for word. */ public com.google.protobuf.ByteString getWordBytes() { java.lang.Object ref = word_; @@ -1184,6 +1215,9 @@ public com.google.protobuf.ByteString getWordBytes() { * * * string word = 3; + * + * @param value The word to set. + * @return This builder for chaining. */ public Builder setWord(java.lang.String value) { if (value == null) { @@ -1202,6 +1236,8 @@ public Builder setWord(java.lang.String value) { * * * string word = 3; + * + * @return This builder for chaining. */ public Builder clearWord() { @@ -1217,6 +1253,9 @@ public Builder clearWord() { * * * string word = 3; + * + * @param value The bytes for word to set. + * @return This builder for chaining. */ public Builder setWordBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1242,6 +1281,8 @@ public Builder setWordBytes(com.google.protobuf.ByteString value) { * * * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The speakerTag. */ public int getSpeakerTag() { return speakerTag_; @@ -1258,6 +1299,9 @@ public int getSpeakerTag() { * * * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The speakerTag to set. + * @return This builder for chaining. */ public Builder setSpeakerTag(int value) { @@ -1277,6 +1321,8 @@ public Builder setSpeakerTag(int value) { * * * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. */ public Builder clearSpeakerTag() { diff --git a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfoOrBuilder.java b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfoOrBuilder.java index edaea25bd..c4419b865 100644 --- a/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfoOrBuilder.java +++ b/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfoOrBuilder.java @@ -36,6 +36,8 @@ public interface WordInfoOrBuilder * * * .google.protobuf.Duration start_time = 1; + * + * @return Whether the startTime field is set. */ boolean hasStartTime(); /** @@ -51,6 +53,8 @@ public interface WordInfoOrBuilder * * * .google.protobuf.Duration start_time = 1; + * + * @return The startTime. */ com.google.protobuf.Duration getStartTime(); /** @@ -82,6 +86,8 @@ public interface WordInfoOrBuilder * * * .google.protobuf.Duration end_time = 2; + * + * @return Whether the endTime field is set. */ boolean hasEndTime(); /** @@ -97,6 +103,8 @@ public interface WordInfoOrBuilder * * * .google.protobuf.Duration end_time = 2; + * + * @return The endTime. */ com.google.protobuf.Duration getEndTime(); /** @@ -123,6 +131,8 @@ public interface WordInfoOrBuilder * * * string word = 3; + * + * @return The word. */ java.lang.String getWord(); /** @@ -133,6 +143,8 @@ public interface WordInfoOrBuilder * * * string word = 3; + * + * @return The bytes for word. */ com.google.protobuf.ByteString getWordBytes(); @@ -148,6 +160,8 @@ public interface WordInfoOrBuilder * * * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The speakerTag. */ int getSpeakerTag(); } diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeMetadata.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeMetadata.java index c0ce7bdc1..122607e27 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeMetadata.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeMetadata.java @@ -41,6 +41,12 @@ private LongRunningRecognizeMetadata(com.google.protobuf.GeneratedMessageV3.Buil private LongRunningRecognizeMetadata() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LongRunningRecognizeMetadata(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private LongRunningRecognizeMetadata( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -145,6 +150,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * int32 progress_percent = 1; + * + * @return The progressPercent. */ public int getProgressPercent() { return progressPercent_; @@ -160,6 +167,8 @@ public int getProgressPercent() { * * * .google.protobuf.Timestamp start_time = 2; + * + * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTime_ != null; @@ -172,6 +181,8 @@ public boolean hasStartTime() { * * * .google.protobuf.Timestamp start_time = 2; + * + * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; @@ -199,6 +210,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * * .google.protobuf.Timestamp last_update_time = 3; + * + * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; @@ -211,6 +224,8 @@ public boolean hasLastUpdateTime() { * * * .google.protobuf.Timestamp last_update_time = 3; + * + * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { return lastUpdateTime_ == null @@ -619,6 +634,8 @@ public Builder mergeFrom( * * * int32 progress_percent = 1; + * + * @return The progressPercent. */ public int getProgressPercent() { return progressPercent_; @@ -632,6 +649,9 @@ public int getProgressPercent() { * * * int32 progress_percent = 1; + * + * @param value The progressPercent to set. + * @return This builder for chaining. */ public Builder setProgressPercent(int value) { @@ -648,6 +668,8 @@ public Builder setProgressPercent(int value) { * * * int32 progress_percent = 1; + * + * @return This builder for chaining. */ public Builder clearProgressPercent() { @@ -670,6 +692,8 @@ public Builder clearProgressPercent() { * * * .google.protobuf.Timestamp start_time = 2; + * + * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; @@ -682,6 +706,8 @@ public boolean hasStartTime() { * * * .google.protobuf.Timestamp start_time = 2; + * + * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { @@ -845,6 +871,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * * .google.protobuf.Timestamp last_update_time = 3; + * + * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; @@ -857,6 +885,8 @@ public boolean hasLastUpdateTime() { * * * .google.protobuf.Timestamp last_update_time = 3; + * + * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeMetadataOrBuilder.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeMetadataOrBuilder.java index 68e414b56..5bca6b598 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeMetadataOrBuilder.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeMetadataOrBuilder.java @@ -32,6 +32,8 @@ public interface LongRunningRecognizeMetadataOrBuilder * * * int32 progress_percent = 1; + * + * @return The progressPercent. */ int getProgressPercent(); @@ -43,6 +45,8 @@ public interface LongRunningRecognizeMetadataOrBuilder * * * .google.protobuf.Timestamp start_time = 2; + * + * @return Whether the startTime field is set. */ boolean hasStartTime(); /** @@ -53,6 +57,8 @@ public interface LongRunningRecognizeMetadataOrBuilder * * * .google.protobuf.Timestamp start_time = 2; + * + * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** @@ -74,6 +80,8 @@ public interface LongRunningRecognizeMetadataOrBuilder * * * .google.protobuf.Timestamp last_update_time = 3; + * + * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** @@ -84,6 +92,8 @@ public interface LongRunningRecognizeMetadataOrBuilder * * * .google.protobuf.Timestamp last_update_time = 3; + * + * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeRequest.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeRequest.java index 9b681a161..9e94816fe 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeRequest.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeRequest.java @@ -40,6 +40,12 @@ private LongRunningRecognizeRequest(com.google.protobuf.GeneratedMessageV3.Build private LongRunningRecognizeRequest() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LongRunningRecognizeRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -53,7 +59,6 @@ private LongRunningRecognizeRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -145,6 +150,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return config_ != null; @@ -160,6 +167,8 @@ public boolean hasConfig() { * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.speech.v1p1beta1.RecognitionConfig getConfig() { return config_ == null @@ -194,6 +203,8 @@ public com.google.cloud.speech.v1p1beta1.RecognitionConfigOrBuilder getConfigOrB * * .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the audio field is set. */ public boolean hasAudio() { return audio_ != null; @@ -208,6 +219,8 @@ public boolean hasAudio() { * * .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The audio. */ public com.google.cloud.speech.v1p1beta1.RecognitionAudio getAudio() { return audio_ == null @@ -609,6 +622,8 @@ public Builder mergeFrom( * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; @@ -624,6 +639,8 @@ public boolean hasConfig() { * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.speech.v1p1beta1.RecognitionConfig getConfig() { if (configBuilder_ == null) { @@ -817,6 +834,8 @@ public com.google.cloud.speech.v1p1beta1.RecognitionConfigOrBuilder getConfigOrB * * .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the audio field is set. */ public boolean hasAudio() { return audioBuilder_ != null || audio_ != null; @@ -831,6 +850,8 @@ public boolean hasAudio() { * * .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The audio. */ public com.google.cloud.speech.v1p1beta1.RecognitionAudio getAudio() { if (audioBuilder_ == null) { diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeRequestOrBuilder.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeRequestOrBuilder.java index 0038da09f..c4b3294c6 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeRequestOrBuilder.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface LongRunningRecognizeRequestOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ boolean hasConfig(); /** @@ -47,6 +49,8 @@ public interface LongRunningRecognizeRequestOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ com.google.cloud.speech.v1p1beta1.RecognitionConfig getConfig(); /** @@ -73,6 +77,8 @@ public interface LongRunningRecognizeRequestOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the audio field is set. */ boolean hasAudio(); /** @@ -85,6 +91,8 @@ public interface LongRunningRecognizeRequestOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The audio. */ com.google.cloud.speech.v1p1beta1.RecognitionAudio getAudio(); /** diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeResponse.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeResponse.java index 4d64aab3f..a595f1bd4 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeResponse.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeResponse.java @@ -45,6 +45,12 @@ private LongRunningRecognizeResponse() { results_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LongRunningRecognizeResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionAudio.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionAudio.java index da7da597a..f9c982a9a 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionAudio.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionAudio.java @@ -42,6 +42,12 @@ private RecognitionAudio(com.google.protobuf.GeneratedMessageV3.Builder build private RecognitionAudio() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RecognitionAudio(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private RecognitionAudio( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -116,7 +121,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int audioSourceCase_ = 0; private java.lang.Object audioSource_; - public enum AudioSourceCase implements com.google.protobuf.Internal.EnumLite { + public enum AudioSourceCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { CONTENT(1), URI(2), AUDIOSOURCE_NOT_SET(0); @@ -125,7 +133,11 @@ public enum AudioSourceCase implements com.google.protobuf.Internal.EnumLite { private AudioSourceCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static AudioSourceCase valueOf(int value) { return forNumber(value); @@ -164,6 +176,8 @@ public AudioSourceCase getAudioSourceCase() { * * * bytes content = 1; + * + * @return The content. */ public com.google.protobuf.ByteString getContent() { if (audioSourceCase_ == 1) { @@ -187,6 +201,8 @@ public com.google.protobuf.ByteString getContent() { * * * string uri = 2; + * + * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = ""; @@ -218,6 +234,8 @@ public java.lang.String getUri() { * * * string uri = 2; + * + * @return The bytes for uri. */ public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = ""; @@ -629,6 +647,8 @@ public Builder clearAudioSource() { * * * bytes content = 1; + * + * @return The content. */ public com.google.protobuf.ByteString getContent() { if (audioSourceCase_ == 1) { @@ -646,6 +666,9 @@ public com.google.protobuf.ByteString getContent() { * * * bytes content = 1; + * + * @param value The content to set. + * @return This builder for chaining. */ public Builder setContent(com.google.protobuf.ByteString value) { if (value == null) { @@ -666,6 +689,8 @@ public Builder setContent(com.google.protobuf.ByteString value) { * * * bytes content = 1; + * + * @return This builder for chaining. */ public Builder clearContent() { if (audioSourceCase_ == 1) { @@ -690,6 +715,8 @@ public Builder clearContent() { * * * string uri = 2; + * + * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = ""; @@ -721,6 +748,8 @@ public java.lang.String getUri() { * * * string uri = 2; + * + * @return The bytes for uri. */ public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = ""; @@ -752,6 +781,9 @@ public com.google.protobuf.ByteString getUriBytes() { * * * string uri = 2; + * + * @param value The uri to set. + * @return This builder for chaining. */ public Builder setUri(java.lang.String value) { if (value == null) { @@ -776,6 +808,8 @@ public Builder setUri(java.lang.String value) { * * * string uri = 2; + * + * @return This builder for chaining. */ public Builder clearUri() { if (audioSourceCase_ == 2) { @@ -799,6 +833,9 @@ public Builder clearUri() { * * * string uri = 2; + * + * @param value The bytes for uri to set. + * @return This builder for chaining. */ public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionAudioOrBuilder.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionAudioOrBuilder.java index 045df4714..bf915752c 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionAudioOrBuilder.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionAudioOrBuilder.java @@ -33,6 +33,8 @@ public interface RecognitionAudioOrBuilder * * * bytes content = 1; + * + * @return The content. */ com.google.protobuf.ByteString getContent(); @@ -50,6 +52,8 @@ public interface RecognitionAudioOrBuilder * * * string uri = 2; + * + * @return The uri. */ java.lang.String getUri(); /** @@ -66,6 +70,8 @@ public interface RecognitionAudioOrBuilder * * * string uri = 2; + * + * @return The bytes for uri. */ com.google.protobuf.ByteString getUriBytes(); diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfig.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfig.java index 69e5e8c55..1087f6abd 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfig.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfig.java @@ -46,6 +46,12 @@ private RecognitionConfig() { model_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RecognitionConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -101,10 +107,10 @@ private RecognitionConfig( } case 50: { - if (!((mutable_bitField0_ & 0x00000100) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { speechContexts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000100; + mutable_bitField0_ |= 0x00000002; } speechContexts_.add( input.readMessage( @@ -178,9 +184,9 @@ private RecognitionConfig( case 146: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { alternativeLanguageCodes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000001; } alternativeLanguageCodes_.add(s); break; @@ -216,10 +222,10 @@ private RecognitionConfig( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000100) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); } - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { alternativeLanguageCodes_ = alternativeLanguageCodes_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -504,12 +510,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static AudioEncoding valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static AudioEncoding forNumber(int value) { switch (value) { case 0: @@ -581,7 +595,6 @@ private AudioEncoding(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding) } - private int bitField0_; public static final int ENCODING_FIELD_NUMBER = 1; private int encoding_; /** @@ -594,6 +607,8 @@ private AudioEncoding(int value) { * * * .google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @return The enum numeric value on the wire for encoding. */ public int getEncodingValue() { return encoding_; @@ -608,6 +623,8 @@ public int getEncodingValue() { * * * .google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @return The encoding. */ public com.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding getEncoding() { @SuppressWarnings("deprecation") @@ -634,6 +651,8 @@ public com.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding getEnco * * * int32 sample_rate_hertz = 2; + * + * @return The sampleRateHertz. */ public int getSampleRateHertz() { return sampleRateHertz_; @@ -657,6 +676,8 @@ public int getSampleRateHertz() { * * * int32 audio_channel_count = 7; + * + * @return The audioChannelCount. */ public int getAudioChannelCount() { return audioChannelCount_; @@ -677,6 +698,8 @@ public int getAudioChannelCount() { * * * bool enable_separate_recognition_per_channel = 12; + * + * @return The enableSeparateRecognitionPerChannel. */ public boolean getEnableSeparateRecognitionPerChannel() { return enableSeparateRecognitionPerChannel_; @@ -697,6 +720,8 @@ public boolean getEnableSeparateRecognitionPerChannel() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -722,6 +747,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -756,6 +783,8 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * repeated string alternative_language_codes = 18; + * + * @return A list containing the alternativeLanguageCodes. */ public com.google.protobuf.ProtocolStringList getAlternativeLanguageCodesList() { return alternativeLanguageCodes_; @@ -779,6 +808,8 @@ public com.google.protobuf.ProtocolStringList getAlternativeLanguageCodesList() * * * repeated string alternative_language_codes = 18; + * + * @return The count of alternativeLanguageCodes. */ public int getAlternativeLanguageCodesCount() { return alternativeLanguageCodes_.size(); @@ -802,6 +833,9 @@ public int getAlternativeLanguageCodesCount() { * * * repeated string alternative_language_codes = 18; + * + * @param index The index of the element to return. + * @return The alternativeLanguageCodes at the given index. */ public java.lang.String getAlternativeLanguageCodes(int index) { return alternativeLanguageCodes_.get(index); @@ -825,6 +859,9 @@ public java.lang.String getAlternativeLanguageCodes(int index) { * * * repeated string alternative_language_codes = 18; + * + * @param index The index of the value to return. + * @return The bytes of the alternativeLanguageCodes at the given index. */ public com.google.protobuf.ByteString getAlternativeLanguageCodesBytes(int index) { return alternativeLanguageCodes_.getByteString(index); @@ -845,6 +882,8 @@ public com.google.protobuf.ByteString getAlternativeLanguageCodesBytes(int index * * * int32 max_alternatives = 4; + * + * @return The maxAlternatives. */ public int getMaxAlternatives() { return maxAlternatives_; @@ -863,6 +902,8 @@ public int getMaxAlternatives() { * * * bool profanity_filter = 5; + * + * @return The profanityFilter. */ public boolean getProfanityFilter() { return profanityFilter_; @@ -966,6 +1007,8 @@ public com.google.cloud.speech.v1p1beta1.SpeechContextOrBuilder getSpeechContext * * * bool enable_word_time_offsets = 8; + * + * @return The enableWordTimeOffsets. */ public boolean getEnableWordTimeOffsets() { return enableWordTimeOffsets_; @@ -983,6 +1026,8 @@ public boolean getEnableWordTimeOffsets() { * * * bool enable_word_confidence = 15; + * + * @return The enableWordConfidence. */ public boolean getEnableWordConfidence() { return enableWordConfidence_; @@ -1004,6 +1049,8 @@ public boolean getEnableWordConfidence() { * * * bool enable_automatic_punctuation = 11; + * + * @return The enableAutomaticPunctuation. */ public boolean getEnableAutomaticPunctuation() { return enableAutomaticPunctuation_; @@ -1022,6 +1069,8 @@ public boolean getEnableAutomaticPunctuation() { * * * bool enable_speaker_diarization = 16 [deprecated = true]; + * + * @return The enableSpeakerDiarization. */ @java.lang.Deprecated public boolean getEnableSpeakerDiarization() { @@ -1040,6 +1089,8 @@ public boolean getEnableSpeakerDiarization() { * * * int32 diarization_speaker_count = 17 [deprecated = true]; + * + * @return The diarizationSpeakerCount. */ @java.lang.Deprecated public int getDiarizationSpeakerCount() { @@ -1063,6 +1114,8 @@ public int getDiarizationSpeakerCount() { * * * .google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig diarization_config = 19; + * + * @return Whether the diarizationConfig field is set. */ public boolean hasDiarizationConfig() { return diarizationConfig_ != null; @@ -1082,6 +1135,8 @@ public boolean hasDiarizationConfig() { * * * .google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig diarization_config = 19; + * + * @return The diarizationConfig. */ public com.google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig getDiarizationConfig() { return diarizationConfig_ == null @@ -1119,6 +1174,8 @@ public com.google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig getDiarization * * * .google.cloud.speech.v1p1beta1.RecognitionMetadata metadata = 9; + * + * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadata_ != null; @@ -1131,6 +1188,8 @@ public boolean hasMetadata() { * * * .google.cloud.speech.v1p1beta1.RecognitionMetadata metadata = 9; + * + * @return The metadata. */ public com.google.cloud.speech.v1p1beta1.RecognitionMetadata getMetadata() { return metadata_ == null @@ -1191,6 +1250,8 @@ public com.google.cloud.speech.v1p1beta1.RecognitionMetadataOrBuilder getMetadat * * * string model = 13; + * + * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; @@ -1242,6 +1303,8 @@ public java.lang.String getModel() { * * * string model = 13; + * + * @return The bytes for model. */ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; @@ -1271,6 +1334,8 @@ public com.google.protobuf.ByteString getModelBytes() { * * * bool use_enhanced = 14; + * + * @return The useEnhanced. */ public boolean getUseEnhanced() { return useEnhanced_; @@ -1678,14 +1743,14 @@ public Builder clear() { languageCode_ = ""; alternativeLanguageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000001); maxAlternatives_ = 0; profanityFilter_ = false; if (speechContextsBuilder_ == null) { speechContexts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000002); } else { speechContextsBuilder_.clear(); } @@ -1743,23 +1808,22 @@ public com.google.cloud.speech.v1p1beta1.RecognitionConfig buildPartial() { com.google.cloud.speech.v1p1beta1.RecognitionConfig result = new com.google.cloud.speech.v1p1beta1.RecognitionConfig(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.encoding_ = encoding_; result.sampleRateHertz_ = sampleRateHertz_; result.audioChannelCount_ = audioChannelCount_; result.enableSeparateRecognitionPerChannel_ = enableSeparateRecognitionPerChannel_; result.languageCode_ = languageCode_; - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { alternativeLanguageCodes_ = alternativeLanguageCodes_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000001); } result.alternativeLanguageCodes_ = alternativeLanguageCodes_; result.maxAlternatives_ = maxAlternatives_; result.profanityFilter_ = profanityFilter_; if (speechContextsBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000002); } result.speechContexts_ = speechContexts_; } else { @@ -1782,7 +1846,6 @@ public com.google.cloud.speech.v1p1beta1.RecognitionConfig buildPartial() { } result.model_ = model_; result.useEnhanced_ = useEnhanced_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1852,7 +1915,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1p1beta1.RecognitionConfig oth if (!other.alternativeLanguageCodes_.isEmpty()) { if (alternativeLanguageCodes_.isEmpty()) { alternativeLanguageCodes_ = other.alternativeLanguageCodes_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAlternativeLanguageCodesIsMutable(); alternativeLanguageCodes_.addAll(other.alternativeLanguageCodes_); @@ -1869,7 +1932,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1p1beta1.RecognitionConfig oth if (!other.speechContexts_.isEmpty()) { if (speechContexts_.isEmpty()) { speechContexts_ = other.speechContexts_; - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSpeechContextsIsMutable(); speechContexts_.addAll(other.speechContexts_); @@ -1882,7 +1945,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1p1beta1.RecognitionConfig oth speechContextsBuilder_.dispose(); speechContextsBuilder_ = null; speechContexts_ = other.speechContexts_; - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000002); speechContextsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSpeechContextsFieldBuilder() @@ -1963,6 +2026,8 @@ public Builder mergeFrom( * * * .google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @return The enum numeric value on the wire for encoding. */ public int getEncodingValue() { return encoding_; @@ -1977,6 +2042,9 @@ public int getEncodingValue() { * * * .google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @param value The enum numeric value on the wire for encoding to set. + * @return This builder for chaining. */ public Builder setEncodingValue(int value) { encoding_ = value; @@ -1993,6 +2061,8 @@ public Builder setEncodingValue(int value) { * * * .google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @return The encoding. */ public com.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding getEncoding() { @SuppressWarnings("deprecation") @@ -2012,6 +2082,9 @@ public com.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding getEnco * * * .google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @param value The encoding to set. + * @return This builder for chaining. */ public Builder setEncoding( com.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding value) { @@ -2033,6 +2106,8 @@ public Builder setEncoding( * * * .google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @return This builder for chaining. */ public Builder clearEncoding() { @@ -2056,6 +2131,8 @@ public Builder clearEncoding() { * * * int32 sample_rate_hertz = 2; + * + * @return The sampleRateHertz. */ public int getSampleRateHertz() { return sampleRateHertz_; @@ -2074,6 +2151,9 @@ public int getSampleRateHertz() { * * * int32 sample_rate_hertz = 2; + * + * @param value The sampleRateHertz to set. + * @return This builder for chaining. */ public Builder setSampleRateHertz(int value) { @@ -2095,6 +2175,8 @@ public Builder setSampleRateHertz(int value) { * * * int32 sample_rate_hertz = 2; + * + * @return This builder for chaining. */ public Builder clearSampleRateHertz() { @@ -2120,6 +2202,8 @@ public Builder clearSampleRateHertz() { * * * int32 audio_channel_count = 7; + * + * @return The audioChannelCount. */ public int getAudioChannelCount() { return audioChannelCount_; @@ -2140,6 +2224,9 @@ public int getAudioChannelCount() { * * * int32 audio_channel_count = 7; + * + * @param value The audioChannelCount to set. + * @return This builder for chaining. */ public Builder setAudioChannelCount(int value) { @@ -2163,6 +2250,8 @@ public Builder setAudioChannelCount(int value) { * * * int32 audio_channel_count = 7; + * + * @return This builder for chaining. */ public Builder clearAudioChannelCount() { @@ -2185,6 +2274,8 @@ public Builder clearAudioChannelCount() { * * * bool enable_separate_recognition_per_channel = 12; + * + * @return The enableSeparateRecognitionPerChannel. */ public boolean getEnableSeparateRecognitionPerChannel() { return enableSeparateRecognitionPerChannel_; @@ -2202,6 +2293,9 @@ public boolean getEnableSeparateRecognitionPerChannel() { * * * bool enable_separate_recognition_per_channel = 12; + * + * @param value The enableSeparateRecognitionPerChannel to set. + * @return This builder for chaining. */ public Builder setEnableSeparateRecognitionPerChannel(boolean value) { @@ -2222,6 +2316,8 @@ public Builder setEnableSeparateRecognitionPerChannel(boolean value) { * * * bool enable_separate_recognition_per_channel = 12; + * + * @return This builder for chaining. */ public Builder clearEnableSeparateRecognitionPerChannel() { @@ -2244,6 +2340,8 @@ public Builder clearEnableSeparateRecognitionPerChannel() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -2269,6 +2367,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -2294,6 +2394,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -2317,6 +2420,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -2337,6 +2442,9 @@ public Builder clearLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2353,10 +2461,10 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAlternativeLanguageCodesIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { alternativeLanguageCodes_ = new com.google.protobuf.LazyStringArrayList(alternativeLanguageCodes_); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000001; } } /** @@ -2378,6 +2486,8 @@ private void ensureAlternativeLanguageCodesIsMutable() { * * * repeated string alternative_language_codes = 18; + * + * @return A list containing the alternativeLanguageCodes. */ public com.google.protobuf.ProtocolStringList getAlternativeLanguageCodesList() { return alternativeLanguageCodes_.getUnmodifiableView(); @@ -2401,6 +2511,8 @@ public com.google.protobuf.ProtocolStringList getAlternativeLanguageCodesList() * * * repeated string alternative_language_codes = 18; + * + * @return The count of alternativeLanguageCodes. */ public int getAlternativeLanguageCodesCount() { return alternativeLanguageCodes_.size(); @@ -2424,6 +2536,9 @@ public int getAlternativeLanguageCodesCount() { * * * repeated string alternative_language_codes = 18; + * + * @param index The index of the element to return. + * @return The alternativeLanguageCodes at the given index. */ public java.lang.String getAlternativeLanguageCodes(int index) { return alternativeLanguageCodes_.get(index); @@ -2447,6 +2562,9 @@ public java.lang.String getAlternativeLanguageCodes(int index) { * * * repeated string alternative_language_codes = 18; + * + * @param index The index of the value to return. + * @return The bytes of the alternativeLanguageCodes at the given index. */ public com.google.protobuf.ByteString getAlternativeLanguageCodesBytes(int index) { return alternativeLanguageCodes_.getByteString(index); @@ -2470,6 +2588,10 @@ public com.google.protobuf.ByteString getAlternativeLanguageCodesBytes(int index * * * repeated string alternative_language_codes = 18; + * + * @param index The index to set the value at. + * @param value The alternativeLanguageCodes to set. + * @return This builder for chaining. */ public Builder setAlternativeLanguageCodes(int index, java.lang.String value) { if (value == null) { @@ -2499,6 +2621,9 @@ public Builder setAlternativeLanguageCodes(int index, java.lang.String value) { * * * repeated string alternative_language_codes = 18; + * + * @param value The alternativeLanguageCodes to add. + * @return This builder for chaining. */ public Builder addAlternativeLanguageCodes(java.lang.String value) { if (value == null) { @@ -2528,6 +2653,9 @@ public Builder addAlternativeLanguageCodes(java.lang.String value) { * * * repeated string alternative_language_codes = 18; + * + * @param values The alternativeLanguageCodes to add. + * @return This builder for chaining. */ public Builder addAllAlternativeLanguageCodes(java.lang.Iterable values) { ensureAlternativeLanguageCodesIsMutable(); @@ -2554,10 +2682,12 @@ public Builder addAllAlternativeLanguageCodes(java.lang.Iterable * * repeated string alternative_language_codes = 18; + * + * @return This builder for chaining. */ public Builder clearAlternativeLanguageCodes() { alternativeLanguageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -2580,6 +2710,9 @@ public Builder clearAlternativeLanguageCodes() { * * * repeated string alternative_language_codes = 18; + * + * @param value The bytes of the alternativeLanguageCodes to add. + * @return This builder for chaining. */ public Builder addAlternativeLanguageCodesBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2606,6 +2739,8 @@ public Builder addAlternativeLanguageCodesBytes(com.google.protobuf.ByteString v * * * int32 max_alternatives = 4; + * + * @return The maxAlternatives. */ public int getMaxAlternatives() { return maxAlternatives_; @@ -2623,6 +2758,9 @@ public int getMaxAlternatives() { * * * int32 max_alternatives = 4; + * + * @param value The maxAlternatives to set. + * @return This builder for chaining. */ public Builder setMaxAlternatives(int value) { @@ -2643,6 +2781,8 @@ public Builder setMaxAlternatives(int value) { * * * int32 max_alternatives = 4; + * + * @return This builder for chaining. */ public Builder clearMaxAlternatives() { @@ -2663,6 +2803,8 @@ public Builder clearMaxAlternatives() { * * * bool profanity_filter = 5; + * + * @return The profanityFilter. */ public boolean getProfanityFilter() { return profanityFilter_; @@ -2678,6 +2820,9 @@ public boolean getProfanityFilter() { * * * bool profanity_filter = 5; + * + * @param value The profanityFilter to set. + * @return This builder for chaining. */ public Builder setProfanityFilter(boolean value) { @@ -2696,6 +2841,8 @@ public Builder setProfanityFilter(boolean value) { * * * bool profanity_filter = 5; + * + * @return This builder for chaining. */ public Builder clearProfanityFilter() { @@ -2708,11 +2855,11 @@ public Builder clearProfanityFilter() { java.util.Collections.emptyList(); private void ensureSpeechContextsIsMutable() { - if (!((bitField0_ & 0x00000100) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { speechContexts_ = new java.util.ArrayList( speechContexts_); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000002; } } @@ -2974,7 +3121,7 @@ public Builder addAllSpeechContexts( public Builder clearSpeechContexts() { if (speechContextsBuilder_ == null) { speechContexts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { speechContextsBuilder_.clear(); @@ -3128,7 +3275,7 @@ public com.google.cloud.speech.v1p1beta1.SpeechContext.Builder addSpeechContexts com.google.cloud.speech.v1p1beta1.SpeechContext.Builder, com.google.cloud.speech.v1p1beta1.SpeechContextOrBuilder>( speechContexts_, - ((bitField0_ & 0x00000100) != 0), + ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); speechContexts_ = null; @@ -3148,6 +3295,8 @@ public com.google.cloud.speech.v1p1beta1.SpeechContext.Builder addSpeechContexts * * * bool enable_word_time_offsets = 8; + * + * @return The enableWordTimeOffsets. */ public boolean getEnableWordTimeOffsets() { return enableWordTimeOffsets_; @@ -3163,6 +3312,9 @@ public boolean getEnableWordTimeOffsets() { * * * bool enable_word_time_offsets = 8; + * + * @param value The enableWordTimeOffsets to set. + * @return This builder for chaining. */ public Builder setEnableWordTimeOffsets(boolean value) { @@ -3181,6 +3333,8 @@ public Builder setEnableWordTimeOffsets(boolean value) { * * * bool enable_word_time_offsets = 8; + * + * @return This builder for chaining. */ public Builder clearEnableWordTimeOffsets() { @@ -3200,6 +3354,8 @@ public Builder clearEnableWordTimeOffsets() { * * * bool enable_word_confidence = 15; + * + * @return The enableWordConfidence. */ public boolean getEnableWordConfidence() { return enableWordConfidence_; @@ -3214,6 +3370,9 @@ public boolean getEnableWordConfidence() { * * * bool enable_word_confidence = 15; + * + * @param value The enableWordConfidence to set. + * @return This builder for chaining. */ public Builder setEnableWordConfidence(boolean value) { @@ -3231,6 +3390,8 @@ public Builder setEnableWordConfidence(boolean value) { * * * bool enable_word_confidence = 15; + * + * @return This builder for chaining. */ public Builder clearEnableWordConfidence() { @@ -3254,6 +3415,8 @@ public Builder clearEnableWordConfidence() { * * * bool enable_automatic_punctuation = 11; + * + * @return The enableAutomaticPunctuation. */ public boolean getEnableAutomaticPunctuation() { return enableAutomaticPunctuation_; @@ -3272,6 +3435,9 @@ public boolean getEnableAutomaticPunctuation() { * * * bool enable_automatic_punctuation = 11; + * + * @param value The enableAutomaticPunctuation to set. + * @return This builder for chaining. */ public Builder setEnableAutomaticPunctuation(boolean value) { @@ -3293,6 +3459,8 @@ public Builder setEnableAutomaticPunctuation(boolean value) { * * * bool enable_automatic_punctuation = 11; + * + * @return This builder for chaining. */ public Builder clearEnableAutomaticPunctuation() { @@ -3313,6 +3481,8 @@ public Builder clearEnableAutomaticPunctuation() { * * * bool enable_speaker_diarization = 16 [deprecated = true]; + * + * @return The enableSpeakerDiarization. */ @java.lang.Deprecated public boolean getEnableSpeakerDiarization() { @@ -3329,6 +3499,9 @@ public boolean getEnableSpeakerDiarization() { * * * bool enable_speaker_diarization = 16 [deprecated = true]; + * + * @param value The enableSpeakerDiarization to set. + * @return This builder for chaining. */ @java.lang.Deprecated public Builder setEnableSpeakerDiarization(boolean value) { @@ -3348,6 +3521,8 @@ public Builder setEnableSpeakerDiarization(boolean value) { * * * bool enable_speaker_diarization = 16 [deprecated = true]; + * + * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearEnableSpeakerDiarization() { @@ -3368,6 +3543,8 @@ public Builder clearEnableSpeakerDiarization() { * * * int32 diarization_speaker_count = 17 [deprecated = true]; + * + * @return The diarizationSpeakerCount. */ @java.lang.Deprecated public int getDiarizationSpeakerCount() { @@ -3383,6 +3560,9 @@ public int getDiarizationSpeakerCount() { * * * int32 diarization_speaker_count = 17 [deprecated = true]; + * + * @param value The diarizationSpeakerCount to set. + * @return This builder for chaining. */ @java.lang.Deprecated public Builder setDiarizationSpeakerCount(int value) { @@ -3401,6 +3581,8 @@ public Builder setDiarizationSpeakerCount(int value) { * * * int32 diarization_speaker_count = 17 [deprecated = true]; + * + * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearDiarizationSpeakerCount() { @@ -3431,6 +3613,8 @@ public Builder clearDiarizationSpeakerCount() { * * * .google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig diarization_config = 19; + * + * @return Whether the diarizationConfig field is set. */ public boolean hasDiarizationConfig() { return diarizationConfigBuilder_ != null || diarizationConfig_ != null; @@ -3450,6 +3634,8 @@ public boolean hasDiarizationConfig() { * * * .google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig diarization_config = 19; + * + * @return The diarizationConfig. */ public com.google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig getDiarizationConfig() { if (diarizationConfigBuilder_ == null) { @@ -3674,6 +3860,8 @@ public Builder clearDiarizationConfig() { * * * .google.cloud.speech.v1p1beta1.RecognitionMetadata metadata = 9; + * + * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; @@ -3686,6 +3874,8 @@ public boolean hasMetadata() { * * * .google.cloud.speech.v1p1beta1.RecognitionMetadata metadata = 9; + * + * @return The metadata. */ public com.google.cloud.speech.v1p1beta1.RecognitionMetadata getMetadata() { if (metadataBuilder_ == null) { @@ -3882,6 +4072,8 @@ public com.google.cloud.speech.v1p1beta1.RecognitionMetadataOrBuilder getMetadat * * * string model = 13; + * + * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; @@ -3933,6 +4125,8 @@ public java.lang.String getModel() { * * * string model = 13; + * + * @return The bytes for model. */ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; @@ -3984,6 +4178,9 @@ public com.google.protobuf.ByteString getModelBytes() { * * * string model = 13; + * + * @param value The model to set. + * @return This builder for chaining. */ public Builder setModel(java.lang.String value) { if (value == null) { @@ -4033,6 +4230,8 @@ public Builder setModel(java.lang.String value) { * * * string model = 13; + * + * @return This builder for chaining. */ public Builder clearModel() { @@ -4079,6 +4278,9 @@ public Builder clearModel() { * * * string model = 13; + * + * @param value The bytes for model to set. + * @return This builder for chaining. */ public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -4106,6 +4308,8 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) { * * * bool use_enhanced = 14; + * + * @return The useEnhanced. */ public boolean getUseEnhanced() { return useEnhanced_; @@ -4124,6 +4328,9 @@ public boolean getUseEnhanced() { * * * bool use_enhanced = 14; + * + * @param value The useEnhanced to set. + * @return This builder for chaining. */ public Builder setUseEnhanced(boolean value) { @@ -4145,6 +4352,8 @@ public Builder setUseEnhanced(boolean value) { * * * bool use_enhanced = 14; + * + * @return This builder for chaining. */ public Builder clearUseEnhanced() { diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfigOrBuilder.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfigOrBuilder.java index 4a8d762e3..085f96302 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfigOrBuilder.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfigOrBuilder.java @@ -33,6 +33,8 @@ public interface RecognitionConfigOrBuilder * * * .google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @return The enum numeric value on the wire for encoding. */ int getEncodingValue(); /** @@ -45,6 +47,8 @@ public interface RecognitionConfigOrBuilder * * * .google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1; + * + * @return The encoding. */ com.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding getEncoding(); @@ -62,6 +66,8 @@ public interface RecognitionConfigOrBuilder * * * int32 sample_rate_hertz = 2; + * + * @return The sampleRateHertz. */ int getSampleRateHertz(); @@ -81,6 +87,8 @@ public interface RecognitionConfigOrBuilder * * * int32 audio_channel_count = 7; + * + * @return The audioChannelCount. */ int getAudioChannelCount(); @@ -97,6 +105,8 @@ public interface RecognitionConfigOrBuilder * * * bool enable_separate_recognition_per_channel = 12; + * + * @return The enableSeparateRecognitionPerChannel. */ boolean getEnableSeparateRecognitionPerChannel(); @@ -113,6 +123,8 @@ public interface RecognitionConfigOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -128,6 +140,8 @@ public interface RecognitionConfigOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); @@ -150,6 +164,8 @@ public interface RecognitionConfigOrBuilder * * * repeated string alternative_language_codes = 18; + * + * @return A list containing the alternativeLanguageCodes. */ java.util.List getAlternativeLanguageCodesList(); /** @@ -171,6 +187,8 @@ public interface RecognitionConfigOrBuilder * * * repeated string alternative_language_codes = 18; + * + * @return The count of alternativeLanguageCodes. */ int getAlternativeLanguageCodesCount(); /** @@ -192,6 +210,9 @@ public interface RecognitionConfigOrBuilder * * * repeated string alternative_language_codes = 18; + * + * @param index The index of the element to return. + * @return The alternativeLanguageCodes at the given index. */ java.lang.String getAlternativeLanguageCodes(int index); /** @@ -213,6 +234,9 @@ public interface RecognitionConfigOrBuilder * * * repeated string alternative_language_codes = 18; + * + * @param index The index of the value to return. + * @return The bytes of the alternativeLanguageCodes at the given index. */ com.google.protobuf.ByteString getAlternativeLanguageCodesBytes(int index); @@ -229,6 +253,8 @@ public interface RecognitionConfigOrBuilder * * * int32 max_alternatives = 4; + * + * @return The maxAlternatives. */ int getMaxAlternatives(); @@ -243,6 +269,8 @@ public interface RecognitionConfigOrBuilder * * * bool profanity_filter = 5; + * + * @return The profanityFilter. */ boolean getProfanityFilter(); @@ -329,6 +357,8 @@ public interface RecognitionConfigOrBuilder * * * bool enable_word_time_offsets = 8; + * + * @return The enableWordTimeOffsets. */ boolean getEnableWordTimeOffsets(); @@ -342,6 +372,8 @@ public interface RecognitionConfigOrBuilder * * * bool enable_word_confidence = 15; + * + * @return The enableWordConfidence. */ boolean getEnableWordConfidence(); @@ -359,6 +391,8 @@ public interface RecognitionConfigOrBuilder * * * bool enable_automatic_punctuation = 11; + * + * @return The enableAutomaticPunctuation. */ boolean getEnableAutomaticPunctuation(); @@ -373,6 +407,8 @@ public interface RecognitionConfigOrBuilder * * * bool enable_speaker_diarization = 16 [deprecated = true]; + * + * @return The enableSpeakerDiarization. */ @java.lang.Deprecated boolean getEnableSpeakerDiarization(); @@ -387,6 +423,8 @@ public interface RecognitionConfigOrBuilder * * * int32 diarization_speaker_count = 17 [deprecated = true]; + * + * @return The diarizationSpeakerCount. */ @java.lang.Deprecated int getDiarizationSpeakerCount(); @@ -406,6 +444,8 @@ public interface RecognitionConfigOrBuilder * * * .google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig diarization_config = 19; + * + * @return Whether the diarizationConfig field is set. */ boolean hasDiarizationConfig(); /** @@ -423,6 +463,8 @@ public interface RecognitionConfigOrBuilder * * * .google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig diarization_config = 19; + * + * @return The diarizationConfig. */ com.google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig getDiarizationConfig(); /** @@ -452,6 +494,8 @@ public interface RecognitionConfigOrBuilder * * * .google.cloud.speech.v1p1beta1.RecognitionMetadata metadata = 9; + * + * @return Whether the metadata field is set. */ boolean hasMetadata(); /** @@ -462,6 +506,8 @@ public interface RecognitionConfigOrBuilder * * * .google.cloud.speech.v1p1beta1.RecognitionMetadata metadata = 9; + * + * @return The metadata. */ com.google.cloud.speech.v1p1beta1.RecognitionMetadata getMetadata(); /** @@ -514,6 +560,8 @@ public interface RecognitionConfigOrBuilder * * * string model = 13; + * + * @return The model. */ java.lang.String getModel(); /** @@ -555,6 +603,8 @@ public interface RecognitionConfigOrBuilder * * * string model = 13; + * + * @return The bytes for model. */ com.google.protobuf.ByteString getModelBytes(); @@ -572,6 +622,8 @@ public interface RecognitionConfigOrBuilder * * * bool use_enhanced = 14; + * + * @return The useEnhanced. */ boolean getUseEnhanced(); } diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadata.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadata.java index 92696d0b4..ae502fc34 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadata.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadata.java @@ -47,6 +47,12 @@ private RecognitionMetadata() { audioTopic_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RecognitionMetadata(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -60,7 +66,6 @@ private RecognitionMetadata( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -381,12 +386,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static InteractionType valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static InteractionType forNumber(int value) { switch (value) { case 0: @@ -566,12 +579,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static MicrophoneDistance valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static MicrophoneDistance forNumber(int value) { switch (value) { case 0: @@ -718,12 +739,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static OriginalMediaType valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static OriginalMediaType forNumber(int value) { switch (value) { case 0: @@ -948,12 +977,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static RecordingDeviceType valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static RecordingDeviceType forNumber(int value) { switch (value) { case 0: @@ -1035,6 +1072,8 @@ private RecordingDeviceType(int value) { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType interaction_type = 1; * + * + * @return The enum numeric value on the wire for interactionType. */ public int getInteractionTypeValue() { return interactionType_; @@ -1048,6 +1087,8 @@ public int getInteractionTypeValue() { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType interaction_type = 1; * + * + * @return The interactionType. */ public com.google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType getInteractionType() { @@ -1073,6 +1114,8 @@ public int getInteractionTypeValue() { * * * uint32 industry_naics_code_of_audio = 3; + * + * @return The industryNaicsCodeOfAudio. */ public int getIndustryNaicsCodeOfAudio() { return industryNaicsCodeOfAudio_; @@ -1090,6 +1133,8 @@ public int getIndustryNaicsCodeOfAudio() { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @return The enum numeric value on the wire for microphoneDistance. */ public int getMicrophoneDistanceValue() { return microphoneDistance_; @@ -1104,6 +1149,8 @@ public int getMicrophoneDistanceValue() { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @return The microphoneDistance. */ public com.google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance getMicrophoneDistance() { @@ -1128,6 +1175,8 @@ public int getMicrophoneDistanceValue() { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @return The enum numeric value on the wire for originalMediaType. */ public int getOriginalMediaTypeValue() { return originalMediaType_; @@ -1142,6 +1191,8 @@ public int getOriginalMediaTypeValue() { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @return The originalMediaType. */ public com.google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType getOriginalMediaType() { @@ -1166,6 +1217,8 @@ public int getOriginalMediaTypeValue() { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @return The enum numeric value on the wire for recordingDeviceType. */ public int getRecordingDeviceTypeValue() { return recordingDeviceType_; @@ -1180,6 +1233,8 @@ public int getRecordingDeviceTypeValue() { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @return The recordingDeviceType. */ public com.google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType getRecordingDeviceType() { @@ -1204,6 +1259,8 @@ public int getRecordingDeviceTypeValue() { * * * string recording_device_name = 7; + * + * @return The recordingDeviceName. */ public java.lang.String getRecordingDeviceName() { java.lang.Object ref = recordingDeviceName_; @@ -1226,6 +1283,8 @@ public java.lang.String getRecordingDeviceName() { * * * string recording_device_name = 7; + * + * @return The bytes for recordingDeviceName. */ public com.google.protobuf.ByteString getRecordingDeviceNameBytes() { java.lang.Object ref = recordingDeviceName_; @@ -1252,6 +1311,8 @@ public com.google.protobuf.ByteString getRecordingDeviceNameBytes() { * * * string original_mime_type = 8; + * + * @return The originalMimeType. */ public java.lang.String getOriginalMimeType() { java.lang.Object ref = originalMimeType_; @@ -1275,6 +1336,8 @@ public java.lang.String getOriginalMimeType() { * * * string original_mime_type = 8; + * + * @return The bytes for originalMimeType. */ public com.google.protobuf.ByteString getOriginalMimeTypeBytes() { java.lang.Object ref = originalMimeType_; @@ -1299,6 +1362,8 @@ public com.google.protobuf.ByteString getOriginalMimeTypeBytes() { * * * int64 obfuscated_id = 9 [deprecated = true]; + * + * @return The obfuscatedId. */ @java.lang.Deprecated public long getObfuscatedId() { @@ -1316,6 +1381,8 @@ public long getObfuscatedId() { * * * string audio_topic = 10; + * + * @return The audioTopic. */ public java.lang.String getAudioTopic() { java.lang.Object ref = audioTopic_; @@ -1337,6 +1404,8 @@ public java.lang.String getAudioTopic() { * * * string audio_topic = 10; + * + * @return The bytes for audioTopic. */ public com.google.protobuf.ByteString getAudioTopicBytes() { java.lang.Object ref = audioTopic_; @@ -1826,6 +1895,8 @@ public Builder mergeFrom( * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType interaction_type = 1; * + * + * @return The enum numeric value on the wire for interactionType. */ public int getInteractionTypeValue() { return interactionType_; @@ -1840,6 +1911,9 @@ public int getInteractionTypeValue() { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType interaction_type = 1; * + * + * @param value The enum numeric value on the wire for interactionType to set. + * @return This builder for chaining. */ public Builder setInteractionTypeValue(int value) { interactionType_ = value; @@ -1856,6 +1930,8 @@ public Builder setInteractionTypeValue(int value) { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType interaction_type = 1; * + * + * @return The interactionType. */ public com.google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType getInteractionType() { @@ -1877,6 +1953,9 @@ public Builder setInteractionTypeValue(int value) { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType interaction_type = 1; * + * + * @param value The interactionType to set. + * @return This builder for chaining. */ public Builder setInteractionType( com.google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType value) { @@ -1898,6 +1977,8 @@ public Builder setInteractionType( * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType interaction_type = 1; * + * + * @return This builder for chaining. */ public Builder clearInteractionType() { @@ -1918,6 +1999,8 @@ public Builder clearInteractionType() { * * * uint32 industry_naics_code_of_audio = 3; + * + * @return The industryNaicsCodeOfAudio. */ public int getIndustryNaicsCodeOfAudio() { return industryNaicsCodeOfAudio_; @@ -1933,6 +2016,9 @@ public int getIndustryNaicsCodeOfAudio() { * * * uint32 industry_naics_code_of_audio = 3; + * + * @param value The industryNaicsCodeOfAudio to set. + * @return This builder for chaining. */ public Builder setIndustryNaicsCodeOfAudio(int value) { @@ -1951,6 +2037,8 @@ public Builder setIndustryNaicsCodeOfAudio(int value) { * * * uint32 industry_naics_code_of_audio = 3; + * + * @return This builder for chaining. */ public Builder clearIndustryNaicsCodeOfAudio() { @@ -1970,6 +2058,8 @@ public Builder clearIndustryNaicsCodeOfAudio() { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @return The enum numeric value on the wire for microphoneDistance. */ public int getMicrophoneDistanceValue() { return microphoneDistance_; @@ -1984,6 +2074,9 @@ public int getMicrophoneDistanceValue() { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @param value The enum numeric value on the wire for microphoneDistance to set. + * @return This builder for chaining. */ public Builder setMicrophoneDistanceValue(int value) { microphoneDistance_ = value; @@ -2000,6 +2093,8 @@ public Builder setMicrophoneDistanceValue(int value) { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @return The microphoneDistance. */ public com.google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance getMicrophoneDistance() { @@ -2021,6 +2116,9 @@ public Builder setMicrophoneDistanceValue(int value) { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @param value The microphoneDistance to set. + * @return This builder for chaining. */ public Builder setMicrophoneDistance( com.google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance value) { @@ -2042,6 +2140,8 @@ public Builder setMicrophoneDistance( * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @return This builder for chaining. */ public Builder clearMicrophoneDistance() { @@ -2061,6 +2161,8 @@ public Builder clearMicrophoneDistance() { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @return The enum numeric value on the wire for originalMediaType. */ public int getOriginalMediaTypeValue() { return originalMediaType_; @@ -2075,6 +2177,9 @@ public int getOriginalMediaTypeValue() { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @param value The enum numeric value on the wire for originalMediaType to set. + * @return This builder for chaining. */ public Builder setOriginalMediaTypeValue(int value) { originalMediaType_ = value; @@ -2091,6 +2196,8 @@ public Builder setOriginalMediaTypeValue(int value) { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @return The originalMediaType. */ public com.google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType getOriginalMediaType() { @@ -2112,6 +2219,9 @@ public Builder setOriginalMediaTypeValue(int value) { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @param value The originalMediaType to set. + * @return This builder for chaining. */ public Builder setOriginalMediaType( com.google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType value) { @@ -2133,6 +2243,8 @@ public Builder setOriginalMediaType( * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @return This builder for chaining. */ public Builder clearOriginalMediaType() { @@ -2152,6 +2264,8 @@ public Builder clearOriginalMediaType() { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @return The enum numeric value on the wire for recordingDeviceType. */ public int getRecordingDeviceTypeValue() { return recordingDeviceType_; @@ -2166,6 +2280,9 @@ public int getRecordingDeviceTypeValue() { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @param value The enum numeric value on the wire for recordingDeviceType to set. + * @return This builder for chaining. */ public Builder setRecordingDeviceTypeValue(int value) { recordingDeviceType_ = value; @@ -2182,6 +2299,8 @@ public Builder setRecordingDeviceTypeValue(int value) { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @return The recordingDeviceType. */ public com.google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType getRecordingDeviceType() { @@ -2203,6 +2322,9 @@ public Builder setRecordingDeviceTypeValue(int value) { * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @param value The recordingDeviceType to set. + * @return This builder for chaining. */ public Builder setRecordingDeviceType( com.google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType value) { @@ -2224,6 +2346,8 @@ public Builder setRecordingDeviceType( * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @return This builder for chaining. */ public Builder clearRecordingDeviceType() { @@ -2243,6 +2367,8 @@ public Builder clearRecordingDeviceType() { * * * string recording_device_name = 7; + * + * @return The recordingDeviceName. */ public java.lang.String getRecordingDeviceName() { java.lang.Object ref = recordingDeviceName_; @@ -2265,6 +2391,8 @@ public java.lang.String getRecordingDeviceName() { * * * string recording_device_name = 7; + * + * @return The bytes for recordingDeviceName. */ public com.google.protobuf.ByteString getRecordingDeviceNameBytes() { java.lang.Object ref = recordingDeviceName_; @@ -2287,6 +2415,9 @@ public com.google.protobuf.ByteString getRecordingDeviceNameBytes() { * * * string recording_device_name = 7; + * + * @param value The recordingDeviceName to set. + * @return This builder for chaining. */ public Builder setRecordingDeviceName(java.lang.String value) { if (value == null) { @@ -2307,6 +2438,8 @@ public Builder setRecordingDeviceName(java.lang.String value) { * * * string recording_device_name = 7; + * + * @return This builder for chaining. */ public Builder clearRecordingDeviceName() { @@ -2324,6 +2457,9 @@ public Builder clearRecordingDeviceName() { * * * string recording_device_name = 7; + * + * @param value The bytes for recordingDeviceName to set. + * @return This builder for chaining. */ public Builder setRecordingDeviceNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2348,6 +2484,8 @@ public Builder setRecordingDeviceNameBytes(com.google.protobuf.ByteString value) * * * string original_mime_type = 8; + * + * @return The originalMimeType. */ public java.lang.String getOriginalMimeType() { java.lang.Object ref = originalMimeType_; @@ -2371,6 +2509,8 @@ public java.lang.String getOriginalMimeType() { * * * string original_mime_type = 8; + * + * @return The bytes for originalMimeType. */ public com.google.protobuf.ByteString getOriginalMimeTypeBytes() { java.lang.Object ref = originalMimeType_; @@ -2394,6 +2534,9 @@ public com.google.protobuf.ByteString getOriginalMimeTypeBytes() { * * * string original_mime_type = 8; + * + * @param value The originalMimeType to set. + * @return This builder for chaining. */ public Builder setOriginalMimeType(java.lang.String value) { if (value == null) { @@ -2415,6 +2558,8 @@ public Builder setOriginalMimeType(java.lang.String value) { * * * string original_mime_type = 8; + * + * @return This builder for chaining. */ public Builder clearOriginalMimeType() { @@ -2433,6 +2578,9 @@ public Builder clearOriginalMimeType() { * * * string original_mime_type = 8; + * + * @param value The bytes for originalMimeType to set. + * @return This builder for chaining. */ public Builder setOriginalMimeTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2455,6 +2603,8 @@ public Builder setOriginalMimeTypeBytes(com.google.protobuf.ByteString value) { * * * int64 obfuscated_id = 9 [deprecated = true]; + * + * @return The obfuscatedId. */ @java.lang.Deprecated public long getObfuscatedId() { @@ -2469,6 +2619,9 @@ public long getObfuscatedId() { * * * int64 obfuscated_id = 9 [deprecated = true]; + * + * @param value The obfuscatedId to set. + * @return This builder for chaining. */ @java.lang.Deprecated public Builder setObfuscatedId(long value) { @@ -2486,6 +2639,8 @@ public Builder setObfuscatedId(long value) { * * * int64 obfuscated_id = 9 [deprecated = true]; + * + * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearObfuscatedId() { @@ -2505,6 +2660,8 @@ public Builder clearObfuscatedId() { * * * string audio_topic = 10; + * + * @return The audioTopic. */ public java.lang.String getAudioTopic() { java.lang.Object ref = audioTopic_; @@ -2526,6 +2683,8 @@ public java.lang.String getAudioTopic() { * * * string audio_topic = 10; + * + * @return The bytes for audioTopic. */ public com.google.protobuf.ByteString getAudioTopicBytes() { java.lang.Object ref = audioTopic_; @@ -2547,6 +2706,9 @@ public com.google.protobuf.ByteString getAudioTopicBytes() { * * * string audio_topic = 10; + * + * @param value The audioTopic to set. + * @return This builder for chaining. */ public Builder setAudioTopic(java.lang.String value) { if (value == null) { @@ -2566,6 +2728,8 @@ public Builder setAudioTopic(java.lang.String value) { * * * string audio_topic = 10; + * + * @return This builder for chaining. */ public Builder clearAudioTopic() { @@ -2582,6 +2746,9 @@ public Builder clearAudioTopic() { * * * string audio_topic = 10; + * + * @param value The bytes for audioTopic to set. + * @return This builder for chaining. */ public Builder setAudioTopicBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadataOrBuilder.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadataOrBuilder.java index cd8fb17ad..a4866d47a 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadataOrBuilder.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadataOrBuilder.java @@ -32,6 +32,8 @@ public interface RecognitionMetadataOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType interaction_type = 1; * + * + * @return The enum numeric value on the wire for interactionType. */ int getInteractionTypeValue(); /** @@ -43,6 +45,8 @@ public interface RecognitionMetadataOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType interaction_type = 1; * + * + * @return The interactionType. */ com.google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType getInteractionType(); @@ -57,6 +61,8 @@ public interface RecognitionMetadataOrBuilder * * * uint32 industry_naics_code_of_audio = 3; + * + * @return The industryNaicsCodeOfAudio. */ int getIndustryNaicsCodeOfAudio(); @@ -70,6 +76,8 @@ public interface RecognitionMetadataOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @return The enum numeric value on the wire for microphoneDistance. */ int getMicrophoneDistanceValue(); /** @@ -82,6 +90,8 @@ public interface RecognitionMetadataOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4; * + * + * @return The microphoneDistance. */ com.google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance getMicrophoneDistance(); @@ -95,6 +105,8 @@ public interface RecognitionMetadataOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @return The enum numeric value on the wire for originalMediaType. */ int getOriginalMediaTypeValue(); /** @@ -107,6 +119,8 @@ public interface RecognitionMetadataOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType original_media_type = 5; * + * + * @return The originalMediaType. */ com.google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType getOriginalMediaType(); @@ -120,6 +134,8 @@ public interface RecognitionMetadataOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @return The enum numeric value on the wire for recordingDeviceType. */ int getRecordingDeviceTypeValue(); /** @@ -132,6 +148,8 @@ public interface RecognitionMetadataOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6; * + * + * @return The recordingDeviceType. */ com.google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType getRecordingDeviceType(); @@ -146,6 +164,8 @@ public interface RecognitionMetadataOrBuilder * * * string recording_device_name = 7; + * + * @return The recordingDeviceName. */ java.lang.String getRecordingDeviceName(); /** @@ -158,6 +178,8 @@ public interface RecognitionMetadataOrBuilder * * * string recording_device_name = 7; + * + * @return The bytes for recordingDeviceName. */ com.google.protobuf.ByteString getRecordingDeviceNameBytes(); @@ -172,6 +194,8 @@ public interface RecognitionMetadataOrBuilder * * * string original_mime_type = 8; + * + * @return The originalMimeType. */ java.lang.String getOriginalMimeType(); /** @@ -185,6 +209,8 @@ public interface RecognitionMetadataOrBuilder * * * string original_mime_type = 8; + * + * @return The bytes for originalMimeType. */ com.google.protobuf.ByteString getOriginalMimeTypeBytes(); @@ -197,6 +223,8 @@ public interface RecognitionMetadataOrBuilder * * * int64 obfuscated_id = 9 [deprecated = true]; + * + * @return The obfuscatedId. */ @java.lang.Deprecated long getObfuscatedId(); @@ -210,6 +238,8 @@ public interface RecognitionMetadataOrBuilder * * * string audio_topic = 10; + * + * @return The audioTopic. */ java.lang.String getAudioTopic(); /** @@ -221,6 +251,8 @@ public interface RecognitionMetadataOrBuilder * * * string audio_topic = 10; + * + * @return The bytes for audioTopic. */ com.google.protobuf.ByteString getAudioTopicBytes(); } diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeRequest.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeRequest.java index f626506fe..862e8a248 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeRequest.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeRequest.java @@ -39,6 +39,12 @@ private RecognizeRequest(com.google.protobuf.GeneratedMessageV3.Builder build private RecognizeRequest() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RecognizeRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private RecognizeRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -144,6 +149,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return config_ != null; @@ -159,6 +166,8 @@ public boolean hasConfig() { * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.speech.v1p1beta1.RecognitionConfig getConfig() { return config_ == null @@ -193,6 +202,8 @@ public com.google.cloud.speech.v1p1beta1.RecognitionConfigOrBuilder getConfigOrB * * .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the audio field is set. */ public boolean hasAudio() { return audio_ != null; @@ -207,6 +218,8 @@ public boolean hasAudio() { * * .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The audio. */ public com.google.cloud.speech.v1p1beta1.RecognitionAudio getAudio() { return audio_ == null @@ -603,6 +616,8 @@ public Builder mergeFrom( * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; @@ -618,6 +633,8 @@ public boolean hasConfig() { * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.speech.v1p1beta1.RecognitionConfig getConfig() { if (configBuilder_ == null) { @@ -811,6 +828,8 @@ public com.google.cloud.speech.v1p1beta1.RecognitionConfigOrBuilder getConfigOrB * * .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the audio field is set. */ public boolean hasAudio() { return audioBuilder_ != null || audio_ != null; @@ -825,6 +844,8 @@ public boolean hasAudio() { * * .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The audio. */ public com.google.cloud.speech.v1p1beta1.RecognitionAudio getAudio() { if (audioBuilder_ == null) { diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeRequestOrBuilder.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeRequestOrBuilder.java index 0ad867062..53bf96fd5 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeRequestOrBuilder.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface RecognizeRequestOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ boolean hasConfig(); /** @@ -47,6 +49,8 @@ public interface RecognizeRequestOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ com.google.cloud.speech.v1p1beta1.RecognitionConfig getConfig(); /** @@ -73,6 +77,8 @@ public interface RecognizeRequestOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the audio field is set. */ boolean hasAudio(); /** @@ -85,6 +91,8 @@ public interface RecognizeRequestOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The audio. */ com.google.cloud.speech.v1p1beta1.RecognitionAudio getAudio(); /** diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeResponse.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeResponse.java index 5c670486b..26597e208 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeResponse.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeResponse.java @@ -43,6 +43,12 @@ private RecognizeResponse() { results_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RecognizeResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeakerDiarizationConfig.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeakerDiarizationConfig.java index 07751bdbf..bd4748d81 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeakerDiarizationConfig.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeakerDiarizationConfig.java @@ -39,6 +39,12 @@ private SpeakerDiarizationConfig(com.google.protobuf.GeneratedMessageV3.Builder< private SpeakerDiarizationConfig() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SpeakerDiarizationConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private SpeakerDiarizationConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -124,6 +129,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * bool enable_speaker_diarization = 1; + * + * @return The enableSpeakerDiarization. */ public boolean getEnableSpeakerDiarization() { return enableSpeakerDiarization_; @@ -141,6 +148,8 @@ public boolean getEnableSpeakerDiarization() { * * * int32 min_speaker_count = 2; + * + * @return The minSpeakerCount. */ public int getMinSpeakerCount() { return minSpeakerCount_; @@ -158,6 +167,8 @@ public int getMinSpeakerCount() { * * * int32 max_speaker_count = 3; + * + * @return The maxSpeakerCount. */ public int getMaxSpeakerCount() { return maxSpeakerCount_; @@ -522,6 +533,8 @@ public Builder mergeFrom( * * * bool enable_speaker_diarization = 1; + * + * @return The enableSpeakerDiarization. */ public boolean getEnableSpeakerDiarization() { return enableSpeakerDiarization_; @@ -536,6 +549,9 @@ public boolean getEnableSpeakerDiarization() { * * * bool enable_speaker_diarization = 1; + * + * @param value The enableSpeakerDiarization to set. + * @return This builder for chaining. */ public Builder setEnableSpeakerDiarization(boolean value) { @@ -553,6 +569,8 @@ public Builder setEnableSpeakerDiarization(boolean value) { * * * bool enable_speaker_diarization = 1; + * + * @return This builder for chaining. */ public Builder clearEnableSpeakerDiarization() { @@ -572,6 +590,8 @@ public Builder clearEnableSpeakerDiarization() { * * * int32 min_speaker_count = 2; + * + * @return The minSpeakerCount. */ public int getMinSpeakerCount() { return minSpeakerCount_; @@ -586,6 +606,9 @@ public int getMinSpeakerCount() { * * * int32 min_speaker_count = 2; + * + * @param value The minSpeakerCount to set. + * @return This builder for chaining. */ public Builder setMinSpeakerCount(int value) { @@ -603,6 +626,8 @@ public Builder setMinSpeakerCount(int value) { * * * int32 min_speaker_count = 2; + * + * @return This builder for chaining. */ public Builder clearMinSpeakerCount() { @@ -622,6 +647,8 @@ public Builder clearMinSpeakerCount() { * * * int32 max_speaker_count = 3; + * + * @return The maxSpeakerCount. */ public int getMaxSpeakerCount() { return maxSpeakerCount_; @@ -636,6 +663,9 @@ public int getMaxSpeakerCount() { * * * int32 max_speaker_count = 3; + * + * @param value The maxSpeakerCount to set. + * @return This builder for chaining. */ public Builder setMaxSpeakerCount(int value) { @@ -653,6 +683,8 @@ public Builder setMaxSpeakerCount(int value) { * * * int32 max_speaker_count = 3; + * + * @return This builder for chaining. */ public Builder clearMaxSpeakerCount() { diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeakerDiarizationConfigOrBuilder.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeakerDiarizationConfigOrBuilder.java index bc63d9dc1..020e708e8 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeakerDiarizationConfigOrBuilder.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeakerDiarizationConfigOrBuilder.java @@ -33,6 +33,8 @@ public interface SpeakerDiarizationConfigOrBuilder * * * bool enable_speaker_diarization = 1; + * + * @return The enableSpeakerDiarization. */ boolean getEnableSpeakerDiarization(); @@ -46,6 +48,8 @@ public interface SpeakerDiarizationConfigOrBuilder * * * int32 min_speaker_count = 2; + * + * @return The minSpeakerCount. */ int getMinSpeakerCount(); @@ -59,6 +63,8 @@ public interface SpeakerDiarizationConfigOrBuilder * * * int32 max_speaker_count = 3; + * + * @return The maxSpeakerCount. */ int getMaxSpeakerCount(); } diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechContext.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechContext.java index 4c8b7df0e..8c8329dd5 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechContext.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechContext.java @@ -42,6 +42,12 @@ private SpeechContext() { phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SpeechContext(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -118,7 +124,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.speech.v1p1beta1.SpeechContext.Builder.class); } - private int bitField0_; public static final int PHRASES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList phrases_; /** @@ -139,6 +144,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * repeated string phrases = 1; + * + * @return A list containing the phrases. */ public com.google.protobuf.ProtocolStringList getPhrasesList() { return phrases_; @@ -161,6 +168,8 @@ public com.google.protobuf.ProtocolStringList getPhrasesList() { * * * repeated string phrases = 1; + * + * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); @@ -183,6 +192,9 @@ public int getPhrasesCount() { * * * repeated string phrases = 1; + * + * @param index The index of the element to return. + * @return The phrases at the given index. */ public java.lang.String getPhrases(int index) { return phrases_.get(index); @@ -205,6 +217,9 @@ public java.lang.String getPhrases(int index) { * * * repeated string phrases = 1; + * + * @param index The index of the value to return. + * @return The bytes of the phrases at the given index. */ public com.google.protobuf.ByteString getPhrasesBytes(int index) { return phrases_.getByteString(index); @@ -227,6 +242,8 @@ public com.google.protobuf.ByteString getPhrasesBytes(int index) { * * * float boost = 4; + * + * @return The boost. */ public float getBoost() { return boost_; @@ -486,14 +503,12 @@ public com.google.cloud.speech.v1p1beta1.SpeechContext buildPartial() { com.google.cloud.speech.v1p1beta1.SpeechContext result = new com.google.cloud.speech.v1p1beta1.SpeechContext(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) != 0)) { phrases_ = phrases_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.phrases_ = phrases_; result.boost_ = boost_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -615,6 +630,8 @@ private void ensurePhrasesIsMutable() { * * * repeated string phrases = 1; + * + * @return A list containing the phrases. */ public com.google.protobuf.ProtocolStringList getPhrasesList() { return phrases_.getUnmodifiableView(); @@ -637,6 +654,8 @@ public com.google.protobuf.ProtocolStringList getPhrasesList() { * * * repeated string phrases = 1; + * + * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); @@ -659,6 +678,9 @@ public int getPhrasesCount() { * * * repeated string phrases = 1; + * + * @param index The index of the element to return. + * @return The phrases at the given index. */ public java.lang.String getPhrases(int index) { return phrases_.get(index); @@ -681,6 +703,9 @@ public java.lang.String getPhrases(int index) { * * * repeated string phrases = 1; + * + * @param index The index of the value to return. + * @return The bytes of the phrases at the given index. */ public com.google.protobuf.ByteString getPhrasesBytes(int index) { return phrases_.getByteString(index); @@ -703,6 +728,10 @@ public com.google.protobuf.ByteString getPhrasesBytes(int index) { * * * repeated string phrases = 1; + * + * @param index The index to set the value at. + * @param value The phrases to set. + * @return This builder for chaining. */ public Builder setPhrases(int index, java.lang.String value) { if (value == null) { @@ -731,6 +760,9 @@ public Builder setPhrases(int index, java.lang.String value) { * * * repeated string phrases = 1; + * + * @param value The phrases to add. + * @return This builder for chaining. */ public Builder addPhrases(java.lang.String value) { if (value == null) { @@ -759,6 +791,9 @@ public Builder addPhrases(java.lang.String value) { * * * repeated string phrases = 1; + * + * @param values The phrases to add. + * @return This builder for chaining. */ public Builder addAllPhrases(java.lang.Iterable values) { ensurePhrasesIsMutable(); @@ -784,6 +819,8 @@ public Builder addAllPhrases(java.lang.Iterable values) { * * * repeated string phrases = 1; + * + * @return This builder for chaining. */ public Builder clearPhrases() { phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -809,6 +846,9 @@ public Builder clearPhrases() { * * * repeated string phrases = 1; + * + * @param value The bytes of the phrases to add. + * @return This builder for chaining. */ public Builder addPhrasesBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -837,6 +877,8 @@ public Builder addPhrasesBytes(com.google.protobuf.ByteString value) { * * * float boost = 4; + * + * @return The boost. */ public float getBoost() { return boost_; @@ -856,6 +898,9 @@ public float getBoost() { * * * float boost = 4; + * + * @param value The boost to set. + * @return This builder for chaining. */ public Builder setBoost(float value) { @@ -878,6 +923,8 @@ public Builder setBoost(float value) { * * * float boost = 4; + * + * @return This builder for chaining. */ public Builder clearBoost() { diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechContextOrBuilder.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechContextOrBuilder.java index fd9132906..1fe9e2e33 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechContextOrBuilder.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechContextOrBuilder.java @@ -41,6 +41,8 @@ public interface SpeechContextOrBuilder * * * repeated string phrases = 1; + * + * @return A list containing the phrases. */ java.util.List getPhrasesList(); /** @@ -61,6 +63,8 @@ public interface SpeechContextOrBuilder * * * repeated string phrases = 1; + * + * @return The count of phrases. */ int getPhrasesCount(); /** @@ -81,6 +85,9 @@ public interface SpeechContextOrBuilder * * * repeated string phrases = 1; + * + * @param index The index of the element to return. + * @return The phrases at the given index. */ java.lang.String getPhrases(int index); /** @@ -101,6 +108,9 @@ public interface SpeechContextOrBuilder * * * repeated string phrases = 1; + * + * @param index The index of the value to return. + * @return The bytes of the phrases at the given index. */ com.google.protobuf.ByteString getPhrasesBytes(int index); @@ -119,6 +129,8 @@ public interface SpeechContextOrBuilder * * * float boost = 4; + * + * @return The boost. */ float getBoost(); } diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechProto.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechProto.java index 77e53775f..237efe489 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechProto.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechProto.java @@ -241,27 +241,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/speech/v1p1beta1;speech\370\001\001\242\002\003GCSb\006proto" + "3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.AnyProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.AnyProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); internal_static_google_cloud_speech_v1p1beta1_RecognizeRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_speech_v1p1beta1_RecognizeRequest_fieldAccessorTable = diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionAlternative.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionAlternative.java index c556c0953..4091e9236 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionAlternative.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionAlternative.java @@ -42,6 +42,12 @@ private SpeechRecognitionAlternative() { words_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SpeechRecognitionAlternative(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -80,9 +86,9 @@ private SpeechRecognitionAlternative( } case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { words_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000001; } words_.add( input.readMessage( @@ -103,7 +109,7 @@ private SpeechRecognitionAlternative( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { words_ = java.util.Collections.unmodifiableList(words_); } this.unknownFields = unknownFields.build(); @@ -126,7 +132,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative.Builder.class); } - private int bitField0_; public static final int TRANSCRIPT_FIELD_NUMBER = 1; private volatile java.lang.Object transcript_; /** @@ -137,6 +142,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string transcript = 1; + * + * @return The transcript. */ public java.lang.String getTranscript() { java.lang.Object ref = transcript_; @@ -157,6 +164,8 @@ public java.lang.String getTranscript() { * * * string transcript = 1; + * + * @return The bytes for transcript. */ public com.google.protobuf.ByteString getTranscriptBytes() { java.lang.Object ref = transcript_; @@ -186,6 +195,8 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * * float confidence = 2; + * + * @return The confidence. */ public float getConfidence() { return confidence_; @@ -499,7 +510,7 @@ public Builder clear() { if (wordsBuilder_ == null) { words_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } else { wordsBuilder_.clear(); } @@ -532,19 +543,17 @@ public com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative buildParti com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative result = new com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.transcript_ = transcript_; result.confidence_ = confidence_; if (wordsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { words_ = java.util.Collections.unmodifiableList(words_); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } result.words_ = words_; } else { result.words_ = wordsBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -607,7 +616,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlte if (!other.words_.isEmpty()) { if (words_.isEmpty()) { words_ = other.words_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureWordsIsMutable(); words_.addAll(other.words_); @@ -620,7 +629,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlte wordsBuilder_.dispose(); wordsBuilder_ = null; words_ = other.words_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); wordsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getWordsFieldBuilder() @@ -672,6 +681,8 @@ public Builder mergeFrom( * * * string transcript = 1; + * + * @return The transcript. */ public java.lang.String getTranscript() { java.lang.Object ref = transcript_; @@ -692,6 +703,8 @@ public java.lang.String getTranscript() { * * * string transcript = 1; + * + * @return The bytes for transcript. */ public com.google.protobuf.ByteString getTranscriptBytes() { java.lang.Object ref = transcript_; @@ -712,6 +725,9 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * * string transcript = 1; + * + * @param value The transcript to set. + * @return This builder for chaining. */ public Builder setTranscript(java.lang.String value) { if (value == null) { @@ -730,6 +746,8 @@ public Builder setTranscript(java.lang.String value) { * * * string transcript = 1; + * + * @return This builder for chaining. */ public Builder clearTranscript() { @@ -745,6 +763,9 @@ public Builder clearTranscript() { * * * string transcript = 1; + * + * @param value The bytes for transcript to set. + * @return This builder for chaining. */ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -772,6 +793,8 @@ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { * * * float confidence = 2; + * + * @return The confidence. */ public float getConfidence() { return confidence_; @@ -790,6 +813,9 @@ public float getConfidence() { * * * float confidence = 2; + * + * @param value The confidence to set. + * @return This builder for chaining. */ public Builder setConfidence(float value) { @@ -811,6 +837,8 @@ public Builder setConfidence(float value) { * * * float confidence = 2; + * + * @return This builder for chaining. */ public Builder clearConfidence() { @@ -823,9 +851,9 @@ public Builder clearConfidence() { java.util.Collections.emptyList(); private void ensureWordsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { words_ = new java.util.ArrayList(words_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000001; } } @@ -1062,7 +1090,7 @@ public Builder addAllWords( public Builder clearWords() { if (wordsBuilder_ == null) { words_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { wordsBuilder_.clear(); @@ -1198,7 +1226,7 @@ public com.google.cloud.speech.v1p1beta1.WordInfo.Builder addWordsBuilder(int in com.google.cloud.speech.v1p1beta1.WordInfo, com.google.cloud.speech.v1p1beta1.WordInfo.Builder, com.google.cloud.speech.v1p1beta1.WordInfoOrBuilder>( - words_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + words_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); words_ = null; } return wordsBuilder_; diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java index 80f3e4673..c74b7ab48 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java @@ -31,6 +31,8 @@ public interface SpeechRecognitionAlternativeOrBuilder * * * string transcript = 1; + * + * @return The transcript. */ java.lang.String getTranscript(); /** @@ -41,6 +43,8 @@ public interface SpeechRecognitionAlternativeOrBuilder * * * string transcript = 1; + * + * @return The bytes for transcript. */ com.google.protobuf.ByteString getTranscriptBytes(); @@ -58,6 +62,8 @@ public interface SpeechRecognitionAlternativeOrBuilder * * * float confidence = 2; + * + * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResult.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResult.java index cd2bfa4a7..58d1d775c 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResult.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResult.java @@ -42,6 +42,12 @@ private SpeechRecognitionResult() { languageCode_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SpeechRecognitionResult(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -129,7 +135,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.speech.v1p1beta1.SpeechRecognitionResult.Builder.class); } - private int bitField0_; public static final int ALTERNATIVES_FIELD_NUMBER = 1; private java.util.List alternatives_; @@ -230,6 +235,8 @@ public com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative getAlterna * * * int32 channel_tag = 2; + * + * @return The channelTag. */ public int getChannelTag() { return channelTag_; @@ -247,6 +254,8 @@ public int getChannelTag() { * * * string language_code = 5; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -269,6 +278,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 5; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -547,7 +558,6 @@ public com.google.cloud.speech.v1p1beta1.SpeechRecognitionResult buildPartial() com.google.cloud.speech.v1p1beta1.SpeechRecognitionResult result = new com.google.cloud.speech.v1p1beta1.SpeechRecognitionResult(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (alternativesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { alternatives_ = java.util.Collections.unmodifiableList(alternatives_); @@ -559,7 +569,6 @@ public com.google.cloud.speech.v1p1beta1.SpeechRecognitionResult buildPartial() } result.channelTag_ = channelTag_; result.languageCode_ = languageCode_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1127,6 +1136,8 @@ public Builder removeAlternatives(int index) { * * * int32 channel_tag = 2; + * + * @return The channelTag. */ public int getChannelTag() { return channelTag_; @@ -1141,6 +1152,9 @@ public int getChannelTag() { * * * int32 channel_tag = 2; + * + * @param value The channelTag to set. + * @return This builder for chaining. */ public Builder setChannelTag(int value) { @@ -1158,6 +1172,8 @@ public Builder setChannelTag(int value) { * * * int32 channel_tag = 2; + * + * @return This builder for chaining. */ public Builder clearChannelTag() { @@ -1177,6 +1193,8 @@ public Builder clearChannelTag() { * * * string language_code = 5; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -1199,6 +1217,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 5; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -1221,6 +1241,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 5; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -1241,6 +1264,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 5; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -1258,6 +1283,9 @@ public Builder clearLanguageCode() { * * * string language_code = 5; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResultOrBuilder.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResultOrBuilder.java index 6f5ce919d..72bc56e82 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResultOrBuilder.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResultOrBuilder.java @@ -107,6 +107,8 @@ com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlter * * * int32 channel_tag = 2; + * + * @return The channelTag. */ int getChannelTag(); @@ -120,6 +122,8 @@ com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlter * * * string language_code = 5; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -132,6 +136,8 @@ com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlter * * * string language_code = 5; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionConfig.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionConfig.java index 209925ba6..ded4f1e7e 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionConfig.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionConfig.java @@ -40,6 +40,12 @@ private StreamingRecognitionConfig(com.google.protobuf.GeneratedMessageV3.Builde private StreamingRecognitionConfig() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StreamingRecognitionConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -53,7 +59,6 @@ private StreamingRecognitionConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -138,6 +143,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return config_ != null; @@ -153,6 +160,8 @@ public boolean hasConfig() { * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.speech.v1p1beta1.RecognitionConfig getConfig() { return config_ == null @@ -194,6 +203,8 @@ public com.google.cloud.speech.v1p1beta1.RecognitionConfigOrBuilder getConfigOrB * * * bool single_utterance = 2; + * + * @return The singleUtterance. */ public boolean getSingleUtterance() { return singleUtterance_; @@ -212,6 +223,8 @@ public boolean getSingleUtterance() { * * * bool interim_results = 3; + * + * @return The interimResults. */ public boolean getInterimResults() { return interimResults_; @@ -598,6 +611,8 @@ public Builder mergeFrom( * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; @@ -613,6 +628,8 @@ public boolean hasConfig() { * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ public com.google.cloud.speech.v1p1beta1.RecognitionConfig getConfig() { if (configBuilder_ == null) { @@ -808,6 +825,8 @@ public com.google.cloud.speech.v1p1beta1.RecognitionConfigOrBuilder getConfigOrB * * * bool single_utterance = 2; + * + * @return The singleUtterance. */ public boolean getSingleUtterance() { return singleUtterance_; @@ -829,6 +848,9 @@ public boolean getSingleUtterance() { * * * bool single_utterance = 2; + * + * @param value The singleUtterance to set. + * @return This builder for chaining. */ public Builder setSingleUtterance(boolean value) { @@ -853,6 +875,8 @@ public Builder setSingleUtterance(boolean value) { * * * bool single_utterance = 2; + * + * @return This builder for chaining. */ public Builder clearSingleUtterance() { @@ -873,6 +897,8 @@ public Builder clearSingleUtterance() { * * * bool interim_results = 3; + * + * @return The interimResults. */ public boolean getInterimResults() { return interimResults_; @@ -888,6 +914,9 @@ public boolean getInterimResults() { * * * bool interim_results = 3; + * + * @param value The interimResults to set. + * @return This builder for chaining. */ public Builder setInterimResults(boolean value) { @@ -906,6 +935,8 @@ public Builder setInterimResults(boolean value) { * * * bool interim_results = 3; + * + * @return This builder for chaining. */ public Builder clearInterimResults() { diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionConfigOrBuilder.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionConfigOrBuilder.java index 8b47cc16f..2e7449f5b 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionConfigOrBuilder.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionConfigOrBuilder.java @@ -34,6 +34,8 @@ public interface StreamingRecognitionConfigOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the config field is set. */ boolean hasConfig(); /** @@ -47,6 +49,8 @@ public interface StreamingRecognitionConfigOrBuilder * * .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The config. */ com.google.cloud.speech.v1p1beta1.RecognitionConfig getConfig(); /** @@ -80,6 +84,8 @@ public interface StreamingRecognitionConfigOrBuilder * * * bool single_utterance = 2; + * + * @return The singleUtterance. */ boolean getSingleUtterance(); @@ -94,6 +100,8 @@ public interface StreamingRecognitionConfigOrBuilder * * * bool interim_results = 3; + * + * @return The interimResults. */ boolean getInterimResults(); } diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResult.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResult.java index abf1cec71..b94f9e2d7 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResult.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResult.java @@ -43,6 +43,12 @@ private StreamingRecognitionResult() { languageCode_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StreamingRecognitionResult(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -155,7 +161,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.speech.v1p1beta1.StreamingRecognitionResult.Builder.class); } - private int bitField0_; public static final int ALTERNATIVES_FIELD_NUMBER = 1; private java.util.List alternatives_; @@ -258,6 +263,8 @@ public com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative getAlterna * * * bool is_final = 2; + * + * @return The isFinal. */ public boolean getIsFinal() { return isFinal_; @@ -277,6 +284,8 @@ public boolean getIsFinal() { * * * float stability = 3; + * + * @return The stability. */ public float getStability() { return stability_; @@ -293,6 +302,8 @@ public float getStability() { * * * .google.protobuf.Duration result_end_time = 4; + * + * @return Whether the resultEndTime field is set. */ public boolean hasResultEndTime() { return resultEndTime_ != null; @@ -306,6 +317,8 @@ public boolean hasResultEndTime() { * * * .google.protobuf.Duration result_end_time = 4; + * + * @return The resultEndTime. */ public com.google.protobuf.Duration getResultEndTime() { return resultEndTime_ == null @@ -338,6 +351,8 @@ public com.google.protobuf.DurationOrBuilder getResultEndTimeOrBuilder() { * * * int32 channel_tag = 5; + * + * @return The channelTag. */ public int getChannelTag() { return channelTag_; @@ -355,6 +370,8 @@ public int getChannelTag() { * * * string language_code = 6; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -377,6 +394,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 6; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -700,7 +719,6 @@ public com.google.cloud.speech.v1p1beta1.StreamingRecognitionResult buildPartial com.google.cloud.speech.v1p1beta1.StreamingRecognitionResult result = new com.google.cloud.speech.v1p1beta1.StreamingRecognitionResult(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (alternativesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { alternatives_ = java.util.Collections.unmodifiableList(alternatives_); @@ -719,7 +737,6 @@ public com.google.cloud.speech.v1p1beta1.StreamingRecognitionResult buildPartial } result.channelTag_ = channelTag_; result.languageCode_ = languageCode_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1299,6 +1316,8 @@ public Builder removeAlternatives(int index) { * * * bool is_final = 2; + * + * @return The isFinal. */ public boolean getIsFinal() { return isFinal_; @@ -1315,6 +1334,9 @@ public boolean getIsFinal() { * * * bool is_final = 2; + * + * @param value The isFinal to set. + * @return This builder for chaining. */ public Builder setIsFinal(boolean value) { @@ -1334,6 +1356,8 @@ public Builder setIsFinal(boolean value) { * * * bool is_final = 2; + * + * @return This builder for chaining. */ public Builder clearIsFinal() { @@ -1355,6 +1379,8 @@ public Builder clearIsFinal() { * * * float stability = 3; + * + * @return The stability. */ public float getStability() { return stability_; @@ -1371,6 +1397,9 @@ public float getStability() { * * * float stability = 3; + * + * @param value The stability to set. + * @return This builder for chaining. */ public Builder setStability(float value) { @@ -1390,6 +1419,8 @@ public Builder setStability(float value) { * * * float stability = 3; + * + * @return This builder for chaining. */ public Builder clearStability() { @@ -1413,6 +1444,8 @@ public Builder clearStability() { * * * .google.protobuf.Duration result_end_time = 4; + * + * @return Whether the resultEndTime field is set. */ public boolean hasResultEndTime() { return resultEndTimeBuilder_ != null || resultEndTime_ != null; @@ -1426,6 +1459,8 @@ public boolean hasResultEndTime() { * * * .google.protobuf.Duration result_end_time = 4; + * + * @return The resultEndTime. */ public com.google.protobuf.Duration getResultEndTime() { if (resultEndTimeBuilder_ == null) { @@ -1599,6 +1634,8 @@ public com.google.protobuf.DurationOrBuilder getResultEndTimeOrBuilder() { * * * int32 channel_tag = 5; + * + * @return The channelTag. */ public int getChannelTag() { return channelTag_; @@ -1613,6 +1650,9 @@ public int getChannelTag() { * * * int32 channel_tag = 5; + * + * @param value The channelTag to set. + * @return This builder for chaining. */ public Builder setChannelTag(int value) { @@ -1630,6 +1670,8 @@ public Builder setChannelTag(int value) { * * * int32 channel_tag = 5; + * + * @return This builder for chaining. */ public Builder clearChannelTag() { @@ -1649,6 +1691,8 @@ public Builder clearChannelTag() { * * * string language_code = 6; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -1671,6 +1715,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 6; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -1693,6 +1739,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 6; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -1713,6 +1762,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 6; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -1730,6 +1781,9 @@ public Builder clearLanguageCode() { * * * string language_code = 6; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResultOrBuilder.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResultOrBuilder.java index ee0712b96..ff1a16899 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResultOrBuilder.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResultOrBuilder.java @@ -109,6 +109,8 @@ com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlter * * * bool is_final = 2; + * + * @return The isFinal. */ boolean getIsFinal(); @@ -124,6 +126,8 @@ com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlter * * * float stability = 3; + * + * @return The stability. */ float getStability(); @@ -136,6 +140,8 @@ com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlter * * * .google.protobuf.Duration result_end_time = 4; + * + * @return Whether the resultEndTime field is set. */ boolean hasResultEndTime(); /** @@ -147,6 +153,8 @@ com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlter * * * .google.protobuf.Duration result_end_time = 4; + * + * @return The resultEndTime. */ com.google.protobuf.Duration getResultEndTime(); /** @@ -171,6 +179,8 @@ com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlter * * * int32 channel_tag = 5; + * + * @return The channelTag. */ int getChannelTag(); @@ -184,6 +194,8 @@ com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlter * * * string language_code = 6; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -196,6 +208,8 @@ com.google.cloud.speech.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlter * * * string language_code = 6; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeRequest.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeRequest.java index e94e196ef..9b3ece13a 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeRequest.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeRequest.java @@ -43,6 +43,12 @@ private StreamingRecognizeRequest(com.google.protobuf.GeneratedMessageV3.Builder private StreamingRecognizeRequest() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StreamingRecognizeRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private StreamingRecognizeRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,7 +138,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int streamingRequestCase_ = 0; private java.lang.Object streamingRequest_; - public enum StreamingRequestCase implements com.google.protobuf.Internal.EnumLite { + public enum StreamingRequestCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { STREAMING_CONFIG(1), AUDIO_CONTENT(2), STREAMINGREQUEST_NOT_SET(0); @@ -142,7 +150,11 @@ public enum StreamingRequestCase implements com.google.protobuf.Internal.EnumLit private StreamingRequestCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static StreamingRequestCase valueOf(int value) { return forNumber(value); @@ -181,6 +193,8 @@ public StreamingRequestCase getStreamingRequestCase() { * * * .google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1; + * + * @return Whether the streamingConfig field is set. */ public boolean hasStreamingConfig() { return streamingRequestCase_ == 1; @@ -195,6 +209,8 @@ public boolean hasStreamingConfig() { * * * .google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1; + * + * @return The streamingConfig. */ public com.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig getStreamingConfig() { if (streamingRequestCase_ == 1) { @@ -237,6 +253,8 @@ public com.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig getStreaming * * * bytes audio_content = 2; + * + * @return The audioContent. */ public com.google.protobuf.ByteString getAudioContent() { if (streamingRequestCase_ == 2) { @@ -650,6 +668,8 @@ public Builder clearStreamingRequest() { * * * .google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1; + * + * @return Whether the streamingConfig field is set. */ public boolean hasStreamingConfig() { return streamingRequestCase_ == 1; @@ -664,6 +684,8 @@ public boolean hasStreamingConfig() { * * * .google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1; + * + * @return The streamingConfig. */ public com.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig getStreamingConfig() { if (streamingConfigBuilder_ == null) { @@ -878,6 +900,8 @@ public Builder clearStreamingConfig() { * * * bytes audio_content = 2; + * + * @return The audioContent. */ public com.google.protobuf.ByteString getAudioContent() { if (streamingRequestCase_ == 2) { @@ -900,6 +924,9 @@ public com.google.protobuf.ByteString getAudioContent() { * * * bytes audio_content = 2; + * + * @param value The audioContent to set. + * @return This builder for chaining. */ public Builder setAudioContent(com.google.protobuf.ByteString value) { if (value == null) { @@ -925,6 +952,8 @@ public Builder setAudioContent(com.google.protobuf.ByteString value) { * * * bytes audio_content = 2; + * + * @return This builder for chaining. */ public Builder clearAudioContent() { if (streamingRequestCase_ == 2) { diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeRequestOrBuilder.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeRequestOrBuilder.java index 09337172e..6eda01479 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeRequestOrBuilder.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeRequestOrBuilder.java @@ -33,6 +33,8 @@ public interface StreamingRecognizeRequestOrBuilder * * * .google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1; + * + * @return Whether the streamingConfig field is set. */ boolean hasStreamingConfig(); /** @@ -45,6 +47,8 @@ public interface StreamingRecognizeRequestOrBuilder * * * .google.cloud.speech.v1p1beta1.StreamingRecognitionConfig streaming_config = 1; + * + * @return The streamingConfig. */ com.google.cloud.speech.v1p1beta1.StreamingRecognitionConfig getStreamingConfig(); /** @@ -76,6 +80,8 @@ public interface StreamingRecognizeRequestOrBuilder * * * bytes audio_content = 2; + * + * @return The audioContent. */ com.google.protobuf.ByteString getAudioContent(); diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponse.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponse.java index 096a7490c..9b19ab73e 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponse.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponse.java @@ -77,6 +77,12 @@ private StreamingRecognizeResponse() { speechEventType_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StreamingRecognizeResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -117,11 +123,11 @@ private StreamingRecognizeResponse( } case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { results_ = new java.util.ArrayList< com.google.cloud.speech.v1p1beta1.StreamingRecognitionResult>(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } results_.add( input.readMessage( @@ -150,7 +156,7 @@ private StreamingRecognizeResponse( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { results_ = java.util.Collections.unmodifiableList(results_); } this.unknownFields = unknownFields.build(); @@ -247,12 +253,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static SpeechEventType valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static SpeechEventType forNumber(int value) { switch (value) { case 0: @@ -312,7 +326,6 @@ private SpeechEventType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType) } - private int bitField0_; public static final int ERROR_FIELD_NUMBER = 1; private com.google.rpc.Status error_; /** @@ -324,6 +337,8 @@ private SpeechEventType(int value) { * * * .google.rpc.Status error = 1; + * + * @return Whether the error field is set. */ public boolean hasError() { return error_ != null; @@ -337,6 +352,8 @@ public boolean hasError() { * * * .google.rpc.Status error = 1; + * + * @return The error. */ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; @@ -449,6 +466,8 @@ public com.google.cloud.speech.v1p1beta1.StreamingRecognitionResultOrBuilder get * * .google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @return The enum numeric value on the wire for speechEventType. */ public int getSpeechEventTypeValue() { return speechEventType_; @@ -463,6 +482,8 @@ public int getSpeechEventTypeValue() { * * .google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @return The speechEventType. */ public com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType getSpeechEventType() { @@ -756,7 +777,7 @@ public Builder clear() { } if (resultsBuilder_ == null) { results_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { resultsBuilder_.clear(); } @@ -791,23 +812,21 @@ public com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse buildPartial com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse result = new com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; if (errorBuilder_ == null) { result.error_ = error_; } else { result.error_ = errorBuilder_.build(); } if (resultsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { results_ = java.util.Collections.unmodifiableList(results_); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.results_ = results_; } else { result.results_ = resultsBuilder_.build(); } result.speechEventType_ = speechEventType_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -866,7 +885,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1p1beta1.StreamingRecognizeRes if (!other.results_.isEmpty()) { if (results_.isEmpty()) { results_ = other.results_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureResultsIsMutable(); results_.addAll(other.results_); @@ -879,7 +898,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1p1beta1.StreamingRecognizeRes resultsBuilder_.dispose(); resultsBuilder_ = null; results_ = other.results_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); resultsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getResultsFieldBuilder() @@ -937,6 +956,8 @@ public Builder mergeFrom( * * * .google.rpc.Status error = 1; + * + * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; @@ -950,6 +971,8 @@ public boolean hasError() { * * * .google.rpc.Status error = 1; + * + * @return The error. */ public com.google.rpc.Status getError() { if (errorBuilder_ == null) { @@ -1106,11 +1129,11 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { java.util.Collections.emptyList(); private void ensureResultsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { results_ = new java.util.ArrayList( results_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } @@ -1365,7 +1388,7 @@ public Builder addAllResults( public Builder clearResults() { if (resultsBuilder_ == null) { results_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { resultsBuilder_.clear(); @@ -1516,7 +1539,7 @@ public com.google.cloud.speech.v1p1beta1.StreamingRecognitionResult.Builder addR com.google.cloud.speech.v1p1beta1.StreamingRecognitionResult, com.google.cloud.speech.v1p1beta1.StreamingRecognitionResult.Builder, com.google.cloud.speech.v1p1beta1.StreamingRecognitionResultOrBuilder>( - results_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + results_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); results_ = null; } return resultsBuilder_; @@ -1533,6 +1556,8 @@ public com.google.cloud.speech.v1p1beta1.StreamingRecognitionResult.Builder addR * * .google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @return The enum numeric value on the wire for speechEventType. */ public int getSpeechEventTypeValue() { return speechEventType_; @@ -1547,6 +1572,9 @@ public int getSpeechEventTypeValue() { * * .google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @param value The enum numeric value on the wire for speechEventType to set. + * @return This builder for chaining. */ public Builder setSpeechEventTypeValue(int value) { speechEventType_ = value; @@ -1563,6 +1591,8 @@ public Builder setSpeechEventTypeValue(int value) { * * .google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @return The speechEventType. */ public com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType getSpeechEventType() { @@ -1585,6 +1615,9 @@ public Builder setSpeechEventTypeValue(int value) { * * .google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @param value The speechEventType to set. + * @return This builder for chaining. */ public Builder setSpeechEventType( com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType value) { @@ -1606,6 +1639,8 @@ public Builder setSpeechEventType( * * .google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @return This builder for chaining. */ public Builder clearSpeechEventType() { diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponseOrBuilder.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponseOrBuilder.java index e3092f361..9a028c511 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponseOrBuilder.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponseOrBuilder.java @@ -32,6 +32,8 @@ public interface StreamingRecognizeResponseOrBuilder * * * .google.rpc.Status error = 1; + * + * @return Whether the error field is set. */ boolean hasError(); /** @@ -43,6 +45,8 @@ public interface StreamingRecognizeResponseOrBuilder * * * .google.rpc.Status error = 1; + * + * @return The error. */ com.google.rpc.Status getError(); /** @@ -135,6 +139,8 @@ com.google.cloud.speech.v1p1beta1.StreamingRecognitionResultOrBuilder getResults * * .google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @return The enum numeric value on the wire for speechEventType. */ int getSpeechEventTypeValue(); /** @@ -147,6 +153,8 @@ com.google.cloud.speech.v1p1beta1.StreamingRecognitionResultOrBuilder getResults * * .google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; * + * + * @return The speechEventType. */ com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType getSpeechEventType(); } diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfo.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfo.java index 2ca0d60e5..a0288e60e 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfo.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfo.java @@ -41,6 +41,12 @@ private WordInfo() { word_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WordInfo(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private WordInfo( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -161,6 +166,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * .google.protobuf.Duration start_time = 1; + * + * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTime_ != null; @@ -178,6 +185,8 @@ public boolean hasStartTime() { * * * .google.protobuf.Duration start_time = 1; + * + * @return The startTime. */ public com.google.protobuf.Duration getStartTime() { return startTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTime_; @@ -215,6 +224,8 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() { * * * .google.protobuf.Duration end_time = 2; + * + * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTime_ != null; @@ -232,6 +243,8 @@ public boolean hasEndTime() { * * * .google.protobuf.Duration end_time = 2; + * + * @return The endTime. */ public com.google.protobuf.Duration getEndTime() { return endTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTime_; @@ -264,6 +277,8 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() { * * * string word = 3; + * + * @return The word. */ public java.lang.String getWord() { java.lang.Object ref = word_; @@ -284,6 +299,8 @@ public java.lang.String getWord() { * * * string word = 3; + * + * @return The bytes for word. */ public com.google.protobuf.ByteString getWordBytes() { java.lang.Object ref = word_; @@ -313,6 +330,8 @@ public com.google.protobuf.ByteString getWordBytes() { * * * float confidence = 4; + * + * @return The confidence. */ public float getConfidence() { return confidence_; @@ -332,6 +351,8 @@ public float getConfidence() { * * * int32 speaker_tag = 5; + * + * @return The speakerTag. */ public int getSpeakerTag() { return speakerTag_; @@ -759,6 +780,8 @@ public Builder mergeFrom( * * * .google.protobuf.Duration start_time = 1; + * + * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; @@ -776,6 +799,8 @@ public boolean hasStartTime() { * * * .google.protobuf.Duration start_time = 1; + * + * @return The startTime. */ public com.google.protobuf.Duration getStartTime() { if (startTimeBuilder_ == null) { @@ -979,6 +1004,8 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() { * * * .google.protobuf.Duration end_time = 2; + * + * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; @@ -996,6 +1023,8 @@ public boolean hasEndTime() { * * * .google.protobuf.Duration end_time = 2; + * + * @return The endTime. */ public com.google.protobuf.Duration getEndTime() { if (endTimeBuilder_ == null) { @@ -1189,6 +1218,8 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() { * * * string word = 3; + * + * @return The word. */ public java.lang.String getWord() { java.lang.Object ref = word_; @@ -1209,6 +1240,8 @@ public java.lang.String getWord() { * * * string word = 3; + * + * @return The bytes for word. */ public com.google.protobuf.ByteString getWordBytes() { java.lang.Object ref = word_; @@ -1229,6 +1262,9 @@ public com.google.protobuf.ByteString getWordBytes() { * * * string word = 3; + * + * @param value The word to set. + * @return This builder for chaining. */ public Builder setWord(java.lang.String value) { if (value == null) { @@ -1247,6 +1283,8 @@ public Builder setWord(java.lang.String value) { * * * string word = 3; + * + * @return This builder for chaining. */ public Builder clearWord() { @@ -1262,6 +1300,9 @@ public Builder clearWord() { * * * string word = 3; + * + * @param value The bytes for word to set. + * @return This builder for chaining. */ public Builder setWordBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1289,6 +1330,8 @@ public Builder setWordBytes(com.google.protobuf.ByteString value) { * * * float confidence = 4; + * + * @return The confidence. */ public float getConfidence() { return confidence_; @@ -1307,6 +1350,9 @@ public float getConfidence() { * * * float confidence = 4; + * + * @param value The confidence to set. + * @return This builder for chaining. */ public Builder setConfidence(float value) { @@ -1328,6 +1374,8 @@ public Builder setConfidence(float value) { * * * float confidence = 4; + * + * @return This builder for chaining. */ public Builder clearConfidence() { @@ -1349,6 +1397,8 @@ public Builder clearConfidence() { * * * int32 speaker_tag = 5; + * + * @return The speakerTag. */ public int getSpeakerTag() { return speakerTag_; @@ -1365,6 +1415,9 @@ public int getSpeakerTag() { * * * int32 speaker_tag = 5; + * + * @param value The speakerTag to set. + * @return This builder for chaining. */ public Builder setSpeakerTag(int value) { @@ -1384,6 +1437,8 @@ public Builder setSpeakerTag(int value) { * * * int32 speaker_tag = 5; + * + * @return This builder for chaining. */ public Builder clearSpeakerTag() { diff --git a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfoOrBuilder.java b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfoOrBuilder.java index 8f37795f8..3a9302fdc 100644 --- a/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfoOrBuilder.java +++ b/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfoOrBuilder.java @@ -36,6 +36,8 @@ public interface WordInfoOrBuilder * * * .google.protobuf.Duration start_time = 1; + * + * @return Whether the startTime field is set. */ boolean hasStartTime(); /** @@ -51,6 +53,8 @@ public interface WordInfoOrBuilder * * * .google.protobuf.Duration start_time = 1; + * + * @return The startTime. */ com.google.protobuf.Duration getStartTime(); /** @@ -82,6 +86,8 @@ public interface WordInfoOrBuilder * * * .google.protobuf.Duration end_time = 2; + * + * @return Whether the endTime field is set. */ boolean hasEndTime(); /** @@ -97,6 +103,8 @@ public interface WordInfoOrBuilder * * * .google.protobuf.Duration end_time = 2; + * + * @return The endTime. */ com.google.protobuf.Duration getEndTime(); /** @@ -123,6 +131,8 @@ public interface WordInfoOrBuilder * * * string word = 3; + * + * @return The word. */ java.lang.String getWord(); /** @@ -133,6 +143,8 @@ public interface WordInfoOrBuilder * * * string word = 3; + * + * @return The bytes for word. */ com.google.protobuf.ByteString getWordBytes(); @@ -150,6 +162,8 @@ public interface WordInfoOrBuilder * * * float confidence = 4; + * + * @return The confidence. */ float getConfidence(); @@ -165,6 +179,8 @@ public interface WordInfoOrBuilder * * * int32 speaker_tag = 5; + * + * @return The speakerTag. */ int getSpeakerTag(); } diff --git a/renovate.json b/renovate.json index 998104700..c5eafc049 100644 --- a/renovate.json +++ b/renovate.json @@ -1,27 +1,41 @@ { "extends": [ - "config:base" + ":separateMajorReleases", + ":combinePatchMinorReleases", + ":ignoreUnstable", + ":prImmediately", + ":updateNotScheduled", + ":automergeDisabled", + ":ignoreModulesAndTests", + ":maintainLockFilesDisabled", + ":autodetectPinVersions" ], - "ignoreDeps": [], "packageRules": [ { - "managers": ["maven"], - "packageNames": ["com.google.guava:guava*"], + "packagePatterns": [ + "^com.google.guava:" + ], "versionScheme": "docker" }, { - "packagePatterns": ["^io.grpc:grpc-"], - "groupName": "gRPC packages" + "packagePatterns": [ + "*" + ], + "semanticCommitType": "deps", + "semanticCommitScope": null }, { - "packagePatterns": ["^com.google.protobuf:protobuf-"], - "groupName": "Protobuf packages" - }, - { - "packagePatterns": ["^io.opencensus:opencensus-"], - "groupName": "OpenCensus packages" + "packagePatterns": [ + "^org.apache.maven", + "^org.jacoco:", + "^org.codehaus.mojo:", + "^org.sonatype.plugins:", + "^com.coveo:", + "^com.google.cloud:google-cloud-shared-config" + ], + "semanticCommitType": "build", + "semanticCommitScope": "deps" } ], - "semanticCommits": true, - "semanticCommitType": "deps" + "semanticCommits": true } diff --git a/synth.metadata b/synth.metadata index 2d3c2d55f..6b5b18146 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-12-06T08:52:31.147944Z", + "updateTime": "2019-12-19T08:54:27.920085Z", "sources": [ { "generator": { "name": "artman", - "version": "0.42.1", - "dockerImage": "googleapis/artman@sha256:c773192618c608a7a0415dd95282f841f8e6bcdef7dd760a988c93b77a64bd57" + "version": "0.42.3", + "dockerImage": "googleapis/artman@sha256:feed210b5723c6f524b52ef6d7740a030f2d1a8f7c29a71c5e5b4481ceaad7f5" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "b10e4547017ca529ac8d183e839f3c272e1c13de", - "internalRef": "284059574" + "sha": "d400cb8d45df5b2ae796b909f098a215b2275c1d", + "internalRef": "286312673" } }, { @@ -45,5 +45,799 @@ "config": "google/cloud/speech/artman_speech_v1p1beta1.yaml" } } + ], + "newFiles": [ + { + "path": ".gitignore" + }, + { + "path": "README.md" + }, + { + "path": "renovate.json" + }, + { + "path": "license-checks.xml" + }, + { + "path": "CONTRIBUTING.md" + }, + { + "path": "synth.py" + }, + { + "path": "synth.metadata" + }, + { + "path": "java.header" + }, + { + "path": "pom.xml" + }, + { + "path": "CODE_OF_CONDUCT.md" + }, + { + "path": "versions.txt" + }, + { + "path": "CHANGELOG.md" + }, + { + "path": "LICENSE" + }, + { + "path": ".repo-metadata.json" + }, + { + "path": "codecov.yaml" + }, + { + "path": "google-cloud-speech/pom.xml" + }, + { + "path": "google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/SpeechSmokeTest.java" + }, + { + "path": "google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/SpeechClientTest.java" + }, + { + "path": "google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/MockSpeech.java" + }, + { + "path": "google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/MockSpeechImpl.java" + }, + { + "path": "google-cloud-speech/src/test/java/com/google/cloud/speech/v1/SpeechSmokeTest.java" + }, + { + "path": "google-cloud-speech/src/test/java/com/google/cloud/speech/v1/SpeechClientTest.java" + }, + { + "path": "google-cloud-speech/src/test/java/com/google/cloud/speech/v1/MockSpeech.java" + }, + { + "path": "google-cloud-speech/src/test/java/com/google/cloud/speech/v1/MockSpeechImpl.java" + }, + { + "path": "google-cloud-speech/src/test/java/com/google/cloud/speech/v1/it/ITSpeechTest.java" + }, + { + "path": "google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechSettings.java" + }, + { + "path": "google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechClient.java" + }, + { + "path": "google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/package-info.java" + }, + { + "path": "google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStub.java" + }, + { + "path": "google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStubSettings.java" + }, + { + "path": "google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/GrpcSpeechStub.java" + }, + { + "path": "google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/GrpcSpeechCallableFactory.java" + }, + { + "path": "google-cloud-speech/src/main/java/com/google/cloud/speech/v1/SpeechSettings.java" + }, + { + "path": "google-cloud-speech/src/main/java/com/google/cloud/speech/v1/SpeechClient.java" + }, + { + "path": "google-cloud-speech/src/main/java/com/google/cloud/speech/v1/package-info.java" + }, + { + "path": "google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/SpeechStub.java" + }, + { + "path": "google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/SpeechStubSettings.java" + }, + { + "path": "google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/GrpcSpeechStub.java" + }, + { + "path": "google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/GrpcSpeechCallableFactory.java" + }, + { + "path": "google-cloud-speech-bom/pom.xml" + }, + { + "path": ".github/release-please.yml" + }, + { + "path": ".github/PULL_REQUEST_TEMPLATE.md" + }, + { + "path": ".github/ISSUE_TEMPLATE/support_request.md" + }, + { + "path": ".github/ISSUE_TEMPLATE/feature_request.md" + }, + { + "path": ".github/ISSUE_TEMPLATE/bug_report.md" + }, + { + "path": "grpc-google-cloud-speech-v1p1beta1/pom.xml" + }, + { + "path": "grpc-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechGrpc.java" + }, + { + "path": ".kokoro/trampoline.sh" + }, + { + "path": ".kokoro/build.sh" + }, + { + "path": ".kokoro/build.bat" + }, + { + "path": ".kokoro/linkage-monitor.sh" + }, + { + "path": ".kokoro/dependencies.sh" + }, + { + "path": ".kokoro/common.cfg" + }, + { + "path": ".kokoro/coerce_logs.sh" + }, + { + "path": ".kokoro/release/common.sh" + }, + { + "path": ".kokoro/release/publish_javadoc.cfg" + }, + { + "path": ".kokoro/release/stage.cfg" + }, + { + "path": ".kokoro/release/publish_javadoc.sh" + }, + { + "path": ".kokoro/release/bump_snapshot.cfg" + }, + { + "path": ".kokoro/release/drop.cfg" + }, + { + "path": ".kokoro/release/snapshot.cfg" + }, + { + "path": ".kokoro/release/promote.sh" + }, + { + "path": ".kokoro/release/stage.sh" + }, + { + "path": ".kokoro/release/bump_snapshot.sh" + }, + { + "path": ".kokoro/release/promote.cfg" + }, + { + "path": ".kokoro/release/drop.sh" + }, + { + "path": ".kokoro/release/common.cfg" + }, + { + "path": ".kokoro/release/snapshot.sh" + }, + { + "path": ".kokoro/nightly/java11.cfg" + }, + { + "path": ".kokoro/nightly/java8-win.cfg" + }, + { + "path": ".kokoro/nightly/lint.cfg" + }, + { + "path": ".kokoro/nightly/java8-osx.cfg" + }, + { + "path": ".kokoro/nightly/integration.cfg" + }, + { + "path": ".kokoro/nightly/java7.cfg" + }, + { + "path": ".kokoro/nightly/java8.cfg" + }, + { + "path": ".kokoro/nightly/dependencies.cfg" + }, + { + "path": ".kokoro/nightly/common.cfg" + }, + { + "path": ".kokoro/presubmit/java11.cfg" + }, + { + "path": ".kokoro/presubmit/java8-win.cfg" + }, + { + "path": ".kokoro/presubmit/lint.cfg" + }, + { + "path": ".kokoro/presubmit/clirr.cfg" + }, + { + "path": ".kokoro/presubmit/java8-osx.cfg" + }, + { + "path": ".kokoro/presubmit/integration.cfg" + }, + { + "path": ".kokoro/presubmit/java7.cfg" + }, + { + "path": ".kokoro/presubmit/java8.cfg" + }, + { + "path": ".kokoro/presubmit/dependencies.cfg" + }, + { + "path": ".kokoro/presubmit/linkage-monitor.cfg" + }, + { + "path": ".kokoro/presubmit/common.cfg" + }, + { + "path": ".kokoro/continuous/propose_release.cfg" + }, + { + "path": ".kokoro/continuous/java11.cfg" + }, + { + "path": ".kokoro/continuous/java8-win.cfg" + }, + { + "path": ".kokoro/continuous/lint.cfg" + }, + { + "path": ".kokoro/continuous/java8-osx.cfg" + }, + { + "path": ".kokoro/continuous/propose_release.sh" + }, + { + "path": ".kokoro/continuous/integration.cfg" + }, + { + "path": ".kokoro/continuous/java7.cfg" + }, + { + "path": ".kokoro/continuous/java8.cfg" + }, + { + "path": ".kokoro/continuous/dependencies.cfg" + }, + { + "path": ".kokoro/continuous/common.cfg" + }, + { + "path": "grpc-google-cloud-speech-v1beta1/pom.xml" + }, + { + "path": "grpc-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechGrpc.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/speech.java.20191017.083221.manifest.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/SpeechAdaptationBeta.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/SpeechTranscribeDiarizationBeta.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/SpeechTranscribeWordLevelConfidenceBeta.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/SpeechQuickstartBeta.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/SpeechTranscribeMultilanguageBeta.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/SpeechTranscribeAutoPunctuationBeta.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/SpeechTranscribeRecognitionMetadataBeta.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/SpeechContextsClassesBeta.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/speech.v1p1beta1.java.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/test/speech_quickstart_beta.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/test/speech_contexts_classes_beta.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/test/speech_transcribe_recognition_metadata_beta.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/test/speech_transcribe_multilanguage_beta.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/test/speech_transcribe_diarization_beta.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/test/speech_transcribe_auto_punctuation_beta.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/test/speech_transcribe_word_level_confidence_beta.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1p1beta1/test/speech_adaptation_beta.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/SpeechTranscribeAsyncWordTimeOffsetsGcs.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/speech.java.20191017.083206.manifest.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/SpeechTranscribeModelSelection.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/SpeechTranscribeAsync.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/SpeechTranscribeAsyncGcs.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/SpeechTranscribeMultichannel.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/SpeechTranscribeEnhancedModel.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/SpeechTranscribeModelSelectionGcs.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/SpeechTranscribeSyncGcs.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/speech.v1.java.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/SpeechTranscribeMultichannelGcs.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/SpeechTranscribeSync.java" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/test/speech_transcribe_sync_gcs.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/test/speech_transcribe_sync.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/test/speech_transcribe_async_word_time_offsets_gcs.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/test/speech_transcribe_model_selection.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/test/speech_transcribe_model_selection_gcs.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/test/speech_transcribe_enhanced_model.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/test/speech_transcribe_async_gcs.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/test/speech_transcribe_multichannel.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/test/speech_transcribe_async.test.yaml" + }, + { + "path": "samples/src/main/java/com/google/cloud/examples/speech/v1/test/speech_transcribe_multichannel_gcs.test.yaml" + }, + { + "path": "grpc-google-cloud-speech-v1/pom.xml" + }, + { + "path": "grpc-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechGrpc.java" + }, + { + "path": "proto-google-cloud-speech-v1/pom.xml" + }, + { + "path": "proto-google-cloud-speech-v1/clirr-ignored-differences.xml" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/cloud_speech.proto" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionMetadataOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequest.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternativeOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfo.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeResponseOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequestOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequestOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeakerDiarizationConfig.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResultOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfoOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfigOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudio.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContext.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeResponse.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequest.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeMetadataOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeakerDiarizationConfigOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionMetadata.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequestOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResultOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponse.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContextOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeResponse.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfig.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResult.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponseOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudioOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResult.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternative.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequest.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeMetadata.java" + }, + { + "path": "proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeResponseOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/pom.xml" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/proto/google/cloud/speech/v1beta1/cloud_speech.proto" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeMetadataOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/RecognitionConfig.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechRecognitionAlternativeOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SyncRecognizeRequestOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechRecognitionResultOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SyncRecognizeResponse.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeResponseOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SyncRecognizeRequest.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognitionConfigOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/RecognitionAudio.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechContext.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeRequestOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/RecognitionConfigOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeRequestOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognitionResultOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeResponse.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechContextOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeMetadata.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognitionConfig.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognitionResult.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeResponse.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeResponseOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/RecognitionAudioOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechRecognitionResult.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechRecognitionAlternative.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SyncRecognizeResponseOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeRequest.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/SpeechProto.java" + }, + { + "path": "proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/AsyncRecognizeRequest.java" + }, + { + "path": "__pycache__/synth.cpython-36.pyc" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/pom.xml" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech.proto" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfig.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadataOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeRequest.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfo.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeResponseOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeRequestOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeRequestOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeakerDiarizationConfig.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResultOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfoOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionConfigOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionAudio.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechContext.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeResponse.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeRequest.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeMetadataOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeakerDiarizationConfigOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadata.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfigOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeRequestOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResultOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponse.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechContextOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeResponse.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionConfig.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResult.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponseOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionAudioOrBuilder.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResult.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionAlternative.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeRequest.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechProto.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeMetadata.java" + }, + { + "path": "proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeResponseOrBuilder.java" + }, + { + "path": ".git/shallow" + }, + { + "path": ".git/index" + }, + { + "path": ".git/packed-refs" + }, + { + "path": ".git/HEAD" + }, + { + "path": ".git/config" + }, + { + "path": ".git/logs/HEAD" + }, + { + "path": ".git/logs/refs/heads/autosynth" + }, + { + "path": ".git/logs/refs/heads/master" + }, + { + "path": ".git/logs/refs/remotes/origin/HEAD" + }, + { + "path": ".git/objects/pack/pack-c22dd88fd309362a272671400d5bcae671a1c1e9.idx" + }, + { + "path": ".git/objects/pack/pack-c22dd88fd309362a272671400d5bcae671a1c1e9.pack" + }, + { + "path": ".git/refs/heads/autosynth" + }, + { + "path": ".git/refs/heads/master" + }, + { + "path": ".git/refs/remotes/origin/HEAD" + } ] } \ No newline at end of file