Class EnableAdvancedSiteSearchRequest.Builder (0.40.0)

public static final class EnableAdvancedSiteSearchRequest.Builder extends GeneratedMessageV3.Builder<EnableAdvancedSiteSearchRequest.Builder> implements EnableAdvancedSiteSearchRequestOrBuilder

Request message for SiteSearchEngineService.EnableAdvancedSiteSearch method.

Protobuf type google.cloud.discoveryengine.v1alpha.EnableAdvancedSiteSearchRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EnableAdvancedSiteSearchRequest build()
Returns
Type Description
EnableAdvancedSiteSearchRequest

buildPartial()

public EnableAdvancedSiteSearchRequest buildPartial()
Returns
Type Description
EnableAdvancedSiteSearchRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSiteSearchEngine()

public EnableAdvancedSiteSearchRequest.Builder clearSiteSearchEngine()

Required. Full resource name of the SiteSearchEngine, such as projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine.

string site_search_engine = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
EnableAdvancedSiteSearchRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public EnableAdvancedSiteSearchRequest getDefaultInstanceForType()
Returns
Type Description
EnableAdvancedSiteSearchRequest

getDescriptorForType()

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

getSiteSearchEngine()

public String getSiteSearchEngine()

Required. Full resource name of the SiteSearchEngine, such as projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine.

string site_search_engine = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The siteSearchEngine.

getSiteSearchEngineBytes()

public ByteString getSiteSearchEngineBytes()

Required. Full resource name of the SiteSearchEngine, such as projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine.

string site_search_engine = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for siteSearchEngine.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EnableAdvancedSiteSearchRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSiteSearchEngine(String value)

public EnableAdvancedSiteSearchRequest.Builder setSiteSearchEngine(String value)

Required. Full resource name of the SiteSearchEngine, such as projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine.

string site_search_engine = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The siteSearchEngine to set.

Returns
Type Description
EnableAdvancedSiteSearchRequest.Builder

This builder for chaining.

setSiteSearchEngineBytes(ByteString value)

public EnableAdvancedSiteSearchRequest.Builder setSiteSearchEngineBytes(ByteString value)

Required. Full resource name of the SiteSearchEngine, such as projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine.

string site_search_engine = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for siteSearchEngine to set.

Returns
Type Description
EnableAdvancedSiteSearchRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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