public static final class ReconConfig.ModelConfig.Builder extends GeneratedMessage.Builder<ReconConfig.ModelConfig.Builder> implements ReconConfig.ModelConfigOrBuilderModel Configs
Protobuf type google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReconConfig.ModelConfig.BuilderImplements
ReconConfig.ModelConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
getDefaultInstanceForType()
public ReconConfig.ModelConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReconConfig.ModelConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for modelName to set. |
| Returns | |
|---|---|
| Type | Description |
ReconConfig.ModelConfig.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for versionTag to set. |
| Returns | |
|---|---|
| Type | Description |
ReconConfig.ModelConfig.Builder |
This builder for chaining. |