Package com.google.cloud.functions.v1
Class CallFunctionResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CallFunctionResponse.Builder>
com.google.cloud.functions.v1.CallFunctionResponse.Builder
- All Implemented Interfaces:
CallFunctionResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CallFunctionResponse
public static final class CallFunctionResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CallFunctionResponse.Builder>
implements CallFunctionResponseOrBuilder
Response of `CallFunction` method.Protobuf type
google.cloud.functions.v1.CallFunctionResponse-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Either system or user-function generated error.Execution id of function invocation.Result populated for successful execution of synchronous function.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetError()Either system or user-function generated error.com.google.protobuf.ByteStringEither system or user-function generated error.Execution id of function invocation.com.google.protobuf.ByteStringExecution id of function invocation.Result populated for successful execution of synchronous function.com.google.protobuf.ByteStringResult populated for successful execution of synchronous function.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CallFunctionResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Either system or user-function generated error.setErrorBytes(com.google.protobuf.ByteString value) Either system or user-function generated error.setExecutionId(String value) Execution id of function invocation.setExecutionIdBytes(com.google.protobuf.ByteString value) Execution id of function invocation.Result populated for successful execution of synchronous function.setResultBytes(com.google.protobuf.ByteString value) Result populated for successful execution of synchronous function.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CallFunctionResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CallFunctionResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CallFunctionResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CallFunctionResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CallFunctionResponse.Builder>
-
mergeFrom
public CallFunctionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CallFunctionResponse.Builder>- Throws:
IOException
-
getExecutionId
Execution id of function invocation.
string execution_id = 1;- Specified by:
getExecutionIdin interfaceCallFunctionResponseOrBuilder- Returns:
- The executionId.
-
getExecutionIdBytes
public com.google.protobuf.ByteString getExecutionIdBytes()Execution id of function invocation.
string execution_id = 1;- Specified by:
getExecutionIdBytesin interfaceCallFunctionResponseOrBuilder- Returns:
- The bytes for executionId.
-
setExecutionId
Execution id of function invocation.
string execution_id = 1;- Parameters:
value- The executionId to set.- Returns:
- This builder for chaining.
-
clearExecutionId
Execution id of function invocation.
string execution_id = 1;- Returns:
- This builder for chaining.
-
setExecutionIdBytes
Execution id of function invocation.
string execution_id = 1;- Parameters:
value- The bytes for executionId to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getResultin interfaceCallFunctionResponseOrBuilder- Returns:
- The result.
-
getResultBytes
public 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;- Specified by:
getResultBytesin interfaceCallFunctionResponseOrBuilder- Returns:
- The bytes for result.
-
setResult
Result populated for successful execution of synchronous function. Will not be populated if function does not return a result through context.
string result = 2;- Parameters:
value- The result to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setResultBytes
Result populated for successful execution of synchronous function. Will not be populated if function does not return a result through context.
string result = 2;- Parameters:
value- The bytes for result to set.- Returns:
- This builder for chaining.
-
getError
Either system or user-function generated error. Set if execution was not successful.
string error = 3;- Specified by:
getErrorin interfaceCallFunctionResponseOrBuilder- Returns:
- The error.
-
getErrorBytes
public com.google.protobuf.ByteString getErrorBytes()Either system or user-function generated error. Set if execution was not successful.
string error = 3;- Specified by:
getErrorBytesin interfaceCallFunctionResponseOrBuilder- Returns:
- The bytes for error.
-
setError
Either system or user-function generated error. Set if execution was not successful.
string error = 3;- Parameters:
value- The error to set.- Returns:
- This builder for chaining.
-
clearError
Either system or user-function generated error. Set if execution was not successful.
string error = 3;- Returns:
- This builder for chaining.
-
setErrorBytes
Either system or user-function generated error. Set if execution was not successful.
string error = 3;- Parameters:
value- The bytes for error to set.- Returns:
- This builder for chaining.
-