Class DisableAdvancedSiteSearchRequest.Builder (0.31.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.v1.DisableAdvancedSiteSearchRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DisableAdvancedSiteSearchRequest build()
Returns
TypeDescription
DisableAdvancedSiteSearchRequest

buildPartial()

public DisableAdvancedSiteSearchRequest buildPartial()
Returns
TypeDescription
DisableAdvancedSiteSearchRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DisableAdvancedSiteSearchRequest getDefaultInstanceForType()
Returns
TypeDescription
DisableAdvancedSiteSearchRequest

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

public DisableAdvancedSiteSearchRequest.Builder mergeFrom(DisableAdvancedSiteSearchRequest other)
Parameter
NameDescription
otherDisableAdvancedSiteSearchRequest
Returns
TypeDescription
DisableAdvancedSiteSearchRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

The siteSearchEngine to set.

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

The bytes for siteSearchEngine to set.

Returns
TypeDescription
DisableAdvancedSiteSearchRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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