Package org.opensearch.protobufs
Class DeleteDocumentRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.opensearch.protobufs.DeleteDocumentRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,DeleteDocumentRequestOrBuilder
public final class DeleteDocumentRequest
extends com.google.protobuf.GeneratedMessageV3
implements DeleteDocumentRequestOrBuilder
Protobuf type
DeleteDocumentRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeDeleteDocumentRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DeleteDocumentRequeststatic final com.google.protobuf.Descriptors.DescriptorgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringstring id = 1 [json_name = "id"];longoptional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];longoptional int64 if_seq_no = 4 [json_name = "ifSeqNo"];getIndex()string index = 2 [json_name = "index"];com.google.protobuf.ByteStringstring index = 2 [json_name = "index"];com.google.protobuf.Parser<DeleteDocumentRequest> optional .Refresh refresh = 5 [json_name = "refresh"];intoptional .Refresh refresh = 5 [json_name = "refresh"];optional string routing = 6 [json_name = "routing"];com.google.protobuf.ByteStringoptional string routing = 6 [json_name = "routing"];intoptional string timeout = 7 [json_name = "timeout"];com.google.protobuf.ByteStringoptional string timeout = 7 [json_name = "timeout"];longoptional int64 version = 8 [json_name = "version"];optional .VersionType version_type = 9 [json_name = "versionType"];intoptional .VersionType version_type = 9 [json_name = "versionType"];optional .WaitForActiveShards wait_for_active_shards = 10 [json_name = "waitForActiveShards"];optional .WaitForActiveShards wait_for_active_shards = 10 [json_name = "waitForActiveShards"];inthashCode()booleanoptional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];booleanoptional int64 if_seq_no = 4 [json_name = "ifSeqNo"];booleanoptional .Refresh refresh = 5 [json_name = "refresh"];booleanoptional string routing = 6 [json_name = "routing"];booleanoptional string timeout = 7 [json_name = "timeout"];booleanoptional int64 version = 8 [json_name = "version"];booleanoptional .VersionType version_type = 9 [json_name = "versionType"];booleanoptional .WaitForActiveShards wait_for_active_shards = 10 [json_name = "waitForActiveShards"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(DeleteDocumentRequest prototype) protected DeleteDocumentRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static DeleteDocumentRequestparseDelimitedFrom(InputStream input) static DeleteDocumentRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeleteDocumentRequestparseFrom(byte[] data) static DeleteDocumentRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeleteDocumentRequestparseFrom(com.google.protobuf.ByteString data) static DeleteDocumentRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeleteDocumentRequestparseFrom(com.google.protobuf.CodedInputStream input) static DeleteDocumentRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeleteDocumentRequestparseFrom(InputStream input) static DeleteDocumentRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeleteDocumentRequestparseFrom(ByteBuffer data) static DeleteDocumentRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DeleteDocumentRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
INDEX_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER- See Also:
-
IF_PRIMARY_TERM_FIELD_NUMBER
public static final int IF_PRIMARY_TERM_FIELD_NUMBER- See Also:
-
IF_SEQ_NO_FIELD_NUMBER
public static final int IF_SEQ_NO_FIELD_NUMBER- See Also:
-
REFRESH_FIELD_NUMBER
public static final int REFRESH_FIELD_NUMBER- See Also:
-
ROUTING_FIELD_NUMBER
public static final int ROUTING_FIELD_NUMBER- See Also:
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
VERSION_TYPE_FIELD_NUMBER
public static final int VERSION_TYPE_FIELD_NUMBER- See Also:
-
WAIT_FOR_ACTIVE_SHARDS_FIELD_NUMBER
public static final int WAIT_FOR_ACTIVE_SHARDS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getId
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceDeleteDocumentRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceDeleteDocumentRequestOrBuilder- Returns:
- The bytes for id.
-
getIndex
string index = 2 [json_name = "index"];- Specified by:
getIndexin interfaceDeleteDocumentRequestOrBuilder- Returns:
- The index.
-
getIndexBytes
public com.google.protobuf.ByteString getIndexBytes()string index = 2 [json_name = "index"];- Specified by:
getIndexBytesin interfaceDeleteDocumentRequestOrBuilder- Returns:
- The bytes for index.
-
hasIfPrimaryTerm
public boolean hasIfPrimaryTerm()optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];- Specified by:
hasIfPrimaryTermin interfaceDeleteDocumentRequestOrBuilder- Returns:
- Whether the ifPrimaryTerm field is set.
-
getIfPrimaryTerm
public long getIfPrimaryTerm()optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];- Specified by:
getIfPrimaryTermin interfaceDeleteDocumentRequestOrBuilder- Returns:
- The ifPrimaryTerm.
-
hasIfSeqNo
public boolean hasIfSeqNo()optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];- Specified by:
hasIfSeqNoin interfaceDeleteDocumentRequestOrBuilder- Returns:
- Whether the ifSeqNo field is set.
-
getIfSeqNo
public long getIfSeqNo()optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];- Specified by:
getIfSeqNoin interfaceDeleteDocumentRequestOrBuilder- Returns:
- The ifSeqNo.
-
hasRefresh
public boolean hasRefresh()optional .Refresh refresh = 5 [json_name = "refresh"];- Specified by:
hasRefreshin interfaceDeleteDocumentRequestOrBuilder- Returns:
- Whether the refresh field is set.
-
getRefreshValue
public int getRefreshValue()optional .Refresh refresh = 5 [json_name = "refresh"];- Specified by:
getRefreshValuein interfaceDeleteDocumentRequestOrBuilder- Returns:
- The enum numeric value on the wire for refresh.
-
getRefresh
optional .Refresh refresh = 5 [json_name = "refresh"];- Specified by:
getRefreshin interfaceDeleteDocumentRequestOrBuilder- Returns:
- The refresh.
-
hasRouting
public boolean hasRouting()optional string routing = 6 [json_name = "routing"];- Specified by:
hasRoutingin interfaceDeleteDocumentRequestOrBuilder- Returns:
- Whether the routing field is set.
-
getRouting
optional string routing = 6 [json_name = "routing"];- Specified by:
getRoutingin interfaceDeleteDocumentRequestOrBuilder- Returns:
- The routing.
-
getRoutingBytes
public com.google.protobuf.ByteString getRoutingBytes()optional string routing = 6 [json_name = "routing"];- Specified by:
getRoutingBytesin interfaceDeleteDocumentRequestOrBuilder- Returns:
- The bytes for routing.
-
hasTimeout
public boolean hasTimeout()optional string timeout = 7 [json_name = "timeout"];- Specified by:
hasTimeoutin interfaceDeleteDocumentRequestOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
optional string timeout = 7 [json_name = "timeout"];- Specified by:
getTimeoutin interfaceDeleteDocumentRequestOrBuilder- Returns:
- The timeout.
-
getTimeoutBytes
public com.google.protobuf.ByteString getTimeoutBytes()optional string timeout = 7 [json_name = "timeout"];- Specified by:
getTimeoutBytesin interfaceDeleteDocumentRequestOrBuilder- Returns:
- The bytes for timeout.
-
hasVersion
public boolean hasVersion()optional int64 version = 8 [json_name = "version"];- Specified by:
hasVersionin interfaceDeleteDocumentRequestOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
public long getVersion()optional int64 version = 8 [json_name = "version"];- Specified by:
getVersionin interfaceDeleteDocumentRequestOrBuilder- Returns:
- The version.
-
hasVersionType
public boolean hasVersionType()optional .VersionType version_type = 9 [json_name = "versionType"];- Specified by:
hasVersionTypein interfaceDeleteDocumentRequestOrBuilder- Returns:
- Whether the versionType field is set.
-
getVersionTypeValue
public int getVersionTypeValue()optional .VersionType version_type = 9 [json_name = "versionType"];- Specified by:
getVersionTypeValuein interfaceDeleteDocumentRequestOrBuilder- Returns:
- The enum numeric value on the wire for versionType.
-
getVersionType
optional .VersionType version_type = 9 [json_name = "versionType"];- Specified by:
getVersionTypein interfaceDeleteDocumentRequestOrBuilder- Returns:
- The versionType.
-
hasWaitForActiveShards
public boolean hasWaitForActiveShards()optional .WaitForActiveShards wait_for_active_shards = 10 [json_name = "waitForActiveShards"];- Specified by:
hasWaitForActiveShardsin interfaceDeleteDocumentRequestOrBuilder- Returns:
- Whether the waitForActiveShards field is set.
-
getWaitForActiveShards
optional .WaitForActiveShards wait_for_active_shards = 10 [json_name = "waitForActiveShards"];- Specified by:
getWaitForActiveShardsin interfaceDeleteDocumentRequestOrBuilder- Returns:
- The waitForActiveShards.
-
getWaitForActiveShardsOrBuilder
optional .WaitForActiveShards wait_for_active_shards = 10 [json_name = "waitForActiveShards"];- Specified by:
getWaitForActiveShardsOrBuilderin interfaceDeleteDocumentRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DeleteDocumentRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeleteDocumentRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeleteDocumentRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeleteDocumentRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeleteDocumentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeleteDocumentRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DeleteDocumentRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DeleteDocumentRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DeleteDocumentRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DeleteDocumentRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DeleteDocumentRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-