Package org.opensearch.protobufs
Interface GetDocumentResponseBodyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetDocumentResponseBody,GetDocumentResponseBody.Builder
public interface GetDocumentResponseBodyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.ObjectMap fields = 3 [json_name = "fields"];.ObjectMap fields = 3 [json_name = "fields"];booleangetFound()optional bool found = 4 [json_name = "found"];com.google.protobuf.Struct.google.protobuf.Struct struct_source = 9 [json_name = "structSource"];com.google.protobuf.StructOrBuilder.google.protobuf.Struct struct_source = 9 [json_name = "structSource"];getXId()optional string x_id = 5 [json_name = "xId"];com.google.protobuf.ByteStringoptional string x_id = 5 [json_name = "xId"];optional string x_index = 2 [json_name = "xIndex"];com.google.protobuf.ByteStringoptional string x_index = 2 [json_name = "xIndex"];longoptional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];optional string x_routing = 7 [json_name = "xRouting"];com.google.protobuf.ByteStringoptional string x_routing = 7 [json_name = "xRouting"];longoptional int64 x_seq_no = 8 [json_name = "xSeqNo"];com.google.protobuf.ByteStringbytes x_source = 11 [json_name = "xSource"];getXType()optional string x_type = 1 [json_name = "xType"];com.google.protobuf.ByteStringoptional string x_type = 1 [json_name = "xType"];longoptional int64 x_version = 10 [json_name = "xVersion"];boolean.ObjectMap fields = 3 [json_name = "fields"];booleanhasFound()optional bool found = 4 [json_name = "found"];boolean.google.protobuf.Struct struct_source = 9 [json_name = "structSource"];booleanhasXId()optional string x_id = 5 [json_name = "xId"];booleanoptional string x_index = 2 [json_name = "xIndex"];booleanoptional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];booleanoptional string x_routing = 7 [json_name = "xRouting"];booleanoptional int64 x_seq_no = 8 [json_name = "xSeqNo"];booleanbytes x_source = 11 [json_name = "xSource"];booleanhasXType()optional string x_type = 1 [json_name = "xType"];booleanoptional int64 x_version = 10 [json_name = "xVersion"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasXType
boolean hasXType()optional string x_type = 1 [json_name = "xType"];- Returns:
- Whether the xType field is set.
-
getXType
String getXType()optional string x_type = 1 [json_name = "xType"];- Returns:
- The xType.
-
getXTypeBytes
com.google.protobuf.ByteString getXTypeBytes()optional string x_type = 1 [json_name = "xType"];- Returns:
- The bytes for xType.
-
hasXIndex
boolean hasXIndex()optional string x_index = 2 [json_name = "xIndex"];- Returns:
- Whether the xIndex field is set.
-
getXIndex
String getXIndex()optional string x_index = 2 [json_name = "xIndex"];- Returns:
- The xIndex.
-
getXIndexBytes
com.google.protobuf.ByteString getXIndexBytes()optional string x_index = 2 [json_name = "xIndex"];- Returns:
- The bytes for xIndex.
-
hasFields
boolean hasFields().ObjectMap fields = 3 [json_name = "fields"];- Returns:
- Whether the fields field is set.
-
getFields
ObjectMap getFields().ObjectMap fields = 3 [json_name = "fields"];- Returns:
- The fields.
-
getFieldsOrBuilder
ObjectMapOrBuilder getFieldsOrBuilder().ObjectMap fields = 3 [json_name = "fields"]; -
hasFound
boolean hasFound()optional bool found = 4 [json_name = "found"];- Returns:
- Whether the found field is set.
-
getFound
boolean getFound()optional bool found = 4 [json_name = "found"];- Returns:
- The found.
-
hasXId
boolean hasXId()optional string x_id = 5 [json_name = "xId"];- Returns:
- Whether the xId field is set.
-
getXId
String getXId()optional string x_id = 5 [json_name = "xId"];- Returns:
- The xId.
-
getXIdBytes
com.google.protobuf.ByteString getXIdBytes()optional string x_id = 5 [json_name = "xId"];- Returns:
- The bytes for xId.
-
hasXPrimaryTerm
boolean hasXPrimaryTerm()optional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];- Returns:
- Whether the xPrimaryTerm field is set.
-
getXPrimaryTerm
long getXPrimaryTerm()optional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];- Returns:
- The xPrimaryTerm.
-
hasXRouting
boolean hasXRouting()optional string x_routing = 7 [json_name = "xRouting"];- Returns:
- Whether the xRouting field is set.
-
getXRouting
String getXRouting()optional string x_routing = 7 [json_name = "xRouting"];- Returns:
- The xRouting.
-
getXRoutingBytes
com.google.protobuf.ByteString getXRoutingBytes()optional string x_routing = 7 [json_name = "xRouting"];- Returns:
- The bytes for xRouting.
-
hasXSeqNo
boolean hasXSeqNo()optional int64 x_seq_no = 8 [json_name = "xSeqNo"];- Returns:
- Whether the xSeqNo field is set.
-
getXSeqNo
long getXSeqNo()optional int64 x_seq_no = 8 [json_name = "xSeqNo"];- Returns:
- The xSeqNo.
-
hasStructSource
boolean hasStructSource().google.protobuf.Struct struct_source = 9 [json_name = "structSource"];- Returns:
- Whether the structSource field is set.
-
getStructSource
com.google.protobuf.Struct getStructSource().google.protobuf.Struct struct_source = 9 [json_name = "structSource"];- Returns:
- The structSource.
-
getStructSourceOrBuilder
com.google.protobuf.StructOrBuilder getStructSourceOrBuilder().google.protobuf.Struct struct_source = 9 [json_name = "structSource"]; -
hasXSource
boolean hasXSource()bytes x_source = 11 [json_name = "xSource"];- Returns:
- Whether the xSource field is set.
-
getXSource
com.google.protobuf.ByteString getXSource()bytes x_source = 11 [json_name = "xSource"];- Returns:
- The xSource.
-
hasXVersion
boolean hasXVersion()optional int64 x_version = 10 [json_name = "xVersion"];- Returns:
- Whether the xVersion field is set.
-
getXVersion
long getXVersion()optional int64 x_version = 10 [json_name = "xVersion"];- Returns:
- The xVersion.
-
getGetDocumentResponseBodySourceCase
GetDocumentResponseBody.GetDocumentResponseBodySourceCase getGetDocumentResponseBodySourceCase()
-