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

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

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

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 (hasIfOlderThanTs()) {
  hash = (37 * hash) + IF_OLDER_THAN_TS_FIELD_NUMBER;
  hash = (53 * hash) + hashLong(getIfOlderThanTs());
 }
 if (hasWriteFlushWalMarker()) {
  hash = (37 * hash) + WRITE_FLUSH_WAL_MARKER_FIELD_NUMBER;
  hash = (53 * hash) + hashBoolean(getWriteFlushWalMarker());
 }
 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.FlushRegionRequest)) {
  return super.equals(obj);
 }
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest other = (org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest) obj;
 boolean result = true;
 result = result && (hasRegion() == other.hasRegion());
 if (hasRegion()) {
  result = result && getRegion()
    .equals(other.getRegion());
 }
 result = result && (hasIfOlderThanTs() == other.hasIfOlderThanTs());
 if (hasIfOlderThanTs()) {
  result = result && (getIfOlderThanTs()
    == other.getIfOlderThanTs());
 }
 result = result && (hasWriteFlushWalMarker() == other.hasWriteFlushWalMarker());
 if (hasWriteFlushWalMarker()) {
  result = result && (getWriteFlushWalMarker()
    == other.getWriteFlushWalMarker());
 }
 result = result &&
   getUnknownFields().equals(other.getUnknownFields());
 return result;
}
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 (hasIfOlderThanTs()) {
  hash = (37 * hash) + IF_OLDER_THAN_TS_FIELD_NUMBER;
  hash = (53 * hash) + hashLong(getIfOlderThanTs());
 }
 if (hasWriteFlushWalMarker()) {
  hash = (37 * hash) + WRITE_FLUSH_WAL_MARKER_FIELD_NUMBER;
  hash = (53 * hash) + hashBoolean(getWriteFlushWalMarker());
 }
 hash = (29 * hash) + getUnknownFields().hashCode();
 memoizedHashCode = hash;
 return hash;
}
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.FlushRegionRequest)) {
  return super.equals(obj);
 }
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest other = (org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest) obj;
 boolean result = true;
 result = result && (hasRegion() == other.hasRegion());
 if (hasRegion()) {
  result = result && getRegion()
    .equals(other.getRegion());
 }
 result = result && (hasIfOlderThanTs() == other.hasIfOlderThanTs());
 if (hasIfOlderThanTs()) {
  result = result && (getIfOlderThanTs()
    == other.getIfOlderThanTs());
 }
 result = result && (hasWriteFlushWalMarker() == other.hasWriteFlushWalMarker());
 if (hasWriteFlushWalMarker()) {
  result = result && (getWriteFlushWalMarker()
    == other.getWriteFlushWalMarker());
 }
 result = result &&
   getUnknownFields().equals(other.getUnknownFields());
 return result;
}
origin: harbby/presto-connectors

@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.FlushRegionRequest)) {
  return super.equals(obj);
 }
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest other = (org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest) obj;
 boolean result = true;
 result = result && (hasRegion() == other.hasRegion());
 if (hasRegion()) {
  result = result && getRegion()
    .equals(other.getRegion());
 }
 result = result && (hasIfOlderThanTs() == other.hasIfOlderThanTs());
 if (hasIfOlderThanTs()) {
  result = result && (getIfOlderThanTs()
    == other.getIfOlderThanTs());
 }
 result = result && (hasWriteFlushWalMarker() == other.hasWriteFlushWalMarker());
 if (hasWriteFlushWalMarker()) {
  result = result && (getWriteFlushWalMarker()
    == other.getWriteFlushWalMarker());
 }
 result = result &&
   getUnknownFields().equals(other.getUnknownFields());
 return result;
}
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.FlushRegionRequest)) {
  return super.equals(obj);
 }
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest other = (org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest) obj;
 boolean result = true;
 result = result && (hasRegion() == other.hasRegion());
 if (hasRegion()) {
  result = result && getRegion()
    .equals(other.getRegion());
 }
 result = result && (hasIfOlderThanTs() == other.hasIfOlderThanTs());
 if (hasIfOlderThanTs()) {
  result = result && (getIfOlderThanTs()
    == other.getIfOlderThanTs());
 }
 result = result && (hasWriteFlushWalMarker() == other.hasWriteFlushWalMarker());
 if (hasWriteFlushWalMarker()) {
  result = result && (getWriteFlushWalMarker()
    == other.getWriteFlushWalMarker());
 }
 result = result &&
   getUnknownFields().equals(other.getUnknownFields());
 return result;
}
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 (hasIfOlderThanTs()) {
  hash = (37 * hash) + IF_OLDER_THAN_TS_FIELD_NUMBER;
  hash = (53 * hash) + hashLong(getIfOlderThanTs());
 }
 if (hasWriteFlushWalMarker()) {
  hash = (37 * hash) + WRITE_FLUSH_WAL_MARKER_FIELD_NUMBER;
  hash = (53 * hash) + hashBoolean(getWriteFlushWalMarker());
 }
 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 (hasIfOlderThanTs()) {
  hash = (37 * hash) + IF_OLDER_THAN_TS_FIELD_NUMBER;
  hash = (53 * hash) + hashLong(getIfOlderThanTs());
 }
 if (hasWriteFlushWalMarker()) {
  hash = (37 * hash) + WRITE_FLUSH_WAL_MARKER_FIELD_NUMBER;
  hash = (53 * hash) + hashBoolean(getWriteFlushWalMarker());
 }
 hash = (29 * hash) + getUnknownFields().hashCode();
 memoizedHashCode = hash;
 return hash;
}
origin: harbby/presto-connectors

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest.getDefaultInstance()) return this;
 if (other.hasRegion()) {
  mergeRegion(other.getRegion());
 }
 if (other.hasIfOlderThanTs()) {
  setIfOlderThanTs(other.getIfOlderThanTs());
 }
 if (other.hasWriteFlushWalMarker()) {
  setWriteFlushWalMarker(other.getWriteFlushWalMarker());
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
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;
 }
 memoizedIsInitialized = 1;
 return true;
}
origin: org.apache.hbase/hbase-protocol

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest.getDefaultInstance()) return this;
 if (other.hasRegion()) {
  mergeRegion(other.getRegion());
 }
 if (other.hasIfOlderThanTs()) {
  setIfOlderThanTs(other.getIfOlderThanTs());
 }
 if (other.hasWriteFlushWalMarker()) {
  setWriteFlushWalMarker(other.getWriteFlushWalMarker());
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
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;
 }
 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;
 }
 memoizedIsInitialized = 1;
 return true;
}
origin: com.aliyun.hbase/alihbase-protocol

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest.getDefaultInstance()) return this;
 if (other.hasRegion()) {
  mergeRegion(other.getRegion());
 }
 if (other.hasIfOlderThanTs()) {
  setIfOlderThanTs(other.getIfOlderThanTs());
 }
 if (other.hasWriteFlushWalMarker()) {
  setWriteFlushWalMarker(other.getWriteFlushWalMarker());
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
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;
 }
 memoizedIsInitialized = 1;
 return true;
}
origin: apache/hbase

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequest.getDefaultInstance()) return this;
 if (other.hasRegion()) {
  mergeRegion(other.getRegion());
 }
 if (other.hasIfOlderThanTs()) {
  setIfOlderThanTs(other.getIfOlderThanTs());
 }
 if (other.hasWriteFlushWalMarker()) {
  setWriteFlushWalMarker(other.getWriteFlushWalMarker());
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
org.apache.hadoop.hbase.protobuf.generatedAdminProtos$FlushRegionRequesthasRegion

Javadoc

required .hbase.pb.RegionSpecifier region = 1;

Popular methods of AdminProtos$FlushRegionRequest

  • <init>
  • getDefaultInstance
  • getDescriptorForType
  • getIfOlderThanTs
    optional uint64 if_older_than_ts = 2;
  • getRegion
    required .hbase.pb.RegionSpecifier region = 1;
  • getSerializedSize
  • getUnknownFields
  • getWriteFlushWalMarker
    optional bool write_flush_wal_marker = 3; whether to write a marker to WAL even if not flushed
  • hasIfOlderThanTs
    optional uint64 if_older_than_ts = 2;
  • hasWriteFlushWalMarker
    optional bool write_flush_wal_marker = 3; whether to write a marker to WAL even if not flushed
  • hashBoolean
  • hashLong
  • hashBoolean,
  • hashLong,
  • initFields,
  • isInitialized,
  • makeExtensionsImmutable,
  • newBuilder,
  • parseUnknownField

Popular in Java

  • Making http post requests using okhttp
  • findViewById (Activity)
  • getSharedPreferences (Context)
  • setRequestProperty (URLConnection)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • JComboBox (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top PhpStorm 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