Tabnine Logo
AdminProtos$OpenRegionRequest$RegionOpenInfo$Builder.build
Code IndexAdd Tabnine 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)

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 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: 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: 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: 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

/**
 * <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(
  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: 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: 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;
}
/**
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: 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: 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;
}
/**
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

  • Running tasks concurrently on multiple threads
  • addToBackStack (FragmentTransaction)
  • getResourceAsStream (ClassLoader)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • 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