Class Execution.Error.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Execution.Error.Builder>
com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder
All Implemented Interfaces:
Execution.ErrorOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Execution.Error

public static final class Execution.Error.Builder extends com.google.protobuf.GeneratedMessage.Builder<Execution.Error.Builder> implements Execution.ErrorOrBuilder
 Error describes why the execution was abnormally terminated.
 
Protobuf type google.cloud.workflows.executions.v1beta.Execution.Error
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Human readable error context, helpful for debugging purposes.
    Error payload returned by the execution, represented as a JSON string.
    Human readable error context, helpful for debugging purposes.
    com.google.protobuf.ByteString
    Human readable error context, helpful for debugging purposes.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Error payload returned by the execution, represented as a JSON string.
    com.google.protobuf.ByteString
    Error payload returned by the execution, represented as a JSON string.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    Human readable error context, helpful for debugging purposes.
    setContextBytes(com.google.protobuf.ByteString value)
    Human readable error context, helpful for debugging purposes.
    Error payload returned by the execution, represented as a JSON string.
    setPayloadBytes(com.google.protobuf.ByteString value)
    Error payload returned by the execution, represented as a JSON string.

    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, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Execution.Error.Builder>
    • clear

      public Execution.Error.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<Execution.Error.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<Execution.Error.Builder>
    • getDefaultInstanceForType

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

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

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

      public Execution.Error.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<Execution.Error.Builder>
    • mergeFrom

      public Execution.Error.Builder mergeFrom(Execution.Error other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Execution.Error.Builder>
    • mergeFrom

      public Execution.Error.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<Execution.Error.Builder>
      Throws:
      IOException
    • getPayload

      public String getPayload()
       Error payload returned by the execution, represented as a JSON string.
       
      string payload = 1;
      Specified by:
      getPayload in interface Execution.ErrorOrBuilder
      Returns:
      The payload.
    • getPayloadBytes

      public com.google.protobuf.ByteString getPayloadBytes()
       Error payload returned by the execution, represented as a JSON string.
       
      string payload = 1;
      Specified by:
      getPayloadBytes in interface Execution.ErrorOrBuilder
      Returns:
      The bytes for payload.
    • setPayload

      public Execution.Error.Builder setPayload(String value)
       Error payload returned by the execution, represented as a JSON string.
       
      string payload = 1;
      Parameters:
      value - The payload to set.
      Returns:
      This builder for chaining.
    • clearPayload

      public Execution.Error.Builder clearPayload()
       Error payload returned by the execution, represented as a JSON string.
       
      string payload = 1;
      Returns:
      This builder for chaining.
    • setPayloadBytes

      public Execution.Error.Builder setPayloadBytes(com.google.protobuf.ByteString value)
       Error payload returned by the execution, represented as a JSON string.
       
      string payload = 1;
      Parameters:
      value - The bytes for payload to set.
      Returns:
      This builder for chaining.
    • getContext

      public String getContext()
       Human readable error context, helpful for debugging purposes.
       
      string context = 2;
      Specified by:
      getContext in interface Execution.ErrorOrBuilder
      Returns:
      The context.
    • getContextBytes

      public com.google.protobuf.ByteString getContextBytes()
       Human readable error context, helpful for debugging purposes.
       
      string context = 2;
      Specified by:
      getContextBytes in interface Execution.ErrorOrBuilder
      Returns:
      The bytes for context.
    • setContext

      public Execution.Error.Builder setContext(String value)
       Human readable error context, helpful for debugging purposes.
       
      string context = 2;
      Parameters:
      value - The context to set.
      Returns:
      This builder for chaining.
    • clearContext

      public Execution.Error.Builder clearContext()
       Human readable error context, helpful for debugging purposes.
       
      string context = 2;
      Returns:
      This builder for chaining.
    • setContextBytes

      public Execution.Error.Builder setContextBytes(com.google.protobuf.ByteString value)
       Human readable error context, helpful for debugging purposes.
       
      string context = 2;
      Parameters:
      value - The bytes for context to set.
      Returns:
      This builder for chaining.