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

com.hedera.hashgraph.sdk.proto.CryptoServiceGrpc Maven / Gradle / Ivy

There is a newer version: 2.44.0
Show newest version
package com.hedera.hashgraph.sdk.proto;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 * 
 **
 * Transactions and queries for the Crypto Service
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.50.2)", comments = "Source: crypto_service.proto") @io.grpc.stub.annotations.GrpcGenerated public final class CryptoServiceGrpc { private CryptoServiceGrpc() {} public static final String SERVICE_NAME = "proto.CryptoService"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor getCreateAccountMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "createAccount", requestType = com.hedera.hashgraph.sdk.proto.Transaction.class, responseType = com.hedera.hashgraph.sdk.proto.TransactionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getCreateAccountMethod() { io.grpc.MethodDescriptor getCreateAccountMethod; if ((getCreateAccountMethod = CryptoServiceGrpc.getCreateAccountMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getCreateAccountMethod = CryptoServiceGrpc.getCreateAccountMethod) == null) { CryptoServiceGrpc.getCreateAccountMethod = getCreateAccountMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "createAccount")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Transaction.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.TransactionResponse.getDefaultInstance())) .build(); } } } return getCreateAccountMethod; } private static volatile io.grpc.MethodDescriptor getUpdateAccountMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "updateAccount", requestType = com.hedera.hashgraph.sdk.proto.Transaction.class, responseType = com.hedera.hashgraph.sdk.proto.TransactionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getUpdateAccountMethod() { io.grpc.MethodDescriptor getUpdateAccountMethod; if ((getUpdateAccountMethod = CryptoServiceGrpc.getUpdateAccountMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getUpdateAccountMethod = CryptoServiceGrpc.getUpdateAccountMethod) == null) { CryptoServiceGrpc.getUpdateAccountMethod = getUpdateAccountMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "updateAccount")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Transaction.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.TransactionResponse.getDefaultInstance())) .build(); } } } return getUpdateAccountMethod; } private static volatile io.grpc.MethodDescriptor getCryptoTransferMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "cryptoTransfer", requestType = com.hedera.hashgraph.sdk.proto.Transaction.class, responseType = com.hedera.hashgraph.sdk.proto.TransactionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getCryptoTransferMethod() { io.grpc.MethodDescriptor getCryptoTransferMethod; if ((getCryptoTransferMethod = CryptoServiceGrpc.getCryptoTransferMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getCryptoTransferMethod = CryptoServiceGrpc.getCryptoTransferMethod) == null) { CryptoServiceGrpc.getCryptoTransferMethod = getCryptoTransferMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "cryptoTransfer")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Transaction.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.TransactionResponse.getDefaultInstance())) .build(); } } } return getCryptoTransferMethod; } private static volatile io.grpc.MethodDescriptor getCryptoDeleteMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "cryptoDelete", requestType = com.hedera.hashgraph.sdk.proto.Transaction.class, responseType = com.hedera.hashgraph.sdk.proto.TransactionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getCryptoDeleteMethod() { io.grpc.MethodDescriptor getCryptoDeleteMethod; if ((getCryptoDeleteMethod = CryptoServiceGrpc.getCryptoDeleteMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getCryptoDeleteMethod = CryptoServiceGrpc.getCryptoDeleteMethod) == null) { CryptoServiceGrpc.getCryptoDeleteMethod = getCryptoDeleteMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "cryptoDelete")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Transaction.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.TransactionResponse.getDefaultInstance())) .build(); } } } return getCryptoDeleteMethod; } private static volatile io.grpc.MethodDescriptor getApproveAllowancesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "approveAllowances", requestType = com.hedera.hashgraph.sdk.proto.Transaction.class, responseType = com.hedera.hashgraph.sdk.proto.TransactionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getApproveAllowancesMethod() { io.grpc.MethodDescriptor getApproveAllowancesMethod; if ((getApproveAllowancesMethod = CryptoServiceGrpc.getApproveAllowancesMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getApproveAllowancesMethod = CryptoServiceGrpc.getApproveAllowancesMethod) == null) { CryptoServiceGrpc.getApproveAllowancesMethod = getApproveAllowancesMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "approveAllowances")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Transaction.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.TransactionResponse.getDefaultInstance())) .build(); } } } return getApproveAllowancesMethod; } private static volatile io.grpc.MethodDescriptor getDeleteAllowancesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "deleteAllowances", requestType = com.hedera.hashgraph.sdk.proto.Transaction.class, responseType = com.hedera.hashgraph.sdk.proto.TransactionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getDeleteAllowancesMethod() { io.grpc.MethodDescriptor getDeleteAllowancesMethod; if ((getDeleteAllowancesMethod = CryptoServiceGrpc.getDeleteAllowancesMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getDeleteAllowancesMethod = CryptoServiceGrpc.getDeleteAllowancesMethod) == null) { CryptoServiceGrpc.getDeleteAllowancesMethod = getDeleteAllowancesMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "deleteAllowances")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Transaction.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.TransactionResponse.getDefaultInstance())) .build(); } } } return getDeleteAllowancesMethod; } private static volatile io.grpc.MethodDescriptor getAddLiveHashMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "addLiveHash", requestType = com.hedera.hashgraph.sdk.proto.Transaction.class, responseType = com.hedera.hashgraph.sdk.proto.TransactionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getAddLiveHashMethod() { io.grpc.MethodDescriptor getAddLiveHashMethod; if ((getAddLiveHashMethod = CryptoServiceGrpc.getAddLiveHashMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getAddLiveHashMethod = CryptoServiceGrpc.getAddLiveHashMethod) == null) { CryptoServiceGrpc.getAddLiveHashMethod = getAddLiveHashMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "addLiveHash")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Transaction.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.TransactionResponse.getDefaultInstance())) .build(); } } } return getAddLiveHashMethod; } private static volatile io.grpc.MethodDescriptor getDeleteLiveHashMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "deleteLiveHash", requestType = com.hedera.hashgraph.sdk.proto.Transaction.class, responseType = com.hedera.hashgraph.sdk.proto.TransactionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getDeleteLiveHashMethod() { io.grpc.MethodDescriptor getDeleteLiveHashMethod; if ((getDeleteLiveHashMethod = CryptoServiceGrpc.getDeleteLiveHashMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getDeleteLiveHashMethod = CryptoServiceGrpc.getDeleteLiveHashMethod) == null) { CryptoServiceGrpc.getDeleteLiveHashMethod = getDeleteLiveHashMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "deleteLiveHash")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Transaction.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.TransactionResponse.getDefaultInstance())) .build(); } } } return getDeleteLiveHashMethod; } private static volatile io.grpc.MethodDescriptor getGetLiveHashMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "getLiveHash", requestType = com.hedera.hashgraph.sdk.proto.Query.class, responseType = com.hedera.hashgraph.sdk.proto.Response.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetLiveHashMethod() { io.grpc.MethodDescriptor getGetLiveHashMethod; if ((getGetLiveHashMethod = CryptoServiceGrpc.getGetLiveHashMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getGetLiveHashMethod = CryptoServiceGrpc.getGetLiveHashMethod) == null) { CryptoServiceGrpc.getGetLiveHashMethod = getGetLiveHashMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getLiveHash")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Response.getDefaultInstance())) .build(); } } } return getGetLiveHashMethod; } private static volatile io.grpc.MethodDescriptor getGetAccountRecordsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "getAccountRecords", requestType = com.hedera.hashgraph.sdk.proto.Query.class, responseType = com.hedera.hashgraph.sdk.proto.Response.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetAccountRecordsMethod() { io.grpc.MethodDescriptor getGetAccountRecordsMethod; if ((getGetAccountRecordsMethod = CryptoServiceGrpc.getGetAccountRecordsMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getGetAccountRecordsMethod = CryptoServiceGrpc.getGetAccountRecordsMethod) == null) { CryptoServiceGrpc.getGetAccountRecordsMethod = getGetAccountRecordsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getAccountRecords")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Response.getDefaultInstance())) .build(); } } } return getGetAccountRecordsMethod; } private static volatile io.grpc.MethodDescriptor getCryptoGetBalanceMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "cryptoGetBalance", requestType = com.hedera.hashgraph.sdk.proto.Query.class, responseType = com.hedera.hashgraph.sdk.proto.Response.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getCryptoGetBalanceMethod() { io.grpc.MethodDescriptor getCryptoGetBalanceMethod; if ((getCryptoGetBalanceMethod = CryptoServiceGrpc.getCryptoGetBalanceMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getCryptoGetBalanceMethod = CryptoServiceGrpc.getCryptoGetBalanceMethod) == null) { CryptoServiceGrpc.getCryptoGetBalanceMethod = getCryptoGetBalanceMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "cryptoGetBalance")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Response.getDefaultInstance())) .build(); } } } return getCryptoGetBalanceMethod; } private static volatile io.grpc.MethodDescriptor getGetAccountInfoMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "getAccountInfo", requestType = com.hedera.hashgraph.sdk.proto.Query.class, responseType = com.hedera.hashgraph.sdk.proto.Response.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetAccountInfoMethod() { io.grpc.MethodDescriptor getGetAccountInfoMethod; if ((getGetAccountInfoMethod = CryptoServiceGrpc.getGetAccountInfoMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getGetAccountInfoMethod = CryptoServiceGrpc.getGetAccountInfoMethod) == null) { CryptoServiceGrpc.getGetAccountInfoMethod = getGetAccountInfoMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getAccountInfo")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Response.getDefaultInstance())) .build(); } } } return getGetAccountInfoMethod; } private static volatile io.grpc.MethodDescriptor getGetTransactionReceiptsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "getTransactionReceipts", requestType = com.hedera.hashgraph.sdk.proto.Query.class, responseType = com.hedera.hashgraph.sdk.proto.Response.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetTransactionReceiptsMethod() { io.grpc.MethodDescriptor getGetTransactionReceiptsMethod; if ((getGetTransactionReceiptsMethod = CryptoServiceGrpc.getGetTransactionReceiptsMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getGetTransactionReceiptsMethod = CryptoServiceGrpc.getGetTransactionReceiptsMethod) == null) { CryptoServiceGrpc.getGetTransactionReceiptsMethod = getGetTransactionReceiptsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getTransactionReceipts")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Response.getDefaultInstance())) .build(); } } } return getGetTransactionReceiptsMethod; } private static volatile io.grpc.MethodDescriptor getGetFastTransactionRecordMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "getFastTransactionRecord", requestType = com.hedera.hashgraph.sdk.proto.Query.class, responseType = com.hedera.hashgraph.sdk.proto.Response.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetFastTransactionRecordMethod() { io.grpc.MethodDescriptor getGetFastTransactionRecordMethod; if ((getGetFastTransactionRecordMethod = CryptoServiceGrpc.getGetFastTransactionRecordMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getGetFastTransactionRecordMethod = CryptoServiceGrpc.getGetFastTransactionRecordMethod) == null) { CryptoServiceGrpc.getGetFastTransactionRecordMethod = getGetFastTransactionRecordMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getFastTransactionRecord")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Response.getDefaultInstance())) .build(); } } } return getGetFastTransactionRecordMethod; } private static volatile io.grpc.MethodDescriptor getGetTxRecordByTxIDMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "getTxRecordByTxID", requestType = com.hedera.hashgraph.sdk.proto.Query.class, responseType = com.hedera.hashgraph.sdk.proto.Response.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetTxRecordByTxIDMethod() { io.grpc.MethodDescriptor getGetTxRecordByTxIDMethod; if ((getGetTxRecordByTxIDMethod = CryptoServiceGrpc.getGetTxRecordByTxIDMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getGetTxRecordByTxIDMethod = CryptoServiceGrpc.getGetTxRecordByTxIDMethod) == null) { CryptoServiceGrpc.getGetTxRecordByTxIDMethod = getGetTxRecordByTxIDMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getTxRecordByTxID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Response.getDefaultInstance())) .build(); } } } return getGetTxRecordByTxIDMethod; } private static volatile io.grpc.MethodDescriptor getGetStakersByAccountIDMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "getStakersByAccountID", requestType = com.hedera.hashgraph.sdk.proto.Query.class, responseType = com.hedera.hashgraph.sdk.proto.Response.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetStakersByAccountIDMethod() { io.grpc.MethodDescriptor getGetStakersByAccountIDMethod; if ((getGetStakersByAccountIDMethod = CryptoServiceGrpc.getGetStakersByAccountIDMethod) == null) { synchronized (CryptoServiceGrpc.class) { if ((getGetStakersByAccountIDMethod = CryptoServiceGrpc.getGetStakersByAccountIDMethod) == null) { CryptoServiceGrpc.getGetStakersByAccountIDMethod = getGetStakersByAccountIDMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getStakersByAccountID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( com.hedera.hashgraph.sdk.proto.Response.getDefaultInstance())) .build(); } } } return getGetStakersByAccountIDMethod; } /** * Creates a new async stub that supports all call types for the service */ public static CryptoServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public CryptoServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CryptoServiceStub(channel, callOptions); } }; return CryptoServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static CryptoServiceBlockingStub newBlockingStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public CryptoServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CryptoServiceBlockingStub(channel, callOptions); } }; return CryptoServiceBlockingStub.newStub(factory, channel); } /** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static CryptoServiceFutureStub newFutureStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public CryptoServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CryptoServiceFutureStub(channel, callOptions); } }; return CryptoServiceFutureStub.newStub(factory, channel); } /** *
   **
   * Transactions and queries for the Crypto Service
   * 
*/ public static abstract class CryptoServiceImplBase implements io.grpc.BindableService { /** *
     **
     * Creates a new account by submitting the transaction
     * 
*/ public void createAccount(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAccountMethod(), responseObserver); } /** *
     **
     * Updates an account by submitting the transaction
     * 
*/ public void updateAccount(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAccountMethod(), responseObserver); } /** *
     **
     * Initiates a transfer by submitting the transaction
     * 
*/ public void cryptoTransfer(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCryptoTransferMethod(), responseObserver); } /** *
     **
     * Deletes and account by submitting the transaction
     * 
*/ public void cryptoDelete(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCryptoDeleteMethod(), responseObserver); } /** *
     **
     * Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
     * 
*/ public void approveAllowances(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getApproveAllowancesMethod(), responseObserver); } /** *
     **
     * Deletes one or more of the specific approved NFT serial numbers on an owner account.
     * 
*/ public void deleteAllowances(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAllowancesMethod(), responseObserver); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Adds a livehash
     * 
