Package com.exonum.messages.core.runtime
Interface Errors.CallSiteOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Errors.CallSite
,Errors.CallSite.Builder
- Enclosing class:
- Errors
public static interface Errors.CallSiteOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description Errors.CallSite.Type
getCallType()
Type of the call.int
getCallTypeValue()
Type of the call.int
getInstanceId()
Identifier of the service being called.java.lang.String
getInterface()
Name of the interface defining the method.com.google.protobuf.ByteString
getInterfaceBytes()
Name of the interface defining the method.int
getMethodId()
Numeric ID of the method.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCallTypeValue
int getCallTypeValue()Type of the call.
.exonum.runtime.CallSite.Type call_type = 1;
- Returns:
- The enum numeric value on the wire for callType.
-
getCallType
Errors.CallSite.Type getCallType()Type of the call.
.exonum.runtime.CallSite.Type call_type = 1;
- Returns:
- The callType.
-
getInstanceId
int getInstanceId()Identifier of the service being called.
uint32 instance_id = 2;
- Returns:
- The instanceId.
-
getMethodId
int getMethodId()Numeric ID of the method. Set only for `call_type == METHOD`.
uint32 method_id = 3;
- Returns:
- The methodId.
-
getInterface
java.lang.String getInterface()Name of the interface defining the method. This field is empty for the default service interface. Set only for `call_type == METHOD`.
string interface = 4;
- Returns:
- The interface.
-
getInterfaceBytes
com.google.protobuf.ByteString getInterfaceBytes()Name of the interface defining the method. This field is empty for the default service interface. Set only for `call_type == METHOD`.
string interface = 4;
- Returns:
- The bytes for interface.
-