Codota Logo
AdminProtos$StopServerRequest$Builder
Code IndexAdd Codota to your IDE (free)

How to use
AdminProtos$StopServerRequest$Builder
in
org.apache.hadoop.hbase.protobuf.generated

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

  • Common ways to obtain AdminProtos$StopServerRequest$Builder
private void myMethod () {
AdminProtos$StopServerRequest$Builder a =
  • Codota Iconnew Builder()
  • Codota IconAdminProtos.StopServerRequest adminProtosStopServerRequest;AdminProtos.StopServerRequest other;adminProtosStopServerRequest.newBuilder().mergeFrom(other)
  • Smart code suggestions by Codota
}
origin: apache/hbase

public Builder mergeFrom(
  com.google.protobuf.CodedInputStream input,
  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  throws java.io.IOException {
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest parsedMessage = null;
 try {
  parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest) e.getUnfinishedMessage();
  throw e;
 } finally {
  if (parsedMessage != null) {
   mergeFrom(parsedMessage);
  }
 }
 return this;
}
private int bitField0_;
origin: apache/hbase

  /**
   * <code>required string reason = 1;</code>
   */
  public Builder setReason(
    java.lang.String value) {
   if (value == null) {
 throw new NullPointerException();
}
bitField0_ |= 0x00000001;
   reason_ = value;
   onChanged();
   return this;
  }
  /**
origin: apache/hbase

public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest build() {
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest result = buildPartial();
 if (!result.isInitialized()) {
  throw newUninitializedMessageException(result);
 }
 return result;
}
origin: org.apache.hbase/hbase-protocol

/**
 * <code>required string reason = 1;</code>
 */
public Builder clearReason() {
 bitField0_ = (bitField0_ & ~0x00000001);
 reason_ = getDefaultInstance().getReason();
 onChanged();
 return this;
}
/**
origin: com.aliyun.hbase/alihbase-protocol

@java.lang.Override
protected Builder newBuilderForType(
  com.google.protobuf.GeneratedMessage.BuilderParent parent) {
 Builder builder = new Builder(parent);
 return builder;
}
/**
origin: com.aliyun.hbase/alihbase-protocol

public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest buildPartial() {
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest result = new org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest(this);
 int from_bitField0_ = bitField0_;
 int to_bitField0_ = 0;
 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
  to_bitField0_ |= 0x00000001;
 }
 result.reason_ = reason_;
 result.bitField0_ = to_bitField0_;
 onBuilt();
 return result;
}
origin: com.aliyun.hbase/alihbase-protocol

public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest build() {
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest result = buildPartial();
 if (!result.isInitialized()) {
  throw newUninitializedMessageException(result);
 }
 return result;
}
origin: org.apache.hbase/hbase-protocol

public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest prototype) {
 return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
origin: harbby/presto-connectors

/**
 * <code>required string reason = 1;</code>
 */
public Builder clearReason() {
 bitField0_ = (bitField0_ & ~0x00000001);
 reason_ = getDefaultInstance().getReason();
 onChanged();
 return this;
}
/**
origin: com.aliyun.hbase/alihbase-protocol

private Builder(
  com.google.protobuf.GeneratedMessage.BuilderParent parent) {
 super(parent);
 maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
origin: harbby/presto-connectors

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest.getDefaultInstance()) return this;
 if (other.hasReason()) {
  bitField0_ |= 0x00000001;
  reason_ = other.reason_;
  onChanged();
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: harbby/presto-connectors

public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest build() {
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest result = buildPartial();
 if (!result.isInitialized()) {
  throw newUninitializedMessageException(result);
 }
 return result;
}
origin: harbby/presto-connectors

public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest buildPartial() {
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest result = new org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest(this);
 int from_bitField0_ = bitField0_;
 int to_bitField0_ = 0;
 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
  to_bitField0_ |= 0x00000001;
 }
 result.reason_ = reason_;
 result.bitField0_ = to_bitField0_;
 onBuilt();
 return result;
}
origin: com.aliyun.hbase/alihbase-protocol

/**
 * <code>required string reason = 1;</code>
 */
public Builder clearReason() {
 bitField0_ = (bitField0_ & ~0x00000001);
 reason_ = getDefaultInstance().getReason();
 onChanged();
 return this;
}
/**
origin: harbby/presto-connectors

public final boolean isInitialized() {
 if (!hasReason()) {
  
  return false;
 }
 return true;
}
origin: org.apache.hbase/hbase-protocol

public Builder mergeFrom(com.google.protobuf.Message other) {
 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest) {
  return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequest)other);
 } else {
  super.mergeFrom(other);
  return this;
 }
}
origin: harbby/presto-connectors

  /**
   * <code>required string reason = 1;</code>
   */
  public Builder setReasonBytes(
    com.facebook.presto.hbase.$internal.com.google.protobuf.ByteString value) {
   if (value == null) {
 throw new NullPointerException();
}
bitField0_ |= 0x00000001;
   reason_ = value;
   onChanged();
   return this;
  }
origin: org.apache.hbase/hbase-protocol

@java.lang.Override
protected Builder newBuilderForType(
  com.google.protobuf.GeneratedMessage.BuilderParent parent) {
 Builder builder = new Builder(parent);
 return builder;
}
/**
origin: harbby/presto-connectors

@java.lang.Override
protected Builder newBuilderForType(
  com.facebook.presto.hbase.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
 Builder builder = new Builder(parent);
 return builder;
}
/**
origin: com.aliyun.hbase/alihbase-protocol

public final boolean isInitialized() {
 if (!hasReason()) {
  
  return false;
 }
 return true;
}
org.apache.hadoop.hbase.protobuf.generatedAdminProtos$StopServerRequest$Builder

Javadoc

Protobuf type hbase.pb.StopServerRequest

Most used methods

  • <init>
  • buildPartial
  • create
  • hasReason
    required string reason = 1;
  • maybeForceBuilderInitialization
  • mergeFrom
  • mergeUnknownFields
  • newUninitializedMessageException
  • onBuilt
  • onChanged
  • build
  • setReason
    required string reason = 1;
  • build,
  • setReason

Popular in Java

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • getApplicationContext (Context)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Menu (java.awt)
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JLabel (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now