Class ClassificationModelOptions.V1Model.Builder (2.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClassificationModelOptions.V1Model.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder
Overrides

build()

public ClassificationModelOptions.V1Model build()
Returns
TypeDescription
ClassificationModelOptions.V1Model

buildPartial()

public ClassificationModelOptions.V1Model buildPartial()
Returns
TypeDescription
ClassificationModelOptions.V1Model

clear()

public ClassificationModelOptions.V1Model.Builder clear()
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ClassificationModelOptions.V1Model.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ClassificationModelOptions.V1Model.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder
Overrides

clone()

public ClassificationModelOptions.V1Model.Builder clone()
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder
Overrides

getDefaultInstanceForType()

public ClassificationModelOptions.V1Model getDefaultInstanceForType()
Returns
TypeDescription
ClassificationModelOptions.V1Model

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ClassificationModelOptions.V1Model other)

public ClassificationModelOptions.V1Model.Builder mergeFrom(ClassificationModelOptions.V1Model other)
Parameter
NameDescription
otherClassificationModelOptions.V1Model
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ClassificationModelOptions.V1Model.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ClassificationModelOptions.V1Model.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClassificationModelOptions.V1Model.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ClassificationModelOptions.V1Model.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ClassificationModelOptions.V1Model.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder
Overrides