All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.org.onflow.protobuf.access.AccessAPIGrpc Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
package org.onflow.protobuf.access;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 * 
 * AccessAPI is the public-facing API provided by access nodes.
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.35.0)", comments = "Source: flow/access/access.proto") public final class AccessAPIGrpc { private AccessAPIGrpc() {} public static final String SERVICE_NAME = "flow.access.AccessAPI"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor getPingMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Ping", requestType = org.onflow.protobuf.access.Access.PingRequest.class, responseType = org.onflow.protobuf.access.Access.PingResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getPingMethod() { io.grpc.MethodDescriptor getPingMethod; if ((getPingMethod = AccessAPIGrpc.getPingMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getPingMethod = AccessAPIGrpc.getPingMethod) == null) { AccessAPIGrpc.getPingMethod = getPingMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Ping")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.PingRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.PingResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("Ping")) .build(); } } } return getPingMethod; } private static volatile io.grpc.MethodDescriptor getGetNodeVersionInfoMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetNodeVersionInfo", requestType = org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest.class, responseType = org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetNodeVersionInfoMethod() { io.grpc.MethodDescriptor getGetNodeVersionInfoMethod; if ((getGetNodeVersionInfoMethod = AccessAPIGrpc.getGetNodeVersionInfoMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetNodeVersionInfoMethod = AccessAPIGrpc.getGetNodeVersionInfoMethod) == null) { AccessAPIGrpc.getGetNodeVersionInfoMethod = getGetNodeVersionInfoMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNodeVersionInfo")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetNodeVersionInfo")) .build(); } } } return getGetNodeVersionInfoMethod; } private static volatile io.grpc.MethodDescriptor getGetLatestBlockHeaderMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetLatestBlockHeader", requestType = org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest.class, responseType = org.onflow.protobuf.access.Access.BlockHeaderResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetLatestBlockHeaderMethod() { io.grpc.MethodDescriptor getGetLatestBlockHeaderMethod; if ((getGetLatestBlockHeaderMethod = AccessAPIGrpc.getGetLatestBlockHeaderMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetLatestBlockHeaderMethod = AccessAPIGrpc.getGetLatestBlockHeaderMethod) == null) { AccessAPIGrpc.getGetLatestBlockHeaderMethod = getGetLatestBlockHeaderMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetLatestBlockHeader")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.BlockHeaderResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetLatestBlockHeader")) .build(); } } } return getGetLatestBlockHeaderMethod; } private static volatile io.grpc.MethodDescriptor getGetBlockHeaderByIDMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetBlockHeaderByID", requestType = org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest.class, responseType = org.onflow.protobuf.access.Access.BlockHeaderResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetBlockHeaderByIDMethod() { io.grpc.MethodDescriptor getGetBlockHeaderByIDMethod; if ((getGetBlockHeaderByIDMethod = AccessAPIGrpc.getGetBlockHeaderByIDMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetBlockHeaderByIDMethod = AccessAPIGrpc.getGetBlockHeaderByIDMethod) == null) { AccessAPIGrpc.getGetBlockHeaderByIDMethod = getGetBlockHeaderByIDMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBlockHeaderByID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.BlockHeaderResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetBlockHeaderByID")) .build(); } } } return getGetBlockHeaderByIDMethod; } private static volatile io.grpc.MethodDescriptor getGetBlockHeaderByHeightMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetBlockHeaderByHeight", requestType = org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest.class, responseType = org.onflow.protobuf.access.Access.BlockHeaderResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetBlockHeaderByHeightMethod() { io.grpc.MethodDescriptor getGetBlockHeaderByHeightMethod; if ((getGetBlockHeaderByHeightMethod = AccessAPIGrpc.getGetBlockHeaderByHeightMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetBlockHeaderByHeightMethod = AccessAPIGrpc.getGetBlockHeaderByHeightMethod) == null) { AccessAPIGrpc.getGetBlockHeaderByHeightMethod = getGetBlockHeaderByHeightMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBlockHeaderByHeight")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.BlockHeaderResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetBlockHeaderByHeight")) .build(); } } } return getGetBlockHeaderByHeightMethod; } private static volatile io.grpc.MethodDescriptor getGetLatestBlockMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetLatestBlock", requestType = org.onflow.protobuf.access.Access.GetLatestBlockRequest.class, responseType = org.onflow.protobuf.access.Access.BlockResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetLatestBlockMethod() { io.grpc.MethodDescriptor getGetLatestBlockMethod; if ((getGetLatestBlockMethod = AccessAPIGrpc.getGetLatestBlockMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetLatestBlockMethod = AccessAPIGrpc.getGetLatestBlockMethod) == null) { AccessAPIGrpc.getGetLatestBlockMethod = getGetLatestBlockMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetLatestBlock")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetLatestBlockRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.BlockResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetLatestBlock")) .build(); } } } return getGetLatestBlockMethod; } private static volatile io.grpc.MethodDescriptor getGetBlockByIDMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetBlockByID", requestType = org.onflow.protobuf.access.Access.GetBlockByIDRequest.class, responseType = org.onflow.protobuf.access.Access.BlockResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetBlockByIDMethod() { io.grpc.MethodDescriptor getGetBlockByIDMethod; if ((getGetBlockByIDMethod = AccessAPIGrpc.getGetBlockByIDMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetBlockByIDMethod = AccessAPIGrpc.getGetBlockByIDMethod) == null) { AccessAPIGrpc.getGetBlockByIDMethod = getGetBlockByIDMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBlockByID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetBlockByIDRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.BlockResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetBlockByID")) .build(); } } } return getGetBlockByIDMethod; } private static volatile io.grpc.MethodDescriptor getGetBlockByHeightMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetBlockByHeight", requestType = org.onflow.protobuf.access.Access.GetBlockByHeightRequest.class, responseType = org.onflow.protobuf.access.Access.BlockResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetBlockByHeightMethod() { io.grpc.MethodDescriptor getGetBlockByHeightMethod; if ((getGetBlockByHeightMethod = AccessAPIGrpc.getGetBlockByHeightMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetBlockByHeightMethod = AccessAPIGrpc.getGetBlockByHeightMethod) == null) { AccessAPIGrpc.getGetBlockByHeightMethod = getGetBlockByHeightMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBlockByHeight")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetBlockByHeightRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.BlockResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetBlockByHeight")) .build(); } } } return getGetBlockByHeightMethod; } private static volatile io.grpc.MethodDescriptor getGetCollectionByIDMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetCollectionByID", requestType = org.onflow.protobuf.access.Access.GetCollectionByIDRequest.class, responseType = org.onflow.protobuf.access.Access.CollectionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetCollectionByIDMethod() { io.grpc.MethodDescriptor getGetCollectionByIDMethod; if ((getGetCollectionByIDMethod = AccessAPIGrpc.getGetCollectionByIDMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetCollectionByIDMethod = AccessAPIGrpc.getGetCollectionByIDMethod) == null) { AccessAPIGrpc.getGetCollectionByIDMethod = getGetCollectionByIDMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCollectionByID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetCollectionByIDRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.CollectionResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetCollectionByID")) .build(); } } } return getGetCollectionByIDMethod; } private static volatile io.grpc.MethodDescriptor getGetFullCollectionByIDMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetFullCollectionByID", requestType = org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest.class, responseType = org.onflow.protobuf.access.Access.FullCollectionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetFullCollectionByIDMethod() { io.grpc.MethodDescriptor getGetFullCollectionByIDMethod; if ((getGetFullCollectionByIDMethod = AccessAPIGrpc.getGetFullCollectionByIDMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetFullCollectionByIDMethod = AccessAPIGrpc.getGetFullCollectionByIDMethod) == null) { AccessAPIGrpc.getGetFullCollectionByIDMethod = getGetFullCollectionByIDMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFullCollectionByID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.FullCollectionResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetFullCollectionByID")) .build(); } } } return getGetFullCollectionByIDMethod; } private static volatile io.grpc.MethodDescriptor getSendTransactionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SendTransaction", requestType = org.onflow.protobuf.access.Access.SendTransactionRequest.class, responseType = org.onflow.protobuf.access.Access.SendTransactionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getSendTransactionMethod() { io.grpc.MethodDescriptor getSendTransactionMethod; if ((getSendTransactionMethod = AccessAPIGrpc.getSendTransactionMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getSendTransactionMethod = AccessAPIGrpc.getSendTransactionMethod) == null) { AccessAPIGrpc.getSendTransactionMethod = getSendTransactionMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SendTransaction")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SendTransactionRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SendTransactionResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("SendTransaction")) .build(); } } } return getSendTransactionMethod; } private static volatile io.grpc.MethodDescriptor getGetTransactionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetTransaction", requestType = org.onflow.protobuf.access.Access.GetTransactionRequest.class, responseType = org.onflow.protobuf.access.Access.TransactionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetTransactionMethod() { io.grpc.MethodDescriptor getGetTransactionMethod; if ((getGetTransactionMethod = AccessAPIGrpc.getGetTransactionMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetTransactionMethod = AccessAPIGrpc.getGetTransactionMethod) == null) { AccessAPIGrpc.getGetTransactionMethod = getGetTransactionMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransaction")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetTransactionRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.TransactionResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetTransaction")) .build(); } } } return getGetTransactionMethod; } private static volatile io.grpc.MethodDescriptor getGetTransactionResultMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetTransactionResult", requestType = org.onflow.protobuf.access.Access.GetTransactionRequest.class, responseType = org.onflow.protobuf.access.Access.TransactionResultResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetTransactionResultMethod() { io.grpc.MethodDescriptor getGetTransactionResultMethod; if ((getGetTransactionResultMethod = AccessAPIGrpc.getGetTransactionResultMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetTransactionResultMethod = AccessAPIGrpc.getGetTransactionResultMethod) == null) { AccessAPIGrpc.getGetTransactionResultMethod = getGetTransactionResultMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransactionResult")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetTransactionRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.TransactionResultResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetTransactionResult")) .build(); } } } return getGetTransactionResultMethod; } private static volatile io.grpc.MethodDescriptor getGetTransactionResultByIndexMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetTransactionResultByIndex", requestType = org.onflow.protobuf.access.Access.GetTransactionByIndexRequest.class, responseType = org.onflow.protobuf.access.Access.TransactionResultResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetTransactionResultByIndexMethod() { io.grpc.MethodDescriptor getGetTransactionResultByIndexMethod; if ((getGetTransactionResultByIndexMethod = AccessAPIGrpc.getGetTransactionResultByIndexMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetTransactionResultByIndexMethod = AccessAPIGrpc.getGetTransactionResultByIndexMethod) == null) { AccessAPIGrpc.getGetTransactionResultByIndexMethod = getGetTransactionResultByIndexMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransactionResultByIndex")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetTransactionByIndexRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.TransactionResultResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetTransactionResultByIndex")) .build(); } } } return getGetTransactionResultByIndexMethod; } private static volatile io.grpc.MethodDescriptor getGetTransactionResultsByBlockIDMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetTransactionResultsByBlockID", requestType = org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest.class, responseType = org.onflow.protobuf.access.Access.TransactionResultsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetTransactionResultsByBlockIDMethod() { io.grpc.MethodDescriptor getGetTransactionResultsByBlockIDMethod; if ((getGetTransactionResultsByBlockIDMethod = AccessAPIGrpc.getGetTransactionResultsByBlockIDMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetTransactionResultsByBlockIDMethod = AccessAPIGrpc.getGetTransactionResultsByBlockIDMethod) == null) { AccessAPIGrpc.getGetTransactionResultsByBlockIDMethod = getGetTransactionResultsByBlockIDMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransactionResultsByBlockID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.TransactionResultsResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetTransactionResultsByBlockID")) .build(); } } } return getGetTransactionResultsByBlockIDMethod; } private static volatile io.grpc.MethodDescriptor getGetTransactionsByBlockIDMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetTransactionsByBlockID", requestType = org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest.class, responseType = org.onflow.protobuf.access.Access.TransactionsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetTransactionsByBlockIDMethod() { io.grpc.MethodDescriptor getGetTransactionsByBlockIDMethod; if ((getGetTransactionsByBlockIDMethod = AccessAPIGrpc.getGetTransactionsByBlockIDMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetTransactionsByBlockIDMethod = AccessAPIGrpc.getGetTransactionsByBlockIDMethod) == null) { AccessAPIGrpc.getGetTransactionsByBlockIDMethod = getGetTransactionsByBlockIDMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransactionsByBlockID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.TransactionsResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetTransactionsByBlockID")) .build(); } } } return getGetTransactionsByBlockIDMethod; } private static volatile io.grpc.MethodDescriptor getGetSystemTransactionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetSystemTransaction", requestType = org.onflow.protobuf.access.Access.GetSystemTransactionRequest.class, responseType = org.onflow.protobuf.access.Access.TransactionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetSystemTransactionMethod() { io.grpc.MethodDescriptor getGetSystemTransactionMethod; if ((getGetSystemTransactionMethod = AccessAPIGrpc.getGetSystemTransactionMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetSystemTransactionMethod = AccessAPIGrpc.getGetSystemTransactionMethod) == null) { AccessAPIGrpc.getGetSystemTransactionMethod = getGetSystemTransactionMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSystemTransaction")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetSystemTransactionRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.TransactionResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetSystemTransaction")) .build(); } } } return getGetSystemTransactionMethod; } private static volatile io.grpc.MethodDescriptor getGetSystemTransactionResultMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetSystemTransactionResult", requestType = org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest.class, responseType = org.onflow.protobuf.access.Access.TransactionResultResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetSystemTransactionResultMethod() { io.grpc.MethodDescriptor getGetSystemTransactionResultMethod; if ((getGetSystemTransactionResultMethod = AccessAPIGrpc.getGetSystemTransactionResultMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetSystemTransactionResultMethod = AccessAPIGrpc.getGetSystemTransactionResultMethod) == null) { AccessAPIGrpc.getGetSystemTransactionResultMethod = getGetSystemTransactionResultMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSystemTransactionResult")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.TransactionResultResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetSystemTransactionResult")) .build(); } } } return getGetSystemTransactionResultMethod; } private static volatile io.grpc.MethodDescriptor getGetAccountMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetAccount", requestType = org.onflow.protobuf.access.Access.GetAccountRequest.class, responseType = org.onflow.protobuf.access.Access.GetAccountResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetAccountMethod() { io.grpc.MethodDescriptor getGetAccountMethod; if ((getGetAccountMethod = AccessAPIGrpc.getGetAccountMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetAccountMethod = AccessAPIGrpc.getGetAccountMethod) == null) { AccessAPIGrpc.getGetAccountMethod = getGetAccountMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccount")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetAccountRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetAccountResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetAccount")) .build(); } } } return getGetAccountMethod; } private static volatile io.grpc.MethodDescriptor getGetAccountAtLatestBlockMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetAccountAtLatestBlock", requestType = org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest.class, responseType = org.onflow.protobuf.access.Access.AccountResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetAccountAtLatestBlockMethod() { io.grpc.MethodDescriptor getGetAccountAtLatestBlockMethod; if ((getGetAccountAtLatestBlockMethod = AccessAPIGrpc.getGetAccountAtLatestBlockMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetAccountAtLatestBlockMethod = AccessAPIGrpc.getGetAccountAtLatestBlockMethod) == null) { AccessAPIGrpc.getGetAccountAtLatestBlockMethod = getGetAccountAtLatestBlockMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccountAtLatestBlock")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.AccountResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetAccountAtLatestBlock")) .build(); } } } return getGetAccountAtLatestBlockMethod; } private static volatile io.grpc.MethodDescriptor getGetAccountAtBlockHeightMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetAccountAtBlockHeight", requestType = org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest.class, responseType = org.onflow.protobuf.access.Access.AccountResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetAccountAtBlockHeightMethod() { io.grpc.MethodDescriptor getGetAccountAtBlockHeightMethod; if ((getGetAccountAtBlockHeightMethod = AccessAPIGrpc.getGetAccountAtBlockHeightMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetAccountAtBlockHeightMethod = AccessAPIGrpc.getGetAccountAtBlockHeightMethod) == null) { AccessAPIGrpc.getGetAccountAtBlockHeightMethod = getGetAccountAtBlockHeightMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccountAtBlockHeight")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.AccountResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetAccountAtBlockHeight")) .build(); } } } return getGetAccountAtBlockHeightMethod; } private static volatile io.grpc.MethodDescriptor getExecuteScriptAtLatestBlockMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ExecuteScriptAtLatestBlock", requestType = org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest.class, responseType = org.onflow.protobuf.access.Access.ExecuteScriptResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getExecuteScriptAtLatestBlockMethod() { io.grpc.MethodDescriptor getExecuteScriptAtLatestBlockMethod; if ((getExecuteScriptAtLatestBlockMethod = AccessAPIGrpc.getExecuteScriptAtLatestBlockMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getExecuteScriptAtLatestBlockMethod = AccessAPIGrpc.getExecuteScriptAtLatestBlockMethod) == null) { AccessAPIGrpc.getExecuteScriptAtLatestBlockMethod = getExecuteScriptAtLatestBlockMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteScriptAtLatestBlock")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.ExecuteScriptResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("ExecuteScriptAtLatestBlock")) .build(); } } } return getExecuteScriptAtLatestBlockMethod; } private static volatile io.grpc.MethodDescriptor getExecuteScriptAtBlockIDMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ExecuteScriptAtBlockID", requestType = org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest.class, responseType = org.onflow.protobuf.access.Access.ExecuteScriptResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getExecuteScriptAtBlockIDMethod() { io.grpc.MethodDescriptor getExecuteScriptAtBlockIDMethod; if ((getExecuteScriptAtBlockIDMethod = AccessAPIGrpc.getExecuteScriptAtBlockIDMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getExecuteScriptAtBlockIDMethod = AccessAPIGrpc.getExecuteScriptAtBlockIDMethod) == null) { AccessAPIGrpc.getExecuteScriptAtBlockIDMethod = getExecuteScriptAtBlockIDMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteScriptAtBlockID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.ExecuteScriptResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("ExecuteScriptAtBlockID")) .build(); } } } return getExecuteScriptAtBlockIDMethod; } private static volatile io.grpc.MethodDescriptor getExecuteScriptAtBlockHeightMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ExecuteScriptAtBlockHeight", requestType = org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest.class, responseType = org.onflow.protobuf.access.Access.ExecuteScriptResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getExecuteScriptAtBlockHeightMethod() { io.grpc.MethodDescriptor getExecuteScriptAtBlockHeightMethod; if ((getExecuteScriptAtBlockHeightMethod = AccessAPIGrpc.getExecuteScriptAtBlockHeightMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getExecuteScriptAtBlockHeightMethod = AccessAPIGrpc.getExecuteScriptAtBlockHeightMethod) == null) { AccessAPIGrpc.getExecuteScriptAtBlockHeightMethod = getExecuteScriptAtBlockHeightMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteScriptAtBlockHeight")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.ExecuteScriptResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("ExecuteScriptAtBlockHeight")) .build(); } } } return getExecuteScriptAtBlockHeightMethod; } private static volatile io.grpc.MethodDescriptor getGetEventsForHeightRangeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetEventsForHeightRange", requestType = org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest.class, responseType = org.onflow.protobuf.access.Access.EventsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetEventsForHeightRangeMethod() { io.grpc.MethodDescriptor getGetEventsForHeightRangeMethod; if ((getGetEventsForHeightRangeMethod = AccessAPIGrpc.getGetEventsForHeightRangeMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetEventsForHeightRangeMethod = AccessAPIGrpc.getGetEventsForHeightRangeMethod) == null) { AccessAPIGrpc.getGetEventsForHeightRangeMethod = getGetEventsForHeightRangeMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEventsForHeightRange")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.EventsResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetEventsForHeightRange")) .build(); } } } return getGetEventsForHeightRangeMethod; } private static volatile io.grpc.MethodDescriptor getGetEventsForBlockIDsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetEventsForBlockIDs", requestType = org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest.class, responseType = org.onflow.protobuf.access.Access.EventsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetEventsForBlockIDsMethod() { io.grpc.MethodDescriptor getGetEventsForBlockIDsMethod; if ((getGetEventsForBlockIDsMethod = AccessAPIGrpc.getGetEventsForBlockIDsMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetEventsForBlockIDsMethod = AccessAPIGrpc.getGetEventsForBlockIDsMethod) == null) { AccessAPIGrpc.getGetEventsForBlockIDsMethod = getGetEventsForBlockIDsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEventsForBlockIDs")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.EventsResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetEventsForBlockIDs")) .build(); } } } return getGetEventsForBlockIDsMethod; } private static volatile io.grpc.MethodDescriptor getGetNetworkParametersMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetNetworkParameters", requestType = org.onflow.protobuf.access.Access.GetNetworkParametersRequest.class, responseType = org.onflow.protobuf.access.Access.GetNetworkParametersResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetNetworkParametersMethod() { io.grpc.MethodDescriptor getGetNetworkParametersMethod; if ((getGetNetworkParametersMethod = AccessAPIGrpc.getGetNetworkParametersMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetNetworkParametersMethod = AccessAPIGrpc.getGetNetworkParametersMethod) == null) { AccessAPIGrpc.getGetNetworkParametersMethod = getGetNetworkParametersMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNetworkParameters")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetNetworkParametersRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetNetworkParametersResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetNetworkParameters")) .build(); } } } return getGetNetworkParametersMethod; } private static volatile io.grpc.MethodDescriptor getGetLatestProtocolStateSnapshotMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetLatestProtocolStateSnapshot", requestType = org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest.class, responseType = org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetLatestProtocolStateSnapshotMethod() { io.grpc.MethodDescriptor getGetLatestProtocolStateSnapshotMethod; if ((getGetLatestProtocolStateSnapshotMethod = AccessAPIGrpc.getGetLatestProtocolStateSnapshotMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetLatestProtocolStateSnapshotMethod = AccessAPIGrpc.getGetLatestProtocolStateSnapshotMethod) == null) { AccessAPIGrpc.getGetLatestProtocolStateSnapshotMethod = getGetLatestProtocolStateSnapshotMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetLatestProtocolStateSnapshot")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetLatestProtocolStateSnapshot")) .build(); } } } return getGetLatestProtocolStateSnapshotMethod; } private static volatile io.grpc.MethodDescriptor getGetProtocolStateSnapshotByBlockIDMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetProtocolStateSnapshotByBlockID", requestType = org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest.class, responseType = org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetProtocolStateSnapshotByBlockIDMethod() { io.grpc.MethodDescriptor getGetProtocolStateSnapshotByBlockIDMethod; if ((getGetProtocolStateSnapshotByBlockIDMethod = AccessAPIGrpc.getGetProtocolStateSnapshotByBlockIDMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetProtocolStateSnapshotByBlockIDMethod = AccessAPIGrpc.getGetProtocolStateSnapshotByBlockIDMethod) == null) { AccessAPIGrpc.getGetProtocolStateSnapshotByBlockIDMethod = getGetProtocolStateSnapshotByBlockIDMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProtocolStateSnapshotByBlockID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetProtocolStateSnapshotByBlockID")) .build(); } } } return getGetProtocolStateSnapshotByBlockIDMethod; } private static volatile io.grpc.MethodDescriptor getGetProtocolStateSnapshotByHeightMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetProtocolStateSnapshotByHeight", requestType = org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest.class, responseType = org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetProtocolStateSnapshotByHeightMethod() { io.grpc.MethodDescriptor getGetProtocolStateSnapshotByHeightMethod; if ((getGetProtocolStateSnapshotByHeightMethod = AccessAPIGrpc.getGetProtocolStateSnapshotByHeightMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetProtocolStateSnapshotByHeightMethod = AccessAPIGrpc.getGetProtocolStateSnapshotByHeightMethod) == null) { AccessAPIGrpc.getGetProtocolStateSnapshotByHeightMethod = getGetProtocolStateSnapshotByHeightMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProtocolStateSnapshotByHeight")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetProtocolStateSnapshotByHeight")) .build(); } } } return getGetProtocolStateSnapshotByHeightMethod; } private static volatile io.grpc.MethodDescriptor getGetExecutionResultForBlockIDMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetExecutionResultForBlockID", requestType = org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest.class, responseType = org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetExecutionResultForBlockIDMethod() { io.grpc.MethodDescriptor getGetExecutionResultForBlockIDMethod; if ((getGetExecutionResultForBlockIDMethod = AccessAPIGrpc.getGetExecutionResultForBlockIDMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetExecutionResultForBlockIDMethod = AccessAPIGrpc.getGetExecutionResultForBlockIDMethod) == null) { AccessAPIGrpc.getGetExecutionResultForBlockIDMethod = getGetExecutionResultForBlockIDMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetExecutionResultForBlockID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetExecutionResultForBlockID")) .build(); } } } return getGetExecutionResultForBlockIDMethod; } private static volatile io.grpc.MethodDescriptor getGetExecutionResultByIDMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetExecutionResultByID", requestType = org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest.class, responseType = org.onflow.protobuf.access.Access.ExecutionResultByIDResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetExecutionResultByIDMethod() { io.grpc.MethodDescriptor getGetExecutionResultByIDMethod; if ((getGetExecutionResultByIDMethod = AccessAPIGrpc.getGetExecutionResultByIDMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getGetExecutionResultByIDMethod = AccessAPIGrpc.getGetExecutionResultByIDMethod) == null) { AccessAPIGrpc.getGetExecutionResultByIDMethod = getGetExecutionResultByIDMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetExecutionResultByID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.ExecutionResultByIDResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("GetExecutionResultByID")) .build(); } } } return getGetExecutionResultByIDMethod; } private static volatile io.grpc.MethodDescriptor getSubscribeBlocksFromStartBlockIDMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SubscribeBlocksFromStartBlockID", requestType = org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest.class, responseType = org.onflow.protobuf.access.Access.SubscribeBlocksResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) public static io.grpc.MethodDescriptor getSubscribeBlocksFromStartBlockIDMethod() { io.grpc.MethodDescriptor getSubscribeBlocksFromStartBlockIDMethod; if ((getSubscribeBlocksFromStartBlockIDMethod = AccessAPIGrpc.getSubscribeBlocksFromStartBlockIDMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getSubscribeBlocksFromStartBlockIDMethod = AccessAPIGrpc.getSubscribeBlocksFromStartBlockIDMethod) == null) { AccessAPIGrpc.getSubscribeBlocksFromStartBlockIDMethod = getSubscribeBlocksFromStartBlockIDMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SubscribeBlocksFromStartBlockID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlocksResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("SubscribeBlocksFromStartBlockID")) .build(); } } } return getSubscribeBlocksFromStartBlockIDMethod; } private static volatile io.grpc.MethodDescriptor getSubscribeBlocksFromStartHeightMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SubscribeBlocksFromStartHeight", requestType = org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest.class, responseType = org.onflow.protobuf.access.Access.SubscribeBlocksResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) public static io.grpc.MethodDescriptor getSubscribeBlocksFromStartHeightMethod() { io.grpc.MethodDescriptor getSubscribeBlocksFromStartHeightMethod; if ((getSubscribeBlocksFromStartHeightMethod = AccessAPIGrpc.getSubscribeBlocksFromStartHeightMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getSubscribeBlocksFromStartHeightMethod = AccessAPIGrpc.getSubscribeBlocksFromStartHeightMethod) == null) { AccessAPIGrpc.getSubscribeBlocksFromStartHeightMethod = getSubscribeBlocksFromStartHeightMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SubscribeBlocksFromStartHeight")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlocksResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("SubscribeBlocksFromStartHeight")) .build(); } } } return getSubscribeBlocksFromStartHeightMethod; } private static volatile io.grpc.MethodDescriptor getSubscribeBlocksFromLatestMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SubscribeBlocksFromLatest", requestType = org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest.class, responseType = org.onflow.protobuf.access.Access.SubscribeBlocksResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) public static io.grpc.MethodDescriptor getSubscribeBlocksFromLatestMethod() { io.grpc.MethodDescriptor getSubscribeBlocksFromLatestMethod; if ((getSubscribeBlocksFromLatestMethod = AccessAPIGrpc.getSubscribeBlocksFromLatestMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getSubscribeBlocksFromLatestMethod = AccessAPIGrpc.getSubscribeBlocksFromLatestMethod) == null) { AccessAPIGrpc.getSubscribeBlocksFromLatestMethod = getSubscribeBlocksFromLatestMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SubscribeBlocksFromLatest")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlocksResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("SubscribeBlocksFromLatest")) .build(); } } } return getSubscribeBlocksFromLatestMethod; } private static volatile io.grpc.MethodDescriptor getSubscribeBlockHeadersFromStartBlockIDMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SubscribeBlockHeadersFromStartBlockID", requestType = org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest.class, responseType = org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) public static io.grpc.MethodDescriptor getSubscribeBlockHeadersFromStartBlockIDMethod() { io.grpc.MethodDescriptor getSubscribeBlockHeadersFromStartBlockIDMethod; if ((getSubscribeBlockHeadersFromStartBlockIDMethod = AccessAPIGrpc.getSubscribeBlockHeadersFromStartBlockIDMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getSubscribeBlockHeadersFromStartBlockIDMethod = AccessAPIGrpc.getSubscribeBlockHeadersFromStartBlockIDMethod) == null) { AccessAPIGrpc.getSubscribeBlockHeadersFromStartBlockIDMethod = getSubscribeBlockHeadersFromStartBlockIDMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SubscribeBlockHeadersFromStartBlockID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("SubscribeBlockHeadersFromStartBlockID")) .build(); } } } return getSubscribeBlockHeadersFromStartBlockIDMethod; } private static volatile io.grpc.MethodDescriptor getSubscribeBlockHeadersFromStartHeightMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SubscribeBlockHeadersFromStartHeight", requestType = org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest.class, responseType = org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) public static io.grpc.MethodDescriptor getSubscribeBlockHeadersFromStartHeightMethod() { io.grpc.MethodDescriptor getSubscribeBlockHeadersFromStartHeightMethod; if ((getSubscribeBlockHeadersFromStartHeightMethod = AccessAPIGrpc.getSubscribeBlockHeadersFromStartHeightMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getSubscribeBlockHeadersFromStartHeightMethod = AccessAPIGrpc.getSubscribeBlockHeadersFromStartHeightMethod) == null) { AccessAPIGrpc.getSubscribeBlockHeadersFromStartHeightMethod = getSubscribeBlockHeadersFromStartHeightMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SubscribeBlockHeadersFromStartHeight")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("SubscribeBlockHeadersFromStartHeight")) .build(); } } } return getSubscribeBlockHeadersFromStartHeightMethod; } private static volatile io.grpc.MethodDescriptor getSubscribeBlockHeadersFromLatestMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SubscribeBlockHeadersFromLatest", requestType = org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest.class, responseType = org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) public static io.grpc.MethodDescriptor getSubscribeBlockHeadersFromLatestMethod() { io.grpc.MethodDescriptor getSubscribeBlockHeadersFromLatestMethod; if ((getSubscribeBlockHeadersFromLatestMethod = AccessAPIGrpc.getSubscribeBlockHeadersFromLatestMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getSubscribeBlockHeadersFromLatestMethod = AccessAPIGrpc.getSubscribeBlockHeadersFromLatestMethod) == null) { AccessAPIGrpc.getSubscribeBlockHeadersFromLatestMethod = getSubscribeBlockHeadersFromLatestMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SubscribeBlockHeadersFromLatest")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("SubscribeBlockHeadersFromLatest")) .build(); } } } return getSubscribeBlockHeadersFromLatestMethod; } private static volatile io.grpc.MethodDescriptor getSubscribeBlockDigestsFromStartBlockIDMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SubscribeBlockDigestsFromStartBlockID", requestType = org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest.class, responseType = org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) public static io.grpc.MethodDescriptor getSubscribeBlockDigestsFromStartBlockIDMethod() { io.grpc.MethodDescriptor getSubscribeBlockDigestsFromStartBlockIDMethod; if ((getSubscribeBlockDigestsFromStartBlockIDMethod = AccessAPIGrpc.getSubscribeBlockDigestsFromStartBlockIDMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getSubscribeBlockDigestsFromStartBlockIDMethod = AccessAPIGrpc.getSubscribeBlockDigestsFromStartBlockIDMethod) == null) { AccessAPIGrpc.getSubscribeBlockDigestsFromStartBlockIDMethod = getSubscribeBlockDigestsFromStartBlockIDMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SubscribeBlockDigestsFromStartBlockID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("SubscribeBlockDigestsFromStartBlockID")) .build(); } } } return getSubscribeBlockDigestsFromStartBlockIDMethod; } private static volatile io.grpc.MethodDescriptor getSubscribeBlockDigestsFromStartHeightMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SubscribeBlockDigestsFromStartHeight", requestType = org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest.class, responseType = org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) public static io.grpc.MethodDescriptor getSubscribeBlockDigestsFromStartHeightMethod() { io.grpc.MethodDescriptor getSubscribeBlockDigestsFromStartHeightMethod; if ((getSubscribeBlockDigestsFromStartHeightMethod = AccessAPIGrpc.getSubscribeBlockDigestsFromStartHeightMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getSubscribeBlockDigestsFromStartHeightMethod = AccessAPIGrpc.getSubscribeBlockDigestsFromStartHeightMethod) == null) { AccessAPIGrpc.getSubscribeBlockDigestsFromStartHeightMethod = getSubscribeBlockDigestsFromStartHeightMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SubscribeBlockDigestsFromStartHeight")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("SubscribeBlockDigestsFromStartHeight")) .build(); } } } return getSubscribeBlockDigestsFromStartHeightMethod; } private static volatile io.grpc.MethodDescriptor getSubscribeBlockDigestsFromLatestMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SubscribeBlockDigestsFromLatest", requestType = org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest.class, responseType = org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) public static io.grpc.MethodDescriptor getSubscribeBlockDigestsFromLatestMethod() { io.grpc.MethodDescriptor getSubscribeBlockDigestsFromLatestMethod; if ((getSubscribeBlockDigestsFromLatestMethod = AccessAPIGrpc.getSubscribeBlockDigestsFromLatestMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getSubscribeBlockDigestsFromLatestMethod = AccessAPIGrpc.getSubscribeBlockDigestsFromLatestMethod) == null) { AccessAPIGrpc.getSubscribeBlockDigestsFromLatestMethod = getSubscribeBlockDigestsFromLatestMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SubscribeBlockDigestsFromLatest")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("SubscribeBlockDigestsFromLatest")) .build(); } } } return getSubscribeBlockDigestsFromLatestMethod; } private static volatile io.grpc.MethodDescriptor getSendAndSubscribeTransactionStatusesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SendAndSubscribeTransactionStatuses", requestType = org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest.class, responseType = org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) public static io.grpc.MethodDescriptor getSendAndSubscribeTransactionStatusesMethod() { io.grpc.MethodDescriptor getSendAndSubscribeTransactionStatusesMethod; if ((getSendAndSubscribeTransactionStatusesMethod = AccessAPIGrpc.getSendAndSubscribeTransactionStatusesMethod) == null) { synchronized (AccessAPIGrpc.class) { if ((getSendAndSubscribeTransactionStatusesMethod = AccessAPIGrpc.getSendAndSubscribeTransactionStatusesMethod) == null) { AccessAPIGrpc.getSendAndSubscribeTransactionStatusesMethod = getSendAndSubscribeTransactionStatusesMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SendAndSubscribeTransactionStatuses")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse.getDefaultInstance())) .setSchemaDescriptor(new AccessAPIMethodDescriptorSupplier("SendAndSubscribeTransactionStatuses")) .build(); } } } return getSendAndSubscribeTransactionStatusesMethod; } /** * Creates a new async stub that supports all call types for the service */ public static AccessAPIStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public AccessAPIStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AccessAPIStub(channel, callOptions); } }; return AccessAPIStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static AccessAPIBlockingStub newBlockingStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public AccessAPIBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AccessAPIBlockingStub(channel, callOptions); } }; return AccessAPIBlockingStub.newStub(factory, channel); } /** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static AccessAPIFutureStub newFutureStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public AccessAPIFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AccessAPIFutureStub(channel, callOptions); } }; return AccessAPIFutureStub.newStub(factory, channel); } /** *
   * AccessAPI is the public-facing API provided by access nodes.
   * 
*/ public static abstract class AccessAPIImplBase implements io.grpc.BindableService { /** *
     * Ping is used to check if the access node is alive and healthy.
     * 
*/ public void ping(org.onflow.protobuf.access.Access.PingRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPingMethod(), responseObserver); } /** *
     * GetNodeVersionInfo return node version information, such as semver,
     * commit, sporkID and protocol version.
     * 
*/ public void getNodeVersionInfo(org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNodeVersionInfoMethod(), responseObserver); } /** *
     * GetLatestBlockHeader gets the latest sealed or unsealed block header.
     * 
*/ public void getLatestBlockHeader(org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetLatestBlockHeaderMethod(), responseObserver); } /** *
     * GetBlockHeaderByID gets a block header by ID.
     * 
*/ public void getBlockHeaderByID(org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBlockHeaderByIDMethod(), responseObserver); } /** *
     * GetBlockHeaderByHeight gets a block header by height.
     * 
*/ public void getBlockHeaderByHeight(org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBlockHeaderByHeightMethod(), responseObserver); } /** *
     * GetLatestBlock gets the full payload of the latest sealed or unsealed
     * block.
     * 
*/ public void getLatestBlock(org.onflow.protobuf.access.Access.GetLatestBlockRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetLatestBlockMethod(), responseObserver); } /** *
     * GetBlockByID gets a full block by ID.
     * 
*/ public void getBlockByID(org.onflow.protobuf.access.Access.GetBlockByIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBlockByIDMethod(), responseObserver); } /** *
     * GetBlockByHeight gets a full block by height.
     * 
*/ public void getBlockByHeight(org.onflow.protobuf.access.Access.GetBlockByHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBlockByHeightMethod(), responseObserver); } /** *
     * GetCollectionByID gets a collection by ID.
     * 
*/ public void getCollectionByID(org.onflow.protobuf.access.Access.GetCollectionByIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCollectionByIDMethod(), responseObserver); } /** *
     * GetFullCollectionByID gets a collection by ID.
     * 
*/ public void getFullCollectionByID(org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFullCollectionByIDMethod(), responseObserver); } /** *
     * SendTransaction submits a transaction to the network.
     * 
*/ public void sendTransaction(org.onflow.protobuf.access.Access.SendTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSendTransactionMethod(), responseObserver); } /** *
     * GetTransaction gets a transaction by ID.
     * 
*/ public void getTransaction(org.onflow.protobuf.access.Access.GetTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransactionMethod(), responseObserver); } /** *
     * GetTransactionResult gets the result of a transaction.
     * 
*/ public void getTransactionResult(org.onflow.protobuf.access.Access.GetTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransactionResultMethod(), responseObserver); } /** *
     * GetTransactionResultByIndex gets the result of a transaction at a specified
     * block and index
     * 
*/ public void getTransactionResultByIndex(org.onflow.protobuf.access.Access.GetTransactionByIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransactionResultByIndexMethod(), responseObserver); } /** *
     * GetTransactionResultsByBlockID gets all the transaction results for a
     * specified block
     * 
*/ public void getTransactionResultsByBlockID(org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransactionResultsByBlockIDMethod(), responseObserver); } /** *
     * GetTransactionsByBlockID gets all the transactions for a specified block
     * 
*/ public void getTransactionsByBlockID(org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransactionsByBlockIDMethod(), responseObserver); } /** *
     * GetSystemTransaction gets a system transaction
     * 
*/ public void getSystemTransaction(org.onflow.protobuf.access.Access.GetSystemTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSystemTransactionMethod(), responseObserver); } /** *
     * GetSystemTransactionResult gets a system transaction result for a
     * specified block
     * 
*/ public void getSystemTransactionResult(org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSystemTransactionResultMethod(), responseObserver); } /** *
     * GetAccount is an alias for GetAccountAtLatestBlock.
     * Warning: this function is deprecated. It behaves identically to
     * GetAccountAtLatestBlock and will be removed in a future version.
     * 
*/ public void getAccount(org.onflow.protobuf.access.Access.GetAccountRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountMethod(), responseObserver); } /** *
     * GetAccountAtLatestBlock gets an account by address from the latest sealed
     * execution state.
     * 
*/ public void getAccountAtLatestBlock(org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountAtLatestBlockMethod(), responseObserver); } /** *
     * GetAccountAtBlockHeight gets an account by address at the given block
     * height
     * 
*/ public void getAccountAtBlockHeight(org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountAtBlockHeightMethod(), responseObserver); } /** *
     * ExecuteScriptAtLatestBlock executes a read-only Cadence script against the
     * latest sealed execution state.
     * 
*/ public void executeScriptAtLatestBlock(org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteScriptAtLatestBlockMethod(), responseObserver); } /** *
     * ExecuteScriptAtBlockID executes a ready-only Cadence script against the
     * execution state at the block with the given ID.
     * 
*/ public void executeScriptAtBlockID(org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteScriptAtBlockIDMethod(), responseObserver); } /** *
     * ExecuteScriptAtBlockHeight executes a ready-only Cadence script against the
     * execution state at the given block height.
     * 
*/ public void executeScriptAtBlockHeight(org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteScriptAtBlockHeightMethod(), responseObserver); } /** *
     * GetEventsForHeightRange retrieves events emitted within the specified block
     * range.
     * 
*/ public void getEventsForHeightRange(org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEventsForHeightRangeMethod(), responseObserver); } /** *
     * GetEventsForBlockIDs retrieves events for the specified block IDs and event
     * type.
     * 
*/ public void getEventsForBlockIDs(org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEventsForBlockIDsMethod(), responseObserver); } /** *
     * GetNetworkParameters retrieves the Flow network details
     * 
*/ public void getNetworkParameters(org.onflow.protobuf.access.Access.GetNetworkParametersRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNetworkParametersMethod(), responseObserver); } /** *
     * GetLatestProtocolStateSnapshot retrieves the latest sealed protocol state
     * snapshot. Used by Flow nodes joining the network to bootstrap a
     * space-efficient local state.
     * 
*/ public void getLatestProtocolStateSnapshot(org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetLatestProtocolStateSnapshotMethod(), responseObserver); } /** *
     * GetProtocolStateSnapshotByBlockID retrieves the latest sealed protocol state
     * snapshot by block ID. Used by Flow nodes joining the network to bootstrap a
     * space-efficient local state.
     * 
*/ public void getProtocolStateSnapshotByBlockID(org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProtocolStateSnapshotByBlockIDMethod(), responseObserver); } /** *
     * GetProtocolStateSnapshotByHeight retrieves the latest sealed protocol state
     * snapshot by block height. Used by Flow nodes joining the network to bootstrap a
     * space-efficient local state.
     * 
*/ public void getProtocolStateSnapshotByHeight(org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProtocolStateSnapshotByHeightMethod(), responseObserver); } /** *
     * GetExecutionResultForBlockID returns Execution Result for a given block.
     * At present, Access Node might not have execution results for every block
     * and as usual, until sealed, this data can change
     * 
*/ public void getExecutionResultForBlockID(org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionResultForBlockIDMethod(), responseObserver); } /** *
     * GetExecutionResultByID returns Execution Result by its ID.
     * 
*/ public void getExecutionResultByID(org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionResultByIDMethod(), responseObserver); } /** *
     * SubscribeBlocksFromStartBlockID streams finalized or sealed blocks starting at the requested
     * start block id, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * block as it becomes available.
     * Blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed blocks will be returned.
     * 
*/ public void subscribeBlocksFromStartBlockID(org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubscribeBlocksFromStartBlockIDMethod(), responseObserver); } /** *
     * SubscribeBlocksFromStartHeight streams finalized or sealed blocks starting at the requested
     * start block height, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * block as it becomes available.
     * Blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed blocks will be returned.
     * 
*/ public void subscribeBlocksFromStartHeight(org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubscribeBlocksFromStartHeightMethod(), responseObserver); } /** *
     * SubscribeBlocksFromLatest streams finalized or sealed blocks starting from the latest finalized or sealed
     * block. The stream will remain open and responses are sent for each new block as it becomes available.
     * Blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed blocks will be returned.
     * 
*/ public void subscribeBlocksFromLatest(org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubscribeBlocksFromLatestMethod(), responseObserver); } /** *
     * SubscribeBlockHeadersFromStartBlockID streams finalized or sealed block headers starting at the requested
     * start block id, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * block header as it becomes available.
     * Block headers are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed block headers will be returned.
     * 
*/ public void subscribeBlockHeadersFromStartBlockID(org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubscribeBlockHeadersFromStartBlockIDMethod(), responseObserver); } /** *
     * SubscribeBlockHeadersFromStartHeight streams finalized or sealed block headers starting at the requested
     * start block height, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * block header as it becomes available.
     * Block headers are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed block headers will be returned.
     * 
*/ public void subscribeBlockHeadersFromStartHeight(org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubscribeBlockHeadersFromStartHeightMethod(), responseObserver); } /** *
     * SubscribeBlockHeadersFromLatest streams finalized or sealed block headers starting from the latest finalized or sealed
     * block. The stream will remain open and responses are sent for each new block header as it becomes available.
     * Block headers are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed block headers will be returned.
     * 
*/ public void subscribeBlockHeadersFromLatest(org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubscribeBlockHeadersFromLatestMethod(), responseObserver); } /** *
     * SubscribeBlockDigestsFromStartBlockID streams finalized or sealed lightweight block starting at the requested
     * start block id, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * lightweight block as it becomes available.
     * Lightweight blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed lightweight blocks will be returned.
     * 
*/ public void subscribeBlockDigestsFromStartBlockID(org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubscribeBlockDigestsFromStartBlockIDMethod(), responseObserver); } /** *
     * SubscribeBlockDigestsFromStartHeight streams finalized or sealed lightweight block starting at the requested
     * start block height, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * lightweight block as it becomes available.
     * Lightweight blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed lightweight blocks will be returned.
     * 
*/ public void subscribeBlockDigestsFromStartHeight(org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubscribeBlockDigestsFromStartHeightMethod(), responseObserver); } /** *
     * SubscribeBlockDigestsFromLatest streams finalized or sealed lightweight block headers starting of the latest finalized or sealed
     * block. The stream will remain open and responses are sent for each new lightweight block as it becomes available.
     * Lightweight blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed lightweight blocks will be returned.
     * 
*/ public void subscribeBlockDigestsFromLatest(org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubscribeBlockDigestsFromLatestMethod(), responseObserver); } /** *
     * SendAndSubscribeTransactionStatuses send a transaction and immediately subscribe to its status changes. The status
     * is streamed back until the block containing the transaction becomes sealed.
     * 
*/ public void sendAndSubscribeTransactionStatuses(org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSendAndSubscribeTransactionStatusesMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getPingMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.PingRequest, org.onflow.protobuf.access.Access.PingResponse>( this, METHODID_PING))) .addMethod( getGetNodeVersionInfoMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest, org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse>( this, METHODID_GET_NODE_VERSION_INFO))) .addMethod( getGetLatestBlockHeaderMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest, org.onflow.protobuf.access.Access.BlockHeaderResponse>( this, METHODID_GET_LATEST_BLOCK_HEADER))) .addMethod( getGetBlockHeaderByIDMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest, org.onflow.protobuf.access.Access.BlockHeaderResponse>( this, METHODID_GET_BLOCK_HEADER_BY_ID))) .addMethod( getGetBlockHeaderByHeightMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest, org.onflow.protobuf.access.Access.BlockHeaderResponse>( this, METHODID_GET_BLOCK_HEADER_BY_HEIGHT))) .addMethod( getGetLatestBlockMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetLatestBlockRequest, org.onflow.protobuf.access.Access.BlockResponse>( this, METHODID_GET_LATEST_BLOCK))) .addMethod( getGetBlockByIDMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetBlockByIDRequest, org.onflow.protobuf.access.Access.BlockResponse>( this, METHODID_GET_BLOCK_BY_ID))) .addMethod( getGetBlockByHeightMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetBlockByHeightRequest, org.onflow.protobuf.access.Access.BlockResponse>( this, METHODID_GET_BLOCK_BY_HEIGHT))) .addMethod( getGetCollectionByIDMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetCollectionByIDRequest, org.onflow.protobuf.access.Access.CollectionResponse>( this, METHODID_GET_COLLECTION_BY_ID))) .addMethod( getGetFullCollectionByIDMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest, org.onflow.protobuf.access.Access.FullCollectionResponse>( this, METHODID_GET_FULL_COLLECTION_BY_ID))) .addMethod( getSendTransactionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.SendTransactionRequest, org.onflow.protobuf.access.Access.SendTransactionResponse>( this, METHODID_SEND_TRANSACTION))) .addMethod( getGetTransactionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetTransactionRequest, org.onflow.protobuf.access.Access.TransactionResponse>( this, METHODID_GET_TRANSACTION))) .addMethod( getGetTransactionResultMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetTransactionRequest, org.onflow.protobuf.access.Access.TransactionResultResponse>( this, METHODID_GET_TRANSACTION_RESULT))) .addMethod( getGetTransactionResultByIndexMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetTransactionByIndexRequest, org.onflow.protobuf.access.Access.TransactionResultResponse>( this, METHODID_GET_TRANSACTION_RESULT_BY_INDEX))) .addMethod( getGetTransactionResultsByBlockIDMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest, org.onflow.protobuf.access.Access.TransactionResultsResponse>( this, METHODID_GET_TRANSACTION_RESULTS_BY_BLOCK_ID))) .addMethod( getGetTransactionsByBlockIDMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest, org.onflow.protobuf.access.Access.TransactionsResponse>( this, METHODID_GET_TRANSACTIONS_BY_BLOCK_ID))) .addMethod( getGetSystemTransactionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetSystemTransactionRequest, org.onflow.protobuf.access.Access.TransactionResponse>( this, METHODID_GET_SYSTEM_TRANSACTION))) .addMethod( getGetSystemTransactionResultMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest, org.onflow.protobuf.access.Access.TransactionResultResponse>( this, METHODID_GET_SYSTEM_TRANSACTION_RESULT))) .addMethod( getGetAccountMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetAccountRequest, org.onflow.protobuf.access.Access.GetAccountResponse>( this, METHODID_GET_ACCOUNT))) .addMethod( getGetAccountAtLatestBlockMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest, org.onflow.protobuf.access.Access.AccountResponse>( this, METHODID_GET_ACCOUNT_AT_LATEST_BLOCK))) .addMethod( getGetAccountAtBlockHeightMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest, org.onflow.protobuf.access.Access.AccountResponse>( this, METHODID_GET_ACCOUNT_AT_BLOCK_HEIGHT))) .addMethod( getExecuteScriptAtLatestBlockMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest, org.onflow.protobuf.access.Access.ExecuteScriptResponse>( this, METHODID_EXECUTE_SCRIPT_AT_LATEST_BLOCK))) .addMethod( getExecuteScriptAtBlockIDMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest, org.onflow.protobuf.access.Access.ExecuteScriptResponse>( this, METHODID_EXECUTE_SCRIPT_AT_BLOCK_ID))) .addMethod( getExecuteScriptAtBlockHeightMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest, org.onflow.protobuf.access.Access.ExecuteScriptResponse>( this, METHODID_EXECUTE_SCRIPT_AT_BLOCK_HEIGHT))) .addMethod( getGetEventsForHeightRangeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest, org.onflow.protobuf.access.Access.EventsResponse>( this, METHODID_GET_EVENTS_FOR_HEIGHT_RANGE))) .addMethod( getGetEventsForBlockIDsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest, org.onflow.protobuf.access.Access.EventsResponse>( this, METHODID_GET_EVENTS_FOR_BLOCK_IDS))) .addMethod( getGetNetworkParametersMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetNetworkParametersRequest, org.onflow.protobuf.access.Access.GetNetworkParametersResponse>( this, METHODID_GET_NETWORK_PARAMETERS))) .addMethod( getGetLatestProtocolStateSnapshotMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest, org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse>( this, METHODID_GET_LATEST_PROTOCOL_STATE_SNAPSHOT))) .addMethod( getGetProtocolStateSnapshotByBlockIDMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest, org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse>( this, METHODID_GET_PROTOCOL_STATE_SNAPSHOT_BY_BLOCK_ID))) .addMethod( getGetProtocolStateSnapshotByHeightMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest, org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse>( this, METHODID_GET_PROTOCOL_STATE_SNAPSHOT_BY_HEIGHT))) .addMethod( getGetExecutionResultForBlockIDMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest, org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse>( this, METHODID_GET_EXECUTION_RESULT_FOR_BLOCK_ID))) .addMethod( getGetExecutionResultByIDMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest, org.onflow.protobuf.access.Access.ExecutionResultByIDResponse>( this, METHODID_GET_EXECUTION_RESULT_BY_ID))) .addMethod( getSubscribeBlocksFromStartBlockIDMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest, org.onflow.protobuf.access.Access.SubscribeBlocksResponse>( this, METHODID_SUBSCRIBE_BLOCKS_FROM_START_BLOCK_ID))) .addMethod( getSubscribeBlocksFromStartHeightMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest, org.onflow.protobuf.access.Access.SubscribeBlocksResponse>( this, METHODID_SUBSCRIBE_BLOCKS_FROM_START_HEIGHT))) .addMethod( getSubscribeBlocksFromLatestMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest, org.onflow.protobuf.access.Access.SubscribeBlocksResponse>( this, METHODID_SUBSCRIBE_BLOCKS_FROM_LATEST))) .addMethod( getSubscribeBlockHeadersFromStartBlockIDMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest, org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse>( this, METHODID_SUBSCRIBE_BLOCK_HEADERS_FROM_START_BLOCK_ID))) .addMethod( getSubscribeBlockHeadersFromStartHeightMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest, org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse>( this, METHODID_SUBSCRIBE_BLOCK_HEADERS_FROM_START_HEIGHT))) .addMethod( getSubscribeBlockHeadersFromLatestMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest, org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse>( this, METHODID_SUBSCRIBE_BLOCK_HEADERS_FROM_LATEST))) .addMethod( getSubscribeBlockDigestsFromStartBlockIDMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest, org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse>( this, METHODID_SUBSCRIBE_BLOCK_DIGESTS_FROM_START_BLOCK_ID))) .addMethod( getSubscribeBlockDigestsFromStartHeightMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest, org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse>( this, METHODID_SUBSCRIBE_BLOCK_DIGESTS_FROM_START_HEIGHT))) .addMethod( getSubscribeBlockDigestsFromLatestMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest, org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse>( this, METHODID_SUBSCRIBE_BLOCK_DIGESTS_FROM_LATEST))) .addMethod( getSendAndSubscribeTransactionStatusesMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest, org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse>( this, METHODID_SEND_AND_SUBSCRIBE_TRANSACTION_STATUSES))) .build(); } } /** *
   * AccessAPI is the public-facing API provided by access nodes.
   * 
*/ public static final class AccessAPIStub extends io.grpc.stub.AbstractAsyncStub { private AccessAPIStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected AccessAPIStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AccessAPIStub(channel, callOptions); } /** *
     * Ping is used to check if the access node is alive and healthy.
     * 
*/ public void ping(org.onflow.protobuf.access.Access.PingRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPingMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetNodeVersionInfo return node version information, such as semver,
     * commit, sporkID and protocol version.
     * 
*/ public void getNodeVersionInfo(org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetNodeVersionInfoMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetLatestBlockHeader gets the latest sealed or unsealed block header.
     * 
*/ public void getLatestBlockHeader(org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetLatestBlockHeaderMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetBlockHeaderByID gets a block header by ID.
     * 
*/ public void getBlockHeaderByID(org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetBlockHeaderByIDMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetBlockHeaderByHeight gets a block header by height.
     * 
*/ public void getBlockHeaderByHeight(org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetBlockHeaderByHeightMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetLatestBlock gets the full payload of the latest sealed or unsealed
     * block.
     * 
*/ public void getLatestBlock(org.onflow.protobuf.access.Access.GetLatestBlockRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetLatestBlockMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetBlockByID gets a full block by ID.
     * 
*/ public void getBlockByID(org.onflow.protobuf.access.Access.GetBlockByIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetBlockByIDMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetBlockByHeight gets a full block by height.
     * 
*/ public void getBlockByHeight(org.onflow.protobuf.access.Access.GetBlockByHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetBlockByHeightMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetCollectionByID gets a collection by ID.
     * 
*/ public void getCollectionByID(org.onflow.protobuf.access.Access.GetCollectionByIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetCollectionByIDMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetFullCollectionByID gets a collection by ID.
     * 
*/ public void getFullCollectionByID(org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetFullCollectionByIDMethod(), getCallOptions()), request, responseObserver); } /** *
     * SendTransaction submits a transaction to the network.
     * 
*/ public void sendTransaction(org.onflow.protobuf.access.Access.SendTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSendTransactionMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetTransaction gets a transaction by ID.
     * 
*/ public void getTransaction(org.onflow.protobuf.access.Access.GetTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTransactionMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetTransactionResult gets the result of a transaction.
     * 
*/ public void getTransactionResult(org.onflow.protobuf.access.Access.GetTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTransactionResultMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetTransactionResultByIndex gets the result of a transaction at a specified
     * block and index
     * 
*/ public void getTransactionResultByIndex(org.onflow.protobuf.access.Access.GetTransactionByIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTransactionResultByIndexMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetTransactionResultsByBlockID gets all the transaction results for a
     * specified block
     * 
*/ public void getTransactionResultsByBlockID(org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTransactionResultsByBlockIDMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetTransactionsByBlockID gets all the transactions for a specified block
     * 
*/ public void getTransactionsByBlockID(org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTransactionsByBlockIDMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetSystemTransaction gets a system transaction
     * 
*/ public void getSystemTransaction(org.onflow.protobuf.access.Access.GetSystemTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetSystemTransactionMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetSystemTransactionResult gets a system transaction result for a
     * specified block
     * 
*/ public void getSystemTransactionResult(org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetSystemTransactionResultMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetAccount is an alias for GetAccountAtLatestBlock.
     * Warning: this function is deprecated. It behaves identically to
     * GetAccountAtLatestBlock and will be removed in a future version.
     * 
*/ public void getAccount(org.onflow.protobuf.access.Access.GetAccountRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetAccountMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetAccountAtLatestBlock gets an account by address from the latest sealed
     * execution state.
     * 
*/ public void getAccountAtLatestBlock(org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetAccountAtLatestBlockMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetAccountAtBlockHeight gets an account by address at the given block
     * height
     * 
*/ public void getAccountAtBlockHeight(org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetAccountAtBlockHeightMethod(), getCallOptions()), request, responseObserver); } /** *
     * ExecuteScriptAtLatestBlock executes a read-only Cadence script against the
     * latest sealed execution state.
     * 
*/ public void executeScriptAtLatestBlock(org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getExecuteScriptAtLatestBlockMethod(), getCallOptions()), request, responseObserver); } /** *
     * ExecuteScriptAtBlockID executes a ready-only Cadence script against the
     * execution state at the block with the given ID.
     * 
*/ public void executeScriptAtBlockID(org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getExecuteScriptAtBlockIDMethod(), getCallOptions()), request, responseObserver); } /** *
     * ExecuteScriptAtBlockHeight executes a ready-only Cadence script against the
     * execution state at the given block height.
     * 
*/ public void executeScriptAtBlockHeight(org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getExecuteScriptAtBlockHeightMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetEventsForHeightRange retrieves events emitted within the specified block
     * range.
     * 
*/ public void getEventsForHeightRange(org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetEventsForHeightRangeMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetEventsForBlockIDs retrieves events for the specified block IDs and event
     * type.
     * 
*/ public void getEventsForBlockIDs(org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetEventsForBlockIDsMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetNetworkParameters retrieves the Flow network details
     * 
*/ public void getNetworkParameters(org.onflow.protobuf.access.Access.GetNetworkParametersRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetNetworkParametersMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetLatestProtocolStateSnapshot retrieves the latest sealed protocol state
     * snapshot. Used by Flow nodes joining the network to bootstrap a
     * space-efficient local state.
     * 
*/ public void getLatestProtocolStateSnapshot(org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetLatestProtocolStateSnapshotMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetProtocolStateSnapshotByBlockID retrieves the latest sealed protocol state
     * snapshot by block ID. Used by Flow nodes joining the network to bootstrap a
     * space-efficient local state.
     * 
*/ public void getProtocolStateSnapshotByBlockID(org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetProtocolStateSnapshotByBlockIDMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetProtocolStateSnapshotByHeight retrieves the latest sealed protocol state
     * snapshot by block height. Used by Flow nodes joining the network to bootstrap a
     * space-efficient local state.
     * 
*/ public void getProtocolStateSnapshotByHeight(org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetProtocolStateSnapshotByHeightMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetExecutionResultForBlockID returns Execution Result for a given block.
     * At present, Access Node might not have execution results for every block
     * and as usual, until sealed, this data can change
     * 
*/ public void getExecutionResultForBlockID(org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetExecutionResultForBlockIDMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetExecutionResultByID returns Execution Result by its ID.
     * 
*/ public void getExecutionResultByID(org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetExecutionResultByIDMethod(), getCallOptions()), request, responseObserver); } /** *
     * SubscribeBlocksFromStartBlockID streams finalized or sealed blocks starting at the requested
     * start block id, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * block as it becomes available.
     * Blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed blocks will be returned.
     * 
*/ public void subscribeBlocksFromStartBlockID(org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getSubscribeBlocksFromStartBlockIDMethod(), getCallOptions()), request, responseObserver); } /** *
     * SubscribeBlocksFromStartHeight streams finalized or sealed blocks starting at the requested
     * start block height, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * block as it becomes available.
     * Blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed blocks will be returned.
     * 
*/ public void subscribeBlocksFromStartHeight(org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getSubscribeBlocksFromStartHeightMethod(), getCallOptions()), request, responseObserver); } /** *
     * SubscribeBlocksFromLatest streams finalized or sealed blocks starting from the latest finalized or sealed
     * block. The stream will remain open and responses are sent for each new block as it becomes available.
     * Blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed blocks will be returned.
     * 
*/ public void subscribeBlocksFromLatest(org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getSubscribeBlocksFromLatestMethod(), getCallOptions()), request, responseObserver); } /** *
     * SubscribeBlockHeadersFromStartBlockID streams finalized or sealed block headers starting at the requested
     * start block id, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * block header as it becomes available.
     * Block headers are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed block headers will be returned.
     * 
*/ public void subscribeBlockHeadersFromStartBlockID(org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getSubscribeBlockHeadersFromStartBlockIDMethod(), getCallOptions()), request, responseObserver); } /** *
     * SubscribeBlockHeadersFromStartHeight streams finalized or sealed block headers starting at the requested
     * start block height, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * block header as it becomes available.
     * Block headers are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed block headers will be returned.
     * 
*/ public void subscribeBlockHeadersFromStartHeight(org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getSubscribeBlockHeadersFromStartHeightMethod(), getCallOptions()), request, responseObserver); } /** *
     * SubscribeBlockHeadersFromLatest streams finalized or sealed block headers starting from the latest finalized or sealed
     * block. The stream will remain open and responses are sent for each new block header as it becomes available.
     * Block headers are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed block headers will be returned.
     * 
*/ public void subscribeBlockHeadersFromLatest(org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getSubscribeBlockHeadersFromLatestMethod(), getCallOptions()), request, responseObserver); } /** *
     * SubscribeBlockDigestsFromStartBlockID streams finalized or sealed lightweight block starting at the requested
     * start block id, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * lightweight block as it becomes available.
     * Lightweight blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed lightweight blocks will be returned.
     * 
*/ public void subscribeBlockDigestsFromStartBlockID(org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getSubscribeBlockDigestsFromStartBlockIDMethod(), getCallOptions()), request, responseObserver); } /** *
     * SubscribeBlockDigestsFromStartHeight streams finalized or sealed lightweight block starting at the requested
     * start block height, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * lightweight block as it becomes available.
     * Lightweight blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed lightweight blocks will be returned.
     * 
*/ public void subscribeBlockDigestsFromStartHeight(org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getSubscribeBlockDigestsFromStartHeightMethod(), getCallOptions()), request, responseObserver); } /** *
     * SubscribeBlockDigestsFromLatest streams finalized or sealed lightweight block headers starting of the latest finalized or sealed
     * block. The stream will remain open and responses are sent for each new lightweight block as it becomes available.
     * Lightweight blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed lightweight blocks will be returned.
     * 
*/ public void subscribeBlockDigestsFromLatest(org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getSubscribeBlockDigestsFromLatestMethod(), getCallOptions()), request, responseObserver); } /** *
     * SendAndSubscribeTransactionStatuses send a transaction and immediately subscribe to its status changes. The status
     * is streamed back until the block containing the transaction becomes sealed.
     * 
*/ public void sendAndSubscribeTransactionStatuses(org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getSendAndSubscribeTransactionStatusesMethod(), getCallOptions()), request, responseObserver); } } /** *
   * AccessAPI is the public-facing API provided by access nodes.
   * 
*/ public static final class AccessAPIBlockingStub extends io.grpc.stub.AbstractBlockingStub { private AccessAPIBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected AccessAPIBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AccessAPIBlockingStub(channel, callOptions); } /** *
     * Ping is used to check if the access node is alive and healthy.
     * 
*/ public org.onflow.protobuf.access.Access.PingResponse ping(org.onflow.protobuf.access.Access.PingRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPingMethod(), getCallOptions(), request); } /** *
     * GetNodeVersionInfo return node version information, such as semver,
     * commit, sporkID and protocol version.
     * 
*/ public org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse getNodeVersionInfo(org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetNodeVersionInfoMethod(), getCallOptions(), request); } /** *
     * GetLatestBlockHeader gets the latest sealed or unsealed block header.
     * 
*/ public org.onflow.protobuf.access.Access.BlockHeaderResponse getLatestBlockHeader(org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetLatestBlockHeaderMethod(), getCallOptions(), request); } /** *
     * GetBlockHeaderByID gets a block header by ID.
     * 
*/ public org.onflow.protobuf.access.Access.BlockHeaderResponse getBlockHeaderByID(org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetBlockHeaderByIDMethod(), getCallOptions(), request); } /** *
     * GetBlockHeaderByHeight gets a block header by height.
     * 
*/ public org.onflow.protobuf.access.Access.BlockHeaderResponse getBlockHeaderByHeight(org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetBlockHeaderByHeightMethod(), getCallOptions(), request); } /** *
     * GetLatestBlock gets the full payload of the latest sealed or unsealed
     * block.
     * 
*/ public org.onflow.protobuf.access.Access.BlockResponse getLatestBlock(org.onflow.protobuf.access.Access.GetLatestBlockRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetLatestBlockMethod(), getCallOptions(), request); } /** *
     * GetBlockByID gets a full block by ID.
     * 
*/ public org.onflow.protobuf.access.Access.BlockResponse getBlockByID(org.onflow.protobuf.access.Access.GetBlockByIDRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetBlockByIDMethod(), getCallOptions(), request); } /** *
     * GetBlockByHeight gets a full block by height.
     * 
*/ public org.onflow.protobuf.access.Access.BlockResponse getBlockByHeight(org.onflow.protobuf.access.Access.GetBlockByHeightRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetBlockByHeightMethod(), getCallOptions(), request); } /** *
     * GetCollectionByID gets a collection by ID.
     * 
*/ public org.onflow.protobuf.access.Access.CollectionResponse getCollectionByID(org.onflow.protobuf.access.Access.GetCollectionByIDRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetCollectionByIDMethod(), getCallOptions(), request); } /** *
     * GetFullCollectionByID gets a collection by ID.
     * 
*/ public org.onflow.protobuf.access.Access.FullCollectionResponse getFullCollectionByID(org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetFullCollectionByIDMethod(), getCallOptions(), request); } /** *
     * SendTransaction submits a transaction to the network.
     * 
*/ public org.onflow.protobuf.access.Access.SendTransactionResponse sendTransaction(org.onflow.protobuf.access.Access.SendTransactionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSendTransactionMethod(), getCallOptions(), request); } /** *
     * GetTransaction gets a transaction by ID.
     * 
*/ public org.onflow.protobuf.access.Access.TransactionResponse getTransaction(org.onflow.protobuf.access.Access.GetTransactionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTransactionMethod(), getCallOptions(), request); } /** *
     * GetTransactionResult gets the result of a transaction.
     * 
*/ public org.onflow.protobuf.access.Access.TransactionResultResponse getTransactionResult(org.onflow.protobuf.access.Access.GetTransactionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTransactionResultMethod(), getCallOptions(), request); } /** *
     * GetTransactionResultByIndex gets the result of a transaction at a specified
     * block and index
     * 
*/ public org.onflow.protobuf.access.Access.TransactionResultResponse getTransactionResultByIndex(org.onflow.protobuf.access.Access.GetTransactionByIndexRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTransactionResultByIndexMethod(), getCallOptions(), request); } /** *
     * GetTransactionResultsByBlockID gets all the transaction results for a
     * specified block
     * 
*/ public org.onflow.protobuf.access.Access.TransactionResultsResponse getTransactionResultsByBlockID(org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTransactionResultsByBlockIDMethod(), getCallOptions(), request); } /** *
     * GetTransactionsByBlockID gets all the transactions for a specified block
     * 
*/ public org.onflow.protobuf.access.Access.TransactionsResponse getTransactionsByBlockID(org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTransactionsByBlockIDMethod(), getCallOptions(), request); } /** *
     * GetSystemTransaction gets a system transaction
     * 
*/ public org.onflow.protobuf.access.Access.TransactionResponse getSystemTransaction(org.onflow.protobuf.access.Access.GetSystemTransactionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetSystemTransactionMethod(), getCallOptions(), request); } /** *
     * GetSystemTransactionResult gets a system transaction result for a
     * specified block
     * 
*/ public org.onflow.protobuf.access.Access.TransactionResultResponse getSystemTransactionResult(org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetSystemTransactionResultMethod(), getCallOptions(), request); } /** *
     * GetAccount is an alias for GetAccountAtLatestBlock.
     * Warning: this function is deprecated. It behaves identically to
     * GetAccountAtLatestBlock and will be removed in a future version.
     * 
*/ public org.onflow.protobuf.access.Access.GetAccountResponse getAccount(org.onflow.protobuf.access.Access.GetAccountRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetAccountMethod(), getCallOptions(), request); } /** *
     * GetAccountAtLatestBlock gets an account by address from the latest sealed
     * execution state.
     * 
*/ public org.onflow.protobuf.access.Access.AccountResponse getAccountAtLatestBlock(org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetAccountAtLatestBlockMethod(), getCallOptions(), request); } /** *
     * GetAccountAtBlockHeight gets an account by address at the given block
     * height
     * 
*/ public org.onflow.protobuf.access.Access.AccountResponse getAccountAtBlockHeight(org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetAccountAtBlockHeightMethod(), getCallOptions(), request); } /** *
     * ExecuteScriptAtLatestBlock executes a read-only Cadence script against the
     * latest sealed execution state.
     * 
*/ public org.onflow.protobuf.access.Access.ExecuteScriptResponse executeScriptAtLatestBlock(org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExecuteScriptAtLatestBlockMethod(), getCallOptions(), request); } /** *
     * ExecuteScriptAtBlockID executes a ready-only Cadence script against the
     * execution state at the block with the given ID.
     * 
*/ public org.onflow.protobuf.access.Access.ExecuteScriptResponse executeScriptAtBlockID(org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExecuteScriptAtBlockIDMethod(), getCallOptions(), request); } /** *
     * ExecuteScriptAtBlockHeight executes a ready-only Cadence script against the
     * execution state at the given block height.
     * 
*/ public org.onflow.protobuf.access.Access.ExecuteScriptResponse executeScriptAtBlockHeight(org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExecuteScriptAtBlockHeightMethod(), getCallOptions(), request); } /** *
     * GetEventsForHeightRange retrieves events emitted within the specified block
     * range.
     * 
*/ public org.onflow.protobuf.access.Access.EventsResponse getEventsForHeightRange(org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetEventsForHeightRangeMethod(), getCallOptions(), request); } /** *
     * GetEventsForBlockIDs retrieves events for the specified block IDs and event
     * type.
     * 
*/ public org.onflow.protobuf.access.Access.EventsResponse getEventsForBlockIDs(org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetEventsForBlockIDsMethod(), getCallOptions(), request); } /** *
     * GetNetworkParameters retrieves the Flow network details
     * 
*/ public org.onflow.protobuf.access.Access.GetNetworkParametersResponse getNetworkParameters(org.onflow.protobuf.access.Access.GetNetworkParametersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetNetworkParametersMethod(), getCallOptions(), request); } /** *
     * GetLatestProtocolStateSnapshot retrieves the latest sealed protocol state
     * snapshot. Used by Flow nodes joining the network to bootstrap a
     * space-efficient local state.
     * 
*/ public org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse getLatestProtocolStateSnapshot(org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetLatestProtocolStateSnapshotMethod(), getCallOptions(), request); } /** *
     * GetProtocolStateSnapshotByBlockID retrieves the latest sealed protocol state
     * snapshot by block ID. Used by Flow nodes joining the network to bootstrap a
     * space-efficient local state.
     * 
*/ public org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse getProtocolStateSnapshotByBlockID(org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetProtocolStateSnapshotByBlockIDMethod(), getCallOptions(), request); } /** *
     * GetProtocolStateSnapshotByHeight retrieves the latest sealed protocol state
     * snapshot by block height. Used by Flow nodes joining the network to bootstrap a
     * space-efficient local state.
     * 
*/ public org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse getProtocolStateSnapshotByHeight(org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetProtocolStateSnapshotByHeightMethod(), getCallOptions(), request); } /** *
     * GetExecutionResultForBlockID returns Execution Result for a given block.
     * At present, Access Node might not have execution results for every block
     * and as usual, until sealed, this data can change
     * 
*/ public org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse getExecutionResultForBlockID(org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetExecutionResultForBlockIDMethod(), getCallOptions(), request); } /** *
     * GetExecutionResultByID returns Execution Result by its ID.
     * 
*/ public org.onflow.protobuf.access.Access.ExecutionResultByIDResponse getExecutionResultByID(org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetExecutionResultByIDMethod(), getCallOptions(), request); } /** *
     * SubscribeBlocksFromStartBlockID streams finalized or sealed blocks starting at the requested
     * start block id, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * block as it becomes available.
     * Blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed blocks will be returned.
     * 
*/ public java.util.Iterator subscribeBlocksFromStartBlockID( org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getSubscribeBlocksFromStartBlockIDMethod(), getCallOptions(), request); } /** *
     * SubscribeBlocksFromStartHeight streams finalized or sealed blocks starting at the requested
     * start block height, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * block as it becomes available.
     * Blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed blocks will be returned.
     * 
*/ public java.util.Iterator subscribeBlocksFromStartHeight( org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getSubscribeBlocksFromStartHeightMethod(), getCallOptions(), request); } /** *
     * SubscribeBlocksFromLatest streams finalized or sealed blocks starting from the latest finalized or sealed
     * block. The stream will remain open and responses are sent for each new block as it becomes available.
     * Blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed blocks will be returned.
     * 
*/ public java.util.Iterator subscribeBlocksFromLatest( org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getSubscribeBlocksFromLatestMethod(), getCallOptions(), request); } /** *
     * SubscribeBlockHeadersFromStartBlockID streams finalized or sealed block headers starting at the requested
     * start block id, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * block header as it becomes available.
     * Block headers are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed block headers will be returned.
     * 
*/ public java.util.Iterator subscribeBlockHeadersFromStartBlockID( org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getSubscribeBlockHeadersFromStartBlockIDMethod(), getCallOptions(), request); } /** *
     * SubscribeBlockHeadersFromStartHeight streams finalized or sealed block headers starting at the requested
     * start block height, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * block header as it becomes available.
     * Block headers are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed block headers will be returned.
     * 
*/ public java.util.Iterator subscribeBlockHeadersFromStartHeight( org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getSubscribeBlockHeadersFromStartHeightMethod(), getCallOptions(), request); } /** *
     * SubscribeBlockHeadersFromLatest streams finalized or sealed block headers starting from the latest finalized or sealed
     * block. The stream will remain open and responses are sent for each new block header as it becomes available.
     * Block headers are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed block headers will be returned.
     * 
*/ public java.util.Iterator subscribeBlockHeadersFromLatest( org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getSubscribeBlockHeadersFromLatestMethod(), getCallOptions(), request); } /** *
     * SubscribeBlockDigestsFromStartBlockID streams finalized or sealed lightweight block starting at the requested
     * start block id, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * lightweight block as it becomes available.
     * Lightweight blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed lightweight blocks will be returned.
     * 
*/ public java.util.Iterator subscribeBlockDigestsFromStartBlockID( org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getSubscribeBlockDigestsFromStartBlockIDMethod(), getCallOptions(), request); } /** *
     * SubscribeBlockDigestsFromStartHeight streams finalized or sealed lightweight block starting at the requested
     * start block height, up until the latest available block. Once the latest is
     * reached, the stream will remain open and responses are sent for each new
     * lightweight block as it becomes available.
     * Lightweight blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed lightweight blocks will be returned.
     * 
*/ public java.util.Iterator subscribeBlockDigestsFromStartHeight( org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getSubscribeBlockDigestsFromStartHeightMethod(), getCallOptions(), request); } /** *
     * SubscribeBlockDigestsFromLatest streams finalized or sealed lightweight block headers starting of the latest finalized or sealed
     * block. The stream will remain open and responses are sent for each new lightweight block as it becomes available.
     * Lightweight blocks are only returned when they have reached the provided block status. For example,
     * if the status is "sealed", only sealed lightweight blocks will be returned.
     * 
*/ public java.util.Iterator subscribeBlockDigestsFromLatest( org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getSubscribeBlockDigestsFromLatestMethod(), getCallOptions(), request); } /** *
     * SendAndSubscribeTransactionStatuses send a transaction and immediately subscribe to its status changes. The status
     * is streamed back until the block containing the transaction becomes sealed.
     * 
*/ public java.util.Iterator sendAndSubscribeTransactionStatuses( org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getSendAndSubscribeTransactionStatusesMethod(), getCallOptions(), request); } } /** *
   * AccessAPI is the public-facing API provided by access nodes.
   * 
*/ public static final class AccessAPIFutureStub extends io.grpc.stub.AbstractFutureStub { private AccessAPIFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected AccessAPIFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AccessAPIFutureStub(channel, callOptions); } /** *
     * Ping is used to check if the access node is alive and healthy.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture ping( org.onflow.protobuf.access.Access.PingRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPingMethod(), getCallOptions()), request); } /** *
     * GetNodeVersionInfo return node version information, such as semver,
     * commit, sporkID and protocol version.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getNodeVersionInfo( org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetNodeVersionInfoMethod(), getCallOptions()), request); } /** *
     * GetLatestBlockHeader gets the latest sealed or unsealed block header.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getLatestBlockHeader( org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetLatestBlockHeaderMethod(), getCallOptions()), request); } /** *
     * GetBlockHeaderByID gets a block header by ID.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getBlockHeaderByID( org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetBlockHeaderByIDMethod(), getCallOptions()), request); } /** *
     * GetBlockHeaderByHeight gets a block header by height.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getBlockHeaderByHeight( org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetBlockHeaderByHeightMethod(), getCallOptions()), request); } /** *
     * GetLatestBlock gets the full payload of the latest sealed or unsealed
     * block.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getLatestBlock( org.onflow.protobuf.access.Access.GetLatestBlockRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetLatestBlockMethod(), getCallOptions()), request); } /** *
     * GetBlockByID gets a full block by ID.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getBlockByID( org.onflow.protobuf.access.Access.GetBlockByIDRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetBlockByIDMethod(), getCallOptions()), request); } /** *
     * GetBlockByHeight gets a full block by height.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getBlockByHeight( org.onflow.protobuf.access.Access.GetBlockByHeightRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetBlockByHeightMethod(), getCallOptions()), request); } /** *
     * GetCollectionByID gets a collection by ID.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getCollectionByID( org.onflow.protobuf.access.Access.GetCollectionByIDRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetCollectionByIDMethod(), getCallOptions()), request); } /** *
     * GetFullCollectionByID gets a collection by ID.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getFullCollectionByID( org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetFullCollectionByIDMethod(), getCallOptions()), request); } /** *
     * SendTransaction submits a transaction to the network.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture sendTransaction( org.onflow.protobuf.access.Access.SendTransactionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSendTransactionMethod(), getCallOptions()), request); } /** *
     * GetTransaction gets a transaction by ID.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getTransaction( org.onflow.protobuf.access.Access.GetTransactionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTransactionMethod(), getCallOptions()), request); } /** *
     * GetTransactionResult gets the result of a transaction.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getTransactionResult( org.onflow.protobuf.access.Access.GetTransactionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTransactionResultMethod(), getCallOptions()), request); } /** *
     * GetTransactionResultByIndex gets the result of a transaction at a specified
     * block and index
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getTransactionResultByIndex( org.onflow.protobuf.access.Access.GetTransactionByIndexRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTransactionResultByIndexMethod(), getCallOptions()), request); } /** *
     * GetTransactionResultsByBlockID gets all the transaction results for a
     * specified block
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getTransactionResultsByBlockID( org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTransactionResultsByBlockIDMethod(), getCallOptions()), request); } /** *
     * GetTransactionsByBlockID gets all the transactions for a specified block
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getTransactionsByBlockID( org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTransactionsByBlockIDMethod(), getCallOptions()), request); } /** *
     * GetSystemTransaction gets a system transaction
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getSystemTransaction( org.onflow.protobuf.access.Access.GetSystemTransactionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetSystemTransactionMethod(), getCallOptions()), request); } /** *
     * GetSystemTransactionResult gets a system transaction result for a
     * specified block
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getSystemTransactionResult( org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetSystemTransactionResultMethod(), getCallOptions()), request); } /** *
     * GetAccount is an alias for GetAccountAtLatestBlock.
     * Warning: this function is deprecated. It behaves identically to
     * GetAccountAtLatestBlock and will be removed in a future version.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getAccount( org.onflow.protobuf.access.Access.GetAccountRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetAccountMethod(), getCallOptions()), request); } /** *
     * GetAccountAtLatestBlock gets an account by address from the latest sealed
     * execution state.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getAccountAtLatestBlock( org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetAccountAtLatestBlockMethod(), getCallOptions()), request); } /** *
     * GetAccountAtBlockHeight gets an account by address at the given block
     * height
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getAccountAtBlockHeight( org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetAccountAtBlockHeightMethod(), getCallOptions()), request); } /** *
     * ExecuteScriptAtLatestBlock executes a read-only Cadence script against the
     * latest sealed execution state.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture executeScriptAtLatestBlock( org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExecuteScriptAtLatestBlockMethod(), getCallOptions()), request); } /** *
     * ExecuteScriptAtBlockID executes a ready-only Cadence script against the
     * execution state at the block with the given ID.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture executeScriptAtBlockID( org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExecuteScriptAtBlockIDMethod(), getCallOptions()), request); } /** *
     * ExecuteScriptAtBlockHeight executes a ready-only Cadence script against the
     * execution state at the given block height.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture executeScriptAtBlockHeight( org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExecuteScriptAtBlockHeightMethod(), getCallOptions()), request); } /** *
     * GetEventsForHeightRange retrieves events emitted within the specified block
     * range.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getEventsForHeightRange( org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetEventsForHeightRangeMethod(), getCallOptions()), request); } /** *
     * GetEventsForBlockIDs retrieves events for the specified block IDs and event
     * type.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getEventsForBlockIDs( org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetEventsForBlockIDsMethod(), getCallOptions()), request); } /** *
     * GetNetworkParameters retrieves the Flow network details
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getNetworkParameters( org.onflow.protobuf.access.Access.GetNetworkParametersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetNetworkParametersMethod(), getCallOptions()), request); } /** *
     * GetLatestProtocolStateSnapshot retrieves the latest sealed protocol state
     * snapshot. Used by Flow nodes joining the network to bootstrap a
     * space-efficient local state.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getLatestProtocolStateSnapshot( org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetLatestProtocolStateSnapshotMethod(), getCallOptions()), request); } /** *
     * GetProtocolStateSnapshotByBlockID retrieves the latest sealed protocol state
     * snapshot by block ID. Used by Flow nodes joining the network to bootstrap a
     * space-efficient local state.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getProtocolStateSnapshotByBlockID( org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetProtocolStateSnapshotByBlockIDMethod(), getCallOptions()), request); } /** *
     * GetProtocolStateSnapshotByHeight retrieves the latest sealed protocol state
     * snapshot by block height. Used by Flow nodes joining the network to bootstrap a
     * space-efficient local state.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getProtocolStateSnapshotByHeight( org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetProtocolStateSnapshotByHeightMethod(), getCallOptions()), request); } /** *
     * GetExecutionResultForBlockID returns Execution Result for a given block.
     * At present, Access Node might not have execution results for every block
     * and as usual, until sealed, this data can change
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getExecutionResultForBlockID( org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetExecutionResultForBlockIDMethod(), getCallOptions()), request); } /** *
     * GetExecutionResultByID returns Execution Result by its ID.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getExecutionResultByID( org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetExecutionResultByIDMethod(), getCallOptions()), request); } } private static final int METHODID_PING = 0; private static final int METHODID_GET_NODE_VERSION_INFO = 1; private static final int METHODID_GET_LATEST_BLOCK_HEADER = 2; private static final int METHODID_GET_BLOCK_HEADER_BY_ID = 3; private static final int METHODID_GET_BLOCK_HEADER_BY_HEIGHT = 4; private static final int METHODID_GET_LATEST_BLOCK = 5; private static final int METHODID_GET_BLOCK_BY_ID = 6; private static final int METHODID_GET_BLOCK_BY_HEIGHT = 7; private static final int METHODID_GET_COLLECTION_BY_ID = 8; private static final int METHODID_GET_FULL_COLLECTION_BY_ID = 9; private static final int METHODID_SEND_TRANSACTION = 10; private static final int METHODID_GET_TRANSACTION = 11; private static final int METHODID_GET_TRANSACTION_RESULT = 12; private static final int METHODID_GET_TRANSACTION_RESULT_BY_INDEX = 13; private static final int METHODID_GET_TRANSACTION_RESULTS_BY_BLOCK_ID = 14; private static final int METHODID_GET_TRANSACTIONS_BY_BLOCK_ID = 15; private static final int METHODID_GET_SYSTEM_TRANSACTION = 16; private static final int METHODID_GET_SYSTEM_TRANSACTION_RESULT = 17; private static final int METHODID_GET_ACCOUNT = 18; private static final int METHODID_GET_ACCOUNT_AT_LATEST_BLOCK = 19; private static final int METHODID_GET_ACCOUNT_AT_BLOCK_HEIGHT = 20; private static final int METHODID_EXECUTE_SCRIPT_AT_LATEST_BLOCK = 21; private static final int METHODID_EXECUTE_SCRIPT_AT_BLOCK_ID = 22; private static final int METHODID_EXECUTE_SCRIPT_AT_BLOCK_HEIGHT = 23; private static final int METHODID_GET_EVENTS_FOR_HEIGHT_RANGE = 24; private static final int METHODID_GET_EVENTS_FOR_BLOCK_IDS = 25; private static final int METHODID_GET_NETWORK_PARAMETERS = 26; private static final int METHODID_GET_LATEST_PROTOCOL_STATE_SNAPSHOT = 27; private static final int METHODID_GET_PROTOCOL_STATE_SNAPSHOT_BY_BLOCK_ID = 28; private static final int METHODID_GET_PROTOCOL_STATE_SNAPSHOT_BY_HEIGHT = 29; private static final int METHODID_GET_EXECUTION_RESULT_FOR_BLOCK_ID = 30; private static final int METHODID_GET_EXECUTION_RESULT_BY_ID = 31; private static final int METHODID_SUBSCRIBE_BLOCKS_FROM_START_BLOCK_ID = 32; private static final int METHODID_SUBSCRIBE_BLOCKS_FROM_START_HEIGHT = 33; private static final int METHODID_SUBSCRIBE_BLOCKS_FROM_LATEST = 34; private static final int METHODID_SUBSCRIBE_BLOCK_HEADERS_FROM_START_BLOCK_ID = 35; private static final int METHODID_SUBSCRIBE_BLOCK_HEADERS_FROM_START_HEIGHT = 36; private static final int METHODID_SUBSCRIBE_BLOCK_HEADERS_FROM_LATEST = 37; private static final int METHODID_SUBSCRIBE_BLOCK_DIGESTS_FROM_START_BLOCK_ID = 38; private static final int METHODID_SUBSCRIBE_BLOCK_DIGESTS_FROM_START_HEIGHT = 39; private static final int METHODID_SUBSCRIBE_BLOCK_DIGESTS_FROM_LATEST = 40; private static final int METHODID_SEND_AND_SUBSCRIBE_TRANSACTION_STATUSES = 41; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, io.grpc.stub.ServerCalls.ServerStreamingMethod, io.grpc.stub.ServerCalls.ClientStreamingMethod, io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AccessAPIImplBase serviceImpl; private final int methodId; MethodHandlers(AccessAPIImplBase serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_PING: serviceImpl.ping((org.onflow.protobuf.access.Access.PingRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_NODE_VERSION_INFO: serviceImpl.getNodeVersionInfo((org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_LATEST_BLOCK_HEADER: serviceImpl.getLatestBlockHeader((org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_BLOCK_HEADER_BY_ID: serviceImpl.getBlockHeaderByID((org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_BLOCK_HEADER_BY_HEIGHT: serviceImpl.getBlockHeaderByHeight((org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_LATEST_BLOCK: serviceImpl.getLatestBlock((org.onflow.protobuf.access.Access.GetLatestBlockRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_BLOCK_BY_ID: serviceImpl.getBlockByID((org.onflow.protobuf.access.Access.GetBlockByIDRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_BLOCK_BY_HEIGHT: serviceImpl.getBlockByHeight((org.onflow.protobuf.access.Access.GetBlockByHeightRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_COLLECTION_BY_ID: serviceImpl.getCollectionByID((org.onflow.protobuf.access.Access.GetCollectionByIDRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_FULL_COLLECTION_BY_ID: serviceImpl.getFullCollectionByID((org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SEND_TRANSACTION: serviceImpl.sendTransaction((org.onflow.protobuf.access.Access.SendTransactionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_TRANSACTION: serviceImpl.getTransaction((org.onflow.protobuf.access.Access.GetTransactionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_TRANSACTION_RESULT: serviceImpl.getTransactionResult((org.onflow.protobuf.access.Access.GetTransactionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_TRANSACTION_RESULT_BY_INDEX: serviceImpl.getTransactionResultByIndex((org.onflow.protobuf.access.Access.GetTransactionByIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_TRANSACTION_RESULTS_BY_BLOCK_ID: serviceImpl.getTransactionResultsByBlockID((org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_TRANSACTIONS_BY_BLOCK_ID: serviceImpl.getTransactionsByBlockID((org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_SYSTEM_TRANSACTION: serviceImpl.getSystemTransaction((org.onflow.protobuf.access.Access.GetSystemTransactionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_SYSTEM_TRANSACTION_RESULT: serviceImpl.getSystemTransactionResult((org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_ACCOUNT: serviceImpl.getAccount((org.onflow.protobuf.access.Access.GetAccountRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_ACCOUNT_AT_LATEST_BLOCK: serviceImpl.getAccountAtLatestBlock((org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_ACCOUNT_AT_BLOCK_HEIGHT: serviceImpl.getAccountAtBlockHeight((org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_EXECUTE_SCRIPT_AT_LATEST_BLOCK: serviceImpl.executeScriptAtLatestBlock((org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_EXECUTE_SCRIPT_AT_BLOCK_ID: serviceImpl.executeScriptAtBlockID((org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_EXECUTE_SCRIPT_AT_BLOCK_HEIGHT: serviceImpl.executeScriptAtBlockHeight((org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_EVENTS_FOR_HEIGHT_RANGE: serviceImpl.getEventsForHeightRange((org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_EVENTS_FOR_BLOCK_IDS: serviceImpl.getEventsForBlockIDs((org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_NETWORK_PARAMETERS: serviceImpl.getNetworkParameters((org.onflow.protobuf.access.Access.GetNetworkParametersRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_LATEST_PROTOCOL_STATE_SNAPSHOT: serviceImpl.getLatestProtocolStateSnapshot((org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_PROTOCOL_STATE_SNAPSHOT_BY_BLOCK_ID: serviceImpl.getProtocolStateSnapshotByBlockID((org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_PROTOCOL_STATE_SNAPSHOT_BY_HEIGHT: serviceImpl.getProtocolStateSnapshotByHeight((org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_EXECUTION_RESULT_FOR_BLOCK_ID: serviceImpl.getExecutionResultForBlockID((org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_EXECUTION_RESULT_BY_ID: serviceImpl.getExecutionResultByID((org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUBSCRIBE_BLOCKS_FROM_START_BLOCK_ID: serviceImpl.subscribeBlocksFromStartBlockID((org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUBSCRIBE_BLOCKS_FROM_START_HEIGHT: serviceImpl.subscribeBlocksFromStartHeight((org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUBSCRIBE_BLOCKS_FROM_LATEST: serviceImpl.subscribeBlocksFromLatest((org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUBSCRIBE_BLOCK_HEADERS_FROM_START_BLOCK_ID: serviceImpl.subscribeBlockHeadersFromStartBlockID((org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUBSCRIBE_BLOCK_HEADERS_FROM_START_HEIGHT: serviceImpl.subscribeBlockHeadersFromStartHeight((org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUBSCRIBE_BLOCK_HEADERS_FROM_LATEST: serviceImpl.subscribeBlockHeadersFromLatest((org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUBSCRIBE_BLOCK_DIGESTS_FROM_START_BLOCK_ID: serviceImpl.subscribeBlockDigestsFromStartBlockID((org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUBSCRIBE_BLOCK_DIGESTS_FROM_START_HEIGHT: serviceImpl.subscribeBlockDigestsFromStartHeight((org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUBSCRIBE_BLOCK_DIGESTS_FROM_LATEST: serviceImpl.subscribeBlockDigestsFromLatest((org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SEND_AND_SUBSCRIBE_TRANSACTION_STATUSES: serviceImpl.sendAndSubscribeTransactionStatuses((org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); } } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public io.grpc.stub.StreamObserver invoke( io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { default: throw new AssertionError(); } } } private static abstract class AccessAPIBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { AccessAPIBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return org.onflow.protobuf.access.Access.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("AccessAPI"); } } private static final class AccessAPIFileDescriptorSupplier extends AccessAPIBaseDescriptorSupplier { AccessAPIFileDescriptorSupplier() {} } private static final class AccessAPIMethodDescriptorSupplier extends AccessAPIBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; AccessAPIMethodDescriptorSupplier(String methodName) { this.methodName = methodName; } @java.lang.Override public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { return getServiceDescriptor().findMethodByName(methodName); } } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (AccessAPIGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new AccessAPIFileDescriptorSupplier()) .addMethod(getPingMethod()) .addMethod(getGetNodeVersionInfoMethod()) .addMethod(getGetLatestBlockHeaderMethod()) .addMethod(getGetBlockHeaderByIDMethod()) .addMethod(getGetBlockHeaderByHeightMethod()) .addMethod(getGetLatestBlockMethod()) .addMethod(getGetBlockByIDMethod()) .addMethod(getGetBlockByHeightMethod()) .addMethod(getGetCollectionByIDMethod()) .addMethod(getGetFullCollectionByIDMethod()) .addMethod(getSendTransactionMethod()) .addMethod(getGetTransactionMethod()) .addMethod(getGetTransactionResultMethod()) .addMethod(getGetTransactionResultByIndexMethod()) .addMethod(getGetTransactionResultsByBlockIDMethod()) .addMethod(getGetTransactionsByBlockIDMethod()) .addMethod(getGetSystemTransactionMethod()) .addMethod(getGetSystemTransactionResultMethod()) .addMethod(getGetAccountMethod()) .addMethod(getGetAccountAtLatestBlockMethod()) .addMethod(getGetAccountAtBlockHeightMethod()) .addMethod(getExecuteScriptAtLatestBlockMethod()) .addMethod(getExecuteScriptAtBlockIDMethod()) .addMethod(getExecuteScriptAtBlockHeightMethod()) .addMethod(getGetEventsForHeightRangeMethod()) .addMethod(getGetEventsForBlockIDsMethod()) .addMethod(getGetNetworkParametersMethod()) .addMethod(getGetLatestProtocolStateSnapshotMethod()) .addMethod(getGetProtocolStateSnapshotByBlockIDMethod()) .addMethod(getGetProtocolStateSnapshotByHeightMethod()) .addMethod(getGetExecutionResultForBlockIDMethod()) .addMethod(getGetExecutionResultByIDMethod()) .addMethod(getSubscribeBlocksFromStartBlockIDMethod()) .addMethod(getSubscribeBlocksFromStartHeightMethod()) .addMethod(getSubscribeBlocksFromLatestMethod()) .addMethod(getSubscribeBlockHeadersFromStartBlockIDMethod()) .addMethod(getSubscribeBlockHeadersFromStartHeightMethod()) .addMethod(getSubscribeBlockHeadersFromLatestMethod()) .addMethod(getSubscribeBlockDigestsFromStartBlockIDMethod()) .addMethod(getSubscribeBlockDigestsFromStartHeightMethod()) .addMethod(getSubscribeBlockDigestsFromLatestMethod()) .addMethod(getSendAndSubscribeTransactionStatusesMethod()) .build(); } } } return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy