Skip to content
Permalink
Browse files
fix(regen): update timeout configs, javadoc from protoc update (#62)
  • Loading branch information
yoshi-automation authored and chingor13 committed Dec 19, 2019
1 parent fcf390e commit 505ecb7c4e715d2c2477ef192094a6b0ef437e1a
Showing with 2,960 additions and 217 deletions.
  1. +3 −3 google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStubSettings.java
  2. +31 −1 ...google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeMetadata.java
  3. +10 −0 ...oud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeMetadataOrBuilder.java
  4. +22 −1 ...-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequest.java
  5. +8 −0 ...loud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeRequestOrBuilder.java
  6. +6 −0 ...google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/LongRunningRecognizeResponse.java
  7. +40 −3 proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudio.java
  8. +6 −0 proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudioOrBuilder.java
  9. +163 −16 proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java
  10. +36 −0 ...o-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java
  11. +163 −5 proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionMetadata.java
  12. +30 −0 ...google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionMetadataOrBuilder.java
  13. +22 −1 proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequest.java
  14. +8 −0 proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeRequestOrBuilder.java
  15. +6 −0 proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognizeResponse.java
  16. +42 −1 proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeakerDiarizationConfig.java
  17. +8 −0 ...e-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeakerDiarizationConfigOrBuilder.java
  18. +41 −0 proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContext.java
  19. +10 −0 proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechContextOrBuilder.java
  20. +13 −21 proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java
  21. +43 −15 ...google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternative.java
  22. +6 −0 ...oud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternativeOrBuilder.java
  23. +15 −3 proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResult.java
  24. +2 −0 ...le-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResultOrBuilder.java
  25. +32 −1 ...o-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfig.java
  26. +8 −0 ...cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionConfigOrBuilder.java
  27. +57 −3 ...o-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResult.java
  28. +14 −0 ...cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResultOrBuilder.java
  29. +32 −3 proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequest.java
  30. +6 −0 ...-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeRequestOrBuilder.java
  31. +51 −16 ...o-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponse.java
  32. +8 −0 ...cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponseOrBuilder.java
  33. +47 −1 proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfo.java
  34. +14 −0 proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfoOrBuilder.java
  35. +31 −1 ...peech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeMetadata.java
  36. +10 −0 ...1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeMetadataOrBuilder.java
  37. +22 −1 ...speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeRequest.java
  38. +8 −0 ...p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeRequestOrBuilder.java
  39. +6 −0 ...peech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/LongRunningRecognizeResponse.java
  40. +40 −3 ...ogle-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionAudio.java
  41. +6 −0 ...d-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionAudioOrBuilder.java
  42. +235 −26 ...gle-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfig.java
  43. +52 −0 ...-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfigOrBuilder.java
  44. +172 −5 ...e-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadata.java
  45. +32 −0 ...peech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadataOrBuilder.java
  46. +22 −1 ...ogle-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeRequest.java
  47. +8 −0 ...d-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeRequestOrBuilder.java
  48. +6 −0 ...gle-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognizeResponse.java
  49. +33 −1 ...ud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeakerDiarizationConfig.java
  50. +6 −0 ...-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeakerDiarizationConfigOrBuilder.java
  51. +50 −3 ...-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechContext.java
  52. +12 −0 ...loud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechContextOrBuilder.java
  53. +13 −21 proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechProto.java
  54. +43 −15 ...peech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionAlternative.java
  55. +6 −0 ...1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java
  56. +31 −3 ...oud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResult.java
  57. +6 −0 ...h-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionResultOrBuilder.java
  58. +32 −1 ...-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionConfig.java
  59. +8 −0 ...1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionConfigOrBuilder.java
  60. +57 −3 ...-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResult.java
  61. +14 −0 ...1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognitionResultOrBuilder.java
  62. +32 −3 ...d-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeRequest.java
  63. +6 −0 ...v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeRequestOrBuilder.java
  64. +51 −16 ...-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponse.java
  65. +8 −0 ...1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponseOrBuilder.java
  66. +56 −1 proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfo.java
  67. +16 −0 ...gle-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfoOrBuilder.java
  68. +28 −14 renovate.json
  69. +799 −5 synth.metadata
@@ -233,10 +233,10 @@ public static class Builder extends StubSettings.Builder<SpeechStubSettings, Bui
.setInitialRetryDelay(Duration.ofMillis(100L))
.setRetryDelayMultiplier(1.3)
.setMaxRetryDelay(Duration.ofMillis(60000L))
.setInitialRpcTimeout(Duration.ofMillis(20000L))
.setInitialRpcTimeout(Duration.ofMillis(1000000L))
.setRpcTimeoutMultiplier(1.0)
.setMaxRpcTimeout(Duration.ofMillis(20000L))
.setTotalTimeout(Duration.ofMillis(600000L))
.setMaxRpcTimeout(Duration.ofMillis(1000000L))
.setTotalTimeout(Duration.ofMillis(5000000L))
.build();
definitions.put("default", settings);
RETRY_PARAM_DEFINITIONS = definitions.build();
@@ -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() {
* </pre>
*
* <code>int32 progress_percent = 1;</code>
*
* @return The progressPercent.
*/
public int getProgressPercent() {
return progressPercent_;
@@ -160,6 +167,8 @@ public int getProgressPercent() {
* </pre>
*
* <code>.google.protobuf.Timestamp start_time = 2;</code>
*
* @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTime_ != null;
@@ -172,6 +181,8 @@ public boolean hasStartTime() {
* </pre>
*
* <code>.google.protobuf.Timestamp start_time = 2;</code>
*
* @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() {
* </pre>
*
* <code>.google.protobuf.Timestamp last_update_time = 3;</code>
*
* @return Whether the lastUpdateTime field is set.
*/
public boolean hasLastUpdateTime() {
return lastUpdateTime_ != null;
@@ -211,6 +224,8 @@ public boolean hasLastUpdateTime() {
* </pre>
*
* <code>.google.protobuf.Timestamp last_update_time = 3;</code>
*
* @return The lastUpdateTime.
*/
public com.google.protobuf.Timestamp getLastUpdateTime() {
return lastUpdateTime_ == null
@@ -616,6 +631,8 @@ public Builder mergeFrom(
* </pre>
*
* <code>int32 progress_percent = 1;</code>
*
* @return The progressPercent.
*/
public int getProgressPercent() {
return progressPercent_;
@@ -629,6 +646,9 @@ public int getProgressPercent() {
* </pre>
*
* <code>int32 progress_percent = 1;</code>
*
* @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) {
* </pre>
*
* <code>int32 progress_percent = 1;</code>
*
* @return This builder for chaining.
*/
public Builder clearProgressPercent() {

@@ -667,6 +689,8 @@ public Builder clearProgressPercent() {
* </pre>
*
* <code>.google.protobuf.Timestamp start_time = 2;</code>
*
* @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTimeBuilder_ != null || startTime_ != null;
@@ -679,6 +703,8 @@ public boolean hasStartTime() {
* </pre>
*
* <code>.google.protobuf.Timestamp start_time = 2;</code>
*
* @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
if (startTimeBuilder_ == null) {
@@ -842,6 +868,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
* </pre>
*
* <code>.google.protobuf.Timestamp last_update_time = 3;</code>
*
* @return Whether the lastUpdateTime field is set.
*/
public boolean hasLastUpdateTime() {
return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null;
@@ -854,6 +882,8 @@ public boolean hasLastUpdateTime() {
* </pre>
*
* <code>.google.protobuf.Timestamp last_update_time = 3;</code>
*
* @return The lastUpdateTime.
*/
public com.google.protobuf.Timestamp getLastUpdateTime() {
if (lastUpdateTimeBuilder_ == null) {
@@ -32,6 +32,8 @@
* </pre>
*
* <code>int32 progress_percent = 1;</code>
*
* @return The progressPercent.
*/
int getProgressPercent();

@@ -43,6 +45,8 @@
* </pre>
*
* <code>.google.protobuf.Timestamp start_time = 2;</code>
*
* @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
@@ -53,6 +57,8 @@
* </pre>
*
* <code>.google.protobuf.Timestamp start_time = 2;</code>
*
* @return The startTime.
*/
com.google.protobuf.Timestamp getStartTime();
/**
@@ -74,6 +80,8 @@
* </pre>
*
* <code>.google.protobuf.Timestamp last_update_time = 3;</code>
*
* @return Whether the lastUpdateTime field is set.
*/
boolean hasLastUpdateTime();
/**
@@ -84,6 +92,8 @@
* </pre>
*
* <code>.google.protobuf.Timestamp last_update_time = 3;</code>
*
* @return The lastUpdateTime.
*/
com.google.protobuf.Timestamp getLastUpdateTime();
/**
@@ -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() {
* <code>
* .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return Whether the config field is set.
*/
public boolean hasConfig() {
return config_ != null;
@@ -158,6 +165,8 @@ public boolean hasConfig() {
* <code>
* .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @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(
* <code>
* .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return Whether the audio field is set.
*/
public boolean hasAudio() {
return audio_ != null;
@@ -206,6 +217,8 @@ public boolean hasAudio() {
* <code>
* .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return The audio.
*/
public com.google.cloud.speech.v1.RecognitionAudio getAudio() {
return audio_ == null
@@ -604,6 +617,8 @@ public Builder mergeFrom(
* <code>
* .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return Whether the config field is set.
*/
public boolean hasConfig() {
return configBuilder_ != null || config_ != null;
@@ -619,6 +634,8 @@ public boolean hasConfig() {
* <code>
* .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @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(
* <code>
* .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return Whether the audio field is set.
*/
public boolean hasAudio() {
return audioBuilder_ != null || audio_ != null;
@@ -825,6 +844,8 @@ public boolean hasAudio() {
* <code>
* .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return The audio.
*/
public com.google.cloud.speech.v1.RecognitionAudio getAudio() {
if (audioBuilder_ == null) {
@@ -34,6 +34,8 @@
* <code>
* .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return Whether the config field is set.
*/
boolean hasConfig();
/**
@@ -47,6 +49,8 @@
* <code>
* .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return The config.
*/
com.google.cloud.speech.v1.RecognitionConfig getConfig();
/**
@@ -73,6 +77,8 @@
* <code>
* .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return Whether the audio field is set.
*/
boolean hasAudio();
/**
@@ -85,6 +91,8 @@
* <code>
* .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return The audio.
*/
com.google.cloud.speech.v1.RecognitionAudio getAudio();
/**
@@ -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;

0 comments on commit 505ecb7

Please sign in to comment.