Tabnine Logo
ClusterStatusProtos$ReplicationLoadSource$Builder.build
Code IndexAdd Tabnine to your IDE (free)

How to use
build
method
in
org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos$ReplicationLoadSource$Builder

Best Java code snippets using org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos$ReplicationLoadSource$Builder.build (Showing top 12 results out of 315)

origin: apache/hbase

rLoadSourceBuild.setReplicationLag(replicationLag);
replicationLoadSourceMap.put(peerId, rLoadSourceBuild.build());
origin: apache/hbase

/**
 * <pre>
 **
 * The replicationLoadSource for the replication Source status of this region server.
 * </pre>
 *
 * <code>repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;</code>
 */
public Builder addReplLoadSource(
  int index, org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder builderForValue) {
 if (replLoadSourceBuilder_ == null) {
  ensureReplLoadSourceIsMutable();
  replLoadSource_.add(index, builderForValue.build());
  onChanged();
 } else {
  replLoadSourceBuilder_.addMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <pre>
 **
 * The replicationLoadSource for the replication Source status of this region server.
 * </pre>
 *
 * <code>repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;</code>
 */
public Builder addReplLoadSource(
  org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder builderForValue) {
 if (replLoadSourceBuilder_ == null) {
  ensureReplLoadSourceIsMutable();
  replLoadSource_.add(builderForValue.build());
  onChanged();
 } else {
  replLoadSourceBuilder_.addMessage(builderForValue.build());
 }
 return this;
}
/**
origin: org.apache.hbase/hbase-server

  .newBuilder().setPeerID(peer1).setAgeOfLastShippedOp(ageOfLastShippedOp)
  .setReplicationLag(replicationLag).setTimeStampOfLastShippedOp(timeStampOfLastShippedOp)
  .setSizeOfLogQueue(sizeOfLogQueue).build();
ClusterStatusProtos.ReplicationLoadSource rload2 =
  ClusterStatusProtos.ReplicationLoadSource.newBuilder().setPeerID(peer2)
    .setAgeOfLastShippedOp(ageOfLastShippedOp + 1).setReplicationLag(replicationLag + 1)
    .setTimeStampOfLastShippedOp(timeStampOfLastShippedOp + 1)
    .setSizeOfLogQueue(sizeOfLogQueue + 1).build();
ClusterStatusProtos.ServerLoad sl = ClusterStatusProtos.ServerLoad.newBuilder()
  .addReplLoadSource(rload1).addReplLoadSource(rload2).build();
origin: org.apache.hbase/hbase-protocol-shaded

/**
 * <pre>
 **
 * The replicationLoadSource for the replication Source status of this region server.
 * </pre>
 *
 * <code>repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;</code>
 */
public Builder addReplLoadSource(
  org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder builderForValue) {
 if (replLoadSourceBuilder_ == null) {
  ensureReplLoadSourceIsMutable();
  replLoadSource_.add(builderForValue.build());
  onChanged();
 } else {
  replLoadSourceBuilder_.addMessage(builderForValue.build());
 }
 return this;
}
/**
origin: org.apache.hbase/hbase-protocol-shaded

/**
 * <pre>
 **
 * The replicationLoadSource for the replication Source status of this region server.
 * </pre>
 *
 * <code>repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;</code>
 */
public Builder setReplLoadSource(
  int index, org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder builderForValue) {
 if (replLoadSourceBuilder_ == null) {
  ensureReplLoadSourceIsMutable();
  replLoadSource_.set(index, builderForValue.build());
  onChanged();
 } else {
  replLoadSourceBuilder_.setMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: org.apache.hbase/hbase-protocol-shaded

/**
 * <pre>
 **
 * The replicationLoadSource for the replication Source status of this region server.
 * </pre>
 *
 * <code>repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;</code>
 */
public Builder addReplLoadSource(
  int index, org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder builderForValue) {
 if (replLoadSourceBuilder_ == null) {
  ensureReplLoadSourceIsMutable();
  replLoadSource_.add(index, builderForValue.build());
  onChanged();
 } else {
  replLoadSourceBuilder_.addMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: com.aliyun.hbase/alihbase-client

public static ClusterStatusProtos.ReplicationLoadSource toReplicationLoadSource(
  ReplicationLoadSource rls) {
 return ClusterStatusProtos.ReplicationLoadSource.newBuilder()
   .setPeerID(rls.getPeerID())
   .setAgeOfLastShippedOp(rls.getAgeOfLastShippedOp())
   .setSizeOfLogQueue((int) rls.getSizeOfLogQueue())
   .setTimeStampOfLastShippedOp(rls.getTimestampOfLastShippedOp())
   .setReplicationLag(rls.getReplicationLag())
   .build();
}
origin: org.apache.hbase/hbase-client

public static ClusterStatusProtos.ReplicationLoadSource toReplicationLoadSource(
  ReplicationLoadSource rls) {
 return ClusterStatusProtos.ReplicationLoadSource.newBuilder()
   .setPeerID(rls.getPeerID())
   .setAgeOfLastShippedOp(rls.getAgeOfLastShippedOp())
   .setSizeOfLogQueue((int) rls.getSizeOfLogQueue())
   .setTimeStampOfLastShippedOp(rls.getTimestampOfLastShippedOp())
   .setReplicationLag(rls.getReplicationLag())
   .build();
}
origin: apache/hbase

  .newBuilder().setPeerID(peer1).setAgeOfLastShippedOp(ageOfLastShippedOp)
  .setReplicationLag(replicationLag).setTimeStampOfLastShippedOp(timeStampOfLastShippedOp)
  .setSizeOfLogQueue(sizeOfLogQueue).build();
ClusterStatusProtos.ReplicationLoadSource rload2 =
  ClusterStatusProtos.ReplicationLoadSource.newBuilder().setPeerID(peer2)
    .setAgeOfLastShippedOp(ageOfLastShippedOp + 1).setReplicationLag(replicationLag + 1)
    .setTimeStampOfLastShippedOp(timeStampOfLastShippedOp + 1)
    .setSizeOfLogQueue(sizeOfLogQueue + 1).build();
ClusterStatusProtos.ServerLoad sl = ClusterStatusProtos.ServerLoad.newBuilder()
  .addReplLoadSource(rload1).addReplLoadSource(rload2).build();
origin: apache/hbase

/**
 * <pre>
 **
 * The replicationLoadSource for the replication Source status of this region server.
 * </pre>
 *
 * <code>repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;</code>
 */
public Builder setReplLoadSource(
  int index, org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder builderForValue) {
 if (replLoadSourceBuilder_ == null) {
  ensureReplLoadSourceIsMutable();
  replLoadSource_.set(index, builderForValue.build());
  onChanged();
 } else {
  replLoadSourceBuilder_.setMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: apache/hbase

public static ClusterStatusProtos.ReplicationLoadSource toReplicationLoadSource(
  ReplicationLoadSource rls) {
 return ClusterStatusProtos.ReplicationLoadSource.newBuilder()
   .setPeerID(rls.getPeerID())
   .setAgeOfLastShippedOp(rls.getAgeOfLastShippedOp())
   .setSizeOfLogQueue((int) rls.getSizeOfLogQueue())
   .setTimeStampOfLastShippedOp(rls.getTimestampOfLastShippedOp())
   .setReplicationLag(rls.getReplicationLag())
   .build();
}
org.apache.hadoop.hbase.shaded.protobuf.generatedClusterStatusProtos$ReplicationLoadSource$Builderbuild

Popular methods of ClusterStatusProtos$ReplicationLoadSource$Builder

  • setAgeOfLastShippedOp
    required uint64 ageOfLastShippedOp = 2;
  • setReplicationLag
    required uint64 replicationLag = 5;
  • setSizeOfLogQueue
    required uint32 sizeOfLogQueue = 3;
  • setTimeStampOfLastShippedOp
    required uint64 timeStampOfLastShippedOp = 4;
  • setPeerID
    required string peerID = 1;
  • <init>
  • buildPartial
  • hasAgeOfLastShippedOp
    required uint64 ageOfLastShippedOp = 2;
  • hasPeerID
    required string peerID = 1;
  • hasReplicationLag
    required uint64 replicationLag = 5;
  • hasSizeOfLogQueue
    required uint32 sizeOfLogQueue = 3;
  • hasTimeStampOfLastShippedOp
    required uint64 timeStampOfLastShippedOp = 4;
  • hasSizeOfLogQueue,
  • hasTimeStampOfLastShippedOp,
  • maybeForceBuilderInitialization,
  • mergeFrom,
  • mergeUnknownFields,
  • newUninitializedMessageException,
  • onBuilt,
  • onChanged

Popular in Java

  • Making http requests using okhttp
  • getSharedPreferences (Context)
  • putExtra (Intent)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Best plugins for Eclipse
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