public static final class ModelFeatures.Builder extends GeneratedMessage.Builder<ModelFeatures.Builder> implements ModelFeaturesOrBuilder
Represents the collection of features belonging to a model
Protobuf type google.cloud.speech.v2.ModelFeatures
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllModelFeature(Iterable<? extends ModelFeature> values)
public ModelFeatures.Builder addAllModelFeature(Iterable<? extends ModelFeature> values)
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.speech.v2.ModelFeature>
|
addModelFeature(ModelFeature value)
public ModelFeatures.Builder addModelFeature(ModelFeature value)
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
addModelFeature(ModelFeature.Builder builderForValue)
public ModelFeatures.Builder addModelFeature(ModelFeature.Builder builderForValue)
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
addModelFeature(int index, ModelFeature value)
public ModelFeatures.Builder addModelFeature(int index, ModelFeature value)
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
addModelFeature(int index, ModelFeature.Builder builderForValue)
public ModelFeatures.Builder addModelFeature(int index, ModelFeature.Builder builderForValue)
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
addModelFeatureBuilder()
public ModelFeature.Builder addModelFeatureBuilder()
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
addModelFeatureBuilder(int index)
public ModelFeature.Builder addModelFeatureBuilder(int index)
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
| Parameter |
| Name |
Description |
index |
int
|
build()
public ModelFeatures build()
buildPartial()
public ModelFeatures buildPartial()
clear()
public ModelFeatures.Builder clear()
Overrides
clearModelFeature()
public ModelFeatures.Builder clearModelFeature()
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
getDefaultInstanceForType()
public ModelFeatures getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getModelFeature(int index)
public ModelFeature getModelFeature(int index)
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
| Parameter |
| Name |
Description |
index |
int
|
getModelFeatureBuilder(int index)
public ModelFeature.Builder getModelFeatureBuilder(int index)
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
| Parameter |
| Name |
Description |
index |
int
|
getModelFeatureBuilderList()
public List<ModelFeature.Builder> getModelFeatureBuilderList()
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
getModelFeatureCount()
public int getModelFeatureCount()
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
| Returns |
| Type |
Description |
int |
|
getModelFeatureList()
public List<ModelFeature> getModelFeatureList()
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
getModelFeatureOrBuilder(int index)
public ModelFeatureOrBuilder getModelFeatureOrBuilder(int index)
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
| Parameter |
| Name |
Description |
index |
int
|
getModelFeatureOrBuilderList()
public List<? extends ModelFeatureOrBuilder> getModelFeatureOrBuilderList()
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.speech.v2.ModelFeatureOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ModelFeatures other)
public ModelFeatures.Builder mergeFrom(ModelFeatures other)
public ModelFeatures.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ModelFeatures.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeModelFeature(int index)
public ModelFeatures.Builder removeModelFeature(int index)
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
| Parameter |
| Name |
Description |
index |
int
|
setModelFeature(int index, ModelFeature value)
public ModelFeatures.Builder setModelFeature(int index, ModelFeature value)
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
setModelFeature(int index, ModelFeature.Builder builderForValue)
public ModelFeatures.Builder setModelFeature(int index, ModelFeature.Builder builderForValue)
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;