Interface DataFormats.LedgerMetadataFormatOrBuilder

    • Method Detail

      • hasQuorumSize

        boolean hasQuorumSize()
        required int32 quorumSize = 1;
        Returns:
        Whether the quorumSize field is set.
      • getQuorumSize

        int getQuorumSize()
        required int32 quorumSize = 1;
        Returns:
        The quorumSize.
      • hasEnsembleSize

        boolean hasEnsembleSize()
        required int32 ensembleSize = 2;
        Returns:
        Whether the ensembleSize field is set.
      • getEnsembleSize

        int getEnsembleSize()
        required int32 ensembleSize = 2;
        Returns:
        The ensembleSize.
      • hasLength

        boolean hasLength()
        required int64 length = 3;
        Returns:
        Whether the length field is set.
      • getLength

        long getLength()
        required int64 length = 3;
        Returns:
        The length.
      • hasLastEntryId

        boolean hasLastEntryId()
        optional int64 lastEntryId = 4;
        Returns:
        Whether the lastEntryId field is set.
      • getLastEntryId

        long getLastEntryId()
        optional int64 lastEntryId = 4;
        Returns:
        The lastEntryId.
      • hasState

        boolean hasState()
        required .LedgerMetadataFormat.State state = 5 [default = OPEN];
        Returns:
        Whether the state field is set.
      • getSegmentCount

        int getSegmentCount()
        repeated .LedgerMetadataFormat.Segment segment = 6;
      • hasDigestType

        boolean hasDigestType()
        optional .LedgerMetadataFormat.DigestType digestType = 7;
        Returns:
        Whether the digestType field is set.
      • hasPassword

        boolean hasPassword()
        optional bytes password = 8;
        Returns:
        Whether the password field is set.
      • getPassword

        com.google.protobuf.ByteString getPassword()
        optional bytes password = 8;
        Returns:
        The password.
      • hasAckQuorumSize

        boolean hasAckQuorumSize()
        optional int32 ackQuorumSize = 9;
        Returns:
        Whether the ackQuorumSize field is set.
      • getAckQuorumSize

        int getAckQuorumSize()
        optional int32 ackQuorumSize = 9;
        Returns:
        The ackQuorumSize.
      • hasCtime

        boolean hasCtime()
        optional int64 ctime = 10;
        Returns:
        Whether the ctime field is set.
      • getCtime

        long getCtime()
        optional int64 ctime = 10;
        Returns:
        The ctime.
      • getCustomMetadataCount

        int getCustomMetadataCount()
        repeated .LedgerMetadataFormat.cMetadataMapEntry customMetadata = 11;
      • hasCToken

        boolean hasCToken()
        optional int64 cToken = 12;
        Returns:
        Whether the cToken field is set.
      • getCToken

        long getCToken()
        optional int64 cToken = 12;
        Returns:
        The cToken.