Tabnine Logo
AdminProtos$CloseRegionRequest$Builder.onChanged
Code IndexAdd Tabnine to your IDE (free)

How to use
onChanged
method
in
org.apache.hadoop.hbase.protobuf.generated.AdminProtos$CloseRegionRequest$Builder

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

origin: apache/hbase

/**
 * <code>optional .hbase.pb.ServerName destination_server = 4;</code>
 */
public Builder setDestinationServer(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName value) {
 if (destinationServerBuilder_ == null) {
  if (value == null) {
   throw new NullPointerException();
  }
  destinationServer_ = value;
  onChanged();
 } else {
  destinationServerBuilder_.setMessage(value);
 }
 bitField0_ |= 0x00000008;
 return this;
}
/**
origin: apache/hbase

/**
 * <code>required .hbase.pb.RegionSpecifier region = 1;</code>
 */
public Builder setRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) {
 if (regionBuilder_ == null) {
  if (value == null) {
   throw new NullPointerException();
  }
  region_ = value;
  onChanged();
 } else {
  regionBuilder_.setMessage(value);
 }
 bitField0_ |= 0x00000001;
 return this;
}
/**
origin: apache/hbase

/**
 * <code>required .hbase.pb.RegionSpecifier region = 1;</code>
 */
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder getRegionBuilder() {
 bitField0_ |= 0x00000001;
 onChanged();
 return getRegionFieldBuilder().getBuilder();
}
/**
origin: com.aliyun.hbase/alihbase-protocol

/**
 * <code>required .hbase.pb.RegionSpecifier region = 1;</code>
 */
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder getRegionBuilder() {
 bitField0_ |= 0x00000001;
 onChanged();
 return getRegionFieldBuilder().getBuilder();
}
/**
origin: com.aliyun.hbase/alihbase-protocol

/**
 * <code>optional .hbase.pb.ServerName destination_server = 4;</code>
 */
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder getDestinationServerBuilder() {
 bitField0_ |= 0x00000008;
 onChanged();
 return getDestinationServerFieldBuilder().getBuilder();
}
/**
origin: com.aliyun.hbase/alihbase-protocol

/**
 * <code>optional uint32 version_of_closing_node = 2;</code>
 */
public Builder setVersionOfClosingNode(int value) {
 bitField0_ |= 0x00000002;
 versionOfClosingNode_ = value;
 onChanged();
 return this;
}
/**
origin: com.aliyun.hbase/alihbase-protocol

/**
 * <code>optional bool transition_in_ZK = 3 [default = true];</code>
 */
public Builder clearTransitionInZK() {
 bitField0_ = (bitField0_ & ~0x00000004);
 transitionInZK_ = true;
 onChanged();
 return this;
}
origin: apache/hbase

/**
 * <code>optional .hbase.pb.ServerName destination_server = 4;</code>
 */
public Builder mergeDestinationServer(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName value) {
 if (destinationServerBuilder_ == null) {
  if (((bitField0_ & 0x00000008) == 0x00000008) &&
    destinationServer_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance()) {
   destinationServer_ =
    org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.newBuilder(destinationServer_).mergeFrom(value).buildPartial();
  } else {
   destinationServer_ = value;
  }
  onChanged();
 } else {
  destinationServerBuilder_.mergeFrom(value);
 }
 bitField0_ |= 0x00000008;
 return this;
}
/**
origin: apache/hbase

/**
 * <code>required .hbase.pb.RegionSpecifier region = 1;</code>
 */
public Builder mergeRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) {
 if (regionBuilder_ == null) {
  if (((bitField0_ & 0x00000001) == 0x00000001) &&
    region_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance()) {
   region_ =
    org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.newBuilder(region_).mergeFrom(value).buildPartial();
  } else {
   region_ = value;
  }
  onChanged();
 } else {
  regionBuilder_.mergeFrom(value);
 }
 bitField0_ |= 0x00000001;
 return this;
}
/**
origin: apache/hbase

/**
 * <code>required .hbase.pb.RegionSpecifier region = 1;</code>
 */
public Builder setRegion(
  org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder builderForValue) {
 if (regionBuilder_ == null) {
  region_ = builderForValue.build();
  onChanged();
 } else {
  regionBuilder_.setMessage(builderForValue.build());
 }
 bitField0_ |= 0x00000001;
 return this;
}
/**
origin: apache/hbase

/**
 * <code>optional .hbase.pb.ServerName destination_server = 4;</code>
 */
