public static final class BeamFnApi.StateResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.StateResponse.Builder> implements BeamFnApi.StateResponseOrBuilder
org.apache.beam.fn.v1.StateResponse| Modifier and Type | Method and Description |
|---|---|
BeamFnApi.StateResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BeamFnApi.StateResponse |
build() |
BeamFnApi.StateResponse |
buildPartial() |
BeamFnApi.StateResponse.Builder |
clear() |
BeamFnApi.StateResponse.Builder |
clearAppend()
A response to appending to state.
|
BeamFnApi.StateResponse.Builder |
clearCacheToken()
(Optional) If this is specified, then the result of this state request
can be cached using the supplied token.
|
BeamFnApi.StateResponse.Builder |
clearClear()
A response to clearing state.
|
BeamFnApi.StateResponse.Builder |
clearError()
(Optional) If this is specified, then the state request has failed.
|
BeamFnApi.StateResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BeamFnApi.StateResponse.Builder |
clearGet()
A response to getting state.
|
BeamFnApi.StateResponse.Builder |
clearId()
(Required) A reference provided by the SDK which represents a requests
execution.
|
BeamFnApi.StateResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BeamFnApi.StateResponse.Builder |
clearResponse() |
BeamFnApi.StateResponse.Builder |
clone() |
BeamFnApi.StateAppendResponse |
getAppend()
A response to appending to state.
|
BeamFnApi.StateAppendResponse.Builder |
getAppendBuilder()
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.StateClearResponse.Builder |
getClearBuilder()
A response to clearing state.
|
BeamFnApi.StateClearResponseOrBuilder |
getClearOrBuilder()
A response to clearing state.
|
BeamFnApi.StateResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.StateGetResponse.Builder |
getGetBuilder()
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() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BeamFnApi.StateResponse.Builder |
mergeAppend(BeamFnApi.StateAppendResponse value)
A response to appending to state.
|
BeamFnApi.StateResponse.Builder |
mergeClear(BeamFnApi.StateClearResponse value)
A response to clearing state.
|
BeamFnApi.StateResponse.Builder |
mergeFrom(BeamFnApi.StateResponse other) |
BeamFnApi.StateResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BeamFnApi.StateResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
BeamFnApi.StateResponse.Builder |
mergeGet(BeamFnApi.StateGetResponse value)
A response to getting state.
|
BeamFnApi.StateResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BeamFnApi.StateResponse.Builder |
setAppend(BeamFnApi.StateAppendResponse.Builder builderForValue)
A response to appending to state.
|
BeamFnApi.StateResponse.Builder |
setAppend(BeamFnApi.StateAppendResponse value)
A response to appending to state.
|
BeamFnApi.StateResponse.Builder |
setCacheToken(com.google.protobuf.ByteString value)
(Optional) If this is specified, then the result of this state request
can be cached using the supplied token.
|
BeamFnApi.StateResponse.Builder |
setClear(BeamFnApi.StateClearResponse.Builder builderForValue)
A response to clearing state.
|
BeamFnApi.StateResponse.Builder |
setClear(BeamFnApi.StateClearResponse value)
A response to clearing state.
|
BeamFnApi.StateResponse.Builder |
setError(String value)
(Optional) If this is specified, then the state request has failed.
|
BeamFnApi.StateResponse.Builder |
setErrorBytes(com.google.protobuf.ByteString value)
(Optional) If this is specified, then the state request has failed.
|
BeamFnApi.StateResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BeamFnApi.StateResponse.Builder |
setGet(BeamFnApi.StateGetResponse.Builder builderForValue)
A response to getting state.
|
BeamFnApi.StateResponse.Builder |
setGet(BeamFnApi.StateGetResponse value)
A response to getting state.
|
BeamFnApi.StateResponse.Builder |
setId(String value)
(Required) A reference provided by the SDK which represents a requests
execution.
|
BeamFnApi.StateResponse.Builder |
setIdBytes(com.google.protobuf.ByteString value)
(Required) A reference provided by the SDK which represents a requests
execution.
|
BeamFnApi.StateResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BeamFnApi.StateResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.StateResponse.Builder>public BeamFnApi.StateResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.StateResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.StateResponse.Builder>public BeamFnApi.StateResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BeamFnApi.StateResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BeamFnApi.StateResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BeamFnApi.StateResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.StateResponse.Builder>public BeamFnApi.StateResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.StateResponse.Builder>public BeamFnApi.StateResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.StateResponse.Builder>public BeamFnApi.StateResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.StateResponse.Builder>public BeamFnApi.StateResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.StateResponse.Builder>public BeamFnApi.StateResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.StateResponse.Builder>public BeamFnApi.StateResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BeamFnApi.StateResponse.Builder>public BeamFnApi.StateResponse.Builder mergeFrom(BeamFnApi.StateResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.StateResponse.Builder>public BeamFnApi.StateResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BeamFnApi.StateResponse.Builder>IOExceptionpublic BeamFnApi.StateResponse.ResponseCase getResponseCase()
getResponseCase in interface BeamFnApi.StateResponseOrBuilderpublic BeamFnApi.StateResponse.Builder clearResponse()
public 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 BeamFnApi.StateResponse.Builder setId(String value)
(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;public BeamFnApi.StateResponse.Builder clearId()
(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;public BeamFnApi.StateResponse.Builder setIdBytes(com.google.protobuf.ByteString value)
(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;public 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 BeamFnApi.StateResponse.Builder setError(String value)
(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;public BeamFnApi.StateResponse.Builder clearError()
(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;public BeamFnApi.StateResponse.Builder setErrorBytes(com.google.protobuf.ByteString value)
(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;public 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.StateResponse.Builder setCacheToken(com.google.protobuf.ByteString value)
(Optional) If this is specified, then the result of this state request can be cached using the supplied token.
bytes cache_token = 3;public BeamFnApi.StateResponse.Builder clearCacheToken()
(Optional) If this is specified, then the result of this state request can be cached using the supplied token.
bytes cache_token = 3;public BeamFnApi.StateGetResponse getGet()
A response to getting state.
.org.apache.beam.fn.v1.StateGetResponse get = 1000;getGet in interface BeamFnApi.StateResponseOrBuilderpublic BeamFnApi.StateResponse.Builder setGet(BeamFnApi.StateGetResponse value)
A response to getting state.
.org.apache.beam.fn.v1.StateGetResponse get = 1000;public BeamFnApi.StateResponse.Builder setGet(BeamFnApi.StateGetResponse.Builder builderForValue)
A response to getting state.
.org.apache.beam.fn.v1.StateGetResponse get = 1000;public BeamFnApi.StateResponse.Builder mergeGet(BeamFnApi.StateGetResponse value)
A response to getting state.
.org.apache.beam.fn.v1.StateGetResponse get = 1000;public BeamFnApi.StateResponse.Builder clearGet()
A response to getting state.
.org.apache.beam.fn.v1.StateGetResponse get = 1000;public BeamFnApi.StateGetResponse.Builder getGetBuilder()
A response to getting state.
.org.apache.beam.fn.v1.StateGetResponse get = 1000;public 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.StateResponse.Builder setAppend(BeamFnApi.StateAppendResponse value)
A response to appending to state.
.org.apache.beam.fn.v1.StateAppendResponse append = 1001;public BeamFnApi.StateResponse.Builder setAppend(BeamFnApi.StateAppendResponse.Builder builderForValue)
A response to appending to state.
.org.apache.beam.fn.v1.StateAppendResponse append = 1001;public BeamFnApi.StateResponse.Builder mergeAppend(BeamFnApi.StateAppendResponse value)
A response to appending to state.
.org.apache.beam.fn.v1.StateAppendResponse append = 1001;public BeamFnApi.StateResponse.Builder clearAppend()
A response to appending to state.
.org.apache.beam.fn.v1.StateAppendResponse append = 1001;public BeamFnApi.StateAppendResponse.Builder getAppendBuilder()
A response to appending to state.
.org.apache.beam.fn.v1.StateAppendResponse append = 1001;public 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.StateResponse.Builder setClear(BeamFnApi.StateClearResponse value)
A response to clearing state.
.org.apache.beam.fn.v1.StateClearResponse clear = 1002;public BeamFnApi.StateResponse.Builder setClear(BeamFnApi.StateClearResponse.Builder builderForValue)
A response to clearing state.
.org.apache.beam.fn.v1.StateClearResponse clear = 1002;public BeamFnApi.StateResponse.Builder mergeClear(BeamFnApi.StateClearResponse value)
A response to clearing state.
.org.apache.beam.fn.v1.StateClearResponse clear = 1002;public BeamFnApi.StateResponse.Builder clearClear()
A response to clearing state.
.org.apache.beam.fn.v1.StateClearResponse clear = 1002;public BeamFnApi.StateClearResponse.Builder getClearBuilder()
A response to clearing state.
.org.apache.beam.fn.v1.StateClearResponse clear = 1002;public BeamFnApi.StateClearResponseOrBuilder getClearOrBuilder()
A response to clearing state.
.org.apache.beam.fn.v1.StateClearResponse clear = 1002;getClearOrBuilder in interface BeamFnApi.StateResponseOrBuilderpublic final BeamFnApi.StateResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.StateResponse.Builder>public final BeamFnApi.StateResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BeamFnApi.StateResponse.Builder>Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.