Class RpcPartialFinishWithError

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.hansken.extraction.plugin.grpc.RpcPartialFinishWithError
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, RpcPartialFinishWithErrorOrBuilder

public final class RpcPartialFinishWithError extends com.google.protobuf.GeneratedMessageV3 implements RpcPartialFinishWithErrorOrBuilder

 This response behaves the same as {@link org.hansken.extraction.plugin.grpc.RpcFinish}, with the exception
 that it is only used when an error occurs during the processing of a trace.

 The response contains a partial list of actions, a (error)statusCode and an errorDescription.

 The server processes the partial results towards the client, and throws an exception with the
 statusCode & errorDescription which should be handled client-side.
 
Protobuf type org.hansken.extraction.plugin.grpc.RpcPartialFinishWithError
See Also:
  • Field Details

    • ACTIONS_FIELD_NUMBER

      public static final int ACTIONS_FIELD_NUMBER
      See Also:
    • STATUSCODE_FIELD_NUMBER

      public static final int STATUSCODE_FIELD_NUMBER
      See Also:
    • ERRORDESCRIPTION_FIELD_NUMBER

      public static final int ERRORDESCRIPTION_FIELD_NUMBER
      See Also:
    • PROFILE_FIELD_NUMBER

      public static final int PROFILE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getActionsList

      public List<com.google.protobuf.Any> getActionsList()
      repeated .google.protobuf.Any actions = 1;
      Specified by:
      getActionsList in interface RpcPartialFinishWithErrorOrBuilder
    • getActionsOrBuilderList

      public List<? extends com.google.protobuf.AnyOrBuilder> getActionsOrBuilderList()
      repeated .google.protobuf.Any actions = 1;
      Specified by:
      getActionsOrBuilderList in interface RpcPartialFinishWithErrorOrBuilder
    • getActionsCount

      public int getActionsCount()
      repeated .google.protobuf.Any actions = 1;
      Specified by:
      getActionsCount in interface RpcPartialFinishWithErrorOrBuilder
    • getActions

      public com.google.protobuf.Any getActions(int index)
      repeated .google.protobuf.Any actions = 1;
      Specified by:
      getActions in interface RpcPartialFinishWithErrorOrBuilder
    • getActionsOrBuilder

      public com.google.protobuf.AnyOrBuilder getActionsOrBuilder(int index)
      repeated .google.protobuf.Any actions = 1;
      Specified by:
      getActionsOrBuilder in interface RpcPartialFinishWithErrorOrBuilder
    • getStatusCode

      public String getStatusCode()
      string statusCode = 2;
      Specified by:
      getStatusCode in interface RpcPartialFinishWithErrorOrBuilder
      Returns:
      The statusCode.
    • getStatusCodeBytes

      public com.google.protobuf.ByteString getStatusCodeBytes()
      string statusCode = 2;
      Specified by:
      getStatusCodeBytes in interface RpcPartialFinishWithErrorOrBuilder
      Returns:
      The bytes for statusCode.
    • getErrorDescription

      public String getErrorDescription()
      string errorDescription = 3;
      Specified by:
      getErrorDescription in interface RpcPartialFinishWithErrorOrBuilder
      Returns:
      The errorDescription.
    • getErrorDescriptionBytes

      public com.google.protobuf.ByteString getErrorDescriptionBytes()
      string errorDescription = 3;
      Specified by:
      getErrorDescriptionBytes in interface RpcPartialFinishWithErrorOrBuilder
      Returns:
      The bytes for errorDescription.
    • hasProfile

      public boolean hasProfile()
      .org.hansken.extraction.plugin.grpc.RpcProfile profile = 4;
      Specified by:
      hasProfile in interface RpcPartialFinishWithErrorOrBuilder
      Returns:
      Whether the profile field is set.
    • getProfile

      public RpcProfile getProfile()
      .org.hansken.extraction.plugin.grpc.RpcProfile profile = 4;
      Specified by:
      getProfile in interface RpcPartialFinishWithErrorOrBuilder
      Returns:
      The profile.
    • getProfileOrBuilder

      public RpcProfileOrBuilder getProfileOrBuilder()
      .org.hansken.extraction.plugin.grpc.RpcProfile profile = 4;
      Specified by:
      getProfileOrBuilder in interface RpcPartialFinishWithErrorOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static RpcPartialFinishWithError parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RpcPartialFinishWithError parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RpcPartialFinishWithError parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RpcPartialFinishWithError parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RpcPartialFinishWithError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RpcPartialFinishWithError parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RpcPartialFinishWithError parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RpcPartialFinishWithError parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RpcPartialFinishWithError parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RpcPartialFinishWithError parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RpcPartialFinishWithError parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RpcPartialFinishWithError parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public RpcPartialFinishWithError.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static RpcPartialFinishWithError.Builder newBuilder()
    • newBuilder

      public static RpcPartialFinishWithError.Builder newBuilder(RpcPartialFinishWithError prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RpcPartialFinishWithError.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static RpcPartialFinishWithError getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RpcPartialFinishWithError> parser()
    • getParserForType

      public com.google.protobuf.Parser<RpcPartialFinishWithError> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public RpcPartialFinishWithError getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder