Package com.google.cloud.functions.v1
Interface CallFunctionResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CallFunctionResponse
,CallFunctionResponse.Builder
public interface CallFunctionResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getError()
Either system or user-function generated error.com.google.protobuf.ByteString
getErrorBytes()
Either system or user-function generated error.String
getExecutionId()
Execution id of function invocation.com.google.protobuf.ByteString
getExecutionIdBytes()
Execution id of function invocation.String
getResult()
Result populated for successful execution of synchronous function.com.google.protobuf.ByteString
getResultBytes()
Result populated for successful execution of synchronous function.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getExecutionId
String getExecutionId()
Execution id of function invocation.
string execution_id = 1;
- Returns:
- The executionId.
-
getExecutionIdBytes
com.google.protobuf.ByteString getExecutionIdBytes()
Execution id of function invocation.
string execution_id = 1;
- Returns:
- The bytes for executionId.
-
getResult
String getResult()
Result populated for successful execution of synchronous function. Will not be populated if function does not return a result through context.
string result = 2;
- Returns:
- The result.
-
getResultBytes
com.google.protobuf.ByteString getResultBytes()
Result populated for successful execution of synchronous function. Will not be populated if function does not return a result through context.
string result = 2;
- Returns:
- The bytes for result.
-
getError
String getError()
Either system or user-function generated error. Set if execution was not successful.
string error = 3;
- Returns:
- The error.
-
getErrorBytes
com.google.protobuf.ByteString getErrorBytes()
Either system or user-function generated error. Set if execution was not successful.
string error = 3;
- Returns:
- The bytes for error.
-
-