congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
AdminProtos$WALEntry$Builder.ensureKeyValueBytesIsMutable
Code IndexAdd Tabnine to your IDE (free)

How to use
ensureKeyValueBytesIsMutable
method
in
org.apache.hadoop.hbase.protobuf.generated.AdminProtos$WALEntry$Builder

Best Java code snippets using org.apache.hadoop.hbase.protobuf.generated.AdminProtos$WALEntry$Builder.ensureKeyValueBytesIsMutable (Showing top 16 results out of 315)

origin: apache/hbase

  /**
   * <code>repeated bytes key_value_bytes = 2;</code>
   *
   * <pre>
   * Following may be null if the KVs/Cells are carried along the side in a cellblock (See
   * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null
   * and associated_cell_count has count of Cells associated w/ this WALEntry
   * </pre>
   */
  public Builder setKeyValueBytes(
    int index, com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureKeyValueBytesIsMutable();
   keyValueBytes_.set(index, value);
   onChanged();
   return this;
  }
  /**
origin: apache/hbase

  /**
   * <code>repeated bytes key_value_bytes = 2;</code>
   *
   * <pre>
   * Following may be null if the KVs/Cells are carried along the side in a cellblock (See
   * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null
   * and associated_cell_count has count of Cells associated w/ this WALEntry
   * </pre>
   */
  public Builder addKeyValueBytes(com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureKeyValueBytesIsMutable();
   keyValueBytes_.add(value);
   onChanged();
   return this;
  }
  /**
origin: apache/hbase

/**
 * <code>repeated bytes key_value_bytes = 2;</code>
 *
 * <pre>
 * Following may be null if the KVs/Cells are carried along the side in a cellblock (See
 * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null
 * and associated_cell_count has count of Cells associated w/ this WALEntry
 * </pre>
 */
public Builder addAllKeyValueBytes(
  java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
 ensureKeyValueBytesIsMutable();
 super.addAll(values, keyValueBytes_);
 onChanged();
 return this;
}
/**
origin: harbby/presto-connectors

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry.getDefaultInstance()) return this;
 if (other.hasKey()) {
  mergeKey(other.getKey());
 }
 if (!other.keyValueBytes_.isEmpty()) {
  if (keyValueBytes_.isEmpty()) {
   keyValueBytes_ = other.keyValueBytes_;
   bitField0_ = (bitField0_ & ~0x00000002);
  } else {
   ensureKeyValueBytesIsMutable();
   keyValueBytes_.addAll(other.keyValueBytes_);
  }
  onChanged();
 }
 if (other.hasAssociatedCellCount()) {
  setAssociatedCellCount(other.getAssociatedCellCount());
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: com.aliyun.hbase/alihbase-protocol

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry.getDefaultInstance()) return this;
 if (other.hasKey()) {
  mergeKey(other.getKey());
 }
 if (!other.keyValueBytes_.isEmpty()) {
  if (keyValueBytes_.isEmpty()) {
   keyValueBytes_ = other.keyValueBytes_;
   bitField0_ = (bitField0_ & ~0x00000002);
  } else {
   ensureKeyValueBytesIsMutable();
   keyValueBytes_.addAll(other.keyValueBytes_);
  }
  onChanged();
 }
 if (other.hasAssociatedCellCount()) {
  setAssociatedCellCount(other.getAssociatedCellCount());
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: org.apache.hbase/hbase-protocol

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry.getDefaultInstance()) return this;
 if (other.hasKey()) {
  mergeKey(other.getKey());
 }
 if (!other.keyValueBytes_.isEmpty()) {
  if (keyValueBytes_.isEmpty()) {
   keyValueBytes_ = other.keyValueBytes_;
   bitField0_ = (bitField0_ & ~0x00000002);
  } else {
   ensureKeyValueBytesIsMutable();
   keyValueBytes_.addAll(other.keyValueBytes_);
  }
  onChanged();
 }
 if (other.hasAssociatedCellCount()) {
  setAssociatedCellCount(other.getAssociatedCellCount());
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: com.aliyun.hbase/alihbase-protocol

  /**
   * <code>repeated bytes key_value_bytes = 2;</code>
   *
   * <pre>
   * Following may be null if the KVs/Cells are carried along the side in a cellblock (See
   * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null
   * and associated_cell_count has count of Cells associated w/ this WALEntry
   * </pre>
   */
  public Builder addKeyValueBytes(com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureKeyValueBytesIsMutable();
   keyValueBytes_.add(value);
   onChanged();
   return this;
  }
  /**
origin: org.apache.hbase/hbase-protocol

  /**
   * <code>repeated bytes key_value_bytes = 2;</code>
   *
   * <pre>
   * Following may be null if the KVs/Cells are carried along the side in a cellblock (See
   * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null
   * and associated_cell_count has count of Cells associated w/ this WALEntry
   * </pre>
   */
  public Builder addKeyValueBytes(com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureKeyValueBytesIsMutable();
   keyValueBytes_.add(value);
   onChanged();
   return this;
  }
  /**
origin: harbby/presto-connectors

  /**
   * <code>repeated bytes key_value_bytes = 2;</code>
   *
   * <pre>
   * Following may be null if the KVs/Cells are carried along the side in a cellblock (See
   * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null
   * and associated_cell_count has count of Cells associated w/ this WALEntry
   * </pre>
   */
  public Builder setKeyValueBytes(
    int index, com.facebook.presto.hbase.$internal.com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureKeyValueBytesIsMutable();
   keyValueBytes_.set(index, value);
   onChanged();
   return this;
  }
  /**
origin: harbby/presto-connectors

  /**
   * <code>repeated bytes key_value_bytes = 2;</code>
   *
   * <pre>
   * Following may be null if the KVs/Cells are carried along the side in a cellblock (See
   * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null
   * and associated_cell_count has count of Cells associated w/ this WALEntry
   * </pre>
   */
  public Builder addKeyValueBytes(com.facebook.presto.hbase.$internal.com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureKeyValueBytesIsMutable();
   keyValueBytes_.add(value);
   onChanged();
   return this;
  }
  /**
origin: com.aliyun.hbase/alihbase-protocol

  /**
   * <code>repeated bytes key_value_bytes = 2;</code>
   *
   * <pre>
   * Following may be null if the KVs/Cells are carried along the side in a cellblock (See
   * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null
   * and associated_cell_count has count of Cells associated w/ this WALEntry
   * </pre>
   */
  public Builder setKeyValueBytes(
    int index, com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureKeyValueBytesIsMutable();
   keyValueBytes_.set(index, value);
   onChanged();
   return this;
  }
  /**
origin: org.apache.hbase/hbase-protocol

  /**
   * <code>repeated bytes key_value_bytes = 2;</code>
   *
   * <pre>
   * Following may be null if the KVs/Cells are carried along the side in a cellblock (See
   * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null
   * and associated_cell_count has count of Cells associated w/ this WALEntry
   * </pre>
   */
  public Builder setKeyValueBytes(
    int index, com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureKeyValueBytesIsMutable();
   keyValueBytes_.set(index, value);
   onChanged();
   return this;
  }
  /**
origin: harbby/presto-connectors

/**
 * <code>repeated bytes key_value_bytes = 2;</code>
 *
 * <pre>
 * Following may be null if the KVs/Cells are carried along the side in a cellblock (See
 * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null
 * and associated_cell_count has count of Cells associated w/ this WALEntry
 * </pre>
 */