*/ public void addLiveHash(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAddLiveHashMethod(), responseObserver); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Deletes a livehash
     * 
*/ public void deleteLiveHash(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteLiveHashMethod(), responseObserver); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Retrieves a livehash for an account
     * 
*/ public void getLiveHash(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetLiveHashMethod(), responseObserver); } /** *
     **
     * Returns all transactions in the last 180s of consensus time for which the given account was
     * the effective payer <b>and</b> network property <tt>ledger.keepRecordsInState</tt> was
     * <tt>true</tt>.
     * 
*/ public void getAccountRecords(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountRecordsMethod(), responseObserver); } /** *
     **
     * Retrieves the balance of an account
     * 
*/ public void cryptoGetBalance(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCryptoGetBalanceMethod(), responseObserver); } /** *
     **
     * Retrieves the metadata of an account
     * 
*/ public void getAccountInfo(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountInfoMethod(), responseObserver); } /** *
     **
     * Retrieves the latest receipt for a transaction that is either awaiting consensus, or reached
     * consensus in the last 180 seconds
     * 
*/ public void getTransactionReceipts(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransactionReceiptsMethod(), responseObserver); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Returns the records of transactions recently funded by an account
     * 
*/ public void getFastTransactionRecord(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFastTransactionRecordMethod(), responseObserver); } /** *
     **
     * Retrieves the record of a transaction that is either awaiting consensus, or reached consensus
     * in the last 180 seconds
     * 
*/ public void getTxRecordByTxID(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTxRecordByTxIDMethod(), responseObserver); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Retrieves the stakers for a node by account id
     * 
