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
public interface CustomClassOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCustomClassId()
If this custom class is a resource, the custom_class_id is the resource id of the CustomClass.com.google.protobuf.ByteString
getCustomClassIdBytes()
If this custom class is a resource, the custom_class_id is the resource id of the CustomClass.CustomClass.ClassItem
getItems(int index)
A collection of class items.int
getItemsCount()
A collection of class items.List<CustomClass.ClassItem>
getItemsList()
A collection of class items.CustomClass.ClassItemOrBuilder
getItemsOrBuilder(int index)
A collection of class items.List<? extends CustomClass.ClassItemOrBuilder>
getItemsOrBuilderList()
A collection of class items.String
getName()
The resource name of the custom class.com.google.protobuf.ByteString
getNameBytes()
The resource name of the custom class.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
CustomClass.ClassItem getItems(int index)
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
CustomClass.ClassItemOrBuilder getItemsOrBuilder(int index)
A collection of class items.
repeated .google.cloud.speech.v1.CustomClass.ClassItem items = 3;
-
-