Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class RegisteredServiceEndpoint.BlockNodeEndpoint
java.lang.Object
com.google.protobuf.AbstractMessageLite<RegisteredServiceEndpoint.BlockNodeEndpoint,RegisteredServiceEndpoint.BlockNodeEndpoint.Builder>
com.google.protobuf.GeneratedMessageLite<RegisteredServiceEndpoint.BlockNodeEndpoint,RegisteredServiceEndpoint.BlockNodeEndpoint.Builder>
com.hedera.hashgraph.sdk.proto.RegisteredServiceEndpoint.BlockNodeEndpoint
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,RegisteredServiceEndpoint.BlockNodeEndpointOrBuilder
- Enclosing class:
RegisteredServiceEndpoint
public static final class RegisteredServiceEndpoint.BlockNodeEndpoint
extends com.google.protobuf.GeneratedMessageLite<RegisteredServiceEndpoint.BlockNodeEndpoint,RegisteredServiceEndpoint.BlockNodeEndpoint.Builder>
implements RegisteredServiceEndpoint.BlockNodeEndpointOrBuilder
* A message indicating this endpoint is a Block Node endpoint.<br/> Block Node endpoints offer one of several block node APIs, so this endpoint entry also declares which well-known Block Node API is supported by this endpoint, or "OTHER" for less common APIs.Protobuf type
com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.BlockNodeEndpoint-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum* An enumeration of well-known block node endpoint APIs, and a catch-all option for otherwise unknown endpoint APIs.static final class* A message indicating this endpoint is a Block Node endpoint.<br/> Block Node endpoints offer one of several block node APIs, so this endpoint entry also declares which well-known Block Node API is supported by this endpoint, or "OTHER" for less common APIs.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) getEndpointApi(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.parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RegisteredServiceEndpoint.BlockNodeEndpoint> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
ENDPOINT_API_FIELD_NUMBER
public static final int ENDPOINT_API_FIELD_NUMBER- See Also:
-
-
Method Details
-
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;- Specified by:
getEndpointApiListin interfaceRegisteredServiceEndpoint.BlockNodeEndpointOrBuilder- Returns:
- A list containing the endpointApi.
-
getEndpointApiCount
public 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;- Specified by:
getEndpointApiCountin interfaceRegisteredServiceEndpoint.BlockNodeEndpointOrBuilder- 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;- Specified by:
getEndpointApiin interfaceRegisteredServiceEndpoint.BlockNodeEndpointOrBuilder- 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;- Specified by:
getEndpointApiValueListin interfaceRegisteredServiceEndpoint.BlockNodeEndpointOrBuilder- Returns:
- A list containing the enum numeric values on the wire for endpointApi.
-
getEndpointApiValue
public 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;- Specified by:
getEndpointApiValuein interfaceRegisteredServiceEndpoint.BlockNodeEndpointOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of endpointApi at the given index.
-
parseFrom
public static RegisteredServiceEndpoint.BlockNodeEndpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredServiceEndpoint.BlockNodeEndpoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredServiceEndpoint.BlockNodeEndpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredServiceEndpoint.BlockNodeEndpoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredServiceEndpoint.BlockNodeEndpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredServiceEndpoint.BlockNodeEndpoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredServiceEndpoint.BlockNodeEndpoint parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RegisteredServiceEndpoint.BlockNodeEndpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RegisteredServiceEndpoint.BlockNodeEndpoint parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RegisteredServiceEndpoint.BlockNodeEndpoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RegisteredServiceEndpoint.BlockNodeEndpoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RegisteredServiceEndpoint.BlockNodeEndpoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static RegisteredServiceEndpoint.BlockNodeEndpoint.Builder newBuilder(RegisteredServiceEndpoint.BlockNodeEndpoint prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<RegisteredServiceEndpoint.BlockNodeEndpoint,RegisteredServiceEndpoint.BlockNodeEndpoint.Builder>
-
getDefaultInstance
-
parser
-