*/ public void getStakersByAccountID(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetStakersByAccountIDMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateAccountMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Transaction, com.hedera.hashgraph.sdk.proto.TransactionResponse>( this, METHODID_CREATE_ACCOUNT))) .addMethod( getUpdateAccountMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Transaction, com.hedera.hashgraph.sdk.proto.TransactionResponse>( this, METHODID_UPDATE_ACCOUNT))) .addMethod( getCryptoTransferMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Transaction, com.hedera.hashgraph.sdk.proto.TransactionResponse>( this, METHODID_CRYPTO_TRANSFER))) .addMethod( getCryptoDeleteMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Transaction, com.hedera.hashgraph.sdk.proto.TransactionResponse>( this, METHODID_CRYPTO_DELETE))) .addMethod( getApproveAllowancesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Transaction, com.hedera.hashgraph.sdk.proto.TransactionResponse>( this, METHODID_APPROVE_ALLOWANCES))) .addMethod( getDeleteAllowancesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Transaction, com.hedera.hashgraph.sdk.proto.TransactionResponse>( this, METHODID_DELETE_ALLOWANCES))) .addMethod( getAddLiveHashMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Transaction, com.hedera.hashgraph.sdk.proto.TransactionResponse>( this, METHODID_ADD_LIVE_HASH))) .addMethod( getDeleteLiveHashMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Transaction, com.hedera.hashgraph.sdk.proto.TransactionResponse>( this, METHODID_DELETE_LIVE_HASH))) .addMethod( getGetLiveHashMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Query, com.hedera.hashgraph.sdk.proto.Response>( this, METHODID_GET_LIVE_HASH))) .addMethod( getGetAccountRecordsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Query, com.hedera.hashgraph.sdk.proto.Response>( this, METHODID_GET_ACCOUNT_RECORDS))) .addMethod( getCryptoGetBalanceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Query, com.hedera.hashgraph.sdk.proto.Response>( this, METHODID_CRYPTO_GET_BALANCE))) .addMethod( getGetAccountInfoMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Query, com.hedera.hashgraph.sdk.proto.Response>( this, METHODID_GET_ACCOUNT_INFO))) .addMethod( getGetTransactionReceiptsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Query, com.hedera.hashgraph.sdk.proto.Response>( this, METHODID_GET_TRANSACTION_RECEIPTS))) .addMethod( getGetFastTransactionRecordMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Query, com.hedera.hashgraph.sdk.proto.Response>( this, METHODID_GET_FAST_TRANSACTION_RECORD))) .addMethod( getGetTxRecordByTxIDMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Query, com.hedera.hashgraph.sdk.proto.Response>( this, METHODID_GET_TX_RECORD_BY_TX_ID))) .addMethod( getGetStakersByAccountIDMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.hedera.hashgraph.sdk.proto.Query, com.hedera.hashgraph.sdk.proto.Response>( this, METHODID_GET_STAKERS_BY_ACCOUNT_ID))) .build(); } } /** *
   **
   * Transactions and queries for the Crypto Service
   * 
*/ public static final class CryptoServiceStub extends io.grpc.stub.AbstractAsyncStub { private CryptoServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected CryptoServiceStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CryptoServiceStub(channel, callOptions); } /** *
     **
     * Creates a new account by submitting the transaction
     * 
*/ public void createAccount(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateAccountMethod(), getCallOptions()), request, responseObserver); } /** *
     **
     * Updates an account by submitting the transaction
     * 
*/ public void updateAccount(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request, responseObserver); } /** *
     **
     * Initiates a transfer by submitting the transaction
     * 
*/ public void cryptoTransfer(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCryptoTransferMethod(), getCallOptions()), request, responseObserver); } /** *
     **
     * Deletes and account by submitting the transaction
     * 
*/ public void cryptoDelete(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCryptoDeleteMethod(), getCallOptions()), request, responseObserver); } /** *
     **
     * Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
     * 
*/ public void approveAllowances(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getApproveAllowancesMethod(), getCallOptions()), request, responseObserver); } /** *
     **
     * Deletes one or more of the specific approved NFT serial numbers on an owner account.
     * 
*/ public void deleteAllowances(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteAllowancesMethod(), getCallOptions()), request, responseObserver); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Adds a livehash
     * 
*/ public void addLiveHash(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getAddLiveHashMethod(), getCallOptions()), request, responseObserver); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Deletes a livehash
     * 
*/ public void deleteLiveHash(com.hedera.hashgraph.sdk.proto.Transaction request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteLiveHashMethod(), getCallOptions()), request, responseObserver); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Retrieves a livehash for an account
     * 
*/ public void getLiveHash(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetLiveHashMethod(), getCallOptions()), request, responseObserver); } /** *
     **
     * Returns all transactions in the last 180s of consensus time for which the given account was
     * the effective payer <b>and</b> network property <tt>ledger.keepRecordsInState</tt> was
     * <tt>true</tt>.
     * 
*/ public void getAccountRecords(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetAccountRecordsMethod(), getCallOptions()), request, responseObserver); } /** *
     **
     * Retrieves the balance of an account
     * 
*/ public void cryptoGetBalance(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCryptoGetBalanceMethod(), getCallOptions()), request, responseObserver); } /** *
     **
     * Retrieves the metadata of an account
     * 
*/ public void getAccountInfo(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetAccountInfoMethod(), getCallOptions()), request, responseObserver); } /** *
     **
     * Retrieves the latest receipt for a transaction that is either awaiting consensus, or reached
     * consensus in the last 180 seconds
     * 
*/ public void getTransactionReceipts(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTransactionReceiptsMethod(), getCallOptions()), request, responseObserver); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Returns the records of transactions recently funded by an account
     * 
