Class ClassificationModelOptions.V1Model.Builder (2.49.0)

public static final class ClassificationModelOptions.V1Model.Builder extends GeneratedMessageV3.Builder<ClassificationModelOptions.V1Model.Builder> implements ClassificationModelOptions.V1ModelOrBuilder

Options for the V1 model.

Protobuf type google.cloud.language.v1beta2.ClassificationModelOptions.V1Model

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClassificationModelOptions.V1Model.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClassificationModelOptions.V1Model.Builder
Overrides

build()

public ClassificationModelOptions.V1Model build()
Returns
Type Description
ClassificationModelOptions.V1Model

buildPartial()

public ClassificationModelOptions.V1Model buildPartial()
Returns
Type Description
ClassificationModelOptions.V1Model

clear()

public ClassificationModelOptions.V1Model.Builder clear()
Returns
Type Description
ClassificationModelOptions.V1Model.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ClassificationModelOptions.V1Model.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ClassificationModelOptions.V1Model.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ClassificationModelOptions.V1Model.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ClassificationModelOptions.V1Model.Builder
Overrides

clone()

public ClassificationModelOptions.V1Model.Builder clone()
Returns
Type Description
ClassificationModelOptions.V1Model.Builder
Overrides

getDefaultInstanceForType()

public ClassificationModelOptions.V1Model getDefaultInstanceForType()
Returns
Type Description
ClassificationModelOptions.V1Model

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ClassificationModelOptions.V1Model other)

public ClassificationModelOptions.V1Model.Builder mergeFrom(ClassificationModelOptions.V1Model other)
Parameter
Name Description
other ClassificationModelOptions.V1Model
Returns
Type Description
ClassificationModelOptions.V1Model.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ClassificationModelOptions.V1Model.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClassificationModelOptions.V1Model.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ClassificationModelOptions.V1Model.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ClassificationModelOptions.V1Model.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClassificationModelOptions.V1Model.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClassificationModelOptions.V1Model.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ClassificationModelOptions.V1Model.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClassificationModelOptions.V1Model.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ClassificationModelOptions.V1Model.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ClassificationModelOptions.V1Model.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ClassificationModelOptions.V1Model.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClassificationModelOptions.V1Model.Builder
Overrides