public static final class BeamFnApi.InstructionResponse extends com.google.protobuf.GeneratedMessageV3 implements BeamFnApi.InstructionResponseOrBuilder
The response for an associated request the SDK had been asked to fulfill. StableProtobuf type
org.apache.beam.fn.v1.InstructionResponse| Modifier and Type | Class and Description |
|---|---|
static class |
BeamFnApi.InstructionResponse.Builder
The response for an associated request the SDK had been asked to fulfill.
|
static class |
BeamFnApi.InstructionResponse.ResponseCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_FIELD_NUMBER |
static int |
INSTRUCTION_ID_FIELD_NUMBER |
static int |
PROCESS_BUNDLE_FIELD_NUMBER |
static int |
PROCESS_BUNDLE_PROGRESS_FIELD_NUMBER |
static int |
PROCESS_BUNDLE_SPLIT_FIELD_NUMBER |
static int |
REGISTER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static BeamFnApi.InstructionResponse |
getDefaultInstance() |
BeamFnApi.InstructionResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getError()
If this is specified, then this instruction has failed.
|
com.google.protobuf.ByteString |
getErrorBytes()
If this is specified, then this instruction has failed.
|
String |
getInstructionId()
(Required) A reference provided by the runner which represents a requests
execution.
|
com.google.protobuf.ByteString |
getInstructionIdBytes()
(Required) A reference provided by the runner which represents a requests
execution.
|
com.google.protobuf.Parser<BeamFnApi.InstructionResponse> |
getParserForType() |
BeamFnApi.ProcessBundleResponse |
getProcessBundle()
.org.apache.beam.fn.v1.ProcessBundleResponse process_bundle = 1001; |
BeamFnApi.ProcessBundleResponseOrBuilder |
getProcessBundleOrBuilder()
.org.apache.beam.fn.v1.ProcessBundleResponse process_bundle = 1001; |
BeamFnApi.ProcessBundleProgressResponse |
getProcessBundleProgress()
.org.apache.beam.fn.v1.ProcessBundleProgressResponse process_bundle_progress = 1002; |
BeamFnApi.ProcessBundleProgressResponseOrBuilder |
getProcessBundleProgressOrBuilder()
.org.apache.beam.fn.v1.ProcessBundleProgressResponse process_bundle_progress = 1002; |
BeamFnApi.ProcessBundleSplitResponse |
getProcessBundleSplit()
.org.apache.beam.fn.v1.ProcessBundleSplitResponse process_bundle_split = 1003; |
BeamFnApi.ProcessBundleSplitResponseOrBuilder |
getProcessBundleSplitOrBuilder()
.org.apache.beam.fn.v1.ProcessBundleSplitResponse process_bundle_split = 1003; |
BeamFnApi.RegisterResponse |
getRegister()
.org.apache.beam.fn.v1.RegisterResponse register = 1000; |
BeamFnApi.RegisterResponseOrBuilder |
getRegisterOrBuilder()
.org.apache.beam.fn.v1.RegisterResponse register = 1000; |
BeamFnApi.InstructionResponse.ResponseCase |
getResponseCase() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BeamFnApi.InstructionResponse.Builder |
newBuilder() |
static BeamFnApi.InstructionResponse.Builder |
newBuilder(BeamFnApi.InstructionResponse prototype) |
BeamFnApi.InstructionResponse.Builder |
newBuilderForType() |
protected BeamFnApi.InstructionResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static BeamFnApi.InstructionResponse |
parseDelimitedFrom(InputStream input) |
static BeamFnApi.InstructionResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.InstructionResponse |
parseFrom(byte[] data) |
static BeamFnApi.InstructionResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.InstructionResponse |
parseFrom(com.google.protobuf.ByteString data) |
static BeamFnApi.InstructionResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.InstructionResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BeamFnApi.InstructionResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.InstructionResponse |
parseFrom(InputStream input) |
static BeamFnApi.InstructionResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BeamFnApi.InstructionResponse> |
parser() |
BeamFnApi.InstructionResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INSTRUCTION_ID_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int REGISTER_FIELD_NUMBER
public static final int PROCESS_BUNDLE_FIELD_NUMBER
public static final int PROCESS_BUNDLE_PROGRESS_FIELD_NUMBER
public static final int PROCESS_BUNDLE_SPLIT_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public BeamFnApi.InstructionResponse.ResponseCase getResponseCase()
getResponseCase in interface BeamFnApi.InstructionResponseOrBuilderpublic String getInstructionId()
(Required) A reference provided by the runner which represents a requests execution. The InstructionResponse MUST have the matching id when responding to the runner.
string instruction_id = 1;getInstructionId in interface BeamFnApi.InstructionResponseOrBuilderpublic com.google.protobuf.ByteString getInstructionIdBytes()
(Required) A reference provided by the runner which represents a requests execution. The InstructionResponse MUST have the matching id when responding to the runner.
string instruction_id = 1;getInstructionIdBytes in interface BeamFnApi.InstructionResponseOrBuilderpublic String getError()
If this is specified, then this instruction has failed. A human readable string representing the reason as to why processing has failed.
string error = 2;getError in interface BeamFnApi.InstructionResponseOrBuilderpublic com.google.protobuf.ByteString getErrorBytes()
If this is specified, then this instruction has failed. A human readable string representing the reason as to why processing has failed.
string error = 2;getErrorBytes in interface BeamFnApi.InstructionResponseOrBuilderpublic BeamFnApi.RegisterResponse getRegister()
.org.apache.beam.fn.v1.RegisterResponse register = 1000;getRegister in interface BeamFnApi.InstructionResponseOrBuilderpublic BeamFnApi.RegisterResponseOrBuilder getRegisterOrBuilder()
.org.apache.beam.fn.v1.RegisterResponse register = 1000;getRegisterOrBuilder in interface BeamFnApi.InstructionResponseOrBuilderpublic BeamFnApi.ProcessBundleResponse getProcessBundle()
.org.apache.beam.fn.v1.ProcessBundleResponse process_bundle = 1001;getProcessBundle in interface BeamFnApi.InstructionResponseOrBuilderpublic BeamFnApi.ProcessBundleResponseOrBuilder getProcessBundleOrBuilder()
.org.apache.beam.fn.v1.ProcessBundleResponse process_bundle = 1001;getProcessBundleOrBuilder in interface BeamFnApi.InstructionResponseOrBuilderpublic BeamFnApi.ProcessBundleProgressResponse getProcessBundleProgress()
.org.apache.beam.fn.v1.ProcessBundleProgressResponse process_bundle_progress = 1002;getProcessBundleProgress in interface BeamFnApi.InstructionResponseOrBuilderpublic BeamFnApi.ProcessBundleProgressResponseOrBuilder getProcessBundleProgressOrBuilder()
.org.apache.beam.fn.v1.ProcessBundleProgressResponse process_bundle_progress = 1002;getProcessBundleProgressOrBuilder in interface BeamFnApi.InstructionResponseOrBuilderpublic BeamFnApi.ProcessBundleSplitResponse getProcessBundleSplit()
.org.apache.beam.fn.v1.ProcessBundleSplitResponse process_bundle_split = 1003;getProcessBundleSplit in interface BeamFnApi.InstructionResponseOrBuilderpublic BeamFnApi.ProcessBundleSplitResponseOrBuilder getProcessBundleSplitOrBuilder()
.org.apache.beam.fn.v1.ProcessBundleSplitResponse process_bundle_split = 1003;getProcessBundleSplitOrBuilder in interface BeamFnApi.InstructionResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static BeamFnApi.InstructionResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.InstructionResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.InstructionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.InstructionResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.InstructionResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.InstructionResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.InstructionResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.InstructionResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.InstructionResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BeamFnApi.InstructionResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BeamFnApi.InstructionResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BeamFnApi.InstructionResponse.Builder newBuilder()
public static BeamFnApi.InstructionResponse.Builder newBuilder(BeamFnApi.InstructionResponse prototype)
public BeamFnApi.InstructionResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BeamFnApi.InstructionResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BeamFnApi.InstructionResponse getDefaultInstance()
public static com.google.protobuf.Parser<BeamFnApi.InstructionResponse> parser()
public com.google.protobuf.Parser<BeamFnApi.InstructionResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BeamFnApi.InstructionResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.