- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.3
- 2.3.6
public static final class CallFunctionResponse.Builder extends GeneratedMessageV3.Builder<CallFunctionResponse.Builder> implements CallFunctionResponseOrBuilder
Response of CallFunction
method.
Protobuf type google.cloud.functions.v1.CallFunctionResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CallFunctionResponse.BuilderImplements
CallFunctionResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
build()
public CallFunctionResponse build()
Returns | |
---|---|
Type | Description |
CallFunctionResponse |
buildPartial()
public CallFunctionResponse buildPartial()
Returns | |
---|---|
Type | Description |
CallFunctionResponse |
clear()
public CallFunctionResponse.Builder clear()
Returns | |
---|---|
Type | Description |
CallFunctionResponse.Builder |
clearError()
public CallFunctionResponse.Builder clearError()
Either system or user-function generated error. Set if execution was not successful.
string error = 3;
Returns | |
---|---|
Type | Description |
CallFunctionResponse.Builder | This builder for chaining. |
clearExecutionId()
public CallFunctionResponse.Builder clearExecutionId()
Execution id of function invocation.
string execution_id = 1;
Returns | |
---|---|
Type | Description |
CallFunctionResponse.Builder | This builder for chaining. |
clearResult()
public CallFunctionResponse.Builder clearResult()
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 |
CallFunctionResponse.Builder | This builder for chaining. |
getDefaultInstanceForType()
public CallFunctionResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CallFunctionResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CallFunctionResponse other)
public CallFunctionResponse.Builder mergeFrom(CallFunctionResponse other)
Parameter | |
---|---|
Name | Description |
other | CallFunctionResponse |
Returns | |
---|---|
Type | Description |
CallFunctionResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CallFunctionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CallFunctionResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CallFunctionResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CallFunctionResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CallFunctionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CallFunctionResponse.Builder |
setError(String value)
public CallFunctionResponse.Builder setError(String value)
Either system or user-function generated error. Set if execution was not successful.
string error = 3;
Parameter | |
---|---|
Name | Description |
value | String The error to set. |
Returns | |
---|---|
Type | Description |
CallFunctionResponse.Builder | This builder for chaining. |
setErrorBytes(ByteString value)
public CallFunctionResponse.Builder setErrorBytes(ByteString value)
Either system or user-function generated error. Set if execution was not successful.
string error = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for error to set. |
Returns | |
---|---|
Type | Description |
CallFunctionResponse.Builder | This builder for chaining. |
setExecutionId(String value)
public CallFunctionResponse.Builder setExecutionId(String value)
Execution id of function invocation.
string execution_id = 1;
Parameter | |
---|---|
Name | Description |
value | String The executionId to set. |
Returns | |
---|---|
Type | Description |
CallFunctionResponse.Builder | This builder for chaining. |
setExecutionIdBytes(ByteString value)
public CallFunctionResponse.Builder setExecutionIdBytes(ByteString value)
Execution id of function invocation.
string execution_id = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for executionId to set. |
Returns | |
---|---|
Type | Description |
CallFunctionResponse.Builder | This builder for chaining. |
setResult(String value)
public CallFunctionResponse.Builder setResult(String value)
Result populated for successful execution of synchronous function. Will not be populated if function does not return a result through context.
string result = 2;
Parameter | |
---|---|
Name | Description |
value | String The result to set. |
Returns | |
---|---|
Type | Description |
CallFunctionResponse.Builder | This builder for chaining. |
setResultBytes(ByteString value)
public CallFunctionResponse.Builder setResultBytes(ByteString value)
Result populated for successful execution of synchronous function. Will not be populated if function does not return a result through context.
string result = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for result to set. |
Returns | |
---|---|
Type | Description |
CallFunctionResponse.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CallFunctionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CallFunctionResponse.Builder |