Skip to content

Commit

Permalink
chore: remove redundant gRPC service config file (#5898)
Browse files Browse the repository at this point in the history
* feat: expand the set of supported explicit audio encodings
docs: updated ExplicitDecodingConfig documentation to reflect changes related to newly supported encodings

PiperOrigin-RevId: 708316885

Source-Link: googleapis/googleapis@bf2a7ca

Source-Link: googleapis/googleapis-gen@4989c73
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNwZWVjaC8uT3dsQm90LnlhbWwiLCJoIjoiNDk4OWM3MzQ2OWZlYTI4ZTUxODFlOTYxYTgzYWZmZmY3MGI4NDNiNCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* chore: remove redundant gRPC service config file
feat: specify retry configuration

PiperOrigin-RevId: 712493958

Source-Link: googleapis/googleapis@29aea41

Source-Link: googleapis/googleapis-gen@04bcbab
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNwZWVjaC8uT3dsQm90LnlhbWwiLCJoIjoiMDRiY2JhYjQ1MDU5ODllOTg0YjE0MDNkNDM4ZmZmYzAzMTIxNDRhZiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 11, 2025
1 parent b5d4b49 commit b18bc28
Show file tree
Hide file tree
Showing 48 changed files with 177 additions and 79 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-speech/.jsdoc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -40,7 +40,7 @@ module.exports = {
includePattern: '\\.js$'
},
templates: {
copyright: 'Copyright 2024 Google LLC',
copyright: 'Copyright 2025 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: '@google-cloud/speech',
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-speech/.mocharc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-speech/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -729,35 +729,52 @@ message ExplicitDecodingConfig {

// Headerless 8-bit companded alaw samples.
ALAW = 3;

// AMR frames with an rfc4867.5 header.
AMR = 4;

// AMR-WB frames with an rfc4867.5 header.
AMR_WB = 5;

// FLAC frames in the "native FLAC" container format.
FLAC = 6;

// MPEG audio frames with optional (ignored) ID3 metadata.
MP3 = 7;

// Opus audio frames in an Ogg container.
OGG_OPUS = 8;

// Opus audio frames in a WebM container.
WEBM_OPUS = 9;

// AAC audio frames in an MP4 container.
MP4_AAC = 10;

// AAC audio frames in an M4A container.
M4A_AAC = 11;

// AAC audio frames in an MOV container.
MOV_AAC = 12;
}

// Required. Encoding of the audio data sent for recognition.
AudioEncoding encoding = 1 [(google.api.field_behavior) = REQUIRED];

// Sample rate in Hertz of the audio data sent for recognition. Valid
// values are: 8000-48000. 16000 is optimal. For best results, set the
// Optional. Sample rate in Hertz of the audio data sent for recognition.
// Valid values are: 8000-48000. 16000 is optimal. For best results, set the
// sampling rate of the audio source to 16000 Hz. If that's not possible, use
// the native sample rate of the audio source (instead of re-sampling).
// Supported for the following encodings:
//
// * LINEAR16: Headerless 16-bit signed little-endian PCM samples.
//
// * MULAW: Headerless 8-bit companded mulaw samples.
//
// * ALAW: Headerless 8-bit companded alaw samples.
int32 sample_rate_hertz = 2;
// Note that this field is marked as OPTIONAL for backward compatibility
// reasons. It is (and has always been) effectively REQUIRED.
int32 sample_rate_hertz = 2 [(google.api.field_behavior) = OPTIONAL];

// Number of channels present in the audio data sent for recognition.
// Supported for the following encodings:
//
// * LINEAR16: Headerless 16-bit signed little-endian PCM samples.
//
// * MULAW: Headerless 8-bit companded mulaw samples.
//
// * ALAW: Headerless 8-bit companded alaw samples.
// Optional. Number of channels present in the audio data sent for
// recognition. Note that this field is marked as OPTIONAL for backward
// compatibility reasons. It is (and has always been) effectively REQUIRED.
//
// The maximum allowed value is 8.
int32 audio_channel_count = 3;
int32 audio_channel_count = 3 [(google.api.field_behavior) = OPTIONAL];
}

// Configuration to enable speaker diarization.
Expand Down Expand Up @@ -1316,16 +1333,16 @@ message SrtOutputFileFormatConfig {}
// Configuration for the format of the results stored to `output`.
message OutputFormatConfig {
// Configuration for the native output format. If this field is set or if no
// other output format field is set then transcripts will be written to the
// other output format field is set, then transcripts will be written to the
// sink in the native format.
NativeOutputFileFormatConfig native = 1;

// Configuration for the vtt output format. If this field is set then
// transcripts will be written to the sink in the vtt format.
// Configuration for the VTT output format. If this field is set, then
// transcripts will be written to the sink in the VTT format.
VttOutputFileFormatConfig vtt = 2;

// Configuration for the srt output format. If this field is set then
// transcripts will be written to the sink in the srt format.
// Configuration for the SRT output format. If this field is set, then
// transcripts will be written to the sink in the SRT format.
SrtOutputFileFormatConfig srt = 3;
}

Expand Down
13 changes: 11 additions & 2 deletions packages/google-cloud-speech/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

65 changes: 64 additions & 1 deletion packages/google-cloud-speech/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 18 additions & 3 deletions packages/google-cloud-speech/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit b18bc28

Please sign in to comment.