Tabnine Logo
VisibilityLabelsProtos$ListLabelsResponse$Builder.ensureLabelIsMutable
Code IndexAdd Tabnine to your IDE (free)

How to use
ensureLabelIsMutable
method
in
org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos$ListLabelsResponse$Builder

Best Java code snippets using org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos$ListLabelsResponse$Builder.ensureLabelIsMutable (Showing top 16 results out of 315)

origin: apache/hbase

  /**
   * <code>repeated bytes label = 1;</code>
   */
  public Builder addLabel(com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureLabelIsMutable();
   label_.add(value);
   onChanged();
   return this;
  }
  /**
origin: apache/hbase

  /**
   * <code>repeated bytes label = 1;</code>
   */
  public Builder setLabel(
    int index, com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureLabelIsMutable();
   label_.set(index, value);
   onChanged();
   return this;
  }
  /**
origin: apache/hbase

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.getDefaultInstance()) return this;
 if (!other.label_.isEmpty()) {
  if (label_.isEmpty()) {
   label_ = other.label_;
   bitField0_ = (bitField0_ & ~0x00000001);
  } else {
   ensureLabelIsMutable();
   label_.addAll(other.label_);
  }
  onChanged();
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: harbby/presto-connectors

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.getDefaultInstance()) return this;
 if (!other.label_.isEmpty()) {
  if (label_.isEmpty()) {
   label_ = other.label_;
   bitField0_ = (bitField0_ & ~0x00000001);
  } else {
   ensureLabelIsMutable();
   label_.addAll(other.label_);
  }
  onChanged();
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: com.aliyun.hbase/alihbase-protocol

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.getDefaultInstance()) return this;
 if (!other.label_.isEmpty()) {
  if (label_.isEmpty()) {
   label_ = other.label_;
   bitField0_ = (bitField0_ & ~0x00000001);
  } else {
   ensureLabelIsMutable();
   label_.addAll(other.label_);
  }
  onChanged();
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: com.aliyun.hbase/alihbase-protocol

  /**
   * <code>repeated bytes label = 1;</code>
   */
  public Builder setLabel(
    int index, com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureLabelIsMutable();
   label_.set(index, value);
   onChanged();
   return this;
  }
  /**
origin: org.apache.hbase/hbase-protocol

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.getDefaultInstance()) return this;
 if (!other.label_.isEmpty()) {
  if (label_.isEmpty()) {
   label_ = other.label_;
   bitField0_ = (bitField0_ & ~0x00000001);
  } else {
   ensureLabelIsMutable();
   label_.addAll(other.label_);
  }
  onChanged();
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: harbby/presto-connectors

  /**
   * <code>repeated bytes label = 1;</code>
   */
  public Builder setLabel(
    int index, com.facebook.presto.hbase.$internal.com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureLabelIsMutable();
   label_.set(index, value);
   onChanged();
   return this;
  }
  /**
origin: org.apache.hbase/hbase-protocol

  /**
   * <code>repeated bytes label = 1;</code>
   */
  public Builder setLabel(
    int index, com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureLabelIsMutable();
   label_.set(index, value);
   onChanged();
   return this;
  }
  /**
origin: harbby/presto-connectors

  /**
   * <code>repeated bytes label = 1;</code>
   */
  public Builder addLabel(com.facebook.presto.hbase.$internal.com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureLabelIsMutable();
   label_.add(value);
   onChanged();
   return this;
  }
  /**
origin: harbby/presto-connectors

/**
 * <code>repeated bytes label = 1;</code>
 */
public Builder addAllLabel(
  java.lang.Iterable<? extends com.facebook.presto.hbase.$internal.com.google.protobuf.ByteString> values) {
 ensureLabelIsMutable();
 super.addAll(values, label_);
 onChanged();
 return this;
}
/**
origin: com.aliyun.hbase/alihbase-protocol

  /**
   * <code>repeated bytes label = 1;</code>
   */
  public Builder addLabel(com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureLabelIsMutable();
   label_.add(value);
   onChanged();
   return this;
  }
  /**
origin: org.apache.hbase/hbase-protocol

  /**
   * <code>repeated bytes label = 1;</code>
   */
  public Builder addLabel(com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureLabelIsMutable();
   label_.add(value);
   onChanged();
   return this;
  }
  /**
origin: org.apache.hbase/hbase-protocol

/**
 * <code>repeated bytes label = 1;</code>
 */
public Builder addAllLabel(
  java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
 ensureLabelIsMutable();
 super.addAll(values, label_);
 onChanged();
 return this;
}
/**
origin: com.aliyun.hbase/alihbase-protocol

/**
 * <code>repeated bytes label = 1;</code>
 */
public Builder addAllLabel(
  java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
 ensureLabelIsMutable();
 super.addAll(values, label_);
 onChanged();
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated bytes label = 1;</code>
 */
public Builder addAllLabel(
  java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
 ensureLabelIsMutable();
 super.addAll(values, label_);
 onChanged();
 return this;
}
/**
org.apache.hadoop.hbase.protobuf.generatedVisibilityLabelsProtos$ListLabelsResponse$BuilderensureLabelIsMutable

Popular methods of VisibilityLabelsProtos$ListLabelsResponse$Builder

  • <init>
  • buildPartial
  • create
  • maybeForceBuilderInitialization
  • mergeFrom
  • mergeUnknownFields
  • newUninitializedMessageException
  • onBuilt
  • onChanged
  • addLabel
    repeated bytes label = 1;
  • build
  • build

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getResourceAsStream (ClassLoader)
  • getSupportFragmentManager (FragmentActivity)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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