Tabnine Logo
MLDataFormats$ManagedCursorInfo$Builder.hasCursorsLedgerId
Code IndexAdd Tabnine to your IDE (free)

How to use
hasCursorsLedgerId
method
in
org.apache.bookkeeper.mledger.proto.MLDataFormats$ManagedCursorInfo$Builder

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

origin: org.apache.pulsar/managed-ledger-original

public final boolean isInitialized() {
 if (!hasCursorsLedgerId()) {
  return false;
 }
 for (int i = 0; i < getIndividualDeletedMessagesCount(); i++) {
  if (!getIndividualDeletedMessages(i).isInitialized()) {
   return false;
  }
 }
 for (int i = 0; i < getPropertiesCount(); i++) {
  if (!getProperties(i).isInitialized()) {
   return false;
  }
 }
 return true;
}
origin: com.yahoo.pulsar/managed-ledger

public final boolean isInitialized() {
 if (!hasCursorsLedgerId()) {
  
  return false;
 }
 for (int i = 0; i < getIndividualDeletedMessagesCount(); i++) {
  if (!getIndividualDeletedMessages(i).isInitialized()) {
   
   return false;
  }
 }
 return true;
}

origin: apache/pulsar

public final boolean isInitialized() {
 if (!hasCursorsLedgerId()) {
  return false;
 }
 for (int i = 0; i < getIndividualDeletedMessagesCount(); i++) {
  if (!getIndividualDeletedMessages(i).isInitialized()) {
   return false;
  }
 }
 for (int i = 0; i < getPropertiesCount(); i++) {
  if (!getProperties(i).isInitialized()) {
   return false;
  }
 }
 return true;
}
org.apache.bookkeeper.mledger.protoMLDataFormats$ManagedCursorInfo$BuilderhasCursorsLedgerId

Javadoc

 
If the ledger id is -1, then the mark-delete position is 
the one from the (ledgerId, entryId) snapshot below 
required int64 cursorsLedgerId = 1;

Popular methods of MLDataFormats$ManagedCursorInfo$Builder

  • build
  • setCursorsLedgerId
    If the ledger id is -1, then the mark-delete position is the one from the (ledgerId, entryId) sna
  • setMarkDeleteEntryId
    optional int64 markDeleteEntryId = 3;
  • setMarkDeleteLedgerId
    Last snapshot of the mark-delete position optional int64 markDeleteLedgerId = 2;
  • <init>
  • addAllIndividualDeletedMessages
    repeated .MessageRange individualDeletedMessages = 4;
  • buildPartial
  • ensureIndividualDeletedMessagesIsMutable
  • getIndividualDeletedMessages
    repeated .MessageRange individualDeletedMessages = 4;
  • getIndividualDeletedMessagesCount
    repeated .MessageRange individualDeletedMessages = 4;
  • getIndividualDeletedMessagesFieldBuilder
  • getParentForChildren
  • getIndividualDeletedMessagesFieldBuilder,
  • getParentForChildren,
  • isClean,
  • maybeForceBuilderInitialization,
  • mergeFrom,
  • mergeUnknownFields,
  • newUninitializedMessageException,
  • onBuilt,
  • onChanged

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • onRequestPermissionsResult (Fragment)
  • onCreateOptionsMenu (Activity)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • JLabel (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • CodeWhisperer alternatives
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