Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
feat(generator): update protoc to v3.15.3 (#453)
Browse files Browse the repository at this point in the history
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 e624289
Show file tree
Hide file tree
Showing 9 changed files with 344 additions and 5 deletions.
Expand Up @@ -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;
}
/**
*
*
Expand All @@ -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;
}
/**
*
*
Expand Down Expand Up @@ -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;
}
/**
*
*
Expand Down Expand Up @@ -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;
}
/**
*
*
Expand Down
Expand Up @@ -23,6 +23,20 @@ public interface RecognitionAudioOrBuilder
// @@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();
/**
*
*
Expand All @@ -38,6 +52,24 @@ public interface RecognitionAudioOrBuilder
*/
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();
/**
*
*
Expand Down
Expand Up @@ -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;
}
/**
*
*
Expand Down Expand Up @@ -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;
}
/**
*
*
Expand Down
Expand Up @@ -64,6 +64,25 @@ public interface StreamingRecognizeRequestOrBuilder
*/
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();
/**
*
*
Expand Down
Expand Up @@ -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;
}
/**
*
*
Expand All @@ -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;
}
/**
*
*
Expand Down Expand Up @@ -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;
}
/**
*
*
Expand Down Expand Up @@ -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;
}
/**
*
*
Expand Down
Expand Up @@ -23,6 +23,20 @@ public interface RecognitionAudioOrBuilder
// @@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();
/**
*
*
Expand All @@ -38,6 +52,25 @@ public interface RecognitionAudioOrBuilder
*/
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();
/**
*
*
Expand Down

0 comments on commit e624289

Please sign in to comment.