*/ public void getFastTransactionRecord(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetFastTransactionRecordMethod(), getCallOptions()), request, responseObserver); } /** *
     **
     * Retrieves the record of a transaction that is either awaiting consensus, or reached consensus
     * in the last 180 seconds
     * 
*/ public void getTxRecordByTxID(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTxRecordByTxIDMethod(), getCallOptions()), request, responseObserver); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Retrieves the stakers for a node by account id
     * 
*/ public void getStakersByAccountID(com.hedera.hashgraph.sdk.proto.Query request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetStakersByAccountIDMethod(), getCallOptions()), request, responseObserver); } } /** *
   **
   * Transactions and queries for the Crypto Service
   * 
*/ public static final class CryptoServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private CryptoServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected CryptoServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CryptoServiceBlockingStub(channel, callOptions); } /** *
     **
     * Creates a new account by submitting the transaction
     * 
*/ public com.hedera.hashgraph.sdk.proto.TransactionResponse createAccount(com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateAccountMethod(), getCallOptions(), request); } /** *
     **
     * Updates an account by submitting the transaction
     * 
*/ public com.hedera.hashgraph.sdk.proto.TransactionResponse updateAccount(com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateAccountMethod(), getCallOptions(), request); } /** *
     **
     * Initiates a transfer by submitting the transaction
     * 
*/ public com.hedera.hashgraph.sdk.proto.TransactionResponse cryptoTransfer(com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCryptoTransferMethod(), getCallOptions(), request); } /** *
     **
     * Deletes and account by submitting the transaction
     * 
*/ public com.hedera.hashgraph.sdk.proto.TransactionResponse cryptoDelete(com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCryptoDeleteMethod(), getCallOptions(), request); } /** *
     **
     * Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
     * 
*/ public com.hedera.hashgraph.sdk.proto.TransactionResponse approveAllowances(com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getApproveAllowancesMethod(), getCallOptions(), request); } /** *
     **
     * Deletes one or more of the specific approved NFT serial numbers on an owner account.
     * 
*/ public com.hedera.hashgraph.sdk.proto.TransactionResponse deleteAllowances(com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteAllowancesMethod(), getCallOptions(), request); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Adds a livehash
     * 
*/ public com.hedera.hashgraph.sdk.proto.TransactionResponse addLiveHash(com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAddLiveHashMethod(), getCallOptions(), request); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Deletes a livehash
     * 
*/ public com.hedera.hashgraph.sdk.proto.TransactionResponse deleteLiveHash(com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteLiveHashMethod(), getCallOptions(), request); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Retrieves a livehash for an account
     * 
*/ public com.hedera.hashgraph.sdk.proto.Response getLiveHash(com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetLiveHashMethod(), getCallOptions(), request); } /** *
     **
     * Returns all transactions in the last 180s of consensus time for which the given account was
     * the effective payer <b>and</b> network property <tt>ledger.keepRecordsInState</tt> was
     * <tt>true</tt>.
     * 
*/ public com.hedera.hashgraph.sdk.proto.Response getAccountRecords(com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetAccountRecordsMethod(), getCallOptions(), request); } /** *
     **
     * Retrieves the balance of an account
     * 
*/ public com.hedera.hashgraph.sdk.proto.Response cryptoGetBalance(com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCryptoGetBalanceMethod(), getCallOptions(), request); } /** *
     **
     * Retrieves the metadata of an account
     * 
*/ public com.hedera.hashgraph.sdk.proto.Response getAccountInfo(com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetAccountInfoMethod(), getCallOptions(), request); } /** *
     **
     * Retrieves the latest receipt for a transaction that is either awaiting consensus, or reached
     * consensus in the last 180 seconds
     * 
*/ public com.hedera.hashgraph.sdk.proto.Response getTransactionReceipts(com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTransactionReceiptsMethod(), getCallOptions(), request); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Returns the records of transactions recently funded by an account
     * 
