Class ListCustomClassesResponse (4.26.0)

public final class ListCustomClassesResponse extends GeneratedMessageV3 implements ListCustomClassesResponseOrBuilder

Message returned to the client by the ListCustomClasses method.

Protobuf type google.cloud.speech.v1p1beta1.ListCustomClassesResponse

Static Fields

CUSTOM_CLASSES_FIELD_NUMBER

public static final int CUSTOM_CLASSES_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListCustomClassesResponse getDefaultInstance()
Returns
TypeDescription
ListCustomClassesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListCustomClassesResponse.Builder newBuilder()
Returns
TypeDescription
ListCustomClassesResponse.Builder

newBuilder(ListCustomClassesResponse prototype)

public static ListCustomClassesResponse.Builder newBuilder(ListCustomClassesResponse prototype)
Parameter
NameDescription
prototypeListCustomClassesResponse
Returns
TypeDescription
ListCustomClassesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListCustomClassesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListCustomClassesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCustomClassesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCustomClassesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListCustomClassesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListCustomClassesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListCustomClassesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCustomClassesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListCustomClassesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListCustomClassesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListCustomClassesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCustomClassesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListCustomClassesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListCustomClassesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCustomClassesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCustomClassesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListCustomClassesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListCustomClassesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCustomClassesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCustomClassesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListCustomClassesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListCustomClassesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListCustomClassesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCustomClassesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListCustomClassesResponse> parser()
Returns
TypeDescription
Parser<ListCustomClassesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCustomClasses(int index)

public CustomClass getCustomClasses(int index)

The custom classes.

repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomClass

getCustomClassesCount()

public int getCustomClassesCount()

The custom classes.

repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;

Returns
TypeDescription
int

getCustomClassesList()

public List<CustomClass> getCustomClassesList()

The custom classes.

repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;

Returns
TypeDescription
List<CustomClass>

getCustomClassesOrBuilder(int index)

public CustomClassOrBuilder getCustomClassesOrBuilder(int index)

The custom classes.

repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomClassOrBuilder

getCustomClassesOrBuilderList()

public List<? extends CustomClassOrBuilder> getCustomClassesOrBuilderList()

The custom classes.

repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;

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

getDefaultInstanceForType()

public ListCustomClassesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCustomClassesResponse

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListCustomClassesResponse> getParserForType()
Returns
TypeDescription
Parser<ListCustomClassesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListCustomClassesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListCustomClassesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListCustomClassesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListCustomClassesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListCustomClassesResponse.Builder toBuilder()
Returns
TypeDescription
ListCustomClassesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException