com.google.cloud.speech.v1.RecognitionAudioOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-speech-v1 Show documentation
Show all versions of proto-google-cloud-speech-v1 Show documentation
PROTO library for proto-google-cloud-speech-v1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/speech/v1/cloud_speech.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.speech.v1;
public interface RecognitionAudioOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.speech.v1.RecognitionAudio)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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.
*
*
* bytes content = 1;
*
* @return Whether the content field is set.
*/
boolean hasContent();
/**
*
*
*
* 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.
*
*
* bytes content = 1;
*
* @return The content.
*/
com.google.protobuf.ByteString getContent();
/**
*
*
*
* 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).
*
*
* string uri = 2;
*
* @return Whether the uri field is set.
*/
boolean hasUri();
/**
*
*
*
* 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).
*
*
* string uri = 2;
*
* @return The uri.
*/
java.lang.String getUri();
/**
*
*
*
* 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).
*
*
* string uri = 2;
*
* @return The bytes for uri.
*/
com.google.protobuf.ByteString getUriBytes();
com.google.cloud.speech.v1.RecognitionAudio.AudioSourceCase getAudioSourceCase();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy