Class TextSentimentModelMetadata.Builder (2.47.0)

public static final class TextSentimentModelMetadata.Builder extends GeneratedMessageV3.Builder<TextSentimentModelMetadata.Builder> implements TextSentimentModelMetadataOrBuilder

Model metadata that is specific to text sentiment.

Protobuf type google.cloud.automl.v1beta1.TextSentimentModelMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TextSentimentModelMetadata build()
Returns
Type Description
TextSentimentModelMetadata

buildPartial()

public TextSentimentModelMetadata buildPartial()
Returns
Type Description
TextSentimentModelMetadata

clear()

public TextSentimentModelMetadata.Builder clear()
Returns
Type Description
TextSentimentModelMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TextSentimentModelMetadata.Builder clone()
Returns
Type Description
TextSentimentModelMetadata.Builder
Overrides

getDefaultInstanceForType()

public TextSentimentModelMetadata getDefaultInstanceForType()
Returns
Type Description
TextSentimentModelMetadata

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(TextSentimentModelMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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