Class RawImageChunkWithIndex.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<RawImageChunkWithIndex.Builder>
com.ironsoftware.ironpdf.internal.proto.RawImageChunkWithIndex.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RawImageChunkWithIndexOrBuilder, Cloneable
Enclosing class:
RawImageChunkWithIndex

public static final class RawImageChunkWithIndex.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RawImageChunkWithIndex.Builder> implements RawImageChunkWithIndexOrBuilder
this will contain a part of image data with index of the image.
for using this message, you must combine raw_image_chunk with another raw_image_chunk with the same index
 
Protobuf type IronPdfEngine.Proto.RawImageChunkWithIndex
  • Method Details

    • 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.Builder<RawImageChunkWithIndex.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<RawImageChunkWithIndex.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RawImageChunkWithIndex.Builder>
    • getDefaultInstanceForType

      public RawImageChunkWithIndex getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RawImageChunkWithIndex build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RawImageChunkWithIndex buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<RawImageChunkWithIndex.Builder>
    • setField

      public RawImageChunkWithIndex.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<RawImageChunkWithIndex.Builder>
    • clearField

      public RawImageChunkWithIndex.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RawImageChunkWithIndex.Builder>
    • clearOneof

      public RawImageChunkWithIndex.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RawImageChunkWithIndex.Builder>
    • setRepeatedField

      public RawImageChunkWithIndex.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RawImageChunkWithIndex.Builder>
    • addRepeatedField

      public RawImageChunkWithIndex.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RawImageChunkWithIndex.Builder>
    • mergeFrom

      public RawImageChunkWithIndex.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RawImageChunkWithIndex.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RawImageChunkWithIndex.Builder>
    • mergeFrom

      public RawImageChunkWithIndex.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RawImageChunkWithIndex.Builder>
      Throws:
      IOException
    • getImageIndex

      public int getImageIndex()
      int32 image_index = 1;
      Specified by:
      getImageIndex in interface RawImageChunkWithIndexOrBuilder
      Returns:
      The imageIndex.
    • setImageIndex

      public RawImageChunkWithIndex.Builder setImageIndex(int value)
      int32 image_index = 1;
      Parameters:
      value - The imageIndex to set.
      Returns:
      This builder for chaining.
    • clearImageIndex

      public RawImageChunkWithIndex.Builder clearImageIndex()
      int32 image_index = 1;
      Returns:
      This builder for chaining.
    • getRawImageChunk

      public com.google.protobuf.ByteString getRawImageChunk()
      bytes raw_image_chunk = 2;
      Specified by:
      getRawImageChunk in interface RawImageChunkWithIndexOrBuilder
      Returns:
      The rawImageChunk.
    • setRawImageChunk

      public RawImageChunkWithIndex.Builder setRawImageChunk(com.google.protobuf.ByteString value)
      bytes raw_image_chunk = 2;
      Parameters:
      value - The rawImageChunk to set.
      Returns:
      This builder for chaining.
    • clearRawImageChunk

      public RawImageChunkWithIndex.Builder clearRawImageChunk()
      bytes raw_image_chunk = 2;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final RawImageChunkWithIndex.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RawImageChunkWithIndex.Builder>
    • mergeUnknownFields

      public final RawImageChunkWithIndex.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RawImageChunkWithIndex.Builder>