public final class CallFunctionResponse extends GeneratedMessageV3 implements CallFunctionResponseOrBuilder
Response of CallFunction
method.
Protobuf type google.cloud.functions.v1.CallFunctionResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CallFunctionResponse.Builder newBuilder()
newBuilder(CallFunctionResponse prototype)
public static CallFunctionResponse.Builder newBuilder(CallFunctionResponse prototype)
public static CallFunctionResponse parseDelimitedFrom(InputStream input)
public static CallFunctionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CallFunctionResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CallFunctionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CallFunctionResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CallFunctionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CallFunctionResponse parseFrom(CodedInputStream input)
public static CallFunctionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CallFunctionResponse parseFrom(InputStream input)
public static CallFunctionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CallFunctionResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CallFunctionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CallFunctionResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public CallFunctionResponse getDefaultInstanceForType()
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()
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CallFunctionResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CallFunctionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CallFunctionResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides