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

feat(generator): update protoc to v3.15.3 #453

Merged
merged 1 commit into from Mar 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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