Class DocapiFeed.PutDocumentRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.vespa.documentapi.protobuf.DocapiFeed.PutDocumentRequest
All Implemented Interfaces:
DocapiFeed.PutDocumentRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
DocapiFeed

public static final class DocapiFeed.PutDocumentRequest extends com.google.protobuf.GeneratedMessageV3 implements DocapiFeed.PutDocumentRequestOrBuilder
Protobuf type documentapi.protobuf.PutDocumentRequest
See Also:
  • Field Details

    • DOCUMENT_FIELD_NUMBER

      public static final int DOCUMENT_FIELD_NUMBER
      See Also:
    • CONDITION_FIELD_NUMBER

      public static final int CONDITION_FIELD_NUMBER
      See Also:
    • CREATE_IF_MISSING_FIELD_NUMBER

      public static final int CREATE_IF_MISSING_FIELD_NUMBER
      See Also:
    • FORCE_ASSIGN_TIMESTAMP_FIELD_NUMBER

      public static final int FORCE_ASSIGN_TIMESTAMP_FIELD_NUMBER
      See Also:
  • 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
    • hasDocument

      public boolean hasDocument()
       Note: document contains embedded document ID
       
      .documentapi.protobuf.Document document = 1;
      Specified by:
      hasDocument in interface DocapiFeed.PutDocumentRequestOrBuilder
      Returns:
      Whether the document field is set.
    • getDocument

      public DocapiCommon.Document getDocument()
       Note: document contains embedded document ID
       
      .documentapi.protobuf.Document document = 1;
      Specified by:
      getDocument in interface DocapiFeed.PutDocumentRequestOrBuilder
      Returns:
      The document.
    • getDocumentOrBuilder

      public DocapiCommon.DocumentOrBuilder getDocumentOrBuilder()
       Note: document contains embedded document ID
       
      .documentapi.protobuf.Document document = 1;
      Specified by:
      getDocumentOrBuilder in interface DocapiFeed.PutDocumentRequestOrBuilder
    • hasCondition

      public boolean hasCondition()
      .documentapi.protobuf.TestAndSetCondition condition = 2;
      Specified by:
      hasCondition in interface DocapiFeed.PutDocumentRequestOrBuilder
      Returns:
      Whether the condition field is set.
    • getCondition

      public DocapiFeed.TestAndSetCondition getCondition()
      .documentapi.protobuf.TestAndSetCondition condition = 2;
      Specified by:
      getCondition in interface DocapiFeed.PutDocumentRequestOrBuilder
      Returns:
      The condition.
    • getConditionOrBuilder

      public DocapiFeed.TestAndSetConditionOrBuilder getConditionOrBuilder()
      .documentapi.protobuf.TestAndSetCondition condition = 2;
      Specified by:
      getConditionOrBuilder in interface DocapiFeed.PutDocumentRequestOrBuilder
    • getCreateIfMissing

      public boolean getCreateIfMissing()
      bool create_if_missing = 3;
      Specified by:
      getCreateIfMissing in interface DocapiFeed.PutDocumentRequestOrBuilder
      Returns:
      The createIfMissing.
    • getForceAssignTimestamp

      public long getForceAssignTimestamp()
      uint64 force_assign_timestamp = 4;
      Specified by:
      getForceAssignTimestamp in interface DocapiFeed.PutDocumentRequestOrBuilder
      Returns:
      The forceAssignTimestamp.
    • 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 DocapiFeed.PutDocumentRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static DocapiFeed.PutDocumentRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static DocapiFeed.PutDocumentRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static DocapiFeed.PutDocumentRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static DocapiFeed.PutDocumentRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<DocapiFeed.PutDocumentRequest> 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 DocapiFeed.PutDocumentRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder