Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Enum Class RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi
java.lang.Object
java.lang.Enum<RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi>
com.hedera.hashgraph.sdk.proto.RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi>,Constable
- Enclosing class:
RegisteredServiceEndpoint.BlockNodeEndpoint
public static enum RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi
extends Enum<RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi>
implements com.google.protobuf.Internal.EnumLite
* An enumeration of well-known block node endpoint APIs, and a catch-all option for otherwise unknown endpoint APIs.Protobuf enum
com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription* Any other API type associated with a block node.<br/> The caller must consult local documentation to determine the correct call semantics.<br/> It is RECOMMENDED to call the detail status endpoint for further information before using this endpoint.* The Block Node Publish API.* The Block Node State Proof API.* The Block Node Status API.* The Block Node Subscribe Stream API. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int* Any other API type associated with a block node.<br/> The caller must consult local documentation to determine the correct call semantics.<br/> It is RECOMMENDED to call the detail status endpoint for further information before using this endpoint.static final int* The Block Node Publish API.static final int* The Block Node State Proof API.static final int* The Block Node Status API.static final int* The Block Node Subscribe Stream API. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi> static com.google.protobuf.Internal.EnumVerifiervalueOf(int value) Deprecated.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OTHER
* Any other API type associated with a block node.<br/> The caller must consult local documentation to determine the correct call semantics.<br/> It is RECOMMENDED to call the detail status endpoint for further information before using this endpoint.
OTHER = 0; -
STATUS
* The Block Node Status API.
STATUS = 1; -
PUBLISH
* The Block Node Publish API.
PUBLISH = 2; -
SUBSCRIBE_STREAM
* The Block Node Subscribe Stream API.
SUBSCRIBE_STREAM = 3; -
STATE_PROOF
* The Block Node State Proof API.
STATE_PROOF = 4; -
UNRECOGNIZED
-
-
Field Details
-
OTHER_VALUE
public static final int OTHER_VALUE* Any other API type associated with a block node.<br/> The caller must consult local documentation to determine the correct call semantics.<br/> It is RECOMMENDED to call the detail status endpoint for further information before using this endpoint.
OTHER = 0;- See Also:
-
STATUS_VALUE
public static final int STATUS_VALUE* The Block Node Status API.
STATUS = 1;- See Also:
-
PUBLISH_VALUE
public static final int PUBLISH_VALUE* The Block Node Publish API.
PUBLISH = 2;- See Also:
-
SUBSCRIBE_STREAM_VALUE
public static final int SUBSCRIBE_STREAM_VALUE* The Block Node Subscribe Stream API.
SUBSCRIBE_STREAM = 3;- See Also:
-
STATE_PROOF_VALUE
public static final int STATE_PROOF_VALUE* The Block Node State Proof API.
STATE_PROOF = 4;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
@Deprecated public static RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi valueOf(int value) Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-