Class ReconConfig.ModelConfig (0.15.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
TypeDescription
int

VERSION_TAG_FIELD_NUMBER

public static final int VERSION_TAG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReconConfig.ModelConfig getDefaultInstance()
Returns
TypeDescription
ReconConfig.ModelConfig

getDescriptor()

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

newBuilder()

public static ReconConfig.ModelConfig.Builder newBuilder()
Returns
TypeDescription
ReconConfig.ModelConfig.Builder

newBuilder(ReconConfig.ModelConfig prototype)

public static ReconConfig.ModelConfig.Builder newBuilder(ReconConfig.ModelConfig prototype)
Parameter
NameDescription
prototypeReconConfig.ModelConfig
Returns
TypeDescription
ReconConfig.ModelConfig.Builder

parseDelimitedFrom(InputStream input)

public static ReconConfig.ModelConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReconConfig.ModelConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ReconConfig.ModelConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReconConfig.ModelConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ReconConfig.ModelConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReconConfig.ModelConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ReconConfig.ModelConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReconConfig.ModelConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ReconConfig.ModelConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReconConfig.ModelConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ReconConfig.ModelConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for modelName.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for versionTag.

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 ReconConfig.ModelConfig.Builder newBuilderForType()
Returns
TypeDescription
ReconConfig.ModelConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReconConfig.ModelConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReconConfig.ModelConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ReconConfig.ModelConfig.Builder toBuilder()
Returns
TypeDescription
ReconConfig.ModelConfig.Builder

writeTo(CodedOutputStream output)

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