Class EnableAdvancedSiteSearchRequest (0.36.0)

public final class EnableAdvancedSiteSearchRequest extends GeneratedMessageV3 implements EnableAdvancedSiteSearchRequestOrBuilder

Request message for SiteSearchEngineService.EnableAdvancedSiteSearch method.

Protobuf type google.cloud.discoveryengine.v1.EnableAdvancedSiteSearchRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > EnableAdvancedSiteSearchRequest

Static Fields

SITE_SEARCH_ENGINE_FIELD_NUMBER

public static final int SITE_SEARCH_ENGINE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EnableAdvancedSiteSearchRequest getDefaultInstance()
Returns
TypeDescription
EnableAdvancedSiteSearchRequest

getDescriptor()

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

newBuilder()

public static EnableAdvancedSiteSearchRequest.Builder newBuilder()
Returns
TypeDescription
EnableAdvancedSiteSearchRequest.Builder

newBuilder(EnableAdvancedSiteSearchRequest prototype)

public static EnableAdvancedSiteSearchRequest.Builder newBuilder(EnableAdvancedSiteSearchRequest prototype)
Parameter
NameDescription
prototypeEnableAdvancedSiteSearchRequest
Returns
TypeDescription
EnableAdvancedSiteSearchRequest.Builder

parseDelimitedFrom(InputStream input)

public static EnableAdvancedSiteSearchRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EnableAdvancedSiteSearchRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnableAdvancedSiteSearchRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnableAdvancedSiteSearchRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EnableAdvancedSiteSearchRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EnableAdvancedSiteSearchRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EnableAdvancedSiteSearchRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnableAdvancedSiteSearchRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EnableAdvancedSiteSearchRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EnableAdvancedSiteSearchRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EnableAdvancedSiteSearchRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnableAdvancedSiteSearchRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EnableAdvancedSiteSearchRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EnableAdvancedSiteSearchRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EnableAdvancedSiteSearchRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnableAdvancedSiteSearchRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EnableAdvancedSiteSearchRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EnableAdvancedSiteSearchRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnableAdvancedSiteSearchRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnableAdvancedSiteSearchRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EnableAdvancedSiteSearchRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EnableAdvancedSiteSearchRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EnableAdvancedSiteSearchRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnableAdvancedSiteSearchRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EnableAdvancedSiteSearchRequest> parser()
Returns
TypeDescription
Parser<EnableAdvancedSiteSearchRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EnableAdvancedSiteSearchRequest getDefaultInstanceForType()
Returns
TypeDescription
EnableAdvancedSiteSearchRequest

getParserForType()

public Parser<EnableAdvancedSiteSearchRequest> getParserForType()
Returns
TypeDescription
Parser<EnableAdvancedSiteSearchRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EnableAdvancedSiteSearchRequest.Builder newBuilderForType()
Returns
TypeDescription
EnableAdvancedSiteSearchRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EnableAdvancedSiteSearchRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EnableAdvancedSiteSearchRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EnableAdvancedSiteSearchRequest.Builder toBuilder()
Returns
TypeDescription
EnableAdvancedSiteSearchRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException