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

com.hederahashgraph.service.proto.java.CryptoServiceGrpc Maven / Gradle / Ivy

package com.hederahashgraph.service.proto.java;

import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;

/**
 * 
 *Transactions and queries for the Crypto Service
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.13.1)", comments = "Source: CryptoService.proto") 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; 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( "proto.CryptoService", "createAccount")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Transaction.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.TransactionResponse.getDefaultInstance())) .setSchemaDescriptor(new CryptoServiceMethodDescriptorSupplier("createAccount")) .build(); } } } return getCreateAccountMethod; } private static volatile io.grpc.MethodDescriptor getUpdateAccountMethod; 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( "proto.CryptoService", "updateAccount")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Transaction.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.TransactionResponse.getDefaultInstance())) .setSchemaDescriptor(new CryptoServiceMethodDescriptorSupplier("updateAccount")) .build(); } } } return getUpdateAccountMethod; } private static volatile io.grpc.MethodDescriptor getCryptoTransferMethod; 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( "proto.CryptoService", "cryptoTransfer")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Transaction.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.TransactionResponse.getDefaultInstance())) .setSchemaDescriptor(new CryptoServiceMethodDescriptorSupplier("cryptoTransfer")) .build(); } } } return getCryptoTransferMethod; } private static volatile io.grpc.MethodDescriptor getCryptoDeleteMethod; 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( "proto.CryptoService", "cryptoDelete")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Transaction.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.TransactionResponse.getDefaultInstance())) .setSchemaDescriptor(new CryptoServiceMethodDescriptorSupplier("cryptoDelete")) .build(); } } } return getCryptoDeleteMethod; } private static volatile io.grpc.MethodDescriptor getAddLiveHashMethod; 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( "proto.CryptoService", "addLiveHash")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Transaction.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.TransactionResponse.getDefaultInstance())) .setSchemaDescriptor(new CryptoServiceMethodDescriptorSupplier("addLiveHash")) .build(); } } } return getAddLiveHashMethod; } private static volatile io.grpc.MethodDescriptor getDeleteLiveHashMethod; 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( "proto.CryptoService", "deleteLiveHash")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Transaction.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.TransactionResponse.getDefaultInstance())) .setSchemaDescriptor(new CryptoServiceMethodDescriptorSupplier("deleteLiveHash")) .build(); } } } return getDeleteLiveHashMethod; } private static volatile io.grpc.MethodDescriptor getGetLiveHashMethod; 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( "proto.CryptoService", "getLiveHash")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Response.getDefaultInstance())) .setSchemaDescriptor(new CryptoServiceMethodDescriptorSupplier("getLiveHash")) .build(); } } } return getGetLiveHashMethod; } private static volatile io.grpc.MethodDescriptor getGetAccountRecordsMethod; 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( "proto.CryptoService", "getAccountRecords")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Response.getDefaultInstance())) .setSchemaDescriptor(new CryptoServiceMethodDescriptorSupplier("getAccountRecords")) .build(); } } } return getGetAccountRecordsMethod; } private static volatile io.grpc.MethodDescriptor getCryptoGetBalanceMethod; 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( "proto.CryptoService", "cryptoGetBalance")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Response.getDefaultInstance())) .setSchemaDescriptor(new CryptoServiceMethodDescriptorSupplier("cryptoGetBalance")) .build(); } } } return getCryptoGetBalanceMethod; } private static volatile io.grpc.MethodDescriptor getGetAccountInfoMethod; 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( "proto.CryptoService", "getAccountInfo")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Response.getDefaultInstance())) .setSchemaDescriptor(new CryptoServiceMethodDescriptorSupplier("getAccountInfo")) .build(); } } } return getGetAccountInfoMethod; } private static volatile io.grpc.MethodDescriptor getGetTransactionReceiptsMethod; 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( "proto.CryptoService", "getTransactionReceipts")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Response.getDefaultInstance())) .setSchemaDescriptor(new CryptoServiceMethodDescriptorSupplier("getTransactionReceipts")) .build(); } } } return getGetTransactionReceiptsMethod; } private static volatile io.grpc.MethodDescriptor getGetFastTransactionRecordMethod; 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( "proto.CryptoService", "getFastTransactionRecord")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Response.getDefaultInstance())) .setSchemaDescriptor(new CryptoServiceMethodDescriptorSupplier("getFastTransactionRecord")) .build(); } } } return getGetFastTransactionRecordMethod; } private static volatile io.grpc.MethodDescriptor getGetTxRecordByTxIDMethod; 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( "proto.CryptoService", "getTxRecordByTxID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Response.getDefaultInstance())) .setSchemaDescriptor(new CryptoServiceMethodDescriptorSupplier("getTxRecordByTxID")) .build(); } } } return getGetTxRecordByTxIDMethod; } private static volatile io.grpc.MethodDescriptor getGetStakersByAccountIDMethod; 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( "proto.CryptoService", "getStakersByAccountID")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Query.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.hederahashgraph.api.proto.java.Response.getDefaultInstance())) .setSchemaDescriptor(new CryptoServiceMethodDescriptorSupplier("getStakersByAccountID")) .build(); } } } return getGetStakersByAccountIDMethod; } /** * Creates a new async stub that supports all call types for the service */ public static CryptoServiceStub newStub(io.grpc.Channel channel) { return new CryptoServiceStub(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) { return new CryptoServiceBlockingStub(channel); } /** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static CryptoServiceFutureStub newFutureStub( io.grpc.Channel channel) { return new CryptoServiceFutureStub(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.hederahashgraph.api.proto.java.Transaction request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCreateAccountMethod(), responseObserver); } /** *
     * Updates an account by submitting the transaction
     * 
*/ public void updateAccount(com.hederahashgraph.api.proto.java.Transaction request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getUpdateAccountMethod(), responseObserver); } /** *
     * Initiates a transfer by submitting the transaction
     * 
*/ public void cryptoTransfer(com.hederahashgraph.api.proto.java.Transaction request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCryptoTransferMethod(), responseObserver); } /** *
     * Deletes and account by submitting the transaction
     * 
*/ public void cryptoDelete(com.hederahashgraph.api.proto.java.Transaction request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCryptoDeleteMethod(), responseObserver); } /** *
     * (NOT CURRENTLY SUPPORTED) Adds a livehash
     * 
*/ public void addLiveHash(com.hederahashgraph.api.proto.java.Transaction request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getAddLiveHashMethod(), responseObserver); } /** *
     * (NOT CURRENTLY SUPPORTED) Deletes a livehash
     * 
*/ public void deleteLiveHash(com.hederahashgraph.api.proto.java.Transaction request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDeleteLiveHashMethod(), responseObserver); } /** *
     * (NOT CURRENTLY SUPPORTED) Retrieves a livehash for an account
     * 
*/ public void getLiveHash(com.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetLiveHashMethod(), responseObserver); } /** *
     * Retrieves the 25-hour records stored for an account
     * 
*/ public void getAccountRecords(com.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetAccountRecordsMethod(), responseObserver); } /** *
     * Retrieves the balance of an account
     * 
*/ public void cryptoGetBalance(com.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCryptoGetBalanceMethod(), responseObserver); } /** *
     * Retrieves the metadata of an account
     * 
*/ public void getAccountInfo(com.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { 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.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetTransactionReceiptsMethod(), responseObserver); } /** *
     * (NOT CURRENTLY SUPPORTED) Returns the records of transactions recently funded by an account
     * 
*/ public void getFastTransactionRecord(com.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { 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.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetTxRecordByTxIDMethod(), responseObserver); } /** *
     * (NOT CURRENTLY SUPPORTED) Retrieves the stakers for a node by account id
     * 
*/ public void getStakersByAccountID(com.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetStakersByAccountIDMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateAccountMethod(), asyncUnaryCall( new MethodHandlers< com.hederahashgraph.api.proto.java.Transaction, com.hederahashgraph.api.proto.java.TransactionResponse>( this, METHODID_CREATE_ACCOUNT))) .addMethod( getUpdateAccountMethod(), asyncUnaryCall( new MethodHandlers< com.hederahashgraph.api.proto.java.Transaction, com.hederahashgraph.api.proto.java.TransactionResponse>( this, METHODID_UPDATE_ACCOUNT))) .addMethod( getCryptoTransferMethod(), asyncUnaryCall( new MethodHandlers< com.hederahashgraph.api.proto.java.Transaction, com.hederahashgraph.api.proto.java.TransactionResponse>( this, METHODID_CRYPTO_TRANSFER))) .addMethod( getCryptoDeleteMethod(), asyncUnaryCall( new MethodHandlers< com.hederahashgraph.api.proto.java.Transaction, com.hederahashgraph.api.proto.java.TransactionResponse>( this, METHODID_CRYPTO_DELETE))) .addMethod( getAddLiveHashMethod(), asyncUnaryCall( new MethodHandlers< com.hederahashgraph.api.proto.java.Transaction, com.hederahashgraph.api.proto.java.TransactionResponse>( this, METHODID_ADD_LIVE_HASH))) .addMethod( getDeleteLiveHashMethod(), asyncUnaryCall( new MethodHandlers< com.hederahashgraph.api.proto.java.Transaction, com.hederahashgraph.api.proto.java.TransactionResponse>( this, METHODID_DELETE_LIVE_HASH))) .addMethod( getGetLiveHashMethod(), asyncUnaryCall( new MethodHandlers< com.hederahashgraph.api.proto.java.Query, com.hederahashgraph.api.proto.java.Response>( this, METHODID_GET_LIVE_HASH))) .addMethod( getGetAccountRecordsMethod(), asyncUnaryCall( new MethodHandlers< com.hederahashgraph.api.proto.java.Query, com.hederahashgraph.api.proto.java.Response>( this, METHODID_GET_ACCOUNT_RECORDS))) .addMethod( getCryptoGetBalanceMethod(), asyncUnaryCall( new MethodHandlers< com.hederahashgraph.api.proto.java.Query, com.hederahashgraph.api.proto.java.Response>( this, METHODID_CRYPTO_GET_BALANCE))) .addMethod( getGetAccountInfoMethod(), asyncUnaryCall( new MethodHandlers< com.hederahashgraph.api.proto.java.Query, com.hederahashgraph.api.proto.java.Response>( this, METHODID_GET_ACCOUNT_INFO))) .addMethod( getGetTransactionReceiptsMethod(), asyncUnaryCall( new MethodHandlers< com.hederahashgraph.api.proto.java.Query, com.hederahashgraph.api.proto.java.Response>( this, METHODID_GET_TRANSACTION_RECEIPTS))) .addMethod( getGetFastTransactionRecordMethod(), asyncUnaryCall( new MethodHandlers< com.hederahashgraph.api.proto.java.Query, com.hederahashgraph.api.proto.java.Response>( this, METHODID_GET_FAST_TRANSACTION_RECORD))) .addMethod( getGetTxRecordByTxIDMethod(), asyncUnaryCall( new MethodHandlers< com.hederahashgraph.api.proto.java.Query, com.hederahashgraph.api.proto.java.Response>( this, METHODID_GET_TX_RECORD_BY_TX_ID))) .addMethod( getGetStakersByAccountIDMethod(), asyncUnaryCall( new MethodHandlers< com.hederahashgraph.api.proto.java.Query, com.hederahashgraph.api.proto.java.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.AbstractStub { private CryptoServiceStub(io.grpc.Channel channel) { super(channel); } 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.hederahashgraph.api.proto.java.Transaction request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCreateAccountMethod(), getCallOptions()), request, responseObserver); } /** *
     * Updates an account by submitting the transaction
     * 
*/ public void updateAccount(com.hederahashgraph.api.proto.java.Transaction request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request, responseObserver); } /** *
     * Initiates a transfer by submitting the transaction
     * 
*/ public void cryptoTransfer(com.hederahashgraph.api.proto.java.Transaction request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCryptoTransferMethod(), getCallOptions()), request, responseObserver); } /** *
     * Deletes and account by submitting the transaction
     * 
*/ public void cryptoDelete(com.hederahashgraph.api.proto.java.Transaction request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCryptoDeleteMethod(), getCallOptions()), request, responseObserver); } /** *
     * (NOT CURRENTLY SUPPORTED) Adds a livehash
     * 
*/ public void addLiveHash(com.hederahashgraph.api.proto.java.Transaction request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getAddLiveHashMethod(), getCallOptions()), request, responseObserver); } /** *
     * (NOT CURRENTLY SUPPORTED) Deletes a livehash
     * 
*/ public void deleteLiveHash(com.hederahashgraph.api.proto.java.Transaction request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDeleteLiveHashMethod(), getCallOptions()), request, responseObserver); } /** *
     * (NOT CURRENTLY SUPPORTED) Retrieves a livehash for an account
     * 
*/ public void getLiveHash(com.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetLiveHashMethod(), getCallOptions()), request, responseObserver); } /** *
     * Retrieves the 25-hour records stored for an account
     * 
*/ public void getAccountRecords(com.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetAccountRecordsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Retrieves the balance of an account
     * 
*/ public void cryptoGetBalance(com.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCryptoGetBalanceMethod(), getCallOptions()), request, responseObserver); } /** *
     * Retrieves the metadata of an account
     * 
*/ public void getAccountInfo(com.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { 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.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetTransactionReceiptsMethod(), getCallOptions()), request, responseObserver); } /** *
     * (NOT CURRENTLY SUPPORTED) Returns the records of transactions recently funded by an account
     * 
*/ public void getFastTransactionRecord(com.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { 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.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetTxRecordByTxIDMethod(), getCallOptions()), request, responseObserver); } /** *
     * (NOT CURRENTLY SUPPORTED) Retrieves the stakers for a node by account id
     * 
*/ public void getStakersByAccountID(com.hederahashgraph.api.proto.java.Query request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetStakersByAccountIDMethod(), getCallOptions()), request, responseObserver); } } /** *
   *Transactions and queries for the Crypto Service
   * 
*/ public static final class CryptoServiceBlockingStub extends io.grpc.stub.AbstractStub { private CryptoServiceBlockingStub(io.grpc.Channel channel) { super(channel); } 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.hederahashgraph.api.proto.java.TransactionResponse createAccount(com.hederahashgraph.api.proto.java.Transaction request) { return blockingUnaryCall( getChannel(), getCreateAccountMethod(), getCallOptions(), request); } /** *
     * Updates an account by submitting the transaction
     * 
*/ public com.hederahashgraph.api.proto.java.TransactionResponse updateAccount(com.hederahashgraph.api.proto.java.Transaction request) { return blockingUnaryCall( getChannel(), getUpdateAccountMethod(), getCallOptions(), request); } /** *
     * Initiates a transfer by submitting the transaction
     * 
*/ public com.hederahashgraph.api.proto.java.TransactionResponse cryptoTransfer(com.hederahashgraph.api.proto.java.Transaction request) { return blockingUnaryCall( getChannel(), getCryptoTransferMethod(), getCallOptions(), request); } /** *
     * Deletes and account by submitting the transaction
     * 
*/ public com.hederahashgraph.api.proto.java.TransactionResponse cryptoDelete(com.hederahashgraph.api.proto.java.Transaction request) { return blockingUnaryCall( getChannel(), getCryptoDeleteMethod(), getCallOptions(), request); } /** *
     * (NOT CURRENTLY SUPPORTED) Adds a livehash
     * 
*/ public com.hederahashgraph.api.proto.java.TransactionResponse addLiveHash(com.hederahashgraph.api.proto.java.Transaction request) { return blockingUnaryCall( getChannel(), getAddLiveHashMethod(), getCallOptions(), request); } /** *
     * (NOT CURRENTLY SUPPORTED) Deletes a livehash
     * 
*/ public com.hederahashgraph.api.proto.java.TransactionResponse deleteLiveHash(com.hederahashgraph.api.proto.java.Transaction request) { return blockingUnaryCall( getChannel(), getDeleteLiveHashMethod(), getCallOptions(), request); } /** *
     * (NOT CURRENTLY SUPPORTED) Retrieves a livehash for an account
     * 
*/ public com.hederahashgraph.api.proto.java.Response getLiveHash(com.hederahashgraph.api.proto.java.Query request) { return blockingUnaryCall( getChannel(), getGetLiveHashMethod(), getCallOptions(), request); } /** *
     * Retrieves the 25-hour records stored for an account
     * 
*/ public com.hederahashgraph.api.proto.java.Response getAccountRecords(com.hederahashgraph.api.proto.java.Query request) { return blockingUnaryCall( getChannel(), getGetAccountRecordsMethod(), getCallOptions(), request); } /** *
     * Retrieves the balance of an account
     * 
*/ public com.hederahashgraph.api.proto.java.Response cryptoGetBalance(com.hederahashgraph.api.proto.java.Query request) { return blockingUnaryCall( getChannel(), getCryptoGetBalanceMethod(), getCallOptions(), request); } /** *
     * Retrieves the metadata of an account
     * 
*/ public com.hederahashgraph.api.proto.java.Response getAccountInfo(com.hederahashgraph.api.proto.java.Query request) { return 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.hederahashgraph.api.proto.java.Response getTransactionReceipts(com.hederahashgraph.api.proto.java.Query request) { return blockingUnaryCall( getChannel(), getGetTransactionReceiptsMethod(), getCallOptions(), request); } /** *
     * (NOT CURRENTLY SUPPORTED) Returns the records of transactions recently funded by an account
     * 
*/ public com.hederahashgraph.api.proto.java.Response getFastTransactionRecord(com.hederahashgraph.api.proto.java.Query request) { return 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.hederahashgraph.api.proto.java.Response getTxRecordByTxID(com.hederahashgraph.api.proto.java.Query request) { return blockingUnaryCall( getChannel(), getGetTxRecordByTxIDMethod(), getCallOptions(), request); } /** *
     * (NOT CURRENTLY SUPPORTED) Retrieves the stakers for a node by account id
     * 
*/ public com.hederahashgraph.api.proto.java.Response getStakersByAccountID(com.hederahashgraph.api.proto.java.Query request) { return blockingUnaryCall( getChannel(), getGetStakersByAccountIDMethod(), getCallOptions(), request); } } /** *
   *Transactions and queries for the Crypto Service
   * 
*/ public static final class CryptoServiceFutureStub extends io.grpc.stub.AbstractStub { private CryptoServiceFutureStub(io.grpc.Channel channel) { super(channel); } 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.hederahashgraph.api.proto.java.Transaction request) { return futureUnaryCall( getChannel().newCall(getCreateAccountMethod(), getCallOptions()), request); } /** *
     * Updates an account by submitting the transaction
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateAccount( com.hederahashgraph.api.proto.java.Transaction request) { return futureUnaryCall( getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request); } /** *
     * Initiates a transfer by submitting the transaction
     * 
*/ public com.google.common.util.concurrent.ListenableFuture cryptoTransfer( com.hederahashgraph.api.proto.java.Transaction request) { return futureUnaryCall( getChannel().newCall(getCryptoTransferMethod(), getCallOptions()), request); } /** *
     * Deletes and account by submitting the transaction
     * 
*/ public com.google.common.util.concurrent.ListenableFuture cryptoDelete( com.hederahashgraph.api.proto.java.Transaction request) { return futureUnaryCall( getChannel().newCall(getCryptoDeleteMethod(), getCallOptions()), request); } /** *
     * (NOT CURRENTLY SUPPORTED) Adds a livehash
     * 
*/ public com.google.common.util.concurrent.ListenableFuture addLiveHash( com.hederahashgraph.api.proto.java.Transaction request) { return futureUnaryCall( getChannel().newCall(getAddLiveHashMethod(), getCallOptions()), request); } /** *
     * (NOT CURRENTLY SUPPORTED) Deletes a livehash
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteLiveHash( com.hederahashgraph.api.proto.java.Transaction request) { return futureUnaryCall( getChannel().newCall(getDeleteLiveHashMethod(), getCallOptions()), request); } /** *
     * (NOT CURRENTLY SUPPORTED) Retrieves a livehash for an account
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getLiveHash( com.hederahashgraph.api.proto.java.Query request) { return futureUnaryCall( getChannel().newCall(getGetLiveHashMethod(), getCallOptions()), request); } /** *
     * Retrieves the 25-hour records stored for an account
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getAccountRecords( com.hederahashgraph.api.proto.java.Query request) { return futureUnaryCall( getChannel().newCall(getGetAccountRecordsMethod(), getCallOptions()), request); } /** *
     * Retrieves the balance of an account
     * 
*/ public com.google.common.util.concurrent.ListenableFuture cryptoGetBalance( com.hederahashgraph.api.proto.java.Query request) { return futureUnaryCall( getChannel().newCall(getCryptoGetBalanceMethod(), getCallOptions()), request); } /** *
     * Retrieves the metadata of an account
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getAccountInfo( com.hederahashgraph.api.proto.java.Query request) { return 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.hederahashgraph.api.proto.java.Query request) { return 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.hederahashgraph.api.proto.java.Query request) { return 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.hederahashgraph.api.proto.java.Query request) { return 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.hederahashgraph.api.proto.java.Query request) { return 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_ADD_LIVE_HASH = 4; private static final int METHODID_DELETE_LIVE_HASH = 5; private static final int METHODID_GET_LIVE_HASH = 6; private static final int METHODID_GET_ACCOUNT_RECORDS = 7; private static final int METHODID_CRYPTO_GET_BALANCE = 8; private static final int METHODID_GET_ACCOUNT_INFO = 9; private static final int METHODID_GET_TRANSACTION_RECEIPTS = 10; private static final int METHODID_GET_FAST_TRANSACTION_RECORD = 11; private static final int METHODID_GET_TX_RECORD_BY_TX_ID = 12; private static final int METHODID_GET_STAKERS_BY_ACCOUNT_ID = 13; 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.hederahashgraph.api.proto.java.Transaction) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_ACCOUNT: serviceImpl.updateAccount((com.hederahashgraph.api.proto.java.Transaction) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CRYPTO_TRANSFER: serviceImpl.cryptoTransfer((com.hederahashgraph.api.proto.java.Transaction) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CRYPTO_DELETE: serviceImpl.cryptoDelete((com.hederahashgraph.api.proto.java.Transaction) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_ADD_LIVE_HASH: serviceImpl.addLiveHash((com.hederahashgraph.api.proto.java.Transaction) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_LIVE_HASH: serviceImpl.deleteLiveHash((com.hederahashgraph.api.proto.java.Transaction) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_LIVE_HASH: serviceImpl.getLiveHash((com.hederahashgraph.api.proto.java.Query) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_ACCOUNT_RECORDS: serviceImpl.getAccountRecords((com.hederahashgraph.api.proto.java.Query) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CRYPTO_GET_BALANCE: serviceImpl.cryptoGetBalance((com.hederahashgraph.api.proto.java.Query) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_ACCOUNT_INFO: serviceImpl.getAccountInfo((com.hederahashgraph.api.proto.java.Query) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_TRANSACTION_RECEIPTS: serviceImpl.getTransactionReceipts((com.hederahashgraph.api.proto.java.Query) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_FAST_TRANSACTION_RECORD: serviceImpl.getFastTransactionRecord((com.hederahashgraph.api.proto.java.Query) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_TX_RECORD_BY_TX_ID: serviceImpl.getTxRecordByTxID((com.hederahashgraph.api.proto.java.Query) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_STAKERS_BY_ACCOUNT_ID: serviceImpl.getStakersByAccountID((com.hederahashgraph.api.proto.java.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 abstract class CryptoServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { CryptoServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return com.hederahashgraph.service.proto.java.CryptoServiceOuterClass.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("CryptoService"); } } private static final class CryptoServiceFileDescriptorSupplier extends CryptoServiceBaseDescriptorSupplier { CryptoServiceFileDescriptorSupplier() {} } private static final class CryptoServiceMethodDescriptorSupplier extends CryptoServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; CryptoServiceMethodDescriptorSupplier(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 (CryptoServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new CryptoServiceFileDescriptorSupplier()) .addMethod(getCreateAccountMethod()) .addMethod(getUpdateAccountMethod()) .addMethod(getCryptoTransferMethod()) .addMethod(getCryptoDeleteMethod()) .addMethod(getAddLiveHashMethod()) .addMethod(getDeleteLiveHashMethod()) .addMethod(getGetLiveHashMethod()) .addMethod(getGetAccountRecordsMethod()) .addMethod(getCryptoGetBalanceMethod()) .addMethod(getGetAccountInfoMethod()) .addMethod(getGetTransactionReceiptsMethod()) .addMethod(getGetFastTransactionRecordMethod()) .addMethod(getGetTxRecordByTxIDMethod()) .addMethod(getGetStakersByAccountIDMethod()) .build(); } } } return result; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy