Class Cells.CellsProto.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Cells.CellsProto.Builder>
com.google.protobuf.GeneratedMessage.Builder<Cells.CellsProto.Builder>
io.confluent.databalancer.record.Cells.CellsProto.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cells.CellsProtoOrBuilder, Cloneable
Enclosing class:
Cells.CellsProto

public static final class Cells.CellsProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<Cells.CellsProto.Builder> implements Cells.CellsProtoOrBuilder
Protobuf type databalancer.CellsProto
  • Method Details

    • getDescriptor

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

      public Cells.CellsProto.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.GeneratedMessage.Builder<Cells.CellsProto.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.GeneratedMessage.Builder<Cells.CellsProto.Builder>
    • getDefaultInstanceForType

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

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

      public Cells.CellsProto buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Cells.CellsProto.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<Cells.CellsProto.Builder>
    • mergeFrom

      public Cells.CellsProto.Builder mergeFrom(Cells.CellsProto other)
    • isInitialized

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

      public Cells.CellsProto.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<Cells.CellsProto.Builder>
      Throws:
      IOException
    • getVersion

      public int getVersion()
       Version to allow change in the message format if needed.
       
      int32 version = 1;
      Specified by:
      getVersion in interface Cells.CellsProtoOrBuilder
      Returns:
      The version.
    • setVersion

      public Cells.CellsProto.Builder setVersion(int value)
       Version to allow change in the message format if needed.
       
      int32 version = 1;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public Cells.CellsProto.Builder clearVersion()
       Version to allow change in the message format if needed.
       
      int32 version = 1;
      Returns:
      This builder for chaining.
    • getTimestamp

      public long getTimestamp()
      int64 timestamp = 2;
      Specified by:
      getTimestamp in interface Cells.CellsProtoOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public Cells.CellsProto.Builder setTimestamp(long value)
      int64 timestamp = 2;
      Parameters:
      value - The timestamp to set.
      Returns:
      This builder for chaining.
    • clearTimestamp

      public Cells.CellsProto.Builder clearTimestamp()
      int64 timestamp = 2;
      Returns:
      This builder for chaining.
    • getCellIdList

      public List<Integer> getCellIdList()
      repeated int32 cellId = 3;
      Specified by:
      getCellIdList in interface Cells.CellsProtoOrBuilder
      Returns:
      A list containing the cellId.
    • getCellIdCount

      public int getCellIdCount()
      repeated int32 cellId = 3;
      Specified by:
      getCellIdCount in interface Cells.CellsProtoOrBuilder
      Returns:
      The count of cellId.
    • getCellId

      public int getCellId(int index)
      repeated int32 cellId = 3;
      Specified by:
      getCellId in interface Cells.CellsProtoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The cellId at the given index.
    • setCellId

      public Cells.CellsProto.Builder setCellId(int index, int value)
      repeated int32 cellId = 3;
      Parameters:
      index - The index to set the value at.
      value - The cellId to set.
      Returns:
      This builder for chaining.
    • addCellId

      public Cells.CellsProto.Builder addCellId(int value)
      repeated int32 cellId = 3;
      Parameters:
      value - The cellId to add.
      Returns:
      This builder for chaining.
    • addAllCellId

      public Cells.CellsProto.Builder addAllCellId(Iterable<? extends Integer> values)
      repeated int32 cellId = 3;
      Parameters:
      values - The cellId to add.
      Returns:
      This builder for chaining.
    • clearCellId

      public Cells.CellsProto.Builder clearCellId()
      repeated int32 cellId = 3;
      Returns:
      This builder for chaining.