Package org.bdware.bdledger.api.grpc.pb
Interface LedgerProto.GetLedgersResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LedgerProto.GetLedgersResponse
,LedgerProto.GetLedgersResponse.Builder
- Enclosing class:
LedgerProto
public static interface LedgerProto.GetLedgersResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetLedgers
(int index) List of ledger names 帐本名称列表com.google.protobuf.ByteString
getLedgersBytes
(int index) List of ledger names 帐本名称列表int
List of ledger names 帐本名称列表List of ledger names 帐本名称列表Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLedgersList
List of ledger names 帐本名称列表
repeated string ledgers = 1;
- Returns:
- A list containing the ledgers.
-
getLedgersCount
int getLedgersCount()List of ledger names 帐本名称列表
repeated string ledgers = 1;
- Returns:
- The count of ledgers.
-
getLedgers
List of ledger names 帐本名称列表
repeated string ledgers = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The ledgers at the given index.
-
getLedgersBytes
com.google.protobuf.ByteString getLedgersBytes(int index) List of ledger names 帐本名称列表
repeated string ledgers = 1;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the ledgers at the given index.
-