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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReconConfig.ModelConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ReconConfig.ModelConfig build()
Returns
buildPartial()
public ReconConfig.ModelConfig buildPartial()
Returns
clear()
public ReconConfig.ModelConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReconConfig.ModelConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ReconConfig.ModelConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public ReconConfig.ModelConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ReconConfig.ModelConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ReconConfig.ModelConfig other)
public ReconConfig.ModelConfig.Builder mergeFrom(ReconConfig.ModelConfig other)
Parameter
Returns
public ReconConfig.ModelConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReconConfig.ModelConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReconConfig.ModelConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ReconConfig.ModelConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReconConfig.ModelConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReconConfig.ModelConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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