Class RecrawlUrisRequest (0.30.0)

public final class RecrawlUrisRequest extends GeneratedMessageV3 implements RecrawlUrisRequestOrBuilder

Request message for SiteSearchEngineService.RecrawlUris method.

Protobuf type google.cloud.discoveryengine.v1alpha.RecrawlUrisRequest

Static Fields

SITE_SEARCH_ENGINE_FIELD_NUMBER

public static final int SITE_SEARCH_ENGINE_FIELD_NUMBER
Field Value
TypeDescription
int

URIS_FIELD_NUMBER

public static final int URIS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RecrawlUrisRequest getDefaultInstance()
Returns
TypeDescription
RecrawlUrisRequest

getDescriptor()

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

newBuilder()

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

newBuilder(RecrawlUrisRequest prototype)

public static RecrawlUrisRequest.Builder newBuilder(RecrawlUrisRequest prototype)
Parameter
NameDescription
prototypeRecrawlUrisRequest
Returns
TypeDescription
RecrawlUrisRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RecrawlUrisRequest getDefaultInstanceForType()
Returns
TypeDescription
RecrawlUrisRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSiteSearchEngine()

public String getSiteSearchEngine()

Required. Full resource name of the SiteSearchEngine, such as projects/*/locations/*/collections/*/dataStores/*/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/*/locations/*/collections/*/dataStores/*/siteSearchEngine.

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

Returns
TypeDescription
ByteString

The bytes for siteSearchEngine.

getUris(int index)

public String getUris(int index)

Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in site_search_engine.

repeated string uris = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The uris at the given index.

getUrisBytes(int index)

public ByteString getUrisBytes(int index)

Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in site_search_engine.

repeated string uris = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the uris at the given index.

getUrisCount()

public int getUrisCount()

Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in site_search_engine.

repeated string uris = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of uris.

getUrisList()

public ProtocolStringList getUrisList()

Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in site_search_engine.

repeated string uris = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ProtocolStringList

A list containing the uris.

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 RecrawlUrisRequest.Builder newBuilderForType()
Returns
TypeDescription
RecrawlUrisRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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