public static final class ModelFeatures.Builder extends GeneratedMessageV3.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.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
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ModelFeatures.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ModelFeatures build()
buildPartial()
public ModelFeatures buildPartial()
clear()
public ModelFeatures.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ModelFeatures.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearModelFeature()
public ModelFeatures.Builder clearModelFeature()
Repeated field that contains all features of the model
repeated .google.cloud.speech.v2.ModelFeature model_feature = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ModelFeatures.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ModelFeatures.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ModelFeatures.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ModelFeatures.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ModelFeatures.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ModelFeatures.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides