Class DisableAdvancedSiteSearchRequest.Builder (0.49.0)

public static final class DisableAdvancedSiteSearchRequest.Builder extends GeneratedMessageV3.Builder<DisableAdvancedSiteSearchRequest.Builder> implements DisableAdvancedSiteSearchRequestOrBuilder

Request message for SiteSearchEngineService.DisableAdvancedSiteSearch method.

Protobuf type google.cloud.discoveryengine.v1beta.DisableAdvancedSiteSearchRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DisableAdvancedSiteSearchRequest build()
Returns
Type Description
DisableAdvancedSiteSearchRequest

buildPartial()

public DisableAdvancedSiteSearchRequest buildPartial()
Returns
Type Description
DisableAdvancedSiteSearchRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSiteSearchEngine()

public DisableAdvancedSiteSearchRequest.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
DisableAdvancedSiteSearchRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DisableAdvancedSiteSearchRequest getDefaultInstanceForType()
Returns
Type Description
DisableAdvancedSiteSearchRequest

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(DisableAdvancedSiteSearchRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSiteSearchEngine(String value)

public DisableAdvancedSiteSearchRequest.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
DisableAdvancedSiteSearchRequest.Builder

This builder for chaining.

setSiteSearchEngineBytes(ByteString value)

public DisableAdvancedSiteSearchRequest.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
DisableAdvancedSiteSearchRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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