public Builder setDestinationServer(
  org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder builderForValue) {
 if (destinationServerBuilder_ == null) {
  destinationServer_ = builderForValue.build();
  onChanged();
 } else {
  destinationServerBuilder_.setMessage(builderForValue.build());
 }
 bitField0_ |= 0x00000008;
 return this;
}
/**
origin: apache/hbase

/**
 * <code>optional .hbase.pb.ServerName destination_server = 4;</code>
 */
public Builder clearDestinationServer() {
 if (destinationServerBuilder_ == null) {
  destinationServer_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance();
  onChanged();
 } else {
  destinationServerBuilder_.clear();
 }
 bitField0_ = (bitField0_ & ~0x00000008);
 return this;
}
/**
origin: apache/hbase

/**
 * <code>optional uint64 serverStartCode = 5;</code>
 *
 * <pre>
 * the intended server for this RPC.
 * </pre>
 */
public Builder clearServerStartCode() {
 bitField0_ = (bitField0_ & ~0x00000010);
 serverStartCode_ = 0L;
 onChanged();
 return this;
}
origin: apache/hbase

/**
 * <code>optional uint64 serverStartCode = 5;</code>
 *
 * <pre>
 * the intended server for this RPC.
 * </pre>
 */
public Builder setServerStartCode(long value) {
 bitField0_ |= 0x00000010;
 serverStartCode_ = value;
 onChanged();
 return this;
}
/**
origin: apache/hbase

/**
 * <code>required .hbase.pb.RegionSpecifier region = 1;</code>
 */
public Builder clearRegion() {
 if (regionBuilder_ == null) {
  region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance();
  onChanged();
 } else {
  regionBuilder_.clear();
 }
 bitField0_ = (bitField0_ & ~0x00000001);
 return this;
}
/**
origin: apache/hbase

/**
 * <code>optional .hbase.pb.ServerName destination_server = 4;</code>
 */
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder getDestinationServerBuilder() {
 bitField0_ |= 0x00000008;
 onChanged();
 return getDestinationServerFieldBuilder().getBuilder();
}
/**
origin: apache/hbase

/**
 * <code>optional uint32 version_of_closing_node = 2;</code>
 */
public Builder setVersionOfClosingNode(int value) {
 bitField0_ |= 0x00000002;
 versionOfClosingNode_ = value;
 onChanged();
 return this;
}
/**
origin: apache/hbase

/**
 * <code>optional bool transition_in_ZK = 3 [default = true];</code>
 */
public Builder clearTransitionInZK() {
 bitField0_ = (bitField0_ & ~0x00000004);
 transitionInZK_ = true;
 onChanged();
 return this;
}
origin: apache/hbase

/**
 * <code>optional bool transition_in_ZK = 3 [default = true];</code>
 */
public Builder setTransitionInZK(boolean value) {
 bitField0_ |= 0x00000004;
 transitionInZK_ = value;
 onChanged();
 return this;
}
/**
origin: apache/hbase

/**
 * <code>optional uint32 version_of_closing_node = 2;</code>
 */
public Builder clearVersionOfClosingNode() {
 bitField0_ = (bitField0_ & ~0x00000002);
 versionOfClosingNode_ = 0;
 onChanged();
 return this;
}
org.apache.hadoop.hbase.protobuf.generatedAdminProtos$CloseRegionRequest$BuilderonChanged

Popular methods of AdminProtos$CloseRegionRequest$Builder

  • <init>
  • buildPartial
  • create
  • getDestinationServer
    optional .hbase.pb.ServerName destination_server = 4;
  • getDestinationServerFieldBuilder
    optional .hbase.pb.ServerName destination_server = 4;
  • getParentForChildren
  • getRegion
    required .hbase.pb.RegionSpecifier region = 1;
  • getRegionFieldBuilder
    required .hbase.pb.RegionSpecifier region = 1;
  • hasDestinationServer
    optional .hbase.pb.ServerName destination_server = 4;
  • hasRegion
    required .hbase.pb.RegionSpecifier region = 1;
  • isClean
  • maybeForceBuilderInitialization
  • isClean,
  • maybeForceBuilderInitialization,
  • mergeDestinationServer,
  • mergeFrom,
  • mergeRegion,
  • mergeUnknownFields,
  • newUninitializedMessageException,
  • onBuilt,
  • setServerStartCode

Popular in Java

  • Reading from database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • onRequestPermissionsResult (Fragment)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top plugins for Android Studio
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