public final class PurgeDocumentsRequest extends com.google.protobuf.GeneratedMessageV3 implements PurgeDocumentsRequestOrBuilder
Request message for [DocumentService.PurgeDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.PurgeDocuments] method.Protobuf type
google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest| Modifier and Type | Class and Description |
|---|---|
static class |
PurgeDocumentsRequest.Builder
Request message for
[DocumentService.PurgeDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.PurgeDocuments]
method.
|
static class |
PurgeDocumentsRequest.InlineSource
The inline source for the input config for
[DocumentService.PurgeDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.PurgeDocuments]
method.
|
static interface |
PurgeDocumentsRequest.InlineSourceOrBuilder |
static class |
PurgeDocumentsRequest.SourceCase |
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 |
ERROR_CONFIG_FIELD_NUMBER |
static int |
FILTER_FIELD_NUMBER |
static int |
FORCE_FIELD_NUMBER |
static int |
GCS_SOURCE_FIELD_NUMBER |
static int |
INLINE_SOURCE_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static PurgeDocumentsRequest |
getDefaultInstance() |
PurgeDocumentsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
PurgeErrorConfig |
getErrorConfig()
The desired location of errors incurred during the purge.
|
PurgeErrorConfigOrBuilder |
getErrorConfigOrBuilder()
The desired location of errors incurred during the purge.
|
String |
getFilter()
Required.
|
com.google.protobuf.ByteString |
getFilterBytes()
Required.
|
boolean |
getForce()
Actually performs the purge.
|
GcsSource |
getGcsSource()
Cloud Storage location for the input content.
|
GcsSourceOrBuilder |
getGcsSourceOrBuilder()
Cloud Storage location for the input content.
|
PurgeDocumentsRequest.InlineSource |
getInlineSource()
Inline source for the input content for purge.
|
PurgeDocumentsRequest.InlineSourceOrBuilder |
getInlineSourceOrBuilder()
Inline source for the input content for purge.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
com.google.protobuf.Parser<PurgeDocumentsRequest> |
getParserForType() |
int |
getSerializedSize() |
PurgeDocumentsRequest.SourceCase |
getSourceCase() |
boolean |
hasErrorConfig()
The desired location of errors incurred during the purge.
|
boolean |
hasGcsSource()
Cloud Storage location for the input content.
|
int |
hashCode() |
boolean |
hasInlineSource()
Inline source for the input content for purge.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PurgeDocumentsRequest.Builder |
newBuilder() |
static PurgeDocumentsRequest.Builder |
newBuilder(PurgeDocumentsRequest prototype) |
PurgeDocumentsRequest.Builder |
newBuilderForType() |
protected PurgeDocumentsRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PurgeDocumentsRequest |
parseDelimitedFrom(InputStream input) |
static PurgeDocumentsRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PurgeDocumentsRequest |
parseFrom(byte[] data) |
static PurgeDocumentsRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PurgeDocumentsRequest |
parseFrom(ByteBuffer data) |
static PurgeDocumentsRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PurgeDocumentsRequest |
parseFrom(com.google.protobuf.ByteString data) |
static PurgeDocumentsRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PurgeDocumentsRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PurgeDocumentsRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PurgeDocumentsRequest |
parseFrom(InputStream input) |
static PurgeDocumentsRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PurgeDocumentsRequest> |
parser() |
PurgeDocumentsRequest.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, internalGetMapFieldReflection, 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 GCS_SOURCE_FIELD_NUMBER
public static final int INLINE_SOURCE_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
public static final int ERROR_CONFIG_FIELD_NUMBER
public static final int FORCE_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public PurgeDocumentsRequest.SourceCase getSourceCase()
getSourceCase in interface PurgeDocumentsRequestOrBuilderpublic boolean hasGcsSource()
Cloud Storage location for the input content. Supported `data_schema`: * `document_id`: One valid [Document.id][google.cloud.discoveryengine.v1alpha.Document.id] per line.
.google.cloud.discoveryengine.v1alpha.GcsSource gcs_source = 5;hasGcsSource in interface PurgeDocumentsRequestOrBuilderpublic GcsSource getGcsSource()
Cloud Storage location for the input content. Supported `data_schema`: * `document_id`: One valid [Document.id][google.cloud.discoveryengine.v1alpha.Document.id] per line.
.google.cloud.discoveryengine.v1alpha.GcsSource gcs_source = 5;getGcsSource in interface PurgeDocumentsRequestOrBuilderpublic GcsSourceOrBuilder getGcsSourceOrBuilder()
Cloud Storage location for the input content. Supported `data_schema`: * `document_id`: One valid [Document.id][google.cloud.discoveryengine.v1alpha.Document.id] per line.
.google.cloud.discoveryengine.v1alpha.GcsSource gcs_source = 5;getGcsSourceOrBuilder in interface PurgeDocumentsRequestOrBuilderpublic boolean hasInlineSource()
Inline source for the input content for purge.
.google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.InlineSource inline_source = 6;
hasInlineSource in interface PurgeDocumentsRequestOrBuilderpublic PurgeDocumentsRequest.InlineSource getInlineSource()
Inline source for the input content for purge.
.google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.InlineSource inline_source = 6;
getInlineSource in interface PurgeDocumentsRequestOrBuilderpublic PurgeDocumentsRequest.InlineSourceOrBuilder getInlineSourceOrBuilder()
Inline source for the input content for purge.
.google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.InlineSource inline_source = 6;
getInlineSourceOrBuilder in interface PurgeDocumentsRequestOrBuilderpublic String getParent()
Required. The parent resource name, such as
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface PurgeDocumentsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The parent resource name, such as
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface PurgeDocumentsRequestOrBuilderpublic String getFilter()
Required. Filter matching documents to purge. Only currently supported value is `*` (all items).
string filter = 2 [(.google.api.field_behavior) = REQUIRED];getFilter in interface PurgeDocumentsRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
Required. Filter matching documents to purge. Only currently supported value is `*` (all items).
string filter = 2 [(.google.api.field_behavior) = REQUIRED];getFilterBytes in interface PurgeDocumentsRequestOrBuilderpublic boolean hasErrorConfig()
The desired location of errors incurred during the purge.
.google.cloud.discoveryengine.v1alpha.PurgeErrorConfig error_config = 7;hasErrorConfig in interface PurgeDocumentsRequestOrBuilderpublic PurgeErrorConfig getErrorConfig()
The desired location of errors incurred during the purge.
.google.cloud.discoveryengine.v1alpha.PurgeErrorConfig error_config = 7;getErrorConfig in interface PurgeDocumentsRequestOrBuilderpublic PurgeErrorConfigOrBuilder getErrorConfigOrBuilder()
The desired location of errors incurred during the purge.
.google.cloud.discoveryengine.v1alpha.PurgeErrorConfig error_config = 7;getErrorConfigOrBuilder in interface PurgeDocumentsRequestOrBuilderpublic boolean getForce()
Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any documents.
bool force = 3;getForce in interface PurgeDocumentsRequestOrBuilderpublic 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 PurgeDocumentsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PurgeDocumentsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PurgeDocumentsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PurgeDocumentsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PurgeDocumentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PurgeDocumentsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PurgeDocumentsRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static PurgeDocumentsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PurgeDocumentsRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PurgeDocumentsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PurgeDocumentsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PurgeDocumentsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PurgeDocumentsRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PurgeDocumentsRequest.Builder newBuilder()
public static PurgeDocumentsRequest.Builder newBuilder(PurgeDocumentsRequest prototype)
public PurgeDocumentsRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PurgeDocumentsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PurgeDocumentsRequest getDefaultInstance()
public static com.google.protobuf.Parser<PurgeDocumentsRequest> parser()
public com.google.protobuf.Parser<PurgeDocumentsRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PurgeDocumentsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.