Class CallFunctionResponse (2.49.0)

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
Type Description
int

EXECUTION_ID_FIELD_NUMBER

public static final int EXECUTION_ID_FIELD_NUMBER
Field Value
Type Description
int

RESULT_FIELD_NUMBER

public static final int RESULT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CallFunctionResponse getDefaultInstance()
Returns
Type Description
CallFunctionResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CallFunctionResponse.Builder newBuilder()
Returns
Type Description
CallFunctionResponse.Builder

newBuilder(CallFunctionResponse prototype)

public static CallFunctionResponse.Builder newBuilder(CallFunctionResponse prototype)
Parameter
Name Description
prototype CallFunctionResponse
Returns
Type Description
CallFunctionResponse.Builder

parseDelimitedFrom(InputStream input)

public static CallFunctionResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CallFunctionResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CallFunctionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CallFunctionResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CallFunctionResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CallFunctionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CallFunctionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CallFunctionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CallFunctionResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CallFunctionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CallFunctionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CallFunctionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CallFunctionResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CallFunctionResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CallFunctionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CallFunctionResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CallFunctionResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CallFunctionResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CallFunctionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CallFunctionResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CallFunctionResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CallFunctionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CallFunctionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CallFunctionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CallFunctionResponse> parser()
Returns
Type Description
Parser<CallFunctionResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CallFunctionResponse getDefaultInstanceForType()
Returns
Type Description
CallFunctionResponse

getError()

public String 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
Type Description
ByteString

The bytes for error.

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
Type Description
Parser<CallFunctionResponse>
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
Type Description
ByteString

The bytes for result.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CallFunctionResponse.Builder newBuilderForType()
Returns
Type Description
CallFunctionResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CallFunctionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CallFunctionResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CallFunctionResponse.Builder toBuilder()
Returns
Type Description
CallFunctionResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException