Package com.google.cloud.speech.v1
Interface CustomClassOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CustomClass,CustomClass.Builder
@Generated
public interface CustomClassOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIf this custom class is a resource, the custom_class_id is the resource id of the CustomClass.com.google.protobuf.ByteStringIf this custom class is a resource, the custom_class_id is the resource id of the CustomClass.getItems(int index) A collection of class items.intA collection of class items.A collection of class items.getItemsOrBuilder(int index) A collection of class items.List<? extends CustomClass.ClassItemOrBuilder>A collection of class items.getName()The resource name of the custom class.com.google.protobuf.ByteStringThe resource name of the custom class.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The resource name of the custom class.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The resource name of the custom class.
string name = 1;- Returns:
- The bytes for name.
-
getCustomClassId
String getCustomClassId()If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
string custom_class_id = 2;- Returns:
- The customClassId.
-
getCustomClassIdBytes
com.google.protobuf.ByteString getCustomClassIdBytes()If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
string custom_class_id = 2;- Returns:
- The bytes for customClassId.
-
getItemsList
List<CustomClass.ClassItem> getItemsList()A collection of class items.
repeated .google.cloud.speech.v1.CustomClass.ClassItem items = 3; -
getItems
A collection of class items.
repeated .google.cloud.speech.v1.CustomClass.ClassItem items = 3; -
getItemsCount
int getItemsCount()A collection of class items.
repeated .google.cloud.speech.v1.CustomClass.ClassItem items = 3; -
getItemsOrBuilderList
List<? extends CustomClass.ClassItemOrBuilder> getItemsOrBuilderList()A collection of class items.
repeated .google.cloud.speech.v1.CustomClass.ClassItem items = 3; -
getItemsOrBuilder
A collection of class items.
repeated .google.cloud.speech.v1.CustomClass.ClassItem items = 3;
-