public final class SetUriPatternDocumentDataRequest extends com.google.protobuf.GeneratedMessageV3 implements SetUriPatternDocumentDataRequestOrBuilder
Request message for [SiteSearchEngineService.SetUriPatternDocumentData][google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.SetUriPatternDocumentData] method.Protobuf type
google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataRequest| Modifier and Type | Class and Description |
|---|---|
static class |
SetUriPatternDocumentDataRequest.Builder
Request message for
[SiteSearchEngineService.SetUriPatternDocumentData][google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.SetUriPatternDocumentData]
method.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DOCUMENT_DATA_MAP_FIELD_NUMBER |
static int |
EMPTY_DOCUMENT_DATA_MAP_FIELD_NUMBER |
static int |
SCHEMA_FIELD_NUMBER |
static int |
SITE_SEARCH_ENGINE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsDocumentDataMap(String key)
Document data keyed by URI pattern.
|
boolean |
equals(Object obj) |
static SetUriPatternDocumentDataRequest |
getDefaultInstance() |
SetUriPatternDocumentDataRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.Parser<SetUriPatternDocumentDataRequest> |
getParserForType() |
com.google.protobuf.Struct |
getSchema()
Optional.
|
com.google.protobuf.StructOrBuilder |
getSchemaOrBuilder()
Optional.
|
int |
getSerializedSize() |
String |
getSiteSearchEngine()
Required.
|
com.google.protobuf.ByteString |
getSiteSearchEngineBytes()
Required.
|
int |
hashCode() |
boolean |
hasSchema()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static SetUriPatternDocumentDataRequest.Builder |
newBuilder() |
static SetUriPatternDocumentDataRequest.Builder |
newBuilder(SetUriPatternDocumentDataRequest prototype) |
SetUriPatternDocumentDataRequest.Builder |
newBuilderForType() |
protected SetUriPatternDocumentDataRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SetUriPatternDocumentDataRequest |
parseDelimitedFrom(InputStream input) |
static SetUriPatternDocumentDataRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetUriPatternDocumentDataRequest |
parseFrom(byte[] data) |
static SetUriPatternDocumentDataRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetUriPatternDocumentDataRequest |
parseFrom(ByteBuffer data) |
static SetUriPatternDocumentDataRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetUriPatternDocumentDataRequest |
parseFrom(com.google.protobuf.ByteString data) |
static SetUriPatternDocumentDataRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetUriPatternDocumentDataRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SetUriPatternDocumentDataRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetUriPatternDocumentDataRequest |
parseFrom(InputStream input) |
static SetUriPatternDocumentDataRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SetUriPatternDocumentDataRequest> |
parser() |
SetUriPatternDocumentDataRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SITE_SEARCH_ENGINE_FIELD_NUMBER
public static final int DOCUMENT_DATA_MAP_FIELD_NUMBER
public static final int EMPTY_DOCUMENT_DATA_MAP_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String 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) = { ... }
getSiteSearchEngine in interface SetUriPatternDocumentDataRequestOrBuilderpublic 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) = { ... }
getSiteSearchEngineBytes in interface SetUriPatternDocumentDataRequestOrBuilderpublic int getDocumentDataMapCount()
SetUriPatternDocumentDataRequestOrBuilder
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;getDocumentDataMapCount in interface SetUriPatternDocumentDataRequestOrBuilderpublic 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;containsDocumentDataMap in interface SetUriPatternDocumentDataRequestOrBuilder@Deprecated public Map<String,com.google.protobuf.Struct> getDocumentDataMap()
getDocumentDataMapMap() instead.getDocumentDataMap in interface SetUriPatternDocumentDataRequestOrBuilderpublic 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;getDocumentDataMapMap in interface SetUriPatternDocumentDataRequestOrBuilderpublic 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;getDocumentDataMapOrDefault in interface SetUriPatternDocumentDataRequestOrBuilderpublic 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;getDocumentDataMapOrThrow in interface SetUriPatternDocumentDataRequestOrBuilderpublic 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;getEmptyDocumentDataMap in interface SetUriPatternDocumentDataRequestOrBuilderpublic 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;hasSchema in interface SetUriPatternDocumentDataRequestOrBuilderpublic 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;getSchema in interface SetUriPatternDocumentDataRequestOrBuilderpublic 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;getSchemaOrBuilder in interface SetUriPatternDocumentDataRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SetUriPatternDocumentDataRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetUriPatternDocumentDataRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetUriPatternDocumentDataRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetUriPatternDocumentDataRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetUriPatternDocumentDataRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetUriPatternDocumentDataRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetUriPatternDocumentDataRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static SetUriPatternDocumentDataRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SetUriPatternDocumentDataRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SetUriPatternDocumentDataRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SetUriPatternDocumentDataRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SetUriPatternDocumentDataRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SetUriPatternDocumentDataRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SetUriPatternDocumentDataRequest.Builder newBuilder()
public static SetUriPatternDocumentDataRequest.Builder newBuilder(SetUriPatternDocumentDataRequest prototype)
public SetUriPatternDocumentDataRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SetUriPatternDocumentDataRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SetUriPatternDocumentDataRequest getDefaultInstance()
public static com.google.protobuf.Parser<SetUriPatternDocumentDataRequest> parser()
public com.google.protobuf.Parser<SetUriPatternDocumentDataRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SetUriPatternDocumentDataRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.