Interface CustomClassOrBuilder (4.38.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
Type Description
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
Type Description
ByteString

The bytes for customClassId.

getItems(int index)

public abstract CustomClass.ClassItem getItems(int index)

A collection of class items.

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

Parameter
Name Description
index int
Returns
Type Description
CustomClass.ClassItem

getItemsCount()

public abstract int getItemsCount()

A collection of class items.

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

Returns
Type Description
int

getItemsList()

public abstract List<CustomClass.ClassItem> getItemsList()

A collection of class items.

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

Returns
Type Description
List<ClassItem>

getItemsOrBuilder(int index)

public abstract CustomClass.ClassItemOrBuilder getItemsOrBuilder(int index)

A collection of class items.

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

Parameter
Name Description
index int
Returns
Type Description
CustomClass.ClassItemOrBuilder

getItemsOrBuilderList()

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

A collection of class items.

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

Returns
Type Description
List<? extends com.google.cloud.speech.v1.CustomClass.ClassItemOrBuilder>

getName()

public abstract String getName()

The resource name of the custom class.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name of the custom class.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.