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

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

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

origin: apache/pulsar

if (hasCursorsLedgerId()) {
 hash = (37 * hash) + CURSORSLEDGERID_FIELD_NUMBER;
 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
origin: apache/pulsar

public Builder mergeFrom(org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedCursorInfo other) {
 if (other == org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedCursorInfo.getDefaultInstance()) return this;
 if (other.hasCursorsLedgerId()) {
  setCursorsLedgerId(other.getCursorsLedgerId());
origin: apache/pulsar

result = result && (hasCursorsLedgerId() == other.hasCursorsLedgerId());
if (hasCursorsLedgerId()) {
 result = result && (getCursorsLedgerId()
   == other.getCursorsLedgerId());
origin: org.apache.pulsar/managed-ledger-original

public Builder mergeFrom(org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedCursorInfo other) {
 if (other == org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedCursorInfo.getDefaultInstance()) return this;
 if (other.hasCursorsLedgerId()) {
  setCursorsLedgerId(other.getCursorsLedgerId());
origin: org.apache.pulsar/managed-ledger-original

if (hasCursorsLedgerId()) {
 hash = (37 * hash) + CURSORSLEDGERID_FIELD_NUMBER;
 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
origin: org.apache.pulsar/managed-ledger-original

result = result && (hasCursorsLedgerId() == other.hasCursorsLedgerId());
if (hasCursorsLedgerId()) {
 result = result && (getCursorsLedgerId()
   == other.getCursorsLedgerId());
origin: com.yahoo.pulsar/managed-ledger

public Builder mergeFrom(org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedCursorInfo other) {
 if (other == org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedCursorInfo.getDefaultInstance()) return this;
 if (other.hasCursorsLedgerId()) {
  setCursorsLedgerId(other.getCursorsLedgerId());
origin: org.apache.pulsar/managed-ledger-original

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

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

origin: apache/pulsar

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

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

  • getCursorsLedgerId
    If the ledger id is -1, then the mark-delete position is the one from the (ledgerId, entryId) sna
  • getIndividualDeletedMessagesCount
    repeated .MessageRange individualDeletedMessages = 4;
  • newBuilder
  • <init>
  • getDefaultInstance
  • getDescriptor
  • getIndividualDeletedMessages
    repeated .MessageRange individualDeletedMessages = 4;
  • getIndividualDeletedMessagesList
    repeated .MessageRange individualDeletedMessages = 4;
  • getMarkDeleteEntryId
    optional int64 markDeleteEntryId = 3;
  • getMarkDeleteLedgerId
    Last snapshot of the mark-delete position optional int64 markDeleteLedgerId = 2;
  • hasMarkDeleteEntryId
    optional int64 markDeleteEntryId = 3;
  • hasMarkDeleteLedgerId
    Last snapshot of the mark-delete position optional int64 markDeleteLedgerId = 2;
  • hasMarkDeleteEntryId,
  • hasMarkDeleteLedgerId,
  • isInitialized,
  • toByteArray,
  • getLastActive,
  • getProperties,
  • getPropertiesCount,
  • getPropertiesList,
  • getSerializedSize

Popular in Java

  • Start an intent from android
  • getResourceAsStream (ClassLoader)
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • From CI to AI: The AI layer in your organization
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