public static final class BeamFnApi.StateResponse extends com.google.protobuf.GeneratedMessageV3 implements BeamFnApi.StateResponseOrBuilder
org.apache.beam.fn.v1.StateResponse| Modifier and Type | Class and Description |
|---|---|
static class |
BeamFnApi.StateResponse.Builder
Protobuf type
org.apache.beam.fn.v1.StateResponse |
static class |
BeamFnApi.StateResponse.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 |
APPEND_FIELD_NUMBER |
static int |
CACHE_TOKEN_FIELD_NUMBER |
static int |
CLEAR_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
GET_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BeamFnApi.StateAppendResponse |
getAppend()
A response to appending to state.
|
BeamFnApi.StateAppendResponseOrBuilder |
getAppendOrBuilder()
A response to appending to state.
|
com.google.protobuf.ByteString |
getCacheToken()
(Optional) If this is specified, then the result of this state request
can be cached using the supplied token.
|
BeamFnApi.StateClearResponse |
getClear()
A response to clearing state.
|
BeamFnApi.StateClearResponseOrBuilder |
getClearOrBuilder()
A response to clearing state.
|
static BeamFnApi.StateResponse |
getDefaultInstance() |
BeamFnApi.StateResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getError()
(Optional) If this is specified, then the state request has failed.
|
com.google.protobuf.ByteString |
getErrorBytes()
(Optional) If this is specified, then the state request has failed.
|
BeamFnApi.StateGetResponse |
getGet()
A response to getting state.
|
BeamFnApi.StateGetResponseOrBuilder |
getGetOrBuilder()
A response to getting state.
|
String |
getId()
(Required) A reference provided by the SDK which represents a requests
execution.
|
com.google.protobuf.ByteString |
getIdBytes()
(Required) A reference provided by the SDK which represents a requests
execution.
|
com.google.protobuf.Parser<BeamFnApi.StateResponse> |
getParserForType() |
BeamFnApi.StateResponse.ResponseCase |
getResponseCase() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BeamFnApi.StateResponse.Builder |
newBuilder() |
static BeamFnApi.StateResponse.Builder |
newBuilder(BeamFnApi.StateResponse prototype) |
BeamFnApi.StateResponse.Builder |
newBuilderForType() |
protected BeamFnApi.StateResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static BeamFnApi.StateResponse |
parseDelimitedFrom(InputStream input) |
static BeamFnApi.StateResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.StateResponse |
parseFrom(byte[] data) |
static BeamFnApi.StateResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.StateResponse |
parseFrom(com.google.protobuf.ByteString data) |
static BeamFnApi.StateResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.StateResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BeamFnApi.StateResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.StateResponse |
parseFrom(InputStream input) |
static BeamFnApi.StateResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BeamFnApi.StateResponse> |
parser() |
BeamFnApi.StateResponse.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 ID_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int CACHE_TOKEN_FIELD_NUMBER
public static final int GET_FIELD_NUMBER
public static final int APPEND_FIELD_NUMBER
public static final int CLEAR_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.StateResponse.ResponseCase getResponseCase()
getResponseCase in interface BeamFnApi.StateResponseOrBuilderpublic String getId()
(Required) A reference provided by the SDK which represents a requests execution. The StateResponse must have the matching id when responding to the SDK.
string id = 1;getId in interface BeamFnApi.StateResponseOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
(Required) A reference provided by the SDK which represents a requests execution. The StateResponse must have the matching id when responding to the SDK.
string id = 1;getIdBytes in interface BeamFnApi.StateResponseOrBuilderpublic String getError()
(Optional) If this is specified, then the state request has failed. A human readable string representing the reason as to why the request failed.
string error = 2;getError in interface BeamFnApi.StateResponseOrBuilderpublic com.google.protobuf.ByteString getErrorBytes()
(Optional) If this is specified, then the state request has failed. A human readable string representing the reason as to why the request failed.
string error = 2;getErrorBytes in interface BeamFnApi.StateResponseOrBuilderpublic com.google.protobuf.ByteString getCacheToken()
(Optional) If this is specified, then the result of this state request can be cached using the supplied token.
bytes cache_token = 3;getCacheToken in interface BeamFnApi.StateResponseOrBuilderpublic BeamFnApi.StateGetResponse getGet()
A response to getting state.
.org.apache.beam.fn.v1.StateGetResponse get = 1000;getGet in interface BeamFnApi.StateResponseOrBuilderpublic BeamFnApi.StateGetResponseOrBuilder getGetOrBuilder()
A response to getting state.
.org.apache.beam.fn.v1.StateGetResponse get = 1000;getGetOrBuilder in interface BeamFnApi.StateResponseOrBuilderpublic BeamFnApi.StateAppendResponse getAppend()
A response to appending to state.
.org.apache.beam.fn.v1.StateAppendResponse append = 1001;getAppend in interface BeamFnApi.StateResponseOrBuilderpublic BeamFnApi.StateAppendResponseOrBuilder getAppendOrBuilder()
A response to appending to state.
.org.apache.beam.fn.v1.StateAppendResponse append = 1001;getAppendOrBuilder in interface BeamFnApi.StateResponseOrBuilderpublic BeamFnApi.StateClearResponse getClear()
A response to clearing state.
.org.apache.beam.fn.v1.StateClearResponse clear = 1002;getClear in interface BeamFnApi.StateResponseOrBuilderpublic BeamFnApi.StateClearResponseOrBuilder getClearOrBuilder()
A response to clearing state.
.org.apache.beam.fn.v1.StateClearResponse clear = 1002;getClearOrBuilder in interface BeamFnApi.StateResponseOrBuilderpublic 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.StateResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.StateResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.StateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.StateResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.StateResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.StateResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.StateResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.StateResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.StateResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BeamFnApi.StateResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BeamFnApi.StateResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BeamFnApi.StateResponse.Builder newBuilder()
public static BeamFnApi.StateResponse.Builder newBuilder(BeamFnApi.StateResponse prototype)
public BeamFnApi.StateResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BeamFnApi.StateResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BeamFnApi.StateResponse getDefaultInstance()
public static com.google.protobuf.Parser<BeamFnApi.StateResponse> parser()
public com.google.protobuf.Parser<BeamFnApi.StateResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BeamFnApi.StateResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.