Codota Logo
MLDataFormats$PositionInfo.newBuilder
Code IndexAdd Codota to your IDE (free)

How to use
newBuilder
method
in
org.apache.bookkeeper.mledger.proto.MLDataFormats$PositionInfo

Best Java code snippets using org.apache.bookkeeper.mledger.proto.MLDataFormats$PositionInfo.newBuilder (Showing top 17 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: apache/pulsar

void persistPositionToLedger(final LedgerHandle lh, MarkDeleteEntry mdEntry, final VoidCallback callback) {
  PositionImpl position = mdEntry.newPosition;
  PositionInfo pi = PositionInfo.newBuilder().setLedgerId(position.getLedgerId())
      .setEntryId(position.getEntryId())
      .addAllIndividualDeletedMessages(buildIndividualDeletedMessageRanges())
origin: com.yahoo.pulsar/managed-ledger

void persistPosition(final LedgerHandle lh, final PositionImpl position, final VoidCallback callback) {
  PositionInfo pi = PositionInfo.newBuilder()
      .setLedgerId(position.getLedgerId())
      .setEntryId(position.getEntryId())
origin: org.apache.pulsar/managed-ledger-original

void persistPositionToLedger(final LedgerHandle lh, MarkDeleteEntry mdEntry, final VoidCallback callback) {
  PositionImpl position = mdEntry.newPosition;
  PositionInfo pi = PositionInfo.newBuilder().setLedgerId(position.getLedgerId())
      .setEntryId(position.getEntryId())
      .addAllIndividualDeletedMessages(buildIndividualDeletedMessageRanges())
origin: apache/pulsar

  public PositionInfo getPositionInfo() {
    return PositionInfo.newBuilder().setLedgerId(ledgerId).setEntryId(entryId).build();
  }
}
origin: com.yahoo.pulsar/managed-ledger

public static org.apache.bookkeeper.mledger.proto.MLDataFormats.PositionInfo parseFrom(
  com.google.protobuf.ByteString data,
  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  throws com.google.protobuf.InvalidProtocolBufferException {
 return newBuilder().mergeFrom(data, extensionRegistry)
      .buildParsed();
}
public static org.apache.bookkeeper.mledger.proto.MLDataFormats.PositionInfo parseFrom(byte[] data)
origin: com.yahoo.pulsar/managed-ledger

public static org.apache.bookkeeper.mledger.proto.MLDataFormats.PositionInfo parseFrom(
  com.google.protobuf.CodedInputStream input,
  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  throws java.io.IOException {
 return newBuilder().mergeFrom(input, extensionRegistry)
      .buildParsed();
}

origin: com.yahoo.pulsar/managed-ledger

public static org.apache.bookkeeper.mledger.proto.MLDataFormats.PositionInfo parseFrom(
  byte[] data,
  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  throws com.google.protobuf.InvalidProtocolBufferException {
 return newBuilder().mergeFrom(data, extensionRegistry)
      .buildParsed();
}
public static org.apache.bookkeeper.mledger.proto.MLDataFormats.PositionInfo parseFrom(java.io.InputStream input)
origin: com.yahoo.pulsar/managed-ledger

public static org.apache.bookkeeper.mledger.proto.MLDataFormats.PositionInfo parseFrom(
  java.io.InputStream input,
  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  throws java.io.IOException {
 return newBuilder().mergeFrom(input, extensionRegistry)
      .buildParsed();
}
public static org.apache.bookkeeper.mledger.proto.MLDataFormats.PositionInfo parseDelimitedFrom(java.io.InputStream input)
origin: com.yahoo.pulsar/managed-ledger

public static Builder newBuilder(org.apache.bookkeeper.mledger.proto.MLDataFormats.PositionInfo prototype) {
 return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
origin: org.apache.pulsar/managed-ledger-original

  public PositionInfo getPositionInfo() {
    return PositionInfo.newBuilder().setLedgerId(ledgerId).setEntryId(entryId).build();
  }
}
origin: com.yahoo.pulsar/managed-ledger

  public PositionInfo getPositionInfo() {
    return PositionInfo.newBuilder().setLedgerId(ledgerId).setEntryId(entryId).build();
  }
}
origin: org.apache.pulsar/managed-ledger-original

public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
origin: com.yahoo.pulsar/managed-ledger

public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.bookkeeper.mledger.proto.MLDataFormats.PositionInfo prototype) {
origin: com.yahoo.pulsar/managed-ledger

public static org.apache.bookkeeper.mledger.proto.MLDataFormats.PositionInfo parseDelimitedFrom(java.io.InputStream input)
  throws java.io.IOException {
 Builder builder = newBuilder();
 if (builder.mergeDelimitedFrom(input)) {
  return builder.buildParsed();
 } else {
  return null;
 }
}
public static org.apache.bookkeeper.mledger.proto.MLDataFormats.PositionInfo parseDelimitedFrom(
origin: com.yahoo.pulsar/managed-ledger

public Builder toBuilder() { return newBuilder(this); }

origin: apache/pulsar

public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
origin: com.yahoo.pulsar/managed-ledger

public static org.apache.bookkeeper.mledger.proto.MLDataFormats.PositionInfo parseDelimitedFrom(
  java.io.InputStream input,
  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  throws java.io.IOException {
 Builder builder = newBuilder();
 if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  return builder.buildParsed();
 } else {
  return null;
 }
}
public static org.apache.bookkeeper.mledger.proto.MLDataFormats.PositionInfo parseFrom(
org.apache.bookkeeper.mledger.protoMLDataFormats$PositionInfonewBuilder

Popular methods of MLDataFormats$PositionInfo

  • getIndividualDeletedMessagesCount
    repeated .MessageRange individualDeletedMessages = 3;
  • parseFrom
  • toByteArray
  • <init>
  • getDefaultInstance
  • getDescriptor
  • getEntryId
    required int64 entryId = 2;
  • getIndividualDeletedMessages
    repeated .MessageRange individualDeletedMessages = 3;
  • getIndividualDeletedMessagesList
    repeated .MessageRange individualDeletedMessages = 3;
  • getLedgerId
    required int64 ledgerId = 1;
  • hasEntryId
    required int64 entryId = 2;
  • hasLedgerId
    required int64 ledgerId = 1;
  • hasEntryId,
  • hasLedgerId,
  • isInitialized,
  • getProperties,
  • getPropertiesCount,
  • getPropertiesList,
  • getSerializedSize,
  • getUnknownFields,
  • makeExtensionsImmutable

Popular in Java

  • Start an intent from android
  • findViewById (Activity)
  • setContentView (Activity)
  • runOnUiThread (Activity)
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JCheckBox (javax.swing)
  • JFileChooser (javax.swing)
  • JFrame (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
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