public Builder addAllKeyValueBytes(
  java.lang.Iterable<? extends com.facebook.presto.hbase.$internal.com.google.protobuf.ByteString> values) {
 ensureKeyValueBytesIsMutable();
 super.addAll(values, keyValueBytes_);
 onChanged();
 return this;
}
/**
origin: org.apache.hbase/hbase-protocol

/**
 * <code>repeated bytes key_value_bytes = 2;</code>
 *
 * <pre>
 * Following may be null if the KVs/Cells are carried along the side in a cellblock (See
 * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null
 * and associated_cell_count has count of Cells associated w/ this WALEntry
 * </pre>
 */
public Builder addAllKeyValueBytes(
  java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
 ensureKeyValueBytesIsMutable();
 super.addAll(values, keyValueBytes_);
 onChanged();
 return this;
}
/**
origin: com.aliyun.hbase/alihbase-protocol

/**
 * <code>repeated bytes key_value_bytes = 2;</code>
 *
 * <pre>
 * Following may be null if the KVs/Cells are carried along the side in a cellblock (See
 * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null
 * and associated_cell_count has count of Cells associated w/ this WALEntry
 * </pre>
 */
public Builder addAllKeyValueBytes(
  java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
 ensureKeyValueBytesIsMutable();
 super.addAll(values, keyValueBytes_);
 onChanged();
 return this;
}
/**
origin: apache/hbase

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry.getDefaultInstance()) return this;
 if (other.hasKey()) {
  mergeKey(other.getKey());
 }
 if (!other.keyValueBytes_.isEmpty()) {
  if (keyValueBytes_.isEmpty()) {
   keyValueBytes_ = other.keyValueBytes_;
   bitField0_ = (bitField0_ & ~0x00000002);
  } else {
   ensureKeyValueBytesIsMutable();
   keyValueBytes_.addAll(other.keyValueBytes_);
  }
  onChanged();
 }
 if (other.hasAssociatedCellCount()) {
  setAssociatedCellCount(other.getAssociatedCellCount());
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
org.apache.hadoop.hbase.protobuf.generatedAdminProtos$WALEntry$BuilderensureKeyValueBytesIsMutable

Popular methods of AdminProtos$WALEntry$Builder

  • <init>
  • build
  • buildPartial
  • create
  • getKey
    required .hbase.pb.WALKey key = 1;
  • getKeyFieldBuilder
    required .hbase.pb.WALKey key = 1;
  • getParentForChildren
  • hasKey
    required .hbase.pb.WALKey key = 1;
  • isClean
  • maybeForceBuilderInitialization
  • mergeFrom
  • mergeKey
    required .hbase.pb.WALKey key = 1;
  • mergeFrom,
  • mergeKey,
  • mergeUnknownFields,
  • newUninitializedMessageException,
  • onBuilt,
  • onChanged,
  • setAssociatedCellCount,
  • clear,
  • getKeyBuilder

Popular in Java

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • getSharedPreferences (Context)
  • compareTo (BigDecimal)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now