Skip to content
Permalink
Browse files
feat(generator): update protoc to v3.15.3 (#453)
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/c70c2328-69c5-4e5d-a0a1-376c1f8b88da/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 359781040
Source-Link: googleapis/googleapis@f6dd7e4
  • Loading branch information
yoshi-automation committed Mar 1, 2021
1 parent 546daab commit e624289f70c30a3f1a8e3e921dcc7d0a51ca83c6
@@ -166,6 +166,23 @@ public AudioSourceCase getAudioSourceCase() {
}

public static final int CONTENT_FIELD_NUMBER = 1;
/**
*
*
* <pre>
* The audio data bytes encoded as specified in
* `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
* pure binary representation, whereas JSON representations use base64.
* </pre>
*
* <code>bytes content = 1;</code>
*
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return audioSourceCase_ == 1;
}
/**
*
*
@@ -188,6 +205,26 @@ public com.google.protobuf.ByteString getContent() {
}

public static final int URI_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* URI that points to a file that contains audio data bytes as specified in
* `RecognitionConfig`. The file must not be compressed (for example, gzip).
* Currently, only Google Cloud Storage URIs are
* supported, which must be specified in the following format:
* `gs://bucket_name/object_name` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
* [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
* </pre>
*
* <code>string uri = 2;</code>
*
* @return Whether the uri field is set.
*/
public boolean hasUri() {
return audioSourceCase_ == 2;
}
/**
*
*
@@ -636,6 +673,22 @@ public Builder clearAudioSource() {
return this;
}

/**
*
*
* <pre>
* The audio data bytes encoded as specified in
* `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
* pure binary representation, whereas JSON representations use base64.
* </pre>
*
* <code>bytes content = 1;</code>
*
* @return Whether the content field is set.
*/
public boolean hasContent() {
return audioSourceCase_ == 1;
}
/**
*
*
@@ -700,6 +753,27 @@ public Builder clearContent() {
return this;
}

/**
*
*
* <pre>
* URI that points to a file that contains audio data bytes as specified in
* `RecognitionConfig`. The file must not be compressed (for example, gzip).
* Currently, only Google Cloud Storage URIs are
* supported, which must be specified in the following format:
* `gs://bucket_name/object_name` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
* [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
* </pre>
*
* <code>string uri = 2;</code>
*
* @return Whether the uri field is set.
*/
@java.lang.Override
public boolean hasUri() {
return audioSourceCase_ == 2;
}
/**
*
*
@@ -23,6 +23,20 @@
// @@protoc_insertion_point(interface_extends:google.cloud.speech.v1.RecognitionAudio)
com.google.protobuf.MessageOrBuilder {

/**
*
*
* <pre>
* The audio data bytes encoded as specified in
* `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
* pure binary representation, whereas JSON representations use base64.
* </pre>
*
* <code>bytes content = 1;</code>
*
* @return Whether the content field is set.
*/
boolean hasContent();
/**
*
*
@@ -38,6 +52,24 @@
*/
com.google.protobuf.ByteString getContent();

/**
*
*
* <pre>
* URI that points to a file that contains audio data bytes as specified in
* `RecognitionConfig`. The file must not be compressed (for example, gzip).
* Currently, only Google Cloud Storage URIs are
* supported, which must be specified in the following format:
* `gs://bucket_name/object_name` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
* [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
* </pre>
*
* <code>string uri = 2;</code>
*
* @return Whether the uri field is set.
*/
boolean hasUri();
/**
*
*
@@ -238,6 +238,28 @@ public com.google.cloud.speech.v1.StreamingRecognitionConfig getStreamingConfig(
}

public static final int AUDIO_CONTENT_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* The audio data to be recognized. Sequential chunks of audio data are sent
* in sequential `StreamingRecognizeRequest` messages. The first
* `StreamingRecognizeRequest` message must not contain `audio_content` data
* and all subsequent `StreamingRecognizeRequest` messages must contain
* `audio_content` data. The audio bytes must be encoded as specified in
* `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
* pure binary representation (not base64). See
* [content limits](https://cloud.google.com/speech-to-text/quotas#content).
* </pre>
*
* <code>bytes audio_content = 2;</code>
*
* @return Whether the audioContent field is set.
*/
@java.lang.Override
public boolean hasAudioContent() {
return streamingRequestCase_ == 2;
}
/**
*
*
@@ -885,6 +907,27 @@ public Builder clearStreamingConfig() {
return streamingConfigBuilder_;
}

/**
*
*
* <pre>
* The audio data to be recognized. Sequential chunks of audio data are sent
* in sequential `StreamingRecognizeRequest` messages. The first
* `StreamingRecognizeRequest` message must not contain `audio_content` data
* and all subsequent `StreamingRecognizeRequest` messages must contain
* `audio_content` data. The audio bytes must be encoded as specified in
* `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
* pure binary representation (not base64). See
* [content limits](https://cloud.google.com/speech-to-text/quotas#content).
* </pre>
*
* <code>bytes audio_content = 2;</code>
*
* @return Whether the audioContent field is set.
*/
public boolean hasAudioContent() {
return streamingRequestCase_ == 2;
}
/**
*
*
@@ -64,6 +64,25 @@
*/
com.google.cloud.speech.v1.StreamingRecognitionConfigOrBuilder getStreamingConfigOrBuilder();

/**
*
*
* <pre>
* The audio data to be recognized. Sequential chunks of audio data are sent
* in sequential `StreamingRecognizeRequest` messages. The first
* `StreamingRecognizeRequest` message must not contain `audio_content` data
* and all subsequent `StreamingRecognizeRequest` messages must contain
* `audio_content` data. The audio bytes must be encoded as specified in
* `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
* pure binary representation (not base64). See
* [content limits](https://cloud.google.com/speech-to-text/quotas#content).
* </pre>
*
* <code>bytes audio_content = 2;</code>
*
* @return Whether the audioContent field is set.
*/
boolean hasAudioContent();
/**
*
*
@@ -166,6 +166,23 @@ public AudioSourceCase getAudioSourceCase() {
}

public static final int CONTENT_FIELD_NUMBER = 1;
/**
*
*
* <pre>
* The audio data bytes encoded as specified in
* `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
* pure binary representation, whereas JSON representations use base64.
* </pre>
*
* <code>bytes content = 1;</code>
*
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return audioSourceCase_ == 1;
}
/**
*
*
@@ -188,6 +205,27 @@ public com.google.protobuf.ByteString getContent() {
}

public static final int URI_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* URI that points to a file that contains audio data bytes as specified in
* `RecognitionConfig`. The file must not be compressed (for example, gzip).
* Currently, only Google Cloud Storage URIs are
* supported, which must be specified in the following format:
* `gs://bucket_name/object_name` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]).
* For more information, see [Request
* URIs](https://cloud.google.com/storage/docs/reference-uris).
* </pre>
*
* <code>string uri = 2;</code>
*
* @return Whether the uri field is set.
*/
public boolean hasUri() {
return audioSourceCase_ == 2;
}
/**
*
*
@@ -640,6 +678,22 @@ public Builder clearAudioSource() {
return this;
}

/**
*
*
* <pre>
* The audio data bytes encoded as specified in
* `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
* pure binary representation, whereas JSON representations use base64.
* </pre>
*
* <code>bytes content = 1;</code>
*
* @return Whether the content field is set.
*/
public boolean hasContent() {
return audioSourceCase_ == 1;
}
/**
*
*
@@ -704,6 +758,28 @@ public Builder clearContent() {
return this;
}

/**
*
*
* <pre>
* URI that points to a file that contains audio data bytes as specified in
* `RecognitionConfig`. The file must not be compressed (for example, gzip).
* Currently, only Google Cloud Storage URIs are
* supported, which must be specified in the following format:
* `gs://bucket_name/object_name` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]).
* For more information, see [Request
* URIs](https://cloud.google.com/storage/docs/reference-uris).
* </pre>
*
* <code>string uri = 2;</code>
*
* @return Whether the uri field is set.
*/
@java.lang.Override
public boolean hasUri() {
return audioSourceCase_ == 2;
}
/**
*
*
@@ -23,6 +23,20 @@
// @@protoc_insertion_point(interface_extends:google.cloud.speech.v1p1beta1.RecognitionAudio)
com.google.protobuf.MessageOrBuilder {

/**
*
*
* <pre>
* The audio data bytes encoded as specified in
* `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
* pure binary representation, whereas JSON representations use base64.
* </pre>
*
* <code>bytes content = 1;</code>
*
* @return Whether the content field is set.
*/
boolean hasContent();
/**
*
*
@@ -38,6 +52,25 @@
*/
com.google.protobuf.ByteString getContent();

/**
*
*
* <pre>
* URI that points to a file that contains audio data bytes as specified in
* `RecognitionConfig`. The file must not be compressed (for example, gzip).
* Currently, only Google Cloud Storage URIs are
* supported, which must be specified in the following format:
* `gs://bucket_name/object_name` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]).
* For more information, see [Request
* URIs](https://cloud.google.com/storage/docs/reference-uris).
* </pre>
*
* <code>string uri = 2;</code>
*
* @return Whether the uri field is set.
*/
boolean hasUri();
/**
*
*

0 comments on commit e624289

Please sign in to comment.