Tabnine Logo
AdminProtos$OpenRegionRequest$RegionOpenInfo.hasRegion
Code IndexAdd Tabnine to your IDE (free)

How to use
hasRegion
method
in
org.apache.hadoop.hbase.protobuf.generated.AdminProtos$OpenRegionRequest$RegionOpenInfo

Best Java code snippets using org.apache.hadoop.hbase.protobuf.generated.AdminProtos$OpenRegionRequest$RegionOpenInfo.hasRegion (Showing top 16 results out of 315)

origin: apache/hbase

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.getDefaultInstance()) return this;
 if (other.hasRegion()) {
  mergeRegion(other.getRegion());
origin: apache/hbase

@java.lang.Override
public int hashCode() {
 if (memoizedHashCode != 0) {
  return memoizedHashCode;
 }
 int hash = 41;
 hash = (19 * hash) + getDescriptorForType().hashCode();
 if (hasRegion()) {
  hash = (37 * hash) + REGION_FIELD_NUMBER;
  hash = (53 * hash) + getRegion().hashCode();
 }
 if (hasVersionOfOfflineNode()) {
  hash = (37 * hash) + VERSION_OF_OFFLINE_NODE_FIELD_NUMBER;
  hash = (53 * hash) + getVersionOfOfflineNode();
 }
 if (getFavoredNodesCount() > 0) {
  hash = (37 * hash) + FAVORED_NODES_FIELD_NUMBER;
  hash = (53 * hash) + getFavoredNodesList().hashCode();
 }
 hash = (29 * hash) + getUnknownFields().hashCode();
 memoizedHashCode = hash;
 return hash;
}
origin: apache/hbase

@java.lang.Override
public boolean equals(final java.lang.Object obj) {
 if (obj == this) {
  return true;
 }
 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo)) {
  return super.equals(obj);
 }
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo other = (org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo) obj;
 boolean result = true;
 result = result && (hasRegion() == other.hasRegion());
 if (hasRegion()) {
  result = result && getRegion()
    .equals(other.getRegion());
 }
 result = result && (hasVersionOfOfflineNode() == other.hasVersionOfOfflineNode());
 if (hasVersionOfOfflineNode()) {
  result = result && (getVersionOfOfflineNode()
    == other.getVersionOfOfflineNode());
 }
 result = result && getFavoredNodesList()
   .equals(other.getFavoredNodesList());
 result = result &&
   getUnknownFields().equals(other.getUnknownFields());
 return result;
}
origin: harbby/presto-connectors

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.getDefaultInstance()) return this;
 if (other.hasRegion()) {
  mergeRegion(other.getRegion());
origin: com.aliyun.hbase/alihbase-protocol

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.getDefaultInstance()) return this;
 if (other.hasRegion()) {
  mergeRegion(other.getRegion());
origin: org.apache.hbase/hbase-protocol

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.getDefaultInstance()) return this;
 if (other.hasRegion()) {
  mergeRegion(other.getRegion());
origin: harbby/presto-connectors

@java.lang.Override
public int hashCode() {
 if (memoizedHashCode != 0) {
  return memoizedHashCode;
 }
 int hash = 41;
 hash = (19 * hash) + getDescriptorForType().hashCode();
 if (hasRegion()) {
  hash = (37 * hash) + REGION_FIELD_NUMBER;
  hash = (53 * hash) + getRegion().hashCode();
 }
 if (hasVersionOfOfflineNode()) {
  hash = (37 * hash) + VERSION_OF_OFFLINE_NODE_FIELD_NUMBER;
  hash = (53 * hash) + getVersionOfOfflineNode();
 }
 if (getFavoredNodesCount() > 0) {
  hash = (37 * hash) + FAVORED_NODES_FIELD_NUMBER;
  hash = (53 * hash) + getFavoredNodesList().hashCode();
 }
 if (hasOpenForDistributedLogReplay()) {
  hash = (37 * hash) + OPENFORDISTRIBUTEDLOGREPLAY_FIELD_NUMBER;
  hash = (53 * hash) + hashBoolean(getOpenForDistributedLogReplay());
 }
 hash = (29 * hash) + getUnknownFields().hashCode();
 memoizedHashCode = hash;
 return hash;
}
origin: harbby/presto-connectors

result = result && (hasRegion() == other.hasRegion());
if (hasRegion()) {
 result = result && getRegion()
   .equals(other.getRegion());
origin: com.aliyun.hbase/alihbase-protocol

@java.lang.Override
public int hashCode() {
 if (memoizedHashCode != 0) {
  return memoizedHashCode;
 }
 int hash = 41;
 hash = (19 * hash) + getDescriptorForType().hashCode();
 if (hasRegion()) {
  hash = (37 * hash) + REGION_FIELD_NUMBER;
  hash = (53 * hash) + getRegion().hashCode();
 }
 if (hasVersionOfOfflineNode()) {
  hash = (37 * hash) + VERSION_OF_OFFLINE_NODE_FIELD_NUMBER;
  hash = (53 * hash) + getVersionOfOfflineNode();
 }
 if (getFavoredNodesCount() > 0) {
  hash = (37 * hash) + FAVORED_NODES_FIELD_NUMBER;
  hash = (53 * hash) + getFavoredNodesList().hashCode();
 }
 hash = (29 * hash) + getUnknownFields().hashCode();
 memoizedHashCode = hash;
 return hash;
}
origin: org.apache.hbase/hbase-protocol

@java.lang.Override
public int hashCode() {
 if (memoizedHashCode != 0) {
  return memoizedHashCode;
 }
 int hash = 41;
 hash = (19 * hash) + getDescriptorForType().hashCode();
 if (hasRegion()) {
  hash = (37 * hash) + REGION_FIELD_NUMBER;
  hash = (53 * hash) + getRegion().hashCode();
 }
 if (hasVersionOfOfflineNode()) {
  hash = (37 * hash) + VERSION_OF_OFFLINE_NODE_FIELD_NUMBER;
  hash = (53 * hash) + getVersionOfOfflineNode();
 }
 if (getFavoredNodesCount() > 0) {
  hash = (37 * hash) + FAVORED_NODES_FIELD_NUMBER;
  hash = (53 * hash) + getFavoredNodesList().hashCode();
 }
 hash = (29 * hash) + getUnknownFields().hashCode();
 memoizedHashCode = hash;
 return hash;
}
origin: org.apache.hbase/hbase-protocol

@java.lang.Override
public boolean equals(final java.lang.Object obj) {
 if (obj == this) {
  return true;
 }
 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo)) {
  return super.equals(obj);
 }
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo other = (org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo) obj;
 boolean result = true;
 result = result && (hasRegion() == other.hasRegion());
 if (hasRegion()) {
  result = result && getRegion()
    .equals(other.getRegion());
 }
 result = result && (hasVersionOfOfflineNode() == other.hasVersionOfOfflineNode());
 if (hasVersionOfOfflineNode()) {
  result = result && (getVersionOfOfflineNode()
    == other.getVersionOfOfflineNode());
 }
 result = result && getFavoredNodesList()
   .equals(other.getFavoredNodesList());
 result = result &&
   getUnknownFields().equals(other.getUnknownFields());
 return result;
}
origin: com.aliyun.hbase/alihbase-protocol

