@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasLedgerId()) { hash = (37 * hash) + LEDGERID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLedgerId()); } if (hasEntryId()) { hash = (37 * hash) + ENTRYID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEntryId()); } if (getIndividualDeletedMessagesCount() > 0) { hash = (37 * hash) + INDIVIDUALDELETEDMESSAGES_FIELD_NUMBER; hash = (53 * hash) + getIndividualDeletedMessagesList().hashCode(); } if (getPropertiesCount() > 0) { hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + getPropertiesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
if (positionInfo.getPropertiesCount() > 0) { for (int i = 0; i < positionInfo.getPropertiesCount(); i++) { LongProperty property = positionInfo.getProperties(i); recoveredProperties.put(property.getName(), property.getValue());
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasLedgerId()) { hash = (37 * hash) + LEDGERID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLedgerId()); } if (hasEntryId()) { hash = (37 * hash) + ENTRYID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEntryId()); } if (getIndividualDeletedMessagesCount() > 0) { hash = (37 * hash) + INDIVIDUALDELETEDMESSAGES_FIELD_NUMBER; hash = (53 * hash) + getIndividualDeletedMessagesList().hashCode(); } if (getPropertiesCount() > 0) { hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + getPropertiesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
if (positionInfo.getPropertiesCount() > 0) { for (int i = 0; i < positionInfo.getPropertiesCount(); i++) { LongProperty property = positionInfo.getProperties(i); recoveredProperties.put(property.getName(), property.getValue());
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasLedgerId()) { memoizedIsInitialized = 0; return false; } if (!hasEntryId()) { 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; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasLedgerId()) { memoizedIsInitialized = 0; return false; } if (!hasEntryId()) { 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; }