*/ public com.hedera.hashgraph.sdk.proto.Response getFastTransactionRecord(com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetFastTransactionRecordMethod(), getCallOptions(), request); } /** *
     **
     * Retrieves the record of a transaction that is either awaiting consensus, or reached consensus
     * in the last 180 seconds
     * 
*/ public com.hedera.hashgraph.sdk.proto.Response getTxRecordByTxID(com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTxRecordByTxIDMethod(), getCallOptions(), request); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Retrieves the stakers for a node by account id
     * 
*/ public com.hedera.hashgraph.sdk.proto.Response getStakersByAccountID(com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetStakersByAccountIDMethod(), getCallOptions(), request); } } /** *
   **
   * Transactions and queries for the Crypto Service
   * 
*/ public static final class CryptoServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private CryptoServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected CryptoServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CryptoServiceFutureStub(channel, callOptions); } /** *
     **
     * Creates a new account by submitting the transaction
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createAccount( com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateAccountMethod(), getCallOptions()), request); } /** *
     **
     * Updates an account by submitting the transaction
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateAccount( com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request); } /** *
     **
     * Initiates a transfer by submitting the transaction
     * 
*/ public com.google.common.util.concurrent.ListenableFuture cryptoTransfer( com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCryptoTransferMethod(), getCallOptions()), request); } /** *
     **
     * Deletes and account by submitting the transaction
     * 
*/ public com.google.common.util.concurrent.ListenableFuture cryptoDelete( com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCryptoDeleteMethod(), getCallOptions()), request); } /** *
     **
     * Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture approveAllowances( com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getApproveAllowancesMethod(), getCallOptions()), request); } /** *
     **
     * Deletes one or more of the specific approved NFT serial numbers on an owner account.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteAllowances( com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteAllowancesMethod(), getCallOptions()), request); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Adds a livehash
     * 
*/ public com.google.common.util.concurrent.ListenableFuture addLiveHash( com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAddLiveHashMethod(), getCallOptions()), request); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Deletes a livehash
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteLiveHash( com.hedera.hashgraph.sdk.proto.Transaction request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteLiveHashMethod(), getCallOptions()), request); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Retrieves a livehash for an account
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getLiveHash( com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetLiveHashMethod(), getCallOptions()), request); } /** *
     **
     * Returns all transactions in the last 180s of consensus time for which the given account was
     * the effective payer <b>and</b> network property <tt>ledger.keepRecordsInState</tt> was
     * <tt>true</tt>.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getAccountRecords( com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetAccountRecordsMethod(), getCallOptions()), request); } /** *
     **
     * Retrieves the balance of an account
     * 
*/ public com.google.common.util.concurrent.ListenableFuture cryptoGetBalance( com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCryptoGetBalanceMethod(), getCallOptions()), request); } /** *
     **
     * Retrieves the metadata of an account
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getAccountInfo( com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetAccountInfoMethod(), getCallOptions()), request); } /** *
     **
     * Retrieves the latest receipt for a transaction that is either awaiting consensus, or reached
     * consensus in the last 180 seconds
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getTransactionReceipts( com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTransactionReceiptsMethod(), getCallOptions()), request); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Returns the records of transactions recently funded by an account
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getFastTransactionRecord( com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetFastTransactionRecordMethod(), getCallOptions()), request); } /** *
     **
     * Retrieves the record of a transaction that is either awaiting consensus, or reached consensus
     * in the last 180 seconds
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getTxRecordByTxID( com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTxRecordByTxIDMethod(), getCallOptions()), request); } /** *
     **
     * (NOT CURRENTLY SUPPORTED) Retrieves the stakers for a node by account id
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getStakersByAccountID( com.hedera.hashgraph.sdk.proto.Query request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetStakersByAccountIDMethod(), getCallOptions()), request); } } private static final int METHODID_CREATE_ACCOUNT = 0; private static final int METHODID_UPDATE_ACCOUNT = 1; private static final int METHODID_CRYPTO_TRANSFER = 2; private static final int METHODID_CRYPTO_DELETE = 3; private static final int METHODID_APPROVE_ALLOWANCES = 4; private static final int METHODID_DELETE_ALLOWANCES = 5; private static final int METHODID_ADD_LIVE_HASH = 6; private static final int METHODID_DELETE_LIVE_HASH = 7; private static final int METHODID_GET_LIVE_HASH = 8; private static final int METHODID_GET_ACCOUNT_RECORDS = 9; private static final int METHODID_CRYPTO_GET_BALANCE = 10; private static final int METHODID_GET_ACCOUNT_INFO = 11; private static final int METHODID_GET_TRANSACTION_RECEIPTS = 12; private static final int METHODID_GET_FAST_TRANSACTION_RECORD = 13; private static final int METHODID_GET_TX_RECORD_BY_TX_ID = 14; private static final int METHODID_GET_STAKERS_BY_ACCOUNT_ID = 15; 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 CryptoServiceImplBase serviceImpl; private final int methodId; MethodHandlers(CryptoServiceImplBase 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_CREATE_ACCOUNT: serviceImpl.createAccount((com.hedera.hashgraph.sdk.proto.Transaction) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_ACCOUNT: serviceImpl.updateAccount((com.hedera.hashgraph.sdk.proto.Transaction) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CRYPTO_TRANSFER: serviceImpl.cryptoTransfer((com.hedera.hashgraph.sdk.proto.Transaction) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CRYPTO_DELETE: serviceImpl.cryptoDelete((com.hedera.hashgraph.sdk.proto.Transaction) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_APPROVE_ALLOWANCES: serviceImpl.approveAllowances((com.hedera.hashgraph.sdk.proto.Transaction) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_ALLOWANCES: serviceImpl.deleteAllowances((com.hedera.hashgraph.sdk.proto.Transaction) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_ADD_LIVE_HASH: serviceImpl.addLiveHash((com.hedera.hashgraph.sdk.proto.Transaction) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_LIVE_HASH: serviceImpl.deleteLiveHash((com.hedera.hashgraph.sdk.proto.Transaction) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_LIVE_HASH: serviceImpl.getLiveHash((com.hedera.hashgraph.sdk.proto.Query) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_ACCOUNT_RECORDS: serviceImpl.getAccountRecords((com.hedera.hashgraph.sdk.proto.Query) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CRYPTO_GET_BALANCE: serviceImpl.cryptoGetBalance((com.hedera.hashgraph.sdk.proto.Query) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_ACCOUNT_INFO: serviceImpl.getAccountInfo((com.hedera.hashgraph.sdk.proto.Query) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_TRANSACTION_RECEIPTS: serviceImpl.getTransactionReceipts((com.hedera.hashgraph.sdk.proto.Query) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_FAST_TRANSACTION_RECORD: serviceImpl.getFastTransactionRecord((com.hedera.hashgraph.sdk.proto.Query) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_TX_RECORD_BY_TX_ID: serviceImpl.getTxRecordByTxID((com.hedera.hashgraph.sdk.proto.Query) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_STAKERS_BY_ACCOUNT_ID: serviceImpl.getStakersByAccountID((com.hedera.hashgraph.sdk.proto.Query) 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 volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (CryptoServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .addMethod(getCreateAccountMethod()) .addMethod(getUpdateAccountMethod()) .addMethod(getCryptoTransferMethod()) .addMethod(getCryptoDeleteMethod()) .addMethod(getApproveAllowancesMethod()) .addMethod(getDeleteAllowancesMethod()) .addMethod(getAddLiveHashMethod()) .addMethod(getDeleteLiveHashMethod()) .addMethod(getGetLiveHashMethod()) .addMethod(getGetAccountRecordsMethod()) .addMethod(getCryptoGetBalanceMethod()) .addMethod(getGetAccountInfoMethod()) .addMethod(getGetTransactionReceiptsMethod()) .addMethod(getGetFastTransactionRecordMethod()) .addMethod(getGetTxRecordByTxIDMethod()) .addMethod(getGetStakersByAccountIDMethod()) .build(); } } } return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy