public static final class SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder extends GeneratedMessageV3.Builder<SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder> implements SearchRequest.ContentSearchSpec.SummarySpec.ModelSpecOrBuilder
Specification of the model.
Protobuf type
google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec.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 SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec build()
buildPartial()
public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec buildPartial()
clear()
public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVersion()
public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder clearVersion()
The model version used to generate the summary.
Supported values are:
stable
: string. Default value when no value is specified. Uses a
generally available, fine-tuned version of the text-bison@001
model.
preview
: string. (Public preview) Uses a fine-tuned version of
the text-bison@002 model. This model works only for summaries in
English.
string version = 1;
clone()
public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getVersion()
public String getVersion()
The model version used to generate the summary.
Supported values are:
stable
: string. Default value when no value is specified. Uses a
generally available, fine-tuned version of the text-bison@001
model.
preview
: string. (Public preview) Uses a fine-tuned version of
the text-bison@002 model. This model works only for summaries in
English.
string version = 1;
Returns |
---|
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
The model version used to generate the summary.
Supported values are:
stable
: string. Default value when no value is specified. Uses a
generally available, fine-tuned version of the text-bison@001
model.
preview
: string. (Public preview) Uses a fine-tuned version of
the text-bison@002 model. This model works only for summaries in
English.
string version = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for version.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec other)
public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder mergeFrom(SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVersion(String value)
public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder setVersion(String value)
The model version used to generate the summary.
Supported values are:
stable
: string. Default value when no value is specified. Uses a
generally available, fine-tuned version of the text-bison@001
model.
preview
: string. (Public preview) Uses a fine-tuned version of
the text-bison@002 model. This model works only for summaries in
English.
string version = 1;
Parameter |
---|
Name | Description |
value | String
The version to set.
|
setVersionBytes(ByteString value)
public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder setVersionBytes(ByteString value)
The model version used to generate the summary.
Supported values are:
stable
: string. Default value when no value is specified. Uses a
generally available, fine-tuned version of the text-bison@001
model.
preview
: string. (Public preview) Uses a fine-tuned version of
the text-bison@002 model. This model works only for summaries in
English.
string version = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for version to set.
|