Package ai.vespa.documentapi.protobuf
Class DocapiFeed.RemoveDocumentRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DocapiFeed.RemoveDocumentRequest.Builder>
ai.vespa.documentapi.protobuf.DocapiFeed.RemoveDocumentRequest.Builder
- All Implemented Interfaces:
DocapiFeed.RemoveDocumentRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DocapiFeed.RemoveDocumentRequest
public static final class DocapiFeed.RemoveDocumentRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DocapiFeed.RemoveDocumentRequest.Builder>
implements DocapiFeed.RemoveDocumentRequestOrBuilder
Protobuf type
documentapi.protobuf.RemoveDocumentRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear().documentapi.protobuf.TestAndSetCondition condition = 2;.documentapi.protobuf.DocumentId document_id = 1;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) When a Remove is sent to a client as part of visiting, this value may be set to indicate the timestamp of the underlying persisted tombstone.clone().documentapi.protobuf.TestAndSetCondition condition = 2;.documentapi.protobuf.TestAndSetCondition condition = 2;.documentapi.protobuf.TestAndSetCondition condition = 2;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.documentapi.protobuf.DocumentId document_id = 1;.documentapi.protobuf.DocumentId document_id = 1;.documentapi.protobuf.DocumentId document_id = 1;longWhen a Remove is sent to a client as part of visiting, this value may be set to indicate the timestamp of the underlying persisted tombstone.boolean.documentapi.protobuf.TestAndSetCondition condition = 2;boolean.documentapi.protobuf.DocumentId document_id = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal boolean.documentapi.protobuf.TestAndSetCondition condition = 2;.documentapi.protobuf.DocumentId document_id = 1;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) .documentapi.protobuf.TestAndSetCondition condition = 2;setCondition(DocapiFeed.TestAndSetCondition.Builder builderForValue) .documentapi.protobuf.TestAndSetCondition condition = 2;.documentapi.protobuf.DocumentId document_id = 1;setDocumentId(DocapiCommon.DocumentId.Builder builderForValue) .documentapi.protobuf.DocumentId document_id = 1;setPersistedTimestamp(long value) When a Remove is sent to a client as part of visiting, this value may be set to indicate the timestamp of the underlying persisted tombstone.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DocapiFeed.RemoveDocumentRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DocapiFeed.RemoveDocumentRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DocapiFeed.RemoveDocumentRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DocapiFeed.RemoveDocumentRequest.Builder>
-
setField
public DocapiFeed.RemoveDocumentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocapiFeed.RemoveDocumentRequest.Builder>
-
clearField
public DocapiFeed.RemoveDocumentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocapiFeed.RemoveDocumentRequest.Builder>
-
clearOneof
public DocapiFeed.RemoveDocumentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DocapiFeed.RemoveDocumentRequest.Builder>
-
setRepeatedField
public DocapiFeed.RemoveDocumentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocapiFeed.RemoveDocumentRequest.Builder>
-
addRepeatedField
public DocapiFeed.RemoveDocumentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocapiFeed.RemoveDocumentRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DocapiFeed.RemoveDocumentRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DocapiFeed.RemoveDocumentRequest.Builder>
-
mergeFrom
public DocapiFeed.RemoveDocumentRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DocapiFeed.RemoveDocumentRequest.Builder>- Throws:
IOException
-
hasDocumentId
public boolean hasDocumentId().documentapi.protobuf.DocumentId document_id = 1;- Specified by:
hasDocumentIdin interfaceDocapiFeed.RemoveDocumentRequestOrBuilder- Returns:
- Whether the documentId field is set.
-
getDocumentId
.documentapi.protobuf.DocumentId document_id = 1;- Specified by:
getDocumentIdin interfaceDocapiFeed.RemoveDocumentRequestOrBuilder- Returns:
- The documentId.
-
setDocumentId
.documentapi.protobuf.DocumentId document_id = 1; -
setDocumentId
public DocapiFeed.RemoveDocumentRequest.Builder setDocumentId(DocapiCommon.DocumentId.Builder builderForValue) .documentapi.protobuf.DocumentId document_id = 1; -
mergeDocumentId
.documentapi.protobuf.DocumentId document_id = 1; -
clearDocumentId
.documentapi.protobuf.DocumentId document_id = 1; -
getDocumentIdBuilder
.documentapi.protobuf.DocumentId document_id = 1; -
getDocumentIdOrBuilder
.documentapi.protobuf.DocumentId document_id = 1;- Specified by:
getDocumentIdOrBuilderin interfaceDocapiFeed.RemoveDocumentRequestOrBuilder
-
hasCondition
public boolean hasCondition().documentapi.protobuf.TestAndSetCondition condition = 2;- Specified by:
hasConditionin interfaceDocapiFeed.RemoveDocumentRequestOrBuilder- Returns:
- Whether the condition field is set.
-
getCondition
.documentapi.protobuf.TestAndSetCondition condition = 2;- Specified by:
getConditionin interfaceDocapiFeed.RemoveDocumentRequestOrBuilder- Returns:
- The condition.
-
setCondition
.documentapi.protobuf.TestAndSetCondition condition = 2; -
setCondition
public DocapiFeed.RemoveDocumentRequest.Builder setCondition(DocapiFeed.TestAndSetCondition.Builder builderForValue) .documentapi.protobuf.TestAndSetCondition condition = 2; -
mergeCondition
public DocapiFeed.RemoveDocumentRequest.Builder mergeCondition(DocapiFeed.TestAndSetCondition value) .documentapi.protobuf.TestAndSetCondition condition = 2; -
clearCondition
.documentapi.protobuf.TestAndSetCondition condition = 2; -
getConditionBuilder
.documentapi.protobuf.TestAndSetCondition condition = 2; -
getConditionOrBuilder
.documentapi.protobuf.TestAndSetCondition condition = 2;- Specified by:
getConditionOrBuilderin interfaceDocapiFeed.RemoveDocumentRequestOrBuilder
-
getPersistedTimestamp
public long getPersistedTimestamp()When a Remove is sent to a client as part of visiting, this value may be set to indicate the timestamp of the underlying persisted tombstone.
uint64 persisted_timestamp = 3;- Specified by:
getPersistedTimestampin interfaceDocapiFeed.RemoveDocumentRequestOrBuilder- Returns:
- The persistedTimestamp.
-
setPersistedTimestamp
When a Remove is sent to a client as part of visiting, this value may be set to indicate the timestamp of the underlying persisted tombstone.
uint64 persisted_timestamp = 3;- Parameters:
value- The persistedTimestamp to set.- Returns:
- This builder for chaining.
-
clearPersistedTimestamp
When a Remove is sent to a client as part of visiting, this value may be set to indicate the timestamp of the underlying persisted tombstone.
uint64 persisted_timestamp = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final DocapiFeed.RemoveDocumentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DocapiFeed.RemoveDocumentRequest.Builder>
-
mergeUnknownFields
public final DocapiFeed.RemoveDocumentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DocapiFeed.RemoveDocumentRequest.Builder>
-