com.google.cloud.speech.v1.SpeechAdaptationOrBuilder 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/resource.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.speech.v1;
public interface SpeechAdaptationOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.speech.v1.SpeechAdaptation)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* A collection of phrase sets. To specify the hints inline, leave the
* phrase set's `name` blank and fill in the rest of its fields. Any
* phrase set can use any custom class.
*
*
* repeated .google.cloud.speech.v1.PhraseSet phrase_sets = 1;
*/
java.util.List getPhraseSetsList();
/**
*
*
*
* A collection of phrase sets. To specify the hints inline, leave the
* phrase set's `name` blank and fill in the rest of its fields. Any
* phrase set can use any custom class.
*
*
* repeated .google.cloud.speech.v1.PhraseSet phrase_sets = 1;
*/
com.google.cloud.speech.v1.PhraseSet getPhraseSets(int index);
/**
*
*
*
* A collection of phrase sets. To specify the hints inline, leave the
* phrase set's `name` blank and fill in the rest of its fields. Any
* phrase set can use any custom class.
*
*
* repeated .google.cloud.speech.v1.PhraseSet phrase_sets = 1;
*/
int getPhraseSetsCount();
/**
*
*
*
* A collection of phrase sets. To specify the hints inline, leave the
* phrase set's `name` blank and fill in the rest of its fields. Any
* phrase set can use any custom class.
*
*
* repeated .google.cloud.speech.v1.PhraseSet phrase_sets = 1;
*/
java.util.List extends com.google.cloud.speech.v1.PhraseSetOrBuilder>
getPhraseSetsOrBuilderList();
/**
*
*
*
* A collection of phrase sets. To specify the hints inline, leave the
* phrase set's `name` blank and fill in the rest of its fields. Any
* phrase set can use any custom class.
*
*
* repeated .google.cloud.speech.v1.PhraseSet phrase_sets = 1;
*/
com.google.cloud.speech.v1.PhraseSetOrBuilder getPhraseSetsOrBuilder(int index);
/**
*
*
*
* A collection of phrase set resource names to use.
*
*
* repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
*
*
* @return A list containing the phraseSetReferences.
*/
java.util.List getPhraseSetReferencesList();
/**
*
*
*
* A collection of phrase set resource names to use.
*
*
* repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
*
*
* @return The count of phraseSetReferences.
*/
int getPhraseSetReferencesCount();
/**
*
*
*
* A collection of phrase set resource names to use.
*
*
* repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
*
*
* @param index The index of the element to return.
* @return The phraseSetReferences at the given index.
*/
java.lang.String getPhraseSetReferences(int index);
/**
*
*
*
* A collection of phrase set resource names to use.
*
*
* repeated string phrase_set_references = 2 [(.google.api.resource_reference) = { ... }
*
*
* @param index The index of the value to return.
* @return The bytes of the phraseSetReferences at the given index.
*/
com.google.protobuf.ByteString getPhraseSetReferencesBytes(int index);
/**
*
*
*
* A collection of custom classes. To specify the classes inline, leave the
* class' `name` blank and fill in the rest of its fields, giving it a unique
* `custom_class_id`. Refer to the inline defined class in phrase hints by its
* `custom_class_id`.
*
*
* repeated .google.cloud.speech.v1.CustomClass custom_classes = 3;
*/
java.util.List getCustomClassesList();
/**
*
*
*
* A collection of custom classes. To specify the classes inline, leave the
* class' `name` blank and fill in the rest of its fields, giving it a unique
* `custom_class_id`. Refer to the inline defined class in phrase hints by its
* `custom_class_id`.
*
*
* repeated .google.cloud.speech.v1.CustomClass custom_classes = 3;
*/
com.google.cloud.speech.v1.CustomClass getCustomClasses(int index);
/**
*
*
*
* A collection of custom classes. To specify the classes inline, leave the
* class' `name` blank and fill in the rest of its fields, giving it a unique
* `custom_class_id`. Refer to the inline defined class in phrase hints by its
* `custom_class_id`.
*
*
* repeated .google.cloud.speech.v1.CustomClass custom_classes = 3;
*/
int getCustomClassesCount();
/**
*
*
*
* A collection of custom classes. To specify the classes inline, leave the
* class' `name` blank and fill in the rest of its fields, giving it a unique
* `custom_class_id`. Refer to the inline defined class in phrase hints by its
* `custom_class_id`.
*
*
* repeated .google.cloud.speech.v1.CustomClass custom_classes = 3;
*/
java.util.List extends com.google.cloud.speech.v1.CustomClassOrBuilder>
getCustomClassesOrBuilderList();
/**
*
*
*
* A collection of custom classes. To specify the classes inline, leave the
* class' `name` blank and fill in the rest of its fields, giving it a unique
* `custom_class_id`. Refer to the inline defined class in phrase hints by its
* `custom_class_id`.
*
*
* repeated .google.cloud.speech.v1.CustomClass custom_classes = 3;
*/
com.google.cloud.speech.v1.CustomClassOrBuilder getCustomClassesOrBuilder(int index);
/**
*
*
*
* Augmented Backus-Naur form (ABNF) is a standardized grammar notation
* comprised by a set of derivation rules.
* See specifications: https://www.w3.org/TR/speech-grammar
*
*
* .google.cloud.speech.v1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
*
* @return Whether the abnfGrammar field is set.
*/
boolean hasAbnfGrammar();
/**
*
*
*
* Augmented Backus-Naur form (ABNF) is a standardized grammar notation
* comprised by a set of derivation rules.
* See specifications: https://www.w3.org/TR/speech-grammar
*
*
* .google.cloud.speech.v1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
*
* @return The abnfGrammar.
*/
com.google.cloud.speech.v1.SpeechAdaptation.ABNFGrammar getAbnfGrammar();
/**
*
*
*
* Augmented Backus-Naur form (ABNF) is a standardized grammar notation
* comprised by a set of derivation rules.
* See specifications: https://www.w3.org/TR/speech-grammar
*
*
* .google.cloud.speech.v1.SpeechAdaptation.ABNFGrammar abnf_grammar = 4;
*/
com.google.cloud.speech.v1.SpeechAdaptation.ABNFGrammarOrBuilder getAbnfGrammarOrBuilder();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy