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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CallFunctionResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CallFunctionResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CallFunctionResponse.Builder>
    • getDefaultInstanceForType

      public CallFunctionResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CallFunctionResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CallFunctionResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CallFunctionResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CallFunctionResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CallFunctionResponse.Builder>
      Throws:
      IOException
    • getExecutionId

      public String getExecutionId()
       Execution id of function invocation.
       
      string execution_id = 1;
      Specified by:
      getExecutionId in interface CallFunctionResponseOrBuilder
      Returns:
      The executionId.
    • getExecutionIdBytes

      public com.google.protobuf.ByteString getExecutionIdBytes()
       Execution id of function invocation.
       
      string execution_id = 1;
      Specified by:
      getExecutionIdBytes in interface CallFunctionResponseOrBuilder
      Returns:
      The bytes for executionId.
    • setExecutionId

      public CallFunctionResponse.Builder setExecutionId(String value)
       Execution id of function invocation.
       
      string execution_id = 1;
      Parameters:
      value - The executionId to set.
      Returns:
      This builder for chaining.
    • clearExecutionId

      public CallFunctionResponse.Builder clearExecutionId()
       Execution id of function invocation.
       
      string execution_id = 1;
      Returns:
      This builder for chaining.
    • setExecutionIdBytes

      public CallFunctionResponse.Builder setExecutionIdBytes(com.google.protobuf.ByteString value)
       Execution id of function invocation.
       
      string execution_id = 1;
      Parameters:
      value - The bytes for executionId to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      getResult in interface CallFunctionResponseOrBuilder
      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:
      getResultBytes in interface CallFunctionResponseOrBuilder
      Returns:
      The bytes for result.
    • setResult

      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;
      Parameters:
      value - The result to set.
      Returns:
      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:
      This builder for chaining.
    • setResultBytes

      public CallFunctionResponse.Builder setResultBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for result to set.
      Returns:
      This builder for chaining.
    • getError

      public String getError()
       Either system or user-function generated error. Set if execution
       was not successful.
       
      string error = 3;
      Specified by:
      getError in interface CallFunctionResponseOrBuilder
      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:
      getErrorBytes in interface CallFunctionResponseOrBuilder
      Returns:
      The bytes for error.
    • setError

      public CallFunctionResponse.Builder setError(String value)
       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

      public CallFunctionResponse.Builder clearError()
       Either system or user-function generated error. Set if execution
       was not successful.
       
      string error = 3;
      Returns:
      This builder for chaining.
    • setErrorBytes

      public CallFunctionResponse.Builder setErrorBytes(com.google.protobuf.ByteString value)
       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.