Class ReconConfig.ModelConfig (0.47.0)

public static final class ReconConfig.ModelConfig extends GeneratedMessageV3 implements ReconConfig.ModelConfigOrBuilder

Model Configs

Protobuf type google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig

Static Fields

MODEL_NAME_FIELD_NUMBER

public static final int MODEL_NAME_FIELD_NUMBER
Field Value
Type Description
int

VERSION_TAG_FIELD_NUMBER

public static final int VERSION_TAG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReconConfig.ModelConfig getDefaultInstance()
Returns
Type Description
ReconConfig.ModelConfig

getDescriptor()

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

newBuilder()

public static ReconConfig.ModelConfig.Builder newBuilder()
Returns
Type Description
ReconConfig.ModelConfig.Builder

newBuilder(ReconConfig.ModelConfig prototype)

public static ReconConfig.ModelConfig.Builder newBuilder(ReconConfig.ModelConfig prototype)
Parameter
Name Description
prototype ReconConfig.ModelConfig
Returns
Type Description
ReconConfig.ModelConfig.Builder

parseDelimitedFrom(InputStream input)

public static ReconConfig.ModelConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReconConfig.ModelConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReconConfig.ModelConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconConfig.ModelConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReconConfig.ModelConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReconConfig.ModelConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReconConfig.ModelConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconConfig.ModelConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReconConfig.ModelConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReconConfig.ModelConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReconConfig.ModelConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconConfig.ModelConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReconConfig.ModelConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReconConfig.ModelConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReconConfig.ModelConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconConfig.ModelConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReconConfig.ModelConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReconConfig.ModelConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReconConfig.ModelConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconConfig.ModelConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReconConfig.ModelConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReconConfig.ModelConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReconConfig.ModelConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconConfig.ModelConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReconConfig.ModelConfig> parser()
Returns
Type Description
Parser<ModelConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ReconConfig.ModelConfig getDefaultInstanceForType()
Returns
Type Description
ReconConfig.ModelConfig

getModelName()

public String getModelName()

Model name. Refer to external documentation for valid names. If unspecified, it defaults to the one mentioned in the documentation.

string model_name = 1;

Returns
Type Description
String

The modelName.

getModelNameBytes()

public ByteString getModelNameBytes()

Model name. Refer to external documentation for valid names. If unspecified, it defaults to the one mentioned in the documentation.

string model_name = 1;

Returns
Type Description
ByteString

The bytes for modelName.

getParserForType()

public Parser<ReconConfig.ModelConfig> getParserForType()
Returns
Type Description
Parser<ModelConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVersionTag()

public String getVersionTag()

Model version tag. Refer to external documentation for valid tags. If unspecified, it defaults to the one mentioned in the documentation.

string version_tag = 2;

Returns
Type Description
String

The versionTag.

getVersionTagBytes()

public ByteString getVersionTagBytes()

Model version tag. Refer to external documentation for valid tags. If unspecified, it defaults to the one mentioned in the documentation.

string version_tag = 2;

Returns
Type Description
ByteString

The bytes for versionTag.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReconConfig.ModelConfig.Builder newBuilderForType()
Returns
Type Description
ReconConfig.ModelConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReconConfig.ModelConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReconConfig.ModelConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReconConfig.ModelConfig.Builder toBuilder()
Returns
Type Description
ReconConfig.ModelConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException