Codota Logo
MLDataFormats$ManagedLedgerInfo$Builder.onBuilt
Code IndexAdd Codota to your IDE (free)

How to use
onBuilt
method
in
org.apache.bookkeeper.mledger.proto.MLDataFormats$ManagedLedgerInfo$Builder

Best Java code snippets using org.apache.bookkeeper.mledger.proto.MLDataFormats$ManagedLedgerInfo$Builder.onBuilt (Showing top 3 results out of 315)

  • Common ways to obtain MLDataFormats$ManagedLedgerInfo$Builder
private void myMethod () {
MLDataFormats$ManagedLedgerInfo$Builder m =
  • Codota IconMLDataFormats.ManagedLedgerInfo mLDataFormatsManagedLedgerInfo;mLDataFormatsManagedLedgerInfo.newBuilder()
  • Smart code suggestions by Codota
}
origin: apache/pulsar

public org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedLedgerInfo buildPartial() {
 org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedLedgerInfo result = new org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedLedgerInfo(this);
 int from_bitField0_ = bitField0_;
 int to_bitField0_ = 0;
 if (ledgerInfoBuilder_ == null) {
  if (((bitField0_ & 0x00000001) == 0x00000001)) {
   ledgerInfo_ = java.util.Collections.unmodifiableList(ledgerInfo_);
   bitField0_ = (bitField0_ & ~0x00000001);
  }
  result.ledgerInfo_ = ledgerInfo_;
 } else {
  result.ledgerInfo_ = ledgerInfoBuilder_.build();
 }
 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
  to_bitField0_ |= 0x00000001;
 }
 if (terminatedPositionBuilder_ == null) {
  result.terminatedPosition_ = terminatedPosition_;
 } else {
  result.terminatedPosition_ = terminatedPositionBuilder_.build();
 }
 result.bitField0_ = to_bitField0_;
 onBuilt();
 return result;
}
origin: org.apache.pulsar/managed-ledger-original

public org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedLedgerInfo buildPartial() {
 org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedLedgerInfo result = new org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedLedgerInfo(this);
 int from_bitField0_ = bitField0_;
 int to_bitField0_ = 0;
 if (ledgerInfoBuilder_ == null) {
  if (((bitField0_ & 0x00000001) == 0x00000001)) {
   ledgerInfo_ = java.util.Collections.unmodifiableList(ledgerInfo_);
   bitField0_ = (bitField0_ & ~0x00000001);
  }
  result.ledgerInfo_ = ledgerInfo_;
 } else {
  result.ledgerInfo_ = ledgerInfoBuilder_.build();
 }
 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
  to_bitField0_ |= 0x00000001;
 }
 if (terminatedPositionBuilder_ == null) {
  result.terminatedPosition_ = terminatedPosition_;
 } else {
  result.terminatedPosition_ = terminatedPositionBuilder_.build();
 }
 result.bitField0_ = to_bitField0_;
 onBuilt();
 return result;
}
origin: com.yahoo.pulsar/managed-ledger

public org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedLedgerInfo buildPartial() {
 org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedLedgerInfo result = new org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedLedgerInfo(this);
 int from_bitField0_ = bitField0_;
 int to_bitField0_ = 0;
 if (ledgerInfoBuilder_ == null) {
  if (((bitField0_ & 0x00000001) == 0x00000001)) {
   ledgerInfo_ = java.util.Collections.unmodifiableList(ledgerInfo_);
   bitField0_ = (bitField0_ & ~0x00000001);
  }
  result.ledgerInfo_ = ledgerInfo_;
 } else {
  result.ledgerInfo_ = ledgerInfoBuilder_.build();
 }
 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
  to_bitField0_ |= 0x00000001;
 }
 if (terminatedPositionBuilder_ == null) {
  result.terminatedPosition_ = terminatedPosition_;
 } else {
  result.terminatedPosition_ = terminatedPositionBuilder_.build();
 }
 result.bitField0_ = to_bitField0_;
 onBuilt();
 return result;
}

org.apache.bookkeeper.mledger.protoMLDataFormats$ManagedLedgerInfo$BuilderonBuilt

Popular methods of MLDataFormats$ManagedLedgerInfo$Builder

  • build
  • <init>
  • addAllLedgerInfo
    repeated .ManagedLedgerInfo.LedgerInfo ledgerInfo = 1;
  • addLedgerInfo
    repeated .ManagedLedgerInfo.LedgerInfo ledgerInfo = 1;
  • buildPartial
  • ensureLedgerInfoIsMutable
  • getLedgerInfo
    repeated .ManagedLedgerInfo.LedgerInfo ledgerInfo = 1;
  • getLedgerInfoCount
    repeated .ManagedLedgerInfo.LedgerInfo ledgerInfo = 1;
  • getLedgerInfoFieldBuilder
  • getParentForChildren
  • getTerminatedPosition
    If present, it signals the managed ledger has been terminated and this was the position of the la
  • getTerminatedPositionFieldBuilder
    If present, it signals the managed ledger has been terminated and this was the position of the la
  • getTerminatedPosition,
  • getTerminatedPositionFieldBuilder,
  • hasTerminatedPosition,
  • isClean,
  • maybeForceBuilderInitialization,
  • mergeFrom,
  • mergeTerminatedPosition,
  • mergeUnknownFields,
  • newUninitializedMessageException

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getApplicationContext (Context)
  • setContentView (Activity)
  • requestLocationUpdates (LocationManager)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
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