com.hedera.hapi.block.stream.output.protoc.UtilPrngOutputOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: stream/output/util_service.proto
package com.hedera.hapi.block.stream.output.protoc;
public interface UtilPrngOutputOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.hedera.hapi.block.stream.output.UtilPrngOutput)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* A deterministic pseudo-random sequence of 48 bytes.
* <p>
* This value SHALL be the result of a corresponding
* `UtilService` `prng` transaction.
*
*
* bytes prng_bytes = 1;
* @return Whether the prngBytes field is set.
*/
boolean hasPrngBytes();
/**
*
**
* A deterministic pseudo-random sequence of 48 bytes.
* <p>
* This value SHALL be the result of a corresponding
* `UtilService` `prng` transaction.
*
*
* bytes prng_bytes = 1;
* @return The prngBytes.
*/
com.google.protobuf.ByteString getPrngBytes();
/**
*
**
* A deterministic pseudo-random number generated within a
* specified range.
* <p>
* This value SHALL be the result of a corresponding `UtilService`
* `prng` transaction.<br/>
* Note that the transaction only permits a non-negative range, the
* output SHALL always be a whole number.
*
*
* uint32 prng_number = 2;
* @return Whether the prngNumber field is set.
*/
boolean hasPrngNumber();
/**
*
**
* A deterministic pseudo-random number generated within a
* specified range.
* <p>
* This value SHALL be the result of a corresponding `UtilService`
* `prng` transaction.<br/>
* Note that the transaction only permits a non-negative range, the
* output SHALL always be a whole number.
*
*
* uint32 prng_number = 2;
* @return The prngNumber.
*/
int getPrngNumber();
public com.hedera.hapi.block.stream.output.protoc.UtilPrngOutput.EntropyCase getEntropyCase();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy