Package org.opensearch.protobufs
Class UpdateOperation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.opensearch.protobufs.UpdateOperation
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,UpdateOperationOrBuilder
public final class UpdateOperation
extends com.google.protobuf.GeneratedMessageV3
implements UpdateOperationOrBuilder
Protobuf type
org.opensearch.protobufs.UpdateOperation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeorg.opensearch.protobufs.UpdateOperationNested 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 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 UpdateOperationstatic final com.google.protobuf.Descriptors.Descriptorlongoptional int64 if_primary_term = 4 [json_name = "ifPrimaryTerm"];longoptional int64 if_seq_no = 5 [json_name = "ifSeqNo"];com.google.protobuf.Parser<UpdateOperation> booleanoptional bool require_alias = 6 [json_name = "requireAlias"];intoptional int32 retry_on_conflict = 7 [json_name = "retryOnConflict"];optional string routing = 3 [json_name = "routing"];com.google.protobuf.ByteStringoptional string routing = 3 [json_name = "routing"];intgetXId()optional string x_id = 1 [json_name = "xId"];com.google.protobuf.ByteStringoptional string x_id = 1 [json_name = "xId"];optional string x_index = 2 [json_name = "xIndex"];com.google.protobuf.ByteStringoptional string x_index = 2 [json_name = "xIndex"];inthashCode()booleanoptional int64 if_primary_term = 4 [json_name = "ifPrimaryTerm"];booleanoptional int64 if_seq_no = 5 [json_name = "ifSeqNo"];booleanoptional bool require_alias = 6 [json_name = "requireAlias"];booleanoptional int32 retry_on_conflict = 7 [json_name = "retryOnConflict"];booleanoptional string routing = 3 [json_name = "routing"];booleanhasXId()optional string x_id = 1 [json_name = "xId"];booleanoptional string x_index = 2 [json_name = "xIndex"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic UpdateOperation.Builderstatic UpdateOperation.BuildernewBuilder(UpdateOperation prototype) protected UpdateOperation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static UpdateOperationparseDelimitedFrom(InputStream input) static UpdateOperationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateOperationparseFrom(byte[] data) static UpdateOperationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateOperationparseFrom(com.google.protobuf.ByteString data) static UpdateOperationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateOperationparseFrom(com.google.protobuf.CodedInputStream input) static UpdateOperationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateOperationparseFrom(InputStream input) static UpdateOperationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateOperationparseFrom(ByteBuffer data) static UpdateOperationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UpdateOperation> 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
-
X_ID_FIELD_NUMBER
public static final int X_ID_FIELD_NUMBER- See Also:
-
X_INDEX_FIELD_NUMBER
public static final int X_INDEX_FIELD_NUMBER- See Also:
-
ROUTING_FIELD_NUMBER
public static final int ROUTING_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:
-
REQUIRE_ALIAS_FIELD_NUMBER
public static final int REQUIRE_ALIAS_FIELD_NUMBER- See Also:
-
RETRY_ON_CONFLICT_FIELD_NUMBER
public static final int RETRY_ON_CONFLICT_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
-
hasXId
public boolean hasXId()optional string x_id = 1 [json_name = "xId"];- Specified by:
hasXIdin interfaceUpdateOperationOrBuilder- Returns:
- Whether the xId field is set.
-
getXId
optional string x_id = 1 [json_name = "xId"];- Specified by:
getXIdin interfaceUpdateOperationOrBuilder- Returns:
- The xId.
-
getXIdBytes
public com.google.protobuf.ByteString getXIdBytes()optional string x_id = 1 [json_name = "xId"];- Specified by:
getXIdBytesin interfaceUpdateOperationOrBuilder- Returns:
- The bytes for xId.
-
hasXIndex
public boolean hasXIndex()optional string x_index = 2 [json_name = "xIndex"];- Specified by:
hasXIndexin interfaceUpdateOperationOrBuilder- Returns:
- Whether the xIndex field is set.
-
getXIndex
optional string x_index = 2 [json_name = "xIndex"];- Specified by:
getXIndexin interfaceUpdateOperationOrBuilder- Returns:
- The xIndex.
-
getXIndexBytes
public com.google.protobuf.ByteString getXIndexBytes()optional string x_index = 2 [json_name = "xIndex"];- Specified by:
getXIndexBytesin interfaceUpdateOperationOrBuilder- Returns:
- The bytes for xIndex.
-
hasRouting
public boolean hasRouting()optional string routing = 3 [json_name = "routing"];- Specified by:
hasRoutingin interfaceUpdateOperationOrBuilder- Returns:
- Whether the routing field is set.
-
getRouting
optional string routing = 3 [json_name = "routing"];- Specified by:
getRoutingin interfaceUpdateOperationOrBuilder- Returns:
- The routing.
-
getRoutingBytes
public com.google.protobuf.ByteString getRoutingBytes()optional string routing = 3 [json_name = "routing"];- Specified by:
getRoutingBytesin interfaceUpdateOperationOrBuilder- Returns:
- The bytes for routing.
-
hasIfPrimaryTerm
public boolean hasIfPrimaryTerm()optional int64 if_primary_term = 4 [json_name = "ifPrimaryTerm"];- Specified by:
hasIfPrimaryTermin interfaceUpdateOperationOrBuilder- Returns:
- Whether the ifPrimaryTerm field is set.
-
getIfPrimaryTerm
public long getIfPrimaryTerm()optional int64 if_primary_term = 4 [json_name = "ifPrimaryTerm"];- Specified by:
getIfPrimaryTermin interfaceUpdateOperationOrBuilder- Returns:
- The ifPrimaryTerm.
-
hasIfSeqNo
public boolean hasIfSeqNo()optional int64 if_seq_no = 5 [json_name = "ifSeqNo"];- Specified by:
hasIfSeqNoin interfaceUpdateOperationOrBuilder- Returns:
- Whether the ifSeqNo field is set.
-
getIfSeqNo
public long getIfSeqNo()optional int64 if_seq_no = 5 [json_name = "ifSeqNo"];- Specified by:
getIfSeqNoin interfaceUpdateOperationOrBuilder- Returns:
- The ifSeqNo.
-
hasRequireAlias
public boolean hasRequireAlias()optional bool require_alias = 6 [json_name = "requireAlias"];- Specified by:
hasRequireAliasin interfaceUpdateOperationOrBuilder- Returns:
- Whether the requireAlias field is set.
-
getRequireAlias
public boolean getRequireAlias()optional bool require_alias = 6 [json_name = "requireAlias"];- Specified by:
getRequireAliasin interfaceUpdateOperationOrBuilder- Returns:
- The requireAlias.
-
hasRetryOnConflict
public boolean hasRetryOnConflict()optional int32 retry_on_conflict = 7 [json_name = "retryOnConflict"];- Specified by:
hasRetryOnConflictin interfaceUpdateOperationOrBuilder- Returns:
- Whether the retryOnConflict field is set.
-
getRetryOnConflict
public int getRetryOnConflict()optional int32 retry_on_conflict = 7 [json_name = "retryOnConflict"];- Specified by:
getRetryOnConflictin interfaceUpdateOperationOrBuilder- Returns:
- The retryOnConflict.
-
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 UpdateOperation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateOperation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateOperation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateOperation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateOperation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateOperation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static UpdateOperation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static UpdateOperation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateOperation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateOperation 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 UpdateOperation.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
-