Class ReconConfig.ModelConfig.Builder (0.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReconConfig.ModelConfig build()
Returns
TypeDescription
ReconConfig.ModelConfig

buildPartial()

public ReconConfig.ModelConfig buildPartial()
Returns
TypeDescription
ReconConfig.ModelConfig

clear()

public ReconConfig.ModelConfig.Builder clear()
Returns
TypeDescription
ReconConfig.ModelConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReconConfig.ModelConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ReconConfig.ModelConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ReconConfig.ModelConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ReconConfig.ModelConfig.Builder

This builder for chaining.

clone()

public ReconConfig.ModelConfig.Builder clone()
Returns
TypeDescription
ReconConfig.ModelConfig.Builder
Overrides

getDefaultInstanceForType()

public ReconConfig.ModelConfig getDefaultInstanceForType()
Returns
TypeDescription
ReconConfig.ModelConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReconConfig.ModelConfig other)

public ReconConfig.ModelConfig.Builder mergeFrom(ReconConfig.ModelConfig other)
Parameter
NameDescription
otherReconConfig.ModelConfig
Returns
TypeDescription
ReconConfig.ModelConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ReconConfig.ModelConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The modelName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for modelName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReconConfig.ModelConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReconConfig.ModelConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The versionTag to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for versionTag to set.

Returns
TypeDescription
ReconConfig.ModelConfig.Builder

This builder for chaining.