Interface CustomClassOrBuilder (4.24.0)

public interface CustomClassOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomClassId()

public abstract 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
TypeDescription
String

The customClassId.

getCustomClassIdBytes()

public abstract 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
TypeDescription
ByteString

The bytes for customClassId.

getItems(int index)

public abstract CustomClass.ClassItem getItems(int index)

A collection of class items.

repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomClass.ClassItem

getItemsCount()

public abstract int getItemsCount()

A collection of class items.

repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;

Returns
TypeDescription
int

getItemsList()

public abstract List<CustomClass.ClassItem> getItemsList()

A collection of class items.

repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;

Returns
TypeDescription
List<ClassItem>

getItemsOrBuilder(int index)

public abstract CustomClass.ClassItemOrBuilder getItemsOrBuilder(int index)

A collection of class items.

repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomClass.ClassItemOrBuilder

getItemsOrBuilderList()

public abstract List<? extends CustomClass.ClassItemOrBuilder> getItemsOrBuilderList()

A collection of class items.

repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;

Returns
TypeDescription
List<? extends com.google.cloud.speech.v1p1beta1.CustomClass.ClassItemOrBuilder>

getName()

public abstract String getName()

The resource name of the custom class.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name of the custom class.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.