public static final class ServingConfig.GenericConfig.Builder extends GeneratedMessageV3.Builder<ServingConfig.GenericConfig.Builder> implements ServingConfig.GenericConfigOrBuilder
Specifies the configurations needed for Generic Discovery.Currently we
support:
content_search_spec
: configuration for generic content search.
Protobuf type google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig
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 ServingConfig.GenericConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ServingConfig.GenericConfig build()
buildPartial()
public ServingConfig.GenericConfig buildPartial()
clear()
public ServingConfig.GenericConfig.Builder clear()
Overrides
clearContentSearchSpec()
public ServingConfig.GenericConfig.Builder clearContentSearchSpec()
Specifies the expected behavior of content search.
Only valid for content-search enabled data store.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec content_search_spec = 1;
clearField(Descriptors.FieldDescriptor field)
public ServingConfig.GenericConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ServingConfig.GenericConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ServingConfig.GenericConfig.Builder clone()
Overrides
getContentSearchSpec()
public SearchRequest.ContentSearchSpec getContentSearchSpec()
Specifies the expected behavior of content search.
Only valid for content-search enabled data store.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec content_search_spec = 1;
getContentSearchSpecBuilder()
public SearchRequest.ContentSearchSpec.Builder getContentSearchSpecBuilder()
Specifies the expected behavior of content search.
Only valid for content-search enabled data store.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec content_search_spec = 1;
getContentSearchSpecOrBuilder()
public SearchRequest.ContentSearchSpecOrBuilder getContentSearchSpecOrBuilder()
Specifies the expected behavior of content search.
Only valid for content-search enabled data store.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec content_search_spec = 1;
getDefaultInstanceForType()
public ServingConfig.GenericConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasContentSearchSpec()
public boolean hasContentSearchSpec()
Specifies the expected behavior of content search.
Only valid for content-search enabled data store.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec content_search_spec = 1;
Returns |
---|
Type | Description |
boolean | Whether the contentSearchSpec field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeContentSearchSpec(SearchRequest.ContentSearchSpec value)
public ServingConfig.GenericConfig.Builder mergeContentSearchSpec(SearchRequest.ContentSearchSpec value)
Specifies the expected behavior of content search.
Only valid for content-search enabled data store.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec content_search_spec = 1;
mergeFrom(ServingConfig.GenericConfig other)
public ServingConfig.GenericConfig.Builder mergeFrom(ServingConfig.GenericConfig other)
public ServingConfig.GenericConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ServingConfig.GenericConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServingConfig.GenericConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setContentSearchSpec(SearchRequest.ContentSearchSpec value)
public ServingConfig.GenericConfig.Builder setContentSearchSpec(SearchRequest.ContentSearchSpec value)
Specifies the expected behavior of content search.
Only valid for content-search enabled data store.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec content_search_spec = 1;
setContentSearchSpec(SearchRequest.ContentSearchSpec.Builder builderForValue)
public ServingConfig.GenericConfig.Builder setContentSearchSpec(SearchRequest.ContentSearchSpec.Builder builderForValue)
Specifies the expected behavior of content search.
Only valid for content-search enabled data store.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec content_search_spec = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ServingConfig.GenericConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServingConfig.GenericConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ServingConfig.GenericConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides