Class SiteSearchEngine.Builder (0.36.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.v1alpha.SiteSearchEngine

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SiteSearchEngine.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SiteSearchEngine.Builder
Overrides

build()

public SiteSearchEngine build()
Returns
TypeDescription
SiteSearchEngine

buildPartial()

public SiteSearchEngine buildPartial()
Returns
TypeDescription
SiteSearchEngine

clear()

public SiteSearchEngine.Builder clear()
Returns
TypeDescription
SiteSearchEngine.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SiteSearchEngine.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SiteSearchEngine.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SiteSearchEngine.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SiteSearchEngine.Builder
Overrides

clone()

public SiteSearchEngine.Builder clone()
Returns
TypeDescription
SiteSearchEngine.Builder
Overrides

getDefaultInstanceForType()

public SiteSearchEngine getDefaultInstanceForType()
Returns
TypeDescription
SiteSearchEngine

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SiteSearchEngine other)

public SiteSearchEngine.Builder mergeFrom(SiteSearchEngine other)
Parameter
NameDescription
otherSiteSearchEngine
Returns
TypeDescription
SiteSearchEngine.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SiteSearchEngine.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SiteSearchEngine.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SiteSearchEngine.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SiteSearchEngine.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SiteSearchEngine.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SiteSearchEngine.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SiteSearchEngine.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SiteSearchEngine.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SiteSearchEngine.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SiteSearchEngine.Builder
Overrides