Send feedback
Class ListCustomClassesResponse.Builder (4.50.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.50.0 keyboard_arrow_down
public static final class ListCustomClassesResponse . Builder extends GeneratedMessageV3 . Builder<ListCustomClassesResponse . Builder > implements ListCustomClassesResponseOrBuilder
Message returned to the client by the ListCustomClasses
method.
Protobuf type google.cloud.speech.v1p1beta1.ListCustomClassesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllCustomClasses(Iterable<? extends CustomClass> values)
public ListCustomClassesResponse . Builder addAllCustomClasses ( Iterable <? extends CustomClass > values )
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Parameter
Name
Description
values
Iterable <? extends com.google.cloud.speech.v1p1beta1.CustomClass >
addCustomClasses(CustomClass value)
public ListCustomClassesResponse . Builder addCustomClasses ( CustomClass value )
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
addCustomClasses(CustomClass.Builder builderForValue)
public ListCustomClassesResponse . Builder addCustomClasses ( CustomClass . Builder builderForValue )
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
addCustomClasses(int index, CustomClass value)
public ListCustomClassesResponse . Builder addCustomClasses ( int index , CustomClass value )
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
addCustomClasses(int index, CustomClass.Builder builderForValue)
public ListCustomClassesResponse . Builder addCustomClasses ( int index , CustomClass . Builder builderForValue )
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
addCustomClassesBuilder()
public CustomClass . Builder addCustomClassesBuilder ()
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
addCustomClassesBuilder(int index)
public CustomClass . Builder addCustomClassesBuilder ( int index )
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Parameter
Name
Description
index
int
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCustomClassesResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ListCustomClassesResponse build ()
buildPartial()
public ListCustomClassesResponse buildPartial ()
clear()
public ListCustomClassesResponse . Builder clear ()
Overrides
clearCustomClasses()
public ListCustomClassesResponse . Builder clearCustomClasses ()
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
clearField(Descriptors.FieldDescriptor field)
public ListCustomClassesResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearNextPageToken()
public ListCustomClassesResponse . Builder clearNextPageToken ()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCustomClassesResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public ListCustomClassesResponse . Builder clone ()
Overrides
getCustomClasses(int index)
public CustomClass getCustomClasses ( int index )
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Parameter
Name
Description
index
int
getCustomClassesBuilder(int index)
public CustomClass . Builder getCustomClassesBuilder ( int index )
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Parameter
Name
Description
index
int
getCustomClassesBuilderList()
public List<CustomClass . Builder > getCustomClassesBuilderList ()
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
getCustomClassesCount()
public int getCustomClassesCount ()
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Returns
Type
Description
int
getCustomClassesList()
public List<CustomClass> getCustomClassesList ()
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
getCustomClassesOrBuilder(int index)
public CustomClassOrBuilder getCustomClassesOrBuilder ( int index )
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Parameter
Name
Description
index
int
getCustomClassesOrBuilderList()
public List <? extends CustomClassOrBuilder > getCustomClassesOrBuilderList ()
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Returns
Type
Description
List <? extends com.google.cloud.speech.v1p1beta1.CustomClassOrBuilder >
getDefaultInstanceForType()
public ListCustomClassesResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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
Type
Description
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
Type
Description
ByteString
The bytes for nextPageToken.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ListCustomClassesResponse other)
public ListCustomClassesResponse . Builder mergeFrom ( ListCustomClassesResponse other )
public ListCustomClassesResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ListCustomClassesResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomClassesResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeCustomClasses(int index)
public ListCustomClassesResponse . Builder removeCustomClasses ( int index )
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Parameter
Name
Description
index
int
setCustomClasses(int index, CustomClass value)
public ListCustomClassesResponse . Builder setCustomClasses ( int index , CustomClass value )
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
setCustomClasses(int index, CustomClass.Builder builderForValue)
public ListCustomClassesResponse . Builder setCustomClasses ( int index , CustomClass . Builder builderForValue )
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListCustomClassesResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setNextPageToken(String value)
public ListCustomClassesResponse . Builder setNextPageToken ( String value )
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;
Parameter
Name
Description
value
String
The nextPageToken to set.
setNextPageTokenBytes(ByteString value)
public ListCustomClassesResponse . Builder setNextPageTokenBytes ( ByteString value )
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;
Parameter
Name
Description
value
ByteString
The bytes for nextPageToken to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCustomClassesResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomClassesResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]