Package com.exonum.binding.core.runtime
Interface ServiceRuntimeProtos.ServiceStateHashesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServiceRuntimeProtos.ServiceStateHashes
,ServiceRuntimeProtos.ServiceStateHashes.Builder
- Enclosing class:
- ServiceRuntimeProtos
public static interface ServiceRuntimeProtos.ServiceStateHashesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description int
getInstanceId()
Service instance numeric identifier.com.google.protobuf.ByteString
getStateHashes(int index)
Service state hashes.int
getStateHashesCount()
Service state hashes.List<com.google.protobuf.ByteString>
getStateHashesList()
Service state hashes.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getInstanceId
int getInstanceId()Service instance numeric identifier.
uint32 instance_id = 1;
- Returns:
- The instanceId.
-
getStateHashesList
List<com.google.protobuf.ByteString> getStateHashesList()Service state hashes.
repeated bytes state_hashes = 2;
- Returns:
- A list containing the stateHashes.
-
getStateHashesCount
int getStateHashesCount()Service state hashes.
repeated bytes state_hashes = 2;
- Returns:
- The count of stateHashes.
-
getStateHashes
com.google.protobuf.ByteString getStateHashes(int index)Service state hashes.
repeated bytes state_hashes = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The stateHashes at the given index.
-