@java.lang.Override
public boolean equals(final java.lang.Object obj) {
 if (obj == this) {
  return true;
 }
 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo)) {
  return super.equals(obj);
 }
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo other = (org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo) obj;
 boolean result = true;
 result = result && (hasRegion() == other.hasRegion());
 if (hasRegion()) {
  result = result && getRegion()
    .equals(other.getRegion());
 }
 result = result && (hasVersionOfOfflineNode() == other.hasVersionOfOfflineNode());
 if (hasVersionOfOfflineNode()) {
  result = result && (getVersionOfOfflineNode()
    == other.getVersionOfOfflineNode());
 }
 result = result && getFavoredNodesList()
   .equals(other.getFavoredNodesList());
 result = result &&
   getUnknownFields().equals(other.getUnknownFields());
 return result;
}
origin: harbby/presto-connectors

public final boolean isInitialized() {
 byte isInitialized = memoizedIsInitialized;
 if (isInitialized != -1) return isInitialized == 1;
 if (!hasRegion()) {
  memoizedIsInitialized = 0;
  return false;
 }
 if (!getRegion().isInitialized()) {
  memoizedIsInitialized = 0;
  return false;
 }
 for (int i = 0; i < getFavoredNodesCount(); i++) {
  if (!getFavoredNodes(i).isInitialized()) {
   memoizedIsInitialized = 0;
   return false;
  }
 }
 memoizedIsInitialized = 1;
 return true;
}
origin: com.aliyun.hbase/alihbase-protocol

