public static interface BeamFnApi.StateResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
BeamFnApi.StateResponse.ResponseCase |
getResponseCase() |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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;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;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;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;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;BeamFnApi.StateGetResponse getGet()
A response to getting state.
.org.apache.beam.fn.v1.StateGetResponse get = 1000;BeamFnApi.StateGetResponseOrBuilder getGetOrBuilder()
A response to getting state.
.org.apache.beam.fn.v1.StateGetResponse get = 1000;BeamFnApi.StateAppendResponse getAppend()
A response to appending to state.
.org.apache.beam.fn.v1.StateAppendResponse append = 1001;BeamFnApi.StateAppendResponseOrBuilder getAppendOrBuilder()
A response to appending to state.
.org.apache.beam.fn.v1.StateAppendResponse append = 1001;BeamFnApi.StateClearResponse getClear()
A response to clearing state.
.org.apache.beam.fn.v1.StateClearResponse clear = 1002;BeamFnApi.StateClearResponseOrBuilder getClearOrBuilder()
A response to clearing state.
.org.apache.beam.fn.v1.StateClearResponse clear = 1002;BeamFnApi.StateResponse.ResponseCase getResponseCase()
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.