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.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()
Returns
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>
|
Returns
addCustomClasses(CustomClass value)
public ListCustomClassesResponse.Builder addCustomClasses(CustomClass value)
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Parameter
Returns
addCustomClasses(CustomClass.Builder builderForValue)
public ListCustomClassesResponse.Builder addCustomClasses(CustomClass.Builder builderForValue)
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
addCustomClassesBuilder()
public CustomClass.Builder addCustomClassesBuilder()
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Returns
addCustomClassesBuilder(int index)
public CustomClass.Builder addCustomClassesBuilder(int index)
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCustomClassesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListCustomClassesResponse build()
Returns
buildPartial()
public ListCustomClassesResponse buildPartial()
Returns
clear()
public ListCustomClassesResponse.Builder clear()
Returns
Overrides
clearCustomClasses()
public ListCustomClassesResponse.Builder clearCustomClasses()
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListCustomClassesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCustomClassesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListCustomClassesResponse.Builder clone()
Returns
Overrides
getCustomClasses(int index)
public CustomClass getCustomClasses(int index)
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Parameter
Returns
getCustomClassesBuilder(int index)
public CustomClass.Builder getCustomClassesBuilder(int index)
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Parameter
Returns
getCustomClassesBuilderList()
public List<CustomClass.Builder> getCustomClassesBuilderList()
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Returns
getCustomClassesCount()
public int getCustomClassesCount()
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Returns
getCustomClassesList()
public List<CustomClass> getCustomClassesList()
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Returns
getCustomClassesOrBuilder(int index)
public CustomClassOrBuilder getCustomClassesOrBuilder(int index)
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Parameter
Returns
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()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListCustomClassesResponse other)
public ListCustomClassesResponse.Builder mergeFrom(ListCustomClassesResponse other)
Parameter
Returns
public ListCustomClassesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListCustomClassesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomClassesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeCustomClasses(int index)
public ListCustomClassesResponse.Builder removeCustomClasses(int index)
The custom classes.
repeated .google.cloud.speech.v1p1beta1.CustomClass custom_classes = 1;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListCustomClassesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCustomClassesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomClassesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides