public static final class AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder extends GeneratedMessageV3.Builder<AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder> implements AnswerQueryRequest.AnswerGenerationSpec.ModelSpecOrBuilder
Answer Generation Model specification.
Protobuf type
google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.AnswerGenerationSpec.ModelSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec build()
buildPartial()
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec buildPartial()
clear()
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearModelVersion()
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder clearModelVersion()
Model version. If not set, it will use the default stable model.
Allowed values are: stable, preview.
string model_version = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder clone()
Overrides
getDefaultInstanceForType()
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getModelVersion()
public String getModelVersion()
Model version. If not set, it will use the default stable model.
Allowed values are: stable, preview.
string model_version = 1;
Returns |
Type |
Description |
String |
The modelVersion.
|
getModelVersionBytes()
public ByteString getModelVersionBytes()
Model version. If not set, it will use the default stable model.
Allowed values are: stable, preview.
string model_version = 1;
Returns |
Type |
Description |
ByteString |
The bytes for modelVersion.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AnswerQueryRequest.AnswerGenerationSpec.ModelSpec other)
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder mergeFrom(AnswerQueryRequest.AnswerGenerationSpec.ModelSpec other)
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setModelVersion(String value)
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder setModelVersion(String value)
Model version. If not set, it will use the default stable model.
Allowed values are: stable, preview.
string model_version = 1;
Parameter |
Name |
Description |
value |
String
The modelVersion to set.
|
setModelVersionBytes(ByteString value)
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder setModelVersionBytes(ByteString value)
Model version. If not set, it will use the default stable model.
Allowed values are: stable, preview.
string model_version = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for modelVersion to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnswerQueryRequest.AnswerGenerationSpec.ModelSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides