Package com.heroiclabs.nakama.api
Interface RpcOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Rpc
,Rpc.Builder
public interface RpcOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe authentication key used when executed as a non-client HTTP request.com.google.protobuf.ByteString
The authentication key used when executed as a non-client HTTP request.getId()
The identifier of the function.com.google.protobuf.ByteString
The identifier of the function.The payload of the function which must be a JSON object.com.google.protobuf.ByteString
The payload of the function which must be a JSON object.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
-
getId
String getId()The identifier of the function.
string id = 1;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()The identifier of the function.
string id = 1;
- Returns:
- The bytes for id.
-
getPayload
String getPayload()The payload of the function which must be a JSON object.
string payload = 2;
- Returns:
- The payload.
-
getPayloadBytes
com.google.protobuf.ByteString getPayloadBytes()The payload of the function which must be a JSON object.
string payload = 2;
- Returns:
- The bytes for payload.
-
getHttpKey
String getHttpKey()The authentication key used when executed as a non-client HTTP request.
string http_key = 3;
- Returns:
- The httpKey.
-
getHttpKeyBytes
com.google.protobuf.ByteString getHttpKeyBytes()The authentication key used when executed as a non-client HTTP request.
string http_key = 3;
- Returns:
- The bytes for httpKey.
-