Codota Logo
AdminProtos$OpenRegionRequest$RegionOpenInfo$Builder.build
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain AdminProtos$OpenRegionRequest$RegionOpenInfo$Builder
private void myMethod () {
AdminProtos$OpenRegionRequest$RegionOpenInfo$Builder a =
  • Codota Iconnew Builder()
  • Codota IconAdminProtos.OpenRegionRequest$Builder adminProtosOpenRegionRequest$Builder;adminProtosOpenRegionRequest$Builder.getOpenInfoFieldBuilder().getBuilder(index)
  • Smart code suggestions by Codota
}
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.OpenRegionRequest.RegionOpenInfo open_info = 1;</code>
 */
public Builder addOpenInfo(
  org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.Builder builderForValue) {
 if (openInfoBuilder_ == null) {
  ensureOpenInfoIsMutable();
  openInfo_.add(builderForValue.build());
  onChanged();
 } else {
  openInfoBuilder_.addMessage(builderForValue.build());
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.OpenRegionRequest.RegionOpenInfo open_info = 1;</code>
 */
public Builder setOpenInfo(
  int index, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.Builder builderForValue) {
 if (openInfoBuilder_ == null) {
  ensureOpenInfoIsMutable();
  openInfo_.set(index, builderForValue.build());
  onChanged();
 } else {
  openInfoBuilder_.setMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.OpenRegionRequest.RegionOpenInfo open_info = 1;</code>
 */
public Builder addOpenInfo(
  int index, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.Builder builderForValue) {
 if (openInfoBuilder_ == null) {
  ensureOpenInfoIsMutable();
  openInfo_.add(index, builderForValue.build());
  onChanged();
 } else {
  openInfoBuilder_.addMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: org.apache.hbase/hbase-protocol

/**
 * <code>repeated .hbase.pb.OpenRegionRequest.RegionOpenInfo open_info = 1;</code>
 */
public Builder setOpenInfo(
  int index, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.Builder builderForValue) {
 if (openInfoBuilder_ == null) {
  ensureOpenInfoIsMutable();
  openInfo_.set(index, builderForValue.build());
  onChanged();
 } else {
  openInfoBuilder_.setMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: org.apache.hbase/hbase-protocol

/**
 * <code>repeated .hbase.pb.OpenRegionRequest.RegionOpenInfo open_info = 1;</code>
 */
public Builder addOpenInfo(
  int index, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.Builder builderForValue) {
 if (openInfoBuilder_ == null) {
  ensureOpenInfoIsMutable();
  openInfo_.add(index, builderForValue.build());
  onChanged();
 } else {
  openInfoBuilder_.addMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: com.aliyun.hbase/alihbase-protocol

/**
 * <code>repeated .hbase.pb.OpenRegionRequest.RegionOpenInfo open_info = 1;</code>
 */
public Builder setOpenInfo(
  int index, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.Builder builderForValue) {
 if (openInfoBuilder_ == null) {
  ensureOpenInfoIsMutable();
  openInfo_.set(index, builderForValue.build());
  onChanged();
 } else {
  openInfoBuilder_.setMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: com.aliyun.hbase/alihbase-protocol

/**
 * <code>repeated .hbase.pb.OpenRegionRequest.RegionOpenInfo open_info = 1;</code>
 */
public Builder addOpenInfo(
  org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.Builder builderForValue) {
 if (openInfoBuilder_ == null) {
  ensureOpenInfoIsMutable();
  openInfo_.add(builderForValue.build());
  onChanged();
 } else {
  openInfoBuilder_.addMessage(builderForValue.build());
 }
 return this;
}
/**
origin: com.aliyun.hbase/alihbase-protocol

/**
 * <code>repeated .hbase.pb.OpenRegionRequest.RegionOpenInfo open_info = 1;</code>
 */
public Builder addOpenInfo(
  int index, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.Builder builderForValue) {
 if (openInfoBuilder_ == null) {
  ensureOpenInfoIsMutable();
  openInfo_.add(index, builderForValue.build());
  onChanged();
 } else {
  openInfoBuilder_.addMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: harbby/presto-connectors

/**
 * <code>repeated .OpenRegionRequest.RegionOpenInfo open_info = 1;</code>
 */
public Builder addOpenInfo(
  org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.Builder builderForValue) {
 if (openInfoBuilder_ == null) {
  ensureOpenInfoIsMutable();
  openInfo_.add(builderForValue.build());
  onChanged();
 } else {
  openInfoBuilder_.addMessage(builderForValue.build());
 }
 return this;
}
/**
origin: harbby/presto-connectors

/**
 * <code>repeated .OpenRegionRequest.RegionOpenInfo open_info = 1;</code>
 */
public Builder setOpenInfo(
  int index, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.Builder builderForValue) {
 if (openInfoBuilder_ == null) {
  ensureOpenInfoIsMutable();
  openInfo_.set(index, builderForValue.build());
  onChanged();
 } else {
  openInfoBuilder_.setMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: harbby/presto-connectors

/**
 * <code>repeated .OpenRegionRequest.RegionOpenInfo open_info = 1;</code>
 */
public Builder addOpenInfo(
  int index, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.Builder builderForValue) {
 if (openInfoBuilder_ == null) {
  ensureOpenInfoIsMutable();
  openInfo_.add(index, builderForValue.build());
  onChanged();
 } else {
  openInfoBuilder_.addMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: harbby/presto-connectors

/**
 * Create a RegionOpenInfo based on given region info and version of offline node
 */
private static RegionOpenInfo buildRegionOpenInfo(
  final HRegionInfo region, final int versionOfOfflineNode,
  final List<ServerName> favoredNodes, Boolean openForReplay) {
 RegionOpenInfo.Builder builder = RegionOpenInfo.newBuilder();
 builder.setRegion(HRegionInfo.convert(region));
 if (versionOfOfflineNode >= 0) {
  builder.setVersionOfOfflineNode(versionOfOfflineNode);
 }
 if (favoredNodes != null) {
  for (ServerName server : favoredNodes) {
   builder.addFavoredNodes(ProtobufUtil.toServerName(server));
  }
 }
 if(openForReplay != null) {
  builder.setOpenForDistributedLogReplay(openForReplay);
 }
 return builder.build();
}
origin: org.apache.hbase/hbase-protocol

/**
 * <code>repeated .hbase.pb.OpenRegionRequest.RegionOpenInfo open_info = 1;</code>
 */
public Builder addOpenInfo(
  org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo.Builder builderForValue) {
 if (openInfoBuilder_ == null) {
  ensureOpenInfoIsMutable();
  openInfo_.add(builderForValue.build());
  onChanged();
 } else {
  openInfoBuilder_.addMessage(builderForValue.build());
 }
 return this;
}
/**
org.apache.hadoop.hbase.protobuf.generatedAdminProtos$OpenRegionRequest$RegionOpenInfo$Builderbuild

Popular methods of AdminProtos$OpenRegionRequest$RegionOpenInfo$Builder

  • <init>
  • buildPartial
  • create
  • ensureFavoredNodesIsMutable
  • 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
  • getFavoredNodesFieldBuilder
  • getParentForChildren
  • getRegion
    required .hbase.pb.RegionInfo region = 1;
  • getRegionFieldBuilder
    required .hbase.pb.RegionInfo region = 1;
  • hasRegion
    required .hbase.pb.RegionInfo region = 1;
  • isClean
  • hasRegion,
  • isClean,
  • maybeForceBuilderInitialization,
  • mergeFrom,
  • mergeRegion,
  • mergeUnknownFields,
  • newUninitializedMessageException,
  • onBuilt,
  • onChanged

Popular in Java

  • Start an intent from android
  • getExternalFilesDir (Context)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • getSharedPreferences (Context)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JTable (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