public final class CallFunctionResponse extends GeneratedMessageV3 implements CallFunctionResponseOrBuilder
Response of CallFunction
method.
Protobuf type google.cloud.functions.v1.CallFunctionResponse
Static Fields
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value
EXECUTION_ID_FIELD_NUMBER
public static final int EXECUTION_ID_FIELD_NUMBER
Field Value
RESULT_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CallFunctionResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CallFunctionResponse.Builder newBuilder()
Returns
newBuilder(CallFunctionResponse prototype)
public static CallFunctionResponse.Builder newBuilder(CallFunctionResponse prototype)
Parameter
Returns
public static CallFunctionResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CallFunctionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CallFunctionResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CallFunctionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CallFunctionResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CallFunctionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CallFunctionResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CallFunctionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CallFunctionResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CallFunctionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CallFunctionResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CallFunctionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CallFunctionResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CallFunctionResponse getDefaultInstanceForType()
Returns
getError()
Either system or user-function generated error. Set if execution
was not successful.
string error = 3;
Returns
Type | Description |
String | The error.
|
getErrorBytes()
public ByteString getErrorBytes()
Either system or user-function generated error. Set if execution
was not successful.
string error = 3;
Returns
getExecutionId()
public String getExecutionId()
Execution id of function invocation.
string execution_id = 1;
Returns
Type | Description |
String | The executionId.
|
getExecutionIdBytes()
public ByteString getExecutionIdBytes()
Execution id of function invocation.
string execution_id = 1;
Returns
Type | Description |
ByteString | The bytes for executionId.
|
getParserForType()
public Parser<CallFunctionResponse> getParserForType()
Returns
Overrides
getResult()
public 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
Type | Description |
String | The result.
|
getResultBytes()
public 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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CallFunctionResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CallFunctionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CallFunctionResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions