- 0.49.0 (latest)
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class RecrawlUrisRequest.Builder extends GeneratedMessageV3.Builder<RecrawlUrisRequest.Builder> implements RecrawlUrisRequestOrBuilder
Request message for SiteSearchEngineService.RecrawlUris method.
Protobuf type google.cloud.discoveryengine.v1.RecrawlUrisRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RecrawlUrisRequest.BuilderImplements
RecrawlUrisRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllUris(Iterable<String> values)
public RecrawlUrisRequest.Builder addAllUris(Iterable<String> values)
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 | |
---|---|
Name | Description |
values |
Iterable<String> The uris to add. |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RecrawlUrisRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
addUris(String value)
public RecrawlUrisRequest.Builder addUris(String value)
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 | |
---|---|
Name | Description |
value |
String The uris to add. |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
This builder for chaining. |
addUrisBytes(ByteString value)
public RecrawlUrisRequest.Builder addUrisBytes(ByteString value)
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 | |
---|---|
Name | Description |
value |
ByteString The bytes of the uris to add. |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
This builder for chaining. |
build()
public RecrawlUrisRequest build()
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest |
buildPartial()
public RecrawlUrisRequest buildPartial()
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest |
clear()
public RecrawlUrisRequest.Builder clear()
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public RecrawlUrisRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RecrawlUrisRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
clearSiteCredential()
public RecrawlUrisRequest.Builder clearSiteCredential()
Optional. Full resource name of the [SiteCredential][], such as
projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/siteCredentials/*
.
Only set to crawl private URIs.
string site_credential = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
This builder for chaining. |
clearSiteSearchEngine()
public RecrawlUrisRequest.Builder clearSiteSearchEngine()
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 | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
This builder for chaining. |
clearUris()
public RecrawlUrisRequest.Builder clearUris()
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 | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
This builder for chaining. |
clone()
public RecrawlUrisRequest.Builder clone()
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
getDefaultInstanceForType()
public RecrawlUrisRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getSiteCredential()
public String getSiteCredential()
Optional. Full resource name of the [SiteCredential][], such as
projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/siteCredentials/*
.
Only set to crawl private URIs.
string site_credential = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The siteCredential. |
getSiteCredentialBytes()
public ByteString getSiteCredentialBytes()
Optional. Full resource name of the [SiteCredential][], such as
projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/siteCredentials/*
.
Only set to crawl private URIs.
string site_credential = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for siteCredential. |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the uris. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RecrawlUrisRequest other)
public RecrawlUrisRequest.Builder mergeFrom(RecrawlUrisRequest other)
Parameter | |
---|---|
Name | Description |
other |
RecrawlUrisRequest |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RecrawlUrisRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RecrawlUrisRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RecrawlUrisRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RecrawlUrisRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RecrawlUrisRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
setSiteCredential(String value)
public RecrawlUrisRequest.Builder setSiteCredential(String value)
Optional. Full resource name of the [SiteCredential][], such as
projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/siteCredentials/*
.
Only set to crawl private URIs.
string site_credential = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The siteCredential to set. |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
This builder for chaining. |
setSiteCredentialBytes(ByteString value)
public RecrawlUrisRequest.Builder setSiteCredentialBytes(ByteString value)
Optional. Full resource name of the [SiteCredential][], such as
projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/siteCredentials/*
.
Only set to crawl private URIs.
string site_credential = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for siteCredential to set. |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
This builder for chaining. |
setSiteSearchEngine(String value)
public RecrawlUrisRequest.Builder setSiteSearchEngine(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The siteSearchEngine to set. |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
This builder for chaining. |
setSiteSearchEngineBytes(ByteString value)
public RecrawlUrisRequest.Builder setSiteSearchEngineBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for siteSearchEngine to set. |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RecrawlUrisRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
setUris(int index, String value)
public RecrawlUrisRequest.Builder setUris(int index, String value)
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];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The uris to set. |
Returns | |
---|---|
Type | Description |
RecrawlUrisRequest.Builder |
This builder for chaining. |