Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface RegisteredServiceEndpoint.BlockNodeEndpointOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
RegisteredServiceEndpoint.BlockNodeEndpoint,RegisteredServiceEndpoint.BlockNodeEndpoint.Builder
- Enclosing class:
RegisteredServiceEndpoint
public static interface RegisteredServiceEndpoint.BlockNodeEndpointOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEndpointApi(int index) * An indicator of what API this endpoint supports.int* An indicator of what API this endpoint supports.* An indicator of what API this endpoint supports.intgetEndpointApiValue(int index) * An indicator of what API this endpoint supports.* An indicator of what API this endpoint supports.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getEndpointApiList
List<RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi> getEndpointApiList()* An indicator of what API this endpoint supports. <p> This field is REQUIRED.
repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi endpoint_api = 1;- Returns:
- A list containing the endpointApi.
-
getEndpointApiCount
int getEndpointApiCount()* An indicator of what API this endpoint supports. <p> This field is REQUIRED.
repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi endpoint_api = 1;- Returns:
- The count of endpointApi.
-
getEndpointApi
* An indicator of what API this endpoint supports. <p> This field is REQUIRED.
repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi endpoint_api = 1;- Parameters:
index- The index of the element to return.- Returns:
- The endpointApi at the given index.
-
getEndpointApiValueList
* An indicator of what API this endpoint supports. <p> This field is REQUIRED.
repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi endpoint_api = 1;- Returns:
- A list containing the enum numeric values on the wire for endpointApi.
-
getEndpointApiValue
int getEndpointApiValue(int index) * An indicator of what API this endpoint supports. <p> This field is REQUIRED.
repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.BlockNodeEndpoint.BlockNodeApi endpoint_api = 1;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of endpointApi at the given index.
-