Class GetDocumentResponseBody

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.opensearch.protobufs.GetDocumentResponseBody
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, GetDocumentResponseBodyOrBuilder

public final class GetDocumentResponseBody extends com.google.protobuf.GeneratedMessageV3 implements GetDocumentResponseBodyOrBuilder
Protobuf type GetDocumentResponseBody
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getGetDocumentResponseBodySourceCase

      public GetDocumentResponseBody.GetDocumentResponseBodySourceCase getGetDocumentResponseBodySourceCase()
      Specified by:
      getGetDocumentResponseBodySourceCase in interface GetDocumentResponseBodyOrBuilder
    • hasXType

      public boolean hasXType()
      optional string x_type = 1 [json_name = "xType"];
      Specified by:
      hasXType in interface GetDocumentResponseBodyOrBuilder
      Returns:
      Whether the xType field is set.
    • getXType

      public String getXType()
      optional string x_type = 1 [json_name = "xType"];
      Specified by:
      getXType in interface GetDocumentResponseBodyOrBuilder
      Returns:
      The xType.
    • getXTypeBytes

      public com.google.protobuf.ByteString getXTypeBytes()
      optional string x_type = 1 [json_name = "xType"];
      Specified by:
      getXTypeBytes in interface GetDocumentResponseBodyOrBuilder
      Returns:
      The bytes for xType.
    • hasXIndex

      public boolean hasXIndex()
      optional string x_index = 2 [json_name = "xIndex"];
      Specified by:
      hasXIndex in interface GetDocumentResponseBodyOrBuilder
      Returns:
      Whether the xIndex field is set.
    • getXIndex

      public String getXIndex()
      optional string x_index = 2 [json_name = "xIndex"];
      Specified by:
      getXIndex in interface GetDocumentResponseBodyOrBuilder
      Returns:
      The xIndex.
    • getXIndexBytes

      public com.google.protobuf.ByteString getXIndexBytes()
      optional string x_index = 2 [json_name = "xIndex"];
      Specified by:
      getXIndexBytes in interface GetDocumentResponseBodyOrBuilder
      Returns:
      The bytes for xIndex.
    • hasFields

      public boolean hasFields()
      .ObjectMap fields = 3 [json_name = "fields"];
      Specified by:
      hasFields in interface GetDocumentResponseBodyOrBuilder
      Returns:
      Whether the fields field is set.
    • getFields

      public ObjectMap getFields()
      .ObjectMap fields = 3 [json_name = "fields"];
      Specified by:
      getFields in interface GetDocumentResponseBodyOrBuilder
      Returns:
      The fields.
    • getFieldsOrBuilder

      public ObjectMapOrBuilder getFieldsOrBuilder()
      .ObjectMap fields = 3 [json_name = "fields"];
      Specified by:
      getFieldsOrBuilder in interface GetDocumentResponseBodyOrBuilder
    • hasFound

      public boolean hasFound()
      optional bool found = 4 [json_name = "found"];
      Specified by:
      hasFound in interface GetDocumentResponseBodyOrBuilder
      Returns:
      Whether the found field is set.
    • getFound

      public boolean getFound()
      optional bool found = 4 [json_name = "found"];
      Specified by:
      getFound in interface GetDocumentResponseBodyOrBuilder
      Returns:
      The found.
    • hasXId

      public boolean hasXId()
      optional string x_id = 5 [json_name = "xId"];
      Specified by:
      hasXId in interface GetDocumentResponseBodyOrBuilder
      Returns:
      Whether the xId field is set.
    • getXId

      public String getXId()
      optional string x_id = 5 [json_name = "xId"];
      Specified by:
      getXId in interface GetDocumentResponseBodyOrBuilder
      Returns:
      The xId.
    • getXIdBytes

      public com.google.protobuf.ByteString getXIdBytes()
      optional string x_id = 5 [json_name = "xId"];
      Specified by:
      getXIdBytes in interface GetDocumentResponseBodyOrBuilder
      Returns:
      The bytes for xId.
    • hasXPrimaryTerm

      public boolean hasXPrimaryTerm()
      optional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];
      Specified by:
      hasXPrimaryTerm in interface GetDocumentResponseBodyOrBuilder
      Returns:
      Whether the xPrimaryTerm field is set.
    • getXPrimaryTerm

      public long getXPrimaryTerm()
      optional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];
      Specified by:
      getXPrimaryTerm in interface GetDocumentResponseBodyOrBuilder
      Returns:
      The xPrimaryTerm.
    • hasXRouting

      public boolean hasXRouting()
      optional string x_routing = 7 [json_name = "xRouting"];
      Specified by:
      hasXRouting in interface GetDocumentResponseBodyOrBuilder
      Returns:
      Whether the xRouting field is set.
    • getXRouting

      public String getXRouting()
      optional string x_routing = 7 [json_name = "xRouting"];
      Specified by:
      getXRouting in interface GetDocumentResponseBodyOrBuilder
      Returns:
      The xRouting.
    • getXRoutingBytes

      public com.google.protobuf.ByteString getXRoutingBytes()
      optional string x_routing = 7 [json_name = "xRouting"];
      Specified by:
      getXRoutingBytes in interface GetDocumentResponseBodyOrBuilder
      Returns:
      The bytes for xRouting.
    • hasXSeqNo

      public boolean hasXSeqNo()
      optional int64 x_seq_no = 8 [json_name = "xSeqNo"];
      Specified by:
      hasXSeqNo in interface GetDocumentResponseBodyOrBuilder
      Returns:
      Whether the xSeqNo field is set.
    • getXSeqNo

      public long getXSeqNo()
      optional int64 x_seq_no = 8 [json_name = "xSeqNo"];
      Specified by:
      getXSeqNo in interface GetDocumentResponseBodyOrBuilder
      Returns:
      The xSeqNo.
    • hasStructSource

      public boolean hasStructSource()
      .google.protobuf.Struct struct_source = 9 [json_name = "structSource"];
      Specified by:
      hasStructSource in interface GetDocumentResponseBodyOrBuilder
      Returns:
      Whether the structSource field is set.
    • getStructSource

      public com.google.protobuf.Struct getStructSource()
      .google.protobuf.Struct struct_source = 9 [json_name = "structSource"];
      Specified by:
      getStructSource in interface GetDocumentResponseBodyOrBuilder
      Returns:
      The structSource.
    • getStructSourceOrBuilder

      public com.google.protobuf.StructOrBuilder getStructSourceOrBuilder()
      .google.protobuf.Struct struct_source = 9 [json_name = "structSource"];
      Specified by:
      getStructSourceOrBuilder in interface GetDocumentResponseBodyOrBuilder
    • hasXSource

      public boolean hasXSource()
      bytes x_source = 11 [json_name = "xSource"];
      Specified by:
      hasXSource in interface GetDocumentResponseBodyOrBuilder
      Returns:
      Whether the xSource field is set.
    • getXSource

      public com.google.protobuf.ByteString getXSource()
      bytes x_source = 11 [json_name = "xSource"];
      Specified by:
      getXSource in interface GetDocumentResponseBodyOrBuilder
      Returns:
      The xSource.
    • hasXVersion

      public boolean hasXVersion()
      optional int64 x_version = 10 [json_name = "xVersion"];
      Specified by:
      hasXVersion in interface GetDocumentResponseBodyOrBuilder
      Returns:
      Whether the xVersion field is set.
    • getXVersion

      public long getXVersion()
      optional int64 x_version = 10 [json_name = "xVersion"];
      Specified by:
      getXVersion in interface GetDocumentResponseBodyOrBuilder
      Returns:
      The xVersion.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static GetDocumentResponseBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetDocumentResponseBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetDocumentResponseBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetDocumentResponseBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetDocumentResponseBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetDocumentResponseBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetDocumentResponseBody parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetDocumentResponseBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GetDocumentResponseBody parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GetDocumentResponseBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetDocumentResponseBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetDocumentResponseBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public GetDocumentResponseBody.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GetDocumentResponseBody.Builder newBuilder()
    • newBuilder

      public static GetDocumentResponseBody.Builder newBuilder(GetDocumentResponseBody prototype)
    • toBuilder

      public GetDocumentResponseBody.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GetDocumentResponseBody.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static GetDocumentResponseBody getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GetDocumentResponseBody> parser()
    • getParserForType

      public com.google.protobuf.Parser<GetDocumentResponseBody> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public GetDocumentResponseBody getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder