Class RpcPartialFinishWithError.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RpcPartialFinishWithError.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<RpcPartialFinishWithError.Builder>
org.hansken.extraction.plugin.grpc.RpcPartialFinishWithError.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,RpcPartialFinishWithErrorOrBuilder
- Enclosing class:
RpcPartialFinishWithError
public static final class RpcPartialFinishWithError.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<RpcPartialFinishWithError.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddActions(int index, com.google.protobuf.Any value) repeated .google.protobuf.Any actions = 1;addActions(int index, com.google.protobuf.Any.Builder builderForValue) repeated .google.protobuf.Any actions = 1;addActions(com.google.protobuf.Any value) repeated .google.protobuf.Any actions = 1;addActions(com.google.protobuf.Any.Builder builderForValue) repeated .google.protobuf.Any actions = 1;com.google.protobuf.Any.Builderrepeated .google.protobuf.Any actions = 1;com.google.protobuf.Any.BuilderaddActionsBuilder(int index) repeated .google.protobuf.Any actions = 1;addAllActions(Iterable<? extends com.google.protobuf.Any> values) repeated .google.protobuf.Any actions = 1;addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()repeated .google.protobuf.Any actions = 1;string errorDescription = 3;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .org.hansken.extraction.plugin.grpc.RpcProfile profile = 4;string statusCode = 2;clone()com.google.protobuf.AnygetActions(int index) repeated .google.protobuf.Any actions = 1;com.google.protobuf.Any.BuildergetActionsBuilder(int index) repeated .google.protobuf.Any actions = 1;List<com.google.protobuf.Any.Builder> repeated .google.protobuf.Any actions = 1;intrepeated .google.protobuf.Any actions = 1;List<com.google.protobuf.Any> repeated .google.protobuf.Any actions = 1;com.google.protobuf.AnyOrBuildergetActionsOrBuilder(int index) repeated .google.protobuf.Any actions = 1;List<? extends com.google.protobuf.AnyOrBuilder> repeated .google.protobuf.Any actions = 1;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorstring errorDescription = 3;com.google.protobuf.ByteStringstring errorDescription = 3;.org.hansken.extraction.plugin.grpc.RpcProfile profile = 4;.org.hansken.extraction.plugin.grpc.RpcProfile profile = 4;.org.hansken.extraction.plugin.grpc.RpcProfile profile = 4;string statusCode = 2;com.google.protobuf.ByteStringstring statusCode = 2;boolean.org.hansken.extraction.plugin.grpc.RpcProfile profile = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeProfile(RpcProfile value) .org.hansken.extraction.plugin.grpc.RpcProfile profile = 4;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeActions(int index) repeated .google.protobuf.Any actions = 1;setActions(int index, com.google.protobuf.Any value) repeated .google.protobuf.Any actions = 1;setActions(int index, com.google.protobuf.Any.Builder builderForValue) repeated .google.protobuf.Any actions = 1;setErrorDescription(String value) string errorDescription = 3;setErrorDescriptionBytes(com.google.protobuf.ByteString value) string errorDescription = 3;setProfile(RpcProfile value) .org.hansken.extraction.plugin.grpc.RpcProfile profile = 4;setProfile(RpcProfile.Builder builderForValue) .org.hansken.extraction.plugin.grpc.RpcProfile profile = 4;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStatusCode(String value) string statusCode = 2;setStatusCodeBytes(com.google.protobuf.ByteString value) string statusCode = 2;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RpcPartialFinishWithError.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RpcPartialFinishWithError.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.GeneratedMessageV3.Builder<RpcPartialFinishWithError.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RpcPartialFinishWithError.Builder>
-
setField
public RpcPartialFinishWithError.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RpcPartialFinishWithError.Builder>
-
clearField
public RpcPartialFinishWithError.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RpcPartialFinishWithError.Builder>
-
clearOneof
public RpcPartialFinishWithError.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RpcPartialFinishWithError.Builder>
-
setRepeatedField
public RpcPartialFinishWithError.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RpcPartialFinishWithError.Builder>
-
addRepeatedField
public RpcPartialFinishWithError.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RpcPartialFinishWithError.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RpcPartialFinishWithError.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RpcPartialFinishWithError.Builder>
-
mergeFrom
public RpcPartialFinishWithError.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<RpcPartialFinishWithError.Builder>- Throws:
IOException
-
getActionsList
repeated .google.protobuf.Any actions = 1;- Specified by:
getActionsListin interfaceRpcPartialFinishWithErrorOrBuilder
-
getActionsCount
public int getActionsCount()repeated .google.protobuf.Any actions = 1;- Specified by:
getActionsCountin interfaceRpcPartialFinishWithErrorOrBuilder
-
getActions
public com.google.protobuf.Any getActions(int index) repeated .google.protobuf.Any actions = 1;- Specified by:
getActionsin interfaceRpcPartialFinishWithErrorOrBuilder
-
setActions
repeated .google.protobuf.Any actions = 1; -
setActions
public RpcPartialFinishWithError.Builder setActions(int index, com.google.protobuf.Any.Builder builderForValue) repeated .google.protobuf.Any actions = 1; -
addActions
repeated .google.protobuf.Any actions = 1; -
addActions
repeated .google.protobuf.Any actions = 1; -
addActions
public RpcPartialFinishWithError.Builder addActions(com.google.protobuf.Any.Builder builderForValue) repeated .google.protobuf.Any actions = 1; -
addActions
public RpcPartialFinishWithError.Builder addActions(int index, com.google.protobuf.Any.Builder builderForValue) repeated .google.protobuf.Any actions = 1; -
addAllActions
public RpcPartialFinishWithError.Builder addAllActions(Iterable<? extends com.google.protobuf.Any> values) repeated .google.protobuf.Any actions = 1; -
clearActions
repeated .google.protobuf.Any actions = 1; -
removeActions
repeated .google.protobuf.Any actions = 1; -
getActionsBuilder
public com.google.protobuf.Any.Builder getActionsBuilder(int index) repeated .google.protobuf.Any actions = 1; -
getActionsOrBuilder
public com.google.protobuf.AnyOrBuilder getActionsOrBuilder(int index) repeated .google.protobuf.Any actions = 1;- Specified by:
getActionsOrBuilderin interfaceRpcPartialFinishWithErrorOrBuilder
-
getActionsOrBuilderList
repeated .google.protobuf.Any actions = 1;- Specified by:
getActionsOrBuilderListin interfaceRpcPartialFinishWithErrorOrBuilder
-
addActionsBuilder
public com.google.protobuf.Any.Builder addActionsBuilder()repeated .google.protobuf.Any actions = 1; -
addActionsBuilder
public com.google.protobuf.Any.Builder addActionsBuilder(int index) repeated .google.protobuf.Any actions = 1; -
getActionsBuilderList
repeated .google.protobuf.Any actions = 1; -
getStatusCode
string statusCode = 2;- Specified by:
getStatusCodein interfaceRpcPartialFinishWithErrorOrBuilder- Returns:
- The statusCode.
-
getStatusCodeBytes
public com.google.protobuf.ByteString getStatusCodeBytes()string statusCode = 2;- Specified by:
getStatusCodeBytesin interfaceRpcPartialFinishWithErrorOrBuilder- Returns:
- The bytes for statusCode.
-
setStatusCode
string statusCode = 2;- Parameters:
value- The statusCode to set.- Returns:
- This builder for chaining.
-
clearStatusCode
string statusCode = 2;- Returns:
- This builder for chaining.
-
setStatusCodeBytes
string statusCode = 2;- Parameters:
value- The bytes for statusCode to set.- Returns:
- This builder for chaining.
-
getErrorDescription
string errorDescription = 3;- Specified by:
getErrorDescriptionin interfaceRpcPartialFinishWithErrorOrBuilder- Returns:
- The errorDescription.
-
getErrorDescriptionBytes
public com.google.protobuf.ByteString getErrorDescriptionBytes()string errorDescription = 3;- Specified by:
getErrorDescriptionBytesin interfaceRpcPartialFinishWithErrorOrBuilder- Returns:
- The bytes for errorDescription.
-
setErrorDescription
string errorDescription = 3;- Parameters:
value- The errorDescription to set.- Returns:
- This builder for chaining.
-
clearErrorDescription
string errorDescription = 3;- Returns:
- This builder for chaining.
-
setErrorDescriptionBytes
public RpcPartialFinishWithError.Builder setErrorDescriptionBytes(com.google.protobuf.ByteString value) string errorDescription = 3;- Parameters:
value- The bytes for errorDescription to set.- Returns:
- This builder for chaining.
-
hasProfile
public boolean hasProfile().org.hansken.extraction.plugin.grpc.RpcProfile profile = 4;- Specified by:
hasProfilein interfaceRpcPartialFinishWithErrorOrBuilder- Returns:
- Whether the profile field is set.
-
getProfile
.org.hansken.extraction.plugin.grpc.RpcProfile profile = 4;- Specified by:
getProfilein interfaceRpcPartialFinishWithErrorOrBuilder- Returns:
- The profile.
-
setProfile
.org.hansken.extraction.plugin.grpc.RpcProfile profile = 4; -
setProfile
.org.hansken.extraction.plugin.grpc.RpcProfile profile = 4; -
mergeProfile
.org.hansken.extraction.plugin.grpc.RpcProfile profile = 4; -
clearProfile
.org.hansken.extraction.plugin.grpc.RpcProfile profile = 4; -
getProfileBuilder
.org.hansken.extraction.plugin.grpc.RpcProfile profile = 4; -
getProfileOrBuilder
.org.hansken.extraction.plugin.grpc.RpcProfile profile = 4;- Specified by:
getProfileOrBuilderin interfaceRpcPartialFinishWithErrorOrBuilder
-
setUnknownFields
public final RpcPartialFinishWithError.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RpcPartialFinishWithError.Builder>
-
mergeUnknownFields
public final RpcPartialFinishWithError.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RpcPartialFinishWithError.Builder>
-