Tabnine Logo
ZooKeeperProtos$ReplicationPeer$Builder.onChanged
Code IndexAdd Tabnine to your IDE (free)

How to use
onChanged
method
in
org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos$ReplicationPeer$Builder

Best Java code snippets using org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos$ReplicationPeer$Builder.onChanged (Showing top 20 results out of 315)

origin: apache/hbase

/**
 * <code>repeated .hbase.pb.TableCF table_cfs = 5;</code>
 */
public Builder clearTableCfs() {
 if (tableCfsBuilder_ == null) {
  tableCfs_ = java.util.Collections.emptyList();
  bitField0_ = (bitField0_ & ~0x00000010);
  onChanged();
 } else {
  tableCfsBuilder_.clear();
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.NameStringPair configuration = 4;</code>
 */
public Builder clearConfiguration() {
 if (configurationBuilder_ == null) {
  configuration_ = java.util.Collections.emptyList();
  bitField0_ = (bitField0_ & ~0x00000008);
  onChanged();
 } else {
  configurationBuilder_.clear();
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.BytesBytesPair data = 3;</code>
 */
public Builder clearData() {
 if (dataBuilder_ == null) {
  data_ = java.util.Collections.emptyList();
  bitField0_ = (bitField0_ & ~0x00000004);
  onChanged();
 } else {
  dataBuilder_.clear();
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.TableCF table_cfs = 5;</code>
 */
public Builder addTableCfs(
  org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.TableCF.Builder builderForValue) {
 if (tableCfsBuilder_ == null) {
  ensureTableCfsIsMutable();
  tableCfs_.add(builderForValue.build());
  onChanged();
 } else {
  tableCfsBuilder_.addMessage(builderForValue.build());
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.NameStringPair configuration = 4;</code>
 */
public Builder addAllConfiguration(
  java.lang.Iterable<? extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameStringPair> values) {
 if (configurationBuilder_ == null) {
  ensureConfigurationIsMutable();
  super.addAll(values, configuration_);
  onChanged();
 } else {
  configurationBuilder_.addAllMessages(values);
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.BytesBytesPair data = 3;</code>
 */
public Builder addData(
  int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.BytesBytesPair.Builder builderForValue) {
 if (dataBuilder_ == null) {
  ensureDataIsMutable();
  data_.add(index, builderForValue.build());
  onChanged();
 } else {
  dataBuilder_.addMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.NameStringPair configuration = 4;</code>
 */
public Builder removeConfiguration(int index) {
 if (configurationBuilder_ == null) {
  ensureConfigurationIsMutable();
  configuration_.remove(index);
  onChanged();
 } else {
  configurationBuilder_.remove(index);
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.NameStringPair configuration = 4;</code>
 */
public Builder addConfiguration(
  org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameStringPair.Builder builderForValue) {
 if (configurationBuilder_ == null) {
  ensureConfigurationIsMutable();
  configuration_.add(builderForValue.build());
  onChanged();
 } else {
  configurationBuilder_.addMessage(builderForValue.build());
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.BytesBytesPair data = 3;</code>
 */
public Builder setData(
  int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.BytesBytesPair.Builder builderForValue) {
 if (dataBuilder_ == null) {
  ensureDataIsMutable();
  data_.set(index, builderForValue.build());
  onChanged();
 } else {
  dataBuilder_.setMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.TableCF table_cfs = 5;</code>
 */
public Builder removeTableCfs(int index) {
 if (tableCfsBuilder_ == null) {
  ensureTableCfsIsMutable();
  tableCfs_.remove(index);
  onChanged();
 } else {
  tableCfsBuilder_.remove(index);
 }
 return this;
}
/**
origin: apache/hbase

  /**
   * <code>repeated bytes namespaces = 6;</code>
   */
  public Builder setNamespaces(
    int index, com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureNamespacesIsMutable();
   namespaces_.set(index, value);
   onChanged();
   return this;
  }
  /**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.BytesBytesPair data = 3;</code>
 */
public Builder removeData(int index) {
 if (dataBuilder_ == null) {
  ensureDataIsMutable();
  data_.remove(index);
  onChanged();
 } else {
  dataBuilder_.remove(index);
 }
 return this;
}
/**
origin: apache/hbase

  /**
   * <code>optional string replicationEndpointImpl = 2;</code>
   */
  public Builder setReplicationEndpointImpl(
    java.lang.String value) {
   if (value == null) {
 throw new NullPointerException();
}
bitField0_ |= 0x00000002;
   replicationEndpointImpl_ = value;
   onChanged();
   return this;
  }
  /**
origin: apache/hbase

  /**
   * <code>repeated bytes namespaces = 6;</code>
   */
  public Builder addNamespaces(com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
ensureNamespacesIsMutable();
   namespaces_.add(value);
   onChanged();
   return this;
  }
  /**
origin: apache/hbase

/**
 * <code>repeated bytes namespaces = 6;</code>
 */
public Builder addAllNamespaces(
  java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
 ensureNamespacesIsMutable();
 super.addAll(values, namespaces_);
 onChanged();
 return this;
}
/**
origin: apache/hbase

  /**
   * <code>optional string replicationEndpointImpl = 2;</code>
   */
  public Builder setReplicationEndpointImplBytes(
    com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
bitField0_ |= 0x00000002;
   replicationEndpointImpl_ = value;
   onChanged();
   return this;
  }
origin: apache/hbase

/**
 * <code>optional int64 bandwidth = 7;</code>
 */
public Builder clearBandwidth() {
 bitField0_ = (bitField0_ & ~0x00000040);
 bandwidth_ = 0L;
 onChanged();
 return this;
}
origin: apache/hbase

/**
 * <code>optional int64 bandwidth = 7;</code>
 */
public Builder setBandwidth(long value) {
 bitField0_ |= 0x00000040;
 bandwidth_ = value;
 onChanged();
 return this;
}
/**
origin: apache/hbase

/**
 * <code>optional string replicationEndpointImpl = 2;</code>
 */
public Builder clearReplicationEndpointImpl() {
 bitField0_ = (bitField0_ & ~0x00000002);
 replicationEndpointImpl_ = getDefaultInstance().getReplicationEndpointImpl();
 onChanged();
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated bytes namespaces = 6;</code>
 */
public Builder clearNamespaces() {
 namespaces_ = java.util.Collections.emptyList();
 bitField0_ = (bitField0_ & ~0x00000020);
 onChanged();
 return this;
}
org.apache.hadoop.hbase.protobuf.generatedZooKeeperProtos$ReplicationPeer$BuilderonChanged

Popular methods of ZooKeeperProtos$ReplicationPeer$Builder

  • <init>
  • buildPartial
  • create
  • ensureConfigurationIsMutable
  • ensureDataIsMutable
  • getConfiguration
    repeated .hbase.pb.NameStringPair configuration = 4;
  • getConfigurationCount
    repeated .hbase.pb.NameStringPair configuration = 4;
  • getConfigurationFieldBuilder
  • getData
    repeated .hbase.pb.BytesBytesPair data = 3;
  • getDataCount
    repeated .hbase.pb.BytesBytesPair data = 3;
  • getDataFieldBuilder
  • getParentForChildren
  • getDataFieldBuilder,
  • getParentForChildren,
  • hasClusterkey,
  • isClean,
  • maybeForceBuilderInitialization,
  • mergeFrom,
  • mergeUnknownFields,
  • newUninitializedMessageException,
  • onBuilt

Popular in Java

  • Making http requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setContentView (Activity)
  • runOnUiThread (Activity)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Table (org.hibernate.mapping)
    A relational table
  • Top Vim 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