Class SiteSearchEngine.Builder (0.40.0)

public static final class SiteSearchEngine.Builder extends GeneratedMessageV3.Builder<SiteSearchEngine.Builder> implements SiteSearchEngineOrBuilder

SiteSearchEngine captures DataStore level site search persisting configurations. It is a singleton value per data store.

Protobuf type google.cloud.discoveryengine.v1.SiteSearchEngine

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SiteSearchEngine.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SiteSearchEngine.Builder
Overrides

build()

public SiteSearchEngine build()
Returns
Type Description
SiteSearchEngine

buildPartial()

public SiteSearchEngine buildPartial()
Returns
Type Description
SiteSearchEngine

clear()

public SiteSearchEngine.Builder clear()
Returns
Type Description
SiteSearchEngine.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SiteSearchEngine.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SiteSearchEngine.Builder
Overrides

clearName()

public SiteSearchEngine.Builder clearName()

The fully qualified resource name of the site search engine. Format: projects/*/locations/*/dataStores/*/siteSearchEngine

string name = 1;

Returns
Type Description
SiteSearchEngine.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SiteSearchEngine.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SiteSearchEngine.Builder
Overrides

clone()

public SiteSearchEngine.Builder clone()
Returns
Type Description
SiteSearchEngine.Builder
Overrides

getDefaultInstanceForType()

public SiteSearchEngine getDefaultInstanceForType()
Returns
Type Description
SiteSearchEngine

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

The fully qualified resource name of the site search engine. Format: projects/*/locations/*/dataStores/*/siteSearchEngine

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The fully qualified resource name of the site search engine. Format: projects/*/locations/*/dataStores/*/siteSearchEngine

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SiteSearchEngine other)

public SiteSearchEngine.Builder mergeFrom(SiteSearchEngine other)
Parameter
Name Description
other SiteSearchEngine
Returns
Type Description
SiteSearchEngine.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SiteSearchEngine.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SiteSearchEngine.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SiteSearchEngine.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SiteSearchEngine.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SiteSearchEngine.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SiteSearchEngine.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SiteSearchEngine.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SiteSearchEngine.Builder
Overrides

setName(String value)

public SiteSearchEngine.Builder setName(String value)

The fully qualified resource name of the site search engine. Format: projects/*/locations/*/dataStores/*/siteSearchEngine

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
SiteSearchEngine.Builder

This builder for chaining.

setNameBytes(ByteString value)

public SiteSearchEngine.Builder setNameBytes(ByteString value)

The fully qualified resource name of the site search engine. Format: projects/*/locations/*/dataStores/*/siteSearchEngine

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
SiteSearchEngine.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SiteSearchEngine.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SiteSearchEngine.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SiteSearchEngine.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SiteSearchEngine.Builder
Overrides