Class TextSentimentModelMetadata.Builder (2.30.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.v1.TextSentimentModelMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TextSentimentModelMetadata build()
Returns
TypeDescription
TextSentimentModelMetadata

buildPartial()

public TextSentimentModelMetadata buildPartial()
Returns
TypeDescription
TextSentimentModelMetadata

clear()

public TextSentimentModelMetadata.Builder clear()
Returns
TypeDescription
TextSentimentModelMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TextSentimentModelMetadata.Builder clone()
Returns
TypeDescription
TextSentimentModelMetadata.Builder
Overrides

getDefaultInstanceForType()

public TextSentimentModelMetadata getDefaultInstanceForType()
Returns
TypeDescription
TextSentimentModelMetadata

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

public TextSentimentModelMetadata.Builder mergeFrom(TextSentimentModelMetadata other)
Parameter
NameDescription
otherTextSentimentModelMetadata
Returns
TypeDescription
TextSentimentModelMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public TextSentimentModelMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TextSentimentModelMetadata.Builder
Overrides

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

public TextSentimentModelMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TextSentimentModelMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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