public interface SetUriPatternDocumentDataRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsDocumentDataMap(String key)
Document data keyed by URI pattern.
|
Map<String,com.google.protobuf.Struct> |
getDocumentDataMap()
Deprecated.
|
int |
getDocumentDataMapCount()
Document data keyed by URI pattern.
|
Map<String,com.google.protobuf.Struct> |
getDocumentDataMapMap()
Document data keyed by URI pattern.
|
com.google.protobuf.Struct |
getDocumentDataMapOrDefault(String key,
com.google.protobuf.Struct defaultValue)
Document data keyed by URI pattern.
|
com.google.protobuf.Struct |
getDocumentDataMapOrThrow(String key)
Document data keyed by URI pattern.
|
boolean |
getEmptyDocumentDataMap()
If true, clears the document data map.
|
com.google.protobuf.Struct |
getSchema()
Optional.
|
com.google.protobuf.StructOrBuilder |
getSchemaOrBuilder()
Optional.
|
String |
getSiteSearchEngine()
Required.
|
com.google.protobuf.ByteString |
getSiteSearchEngineBytes()
Required.
|
boolean |
hasSchema()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getSiteSearchEngine()
Required. Full resource name of the [SiteSearchEngine][google.cloud.discoveryengine.v1alpha.SiteSearchEngine], such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.
string site_search_engine = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getSiteSearchEngineBytes()
Required. Full resource name of the [SiteSearchEngine][google.cloud.discoveryengine.v1alpha.SiteSearchEngine], such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.
string site_search_engine = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
int getDocumentDataMapCount()
Document data keyed by URI pattern. Each entry must be consistent with
the [Schema][google.cloud.discoveryengine.v1alpha.Schema]. For example:
[Schema][google.cloud.discoveryengine.v1alpha.Schema] = {
"type": "object",
"properties": {
"Categories": {
"type": "array",
"items": {
"retrievable": true,
"type": "string"
}
}
}
document_data_map = {
"www.url1.com/*": {
"Categories": ["category1", "category2"]
},
"www.url2.com/*": {
"Categories": ["category3"]
}
}
map<string, .google.protobuf.Struct> document_data_map = 2;boolean containsDocumentDataMap(String key)
Document data keyed by URI pattern. Each entry must be consistent with
the [Schema][google.cloud.discoveryengine.v1alpha.Schema]. For example:
[Schema][google.cloud.discoveryengine.v1alpha.Schema] = {
"type": "object",
"properties": {
"Categories": {
"type": "array",
"items": {
"retrievable": true,
"type": "string"
}
}
}
document_data_map = {
"www.url1.com/*": {
"Categories": ["category1", "category2"]
},
"www.url2.com/*": {
"Categories": ["category3"]
}
}
map<string, .google.protobuf.Struct> document_data_map = 2;@Deprecated Map<String,com.google.protobuf.Struct> getDocumentDataMap()
getDocumentDataMapMap() instead.Map<String,com.google.protobuf.Struct> getDocumentDataMapMap()
Document data keyed by URI pattern. Each entry must be consistent with
the [Schema][google.cloud.discoveryengine.v1alpha.Schema]. For example:
[Schema][google.cloud.discoveryengine.v1alpha.Schema] = {
"type": "object",
"properties": {
"Categories": {
"type": "array",
"items": {
"retrievable": true,
"type": "string"
}
}
}
document_data_map = {
"www.url1.com/*": {
"Categories": ["category1", "category2"]
},
"www.url2.com/*": {
"Categories": ["category3"]
}
}
map<string, .google.protobuf.Struct> document_data_map = 2;com.google.protobuf.Struct getDocumentDataMapOrDefault(String key, com.google.protobuf.Struct defaultValue)
Document data keyed by URI pattern. Each entry must be consistent with
the [Schema][google.cloud.discoveryengine.v1alpha.Schema]. For example:
[Schema][google.cloud.discoveryengine.v1alpha.Schema] = {
"type": "object",
"properties": {
"Categories": {
"type": "array",
"items": {
"retrievable": true,
"type": "string"
}
}
}
document_data_map = {
"www.url1.com/*": {
"Categories": ["category1", "category2"]
},
"www.url2.com/*": {
"Categories": ["category3"]
}
}
map<string, .google.protobuf.Struct> document_data_map = 2;com.google.protobuf.Struct getDocumentDataMapOrThrow(String key)
Document data keyed by URI pattern. Each entry must be consistent with
the [Schema][google.cloud.discoveryengine.v1alpha.Schema]. For example:
[Schema][google.cloud.discoveryengine.v1alpha.Schema] = {
"type": "object",
"properties": {
"Categories": {
"type": "array",
"items": {
"retrievable": true,
"type": "string"
}
}
}
document_data_map = {
"www.url1.com/*": {
"Categories": ["category1", "category2"]
},
"www.url2.com/*": {
"Categories": ["category3"]
}
}
map<string, .google.protobuf.Struct> document_data_map = 2;boolean getEmptyDocumentDataMap()
If true, clears the document data map. If true, [SetUriPatternDocumentDataRequest.document_data_map][google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataRequest.document_data_map] must be empty.
bool empty_document_data_map = 4;boolean hasSchema()
Optional. If not provided, the current [Schema][google.cloud.discoveryengine.v1alpha.Schema] is used. If provided, validates and updates the [Schema][google.cloud.discoveryengine.v1alpha.Schema]. If validation fails, an error is returned.
.google.protobuf.Struct schema = 3;com.google.protobuf.Struct getSchema()
Optional. If not provided, the current [Schema][google.cloud.discoveryengine.v1alpha.Schema] is used. If provided, validates and updates the [Schema][google.cloud.discoveryengine.v1alpha.Schema]. If validation fails, an error is returned.
.google.protobuf.Struct schema = 3;com.google.protobuf.StructOrBuilder getSchemaOrBuilder()
Optional. If not provided, the current [Schema][google.cloud.discoveryengine.v1alpha.Schema] is used. If provided, validates and updates the [Schema][google.cloud.discoveryengine.v1alpha.Schema]. If validation fails, an error is returned.
.google.protobuf.Struct schema = 3;Copyright © 2024 Google LLC. All rights reserved.