com.google.cloud.speech.v1.SpeakerDiarizationConfigOrBuilder 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 SpeakerDiarizationConfigOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.speech.v1.SpeakerDiarizationConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* If 'true', enables speaker detection for each recognized word in
* the top alternative of the recognition result using a speaker_label
* provided in the WordInfo.
*
*
* bool enable_speaker_diarization = 1;
*
* @return The enableSpeakerDiarization.
*/
boolean getEnableSpeakerDiarization();
/**
*
*
*
* Minimum number of speakers in the conversation. This range gives you more
* flexibility by allowing the system to automatically determine the correct
* number of speakers. If not set, the default value is 2.
*
*
* int32 min_speaker_count = 2;
*
* @return The minSpeakerCount.
*/
int getMinSpeakerCount();
/**
*
*
*
* Maximum number of speakers in the conversation. This range gives you more
* flexibility by allowing the system to automatically determine the correct
* number of speakers. If not set, the default value is 6.
*
*
* int32 max_speaker_count = 3;
*
* @return The maxSpeakerCount.
*/
int getMaxSpeakerCount();
/**
*
*
*
* Output only. Unused.
*
*
* int32 speaker_tag = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @deprecated google.cloud.speech.v1.SpeakerDiarizationConfig.speaker_tag is deprecated. See
* google/cloud/speech/v1/cloud_speech.proto;l=493
* @return The speakerTag.
*/
@java.lang.Deprecated
int getSpeakerTag();
}