Class ClassificationModelOptions.V1Model (2.29.0)

public static final class ClassificationModelOptions.V1Model extends GeneratedMessageV3 implements ClassificationModelOptions.V1ModelOrBuilder

Options for the V1 model.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ClassificationModelOptions.V1Model

Static Methods

getDefaultInstance()

public static ClassificationModelOptions.V1Model getDefaultInstance()
Returns
TypeDescription
ClassificationModelOptions.V1Model

getDescriptor()

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

newBuilder()

public static ClassificationModelOptions.V1Model.Builder newBuilder()
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder

newBuilder(ClassificationModelOptions.V1Model prototype)

public static ClassificationModelOptions.V1Model.Builder newBuilder(ClassificationModelOptions.V1Model prototype)
Parameter
NameDescription
prototypeClassificationModelOptions.V1Model
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder

parseDelimitedFrom(InputStream input)

public static ClassificationModelOptions.V1Model parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ClassificationModelOptions.V1Model
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClassificationModelOptions.V1Model parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClassificationModelOptions.V1Model
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ClassificationModelOptions.V1Model parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ClassificationModelOptions.V1Model
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ClassificationModelOptions.V1Model parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClassificationModelOptions.V1Model
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ClassificationModelOptions.V1Model parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ClassificationModelOptions.V1Model
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ClassificationModelOptions.V1Model parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClassificationModelOptions.V1Model
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ClassificationModelOptions.V1Model parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ClassificationModelOptions.V1Model
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ClassificationModelOptions.V1Model parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClassificationModelOptions.V1Model
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ClassificationModelOptions.V1Model parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ClassificationModelOptions.V1Model
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClassificationModelOptions.V1Model parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClassificationModelOptions.V1Model
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ClassificationModelOptions.V1Model parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ClassificationModelOptions.V1Model
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ClassificationModelOptions.V1Model parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClassificationModelOptions.V1Model
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ClassificationModelOptions.V1Model> parser()
Returns
TypeDescription
Parser<V1Model>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<ClassificationModelOptions.V1Model> getParserForType()
Returns
TypeDescription
Parser<V1Model>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ClassificationModelOptions.V1Model.Builder newBuilderForType()
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ClassificationModelOptions.V1Model.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ClassificationModelOptions.V1Model.Builder toBuilder()
Returns
TypeDescription
ClassificationModelOptions.V1Model.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException