Class EnableAdvancedSiteSearchRequest.Builder (0.37.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.v1beta.EnableAdvancedSiteSearchRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EnableAdvancedSiteSearchRequest build()
Returns
TypeDescription
EnableAdvancedSiteSearchRequest

buildPartial()

public EnableAdvancedSiteSearchRequest buildPartial()
Returns
TypeDescription
EnableAdvancedSiteSearchRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public EnableAdvancedSiteSearchRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EnableAdvancedSiteSearchRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EnableAdvancedSiteSearchRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
EnableAdvancedSiteSearchRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public EnableAdvancedSiteSearchRequest getDefaultInstanceForType()
Returns
TypeDescription
EnableAdvancedSiteSearchRequest

getDescriptorForType()

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

The bytes for siteSearchEngine.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EnableAdvancedSiteSearchRequest other)

public EnableAdvancedSiteSearchRequest.Builder mergeFrom(EnableAdvancedSiteSearchRequest other)
Parameter
NameDescription
otherEnableAdvancedSiteSearchRequest
Returns
TypeDescription
EnableAdvancedSiteSearchRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public EnableAdvancedSiteSearchRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The siteSearchEngine to set.

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

The bytes for siteSearchEngine to set.

Returns
TypeDescription
EnableAdvancedSiteSearchRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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