Class ReconConfig.ModelConfig.Builder (0.45.0)

public static final class ReconConfig.ModelConfig.Builder extends GeneratedMessageV3.Builder<ReconConfig.ModelConfig.Builder> implements ReconConfig.ModelConfigOrBuilder

Model Configs

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public ReconConfig.ModelConfig.Builder clear()
Returns
Type Description
ReconConfig.ModelConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearModelName()

public ReconConfig.ModelConfig.Builder clearModelName()

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
ReconConfig.ModelConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersionTag()

public ReconConfig.ModelConfig.Builder clearVersionTag()

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
ReconConfig.ModelConfig.Builder

This builder for chaining.

clone()

public ReconConfig.ModelConfig.Builder clone()
Returns
Type Description
ReconConfig.ModelConfig.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReconConfig.ModelConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setModelName(String value)

public ReconConfig.ModelConfig.Builder setModelName(String value)

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

string model_name = 1;

Parameter
Name Description
value String

The modelName to set.

Returns
Type Description
ReconConfig.ModelConfig.Builder

This builder for chaining.

setModelNameBytes(ByteString value)

public ReconConfig.ModelConfig.Builder setModelNameBytes(ByteString value)

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

string model_name = 1;

Parameter
Name Description
value ByteString

The bytes for modelName to set.

Returns
Type Description
ReconConfig.ModelConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersionTag(String value)

public ReconConfig.ModelConfig.Builder setVersionTag(String value)

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;

Parameter
Name Description
value String

The versionTag to set.

Returns
Type Description
ReconConfig.ModelConfig.Builder

This builder for chaining.

setVersionTagBytes(ByteString value)

public ReconConfig.ModelConfig.Builder setVersionTagBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for versionTag to set.

Returns
Type Description
ReconConfig.ModelConfig.Builder

This builder for chaining.