public final boolean isInitialized() {
 byte isInitialized = memoizedIsInitialized;
 if (isInitialized != -1) return isInitialized == 1;
 if (!hasRegion()) {
  memoizedIsInitialized = 0;
  return false;
 }
 if (!getRegion().isInitialized()) {
  memoizedIsInitialized = 0;
  return false;
 }
 for (int i = 0; i < getFavoredNodesCount(); i++) {
  if (!getFavoredNodes(i).isInitialized()) {
   memoizedIsInitialized = 0;
   return false;
  }
 }
 memoizedIsInitialized = 1;
 return true;
}
origin: org.apache.hbase/hbase-protocol

public final boolean isInitialized() {
 byte isInitialized = memoizedIsInitialized;
 if (isInitialized != -1) return isInitialized == 1;
 if (!hasRegion()) {
  memoizedIsInitialized = 0;
  return false;
 }
 if (!getRegion().isInitialized()) {
  memoizedIsInitialized = 0;
  return false;
 }
 for (int i = 0; i < getFavoredNodesCount(); i++) {
  if (!getFavoredNodes(i).isInitialized()) {
   memoizedIsInitialized = 0;
   return false;
  }
 }
 memoizedIsInitialized = 1;
 return true;
}
origin: apache/hbase

public final boolean isInitialized() {
 byte isInitialized = memoizedIsInitialized;
 if (isInitialized != -1) return isInitialized == 1;
 if (!hasRegion()) {
  memoizedIsInitialized = 0;
  return false;
 }
 if (!getRegion().isInitialized()) {
  memoizedIsInitialized = 0;
  return false;
 }
 for (int i = 0; i < getFavoredNodesCount(); i++) {
  if (!getFavoredNodes(i).isInitialized()) {
   memoizedIsInitialized = 0;
   return false;
  }
 }
 memoizedIsInitialized = 1;
 return true;
}
org.apache.hadoop.hbase.protobuf.generatedAdminProtos$OpenRegionRequest$RegionOpenInfohasRegion

Javadoc

required .hbase.pb.RegionInfo region = 1;

Popular methods of AdminProtos$OpenRegionRequest$RegionOpenInfo

  • <init>
  • getDefaultInstance
  • getDescriptorForType
  • getFavoredNodes
    repeated .hbase.pb.ServerName favored_nodes = 3; open region for distributedLogReplay optional boo
  • getFavoredNodesCount
    repeated .hbase.pb.ServerName favored_nodes = 3; open region for distributedLogReplay optional boo
  • getFavoredNodesList
    repeated .hbase.pb.ServerName favored_nodes = 3; open region for distributedLogReplay optional boo
  • getRegion
    required .hbase.pb.RegionInfo region = 1;
  • getSerializedSize
  • getUnknownFields
  • getVersionOfOfflineNode
    optional uint32 version_of_offline_node = 2;
  • hasVersionOfOfflineNode
    optional uint32 version_of_offline_node = 2;
  • initFields
  • hasVersionOfOfflineNode,
  • initFields,
  • isInitialized,
  • makeExtensionsImmutable,
  • newBuilder,
  • parseUnknownField,
  • getOpenForDistributedLogReplay,
  • hasOpenForDistributedLogReplay,
  • hashBoolean

Popular in Java

  • Updating database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • getResourceAsStream (ClassLoader)
  • setRequestProperty (URLConnection)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • JFileChooser (javax.swing)
  • Top 12 Jupyter Notebook extensions
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