java.lang.Object
com.hedera.hashgraph.sdk.RegisteredServiceEndpoint
com.hedera.hashgraph.sdk.RegisteredServiceEndpointBase<MirrorNodeServiceEndpoint>
com.hedera.hashgraph.sdk.MirrorNodeServiceEndpoint
public class MirrorNodeServiceEndpoint
extends RegisteredServiceEndpointBase<MirrorNodeServiceEndpoint>
Represent a Registered Mirror Node
-
Field Summary
Fields inherited from class com.hedera.hashgraph.sdk.RegisteredServiceEndpoint
domainName, ipAddress, port, requiresTls -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static MirrorNodeServiceEndpointfromJson(com.google.gson.JsonObject json) Parses MirrorNodeServiceEndpoint from the type-specific JSON object the MirrorNode.(package private) static MirrorNodeServiceEndpointfromProtobuf(RegisteredServiceEndpoint serviceEndpoint) Create a MirrorNodeServiceEndpoint object from protobuf(package private) RegisteredServiceEndpointBuild the protobuf.toString()Methods inherited from class com.hedera.hashgraph.sdk.RegisteredServiceEndpointBase
setDomainName, setIpAddress, setPort, setRequiresTlsMethods inherited from class com.hedera.hashgraph.sdk.RegisteredServiceEndpoint
getDomainName, getIpAddress, getPort, isRequiresTls, toStringHelper, validateNoIpAndDomain
-
Constructor Details
-
MirrorNodeServiceEndpoint
public MirrorNodeServiceEndpoint()Constructor.
-
-
Method Details
-
fromProtobuf
Create a MirrorNodeServiceEndpoint object from protobuf- Parameters:
serviceEndpoint- the protobuf object- Returns:
- the new instance of MirrorNodeServiceEndpoint
-
toProtobuf
RegisteredServiceEndpoint toProtobuf()Description copied from class:RegisteredServiceEndpointBuild the protobuf.- Specified by:
toProtobufin classRegisteredServiceEndpoint- Returns:
- the protobuf representation
-
fromJson
Parses MirrorNodeServiceEndpoint from the type-specific JSON object the MirrorNode.- Parameters:
json- the json containing mirror node specific data- Returns:
this
-
toString
-