public static final class BeamFnApi.StateRequest extends com.google.protobuf.GeneratedMessageV3 implements BeamFnApi.StateRequestOrBuilder
org.apache.beam.fn.v1.StateRequest| Modifier and Type | Class and Description |
|---|---|
static class |
BeamFnApi.StateRequest.Builder
Protobuf type
org.apache.beam.fn.v1.StateRequest |
static class |
BeamFnApi.StateRequest.RequestCase |
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 |
CLEAR_FIELD_NUMBER |
static int |
GET_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
INSTRUCTION_REFERENCE_FIELD_NUMBER |
static int |
STATE_KEY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BeamFnApi.StateAppendRequest |
getAppend()
A request to append to state.
|
BeamFnApi.StateAppendRequestOrBuilder |
getAppendOrBuilder()
A request to append to state.
|
BeamFnApi.StateClearRequest |
getClear()
A request to clear state.
|
BeamFnApi.StateClearRequestOrBuilder |
getClearOrBuilder()
A request to clear state.
|
static BeamFnApi.StateRequest |
getDefaultInstance() |
BeamFnApi.StateRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
BeamFnApi.StateGetRequest |
getGet()
A request to get state.
|
BeamFnApi.StateGetRequestOrBuilder |
getGetOrBuilder()
A request to get state.
|
String |
getId()
(Required) An unique identifier provided by the SDK which represents this
requests execution.
|
com.google.protobuf.ByteString |
getIdBytes()
(Required) An unique identifier provided by the SDK which represents this
requests execution.
|
String |
getInstructionReference()
(Required) The associated instruction id of the work that is currently
being processed.
|
com.google.protobuf.ByteString |
getInstructionReferenceBytes()
(Required) The associated instruction id of the work that is currently
being processed.
|
com.google.protobuf.Parser<BeamFnApi.StateRequest> |
getParserForType() |
BeamFnApi.StateRequest.RequestCase |
getRequestCase() |
int |
getSerializedSize() |
BeamFnApi.StateKey |
getStateKey()
(Required) The state key this request is for.
|
BeamFnApi.StateKeyOrBuilder |
getStateKeyOrBuilder()
(Required) The state key this request is for.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasStateKey()
(Required) The state key this request is for.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BeamFnApi.StateRequest.Builder |
newBuilder() |
static BeamFnApi.StateRequest.Builder |
newBuilder(BeamFnApi.StateRequest prototype) |
BeamFnApi.StateRequest.Builder |
newBuilderForType() |
protected BeamFnApi.StateRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static BeamFnApi.StateRequest |
parseDelimitedFrom(InputStream input) |
static BeamFnApi.StateRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.StateRequest |
parseFrom(byte[] data) |
static BeamFnApi.StateRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.StateRequest |
parseFrom(com.google.protobuf.ByteString data) |
static BeamFnApi.StateRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.StateRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BeamFnApi.StateRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.StateRequest |
parseFrom(InputStream input) |
static BeamFnApi.StateRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BeamFnApi.StateRequest> |
parser() |
BeamFnApi.StateRequest.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 INSTRUCTION_REFERENCE_FIELD_NUMBER
public static final int STATE_KEY_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.StateRequest.RequestCase getRequestCase()
getRequestCase in interface BeamFnApi.StateRequestOrBuilderpublic String getId()
(Required) An unique identifier provided by the SDK which represents this requests execution. The StateResponse corresponding with this request will have the matching id.
string id = 1;getId in interface BeamFnApi.StateRequestOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
(Required) An unique identifier provided by the SDK which represents this requests execution. The StateResponse corresponding with this request will have the matching id.
string id = 1;getIdBytes in interface BeamFnApi.StateRequestOrBuilderpublic String getInstructionReference()
(Required) The associated instruction id of the work that is currently being processed. This allows for the runner to associate any modifications to state to be committed with the appropriate work execution.
string instruction_reference = 2;getInstructionReference in interface BeamFnApi.StateRequestOrBuilderpublic com.google.protobuf.ByteString getInstructionReferenceBytes()
(Required) The associated instruction id of the work that is currently being processed. This allows for the runner to associate any modifications to state to be committed with the appropriate work execution.
string instruction_reference = 2;getInstructionReferenceBytes in interface BeamFnApi.StateRequestOrBuilderpublic boolean hasStateKey()
(Required) The state key this request is for.
.org.apache.beam.fn.v1.StateKey state_key = 3;hasStateKey in interface BeamFnApi.StateRequestOrBuilderpublic BeamFnApi.StateKey getStateKey()
(Required) The state key this request is for.
.org.apache.beam.fn.v1.StateKey state_key = 3;getStateKey in interface BeamFnApi.StateRequestOrBuilderpublic BeamFnApi.StateKeyOrBuilder getStateKeyOrBuilder()
(Required) The state key this request is for.
.org.apache.beam.fn.v1.StateKey state_key = 3;getStateKeyOrBuilder in interface BeamFnApi.StateRequestOrBuilderpublic BeamFnApi.StateGetRequest getGet()
A request to get state.
.org.apache.beam.fn.v1.StateGetRequest get = 1000;getGet in interface BeamFnApi.StateRequestOrBuilderpublic BeamFnApi.StateGetRequestOrBuilder getGetOrBuilder()
A request to get state.
.org.apache.beam.fn.v1.StateGetRequest get = 1000;getGetOrBuilder in interface BeamFnApi.StateRequestOrBuilderpublic BeamFnApi.StateAppendRequest getAppend()
A request to append to state.
.org.apache.beam.fn.v1.StateAppendRequest append = 1001;getAppend in interface BeamFnApi.StateRequestOrBuilderpublic BeamFnApi.StateAppendRequestOrBuilder getAppendOrBuilder()
A request to append to state.
.org.apache.beam.fn.v1.StateAppendRequest append = 1001;getAppendOrBuilder in interface BeamFnApi.StateRequestOrBuilderpublic BeamFnApi.StateClearRequest getClear()
A request to clear state.
.org.apache.beam.fn.v1.StateClearRequest clear = 1002;getClear in interface BeamFnApi.StateRequestOrBuilderpublic BeamFnApi.StateClearRequestOrBuilder getClearOrBuilder()
A request to clear state.
.org.apache.beam.fn.v1.StateClearRequest clear = 1002;getClearOrBuilder in interface BeamFnApi.StateRequestOrBuilderpublic 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.StateRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.StateRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.StateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.StateRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.StateRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.StateRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.StateRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.StateRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.StateRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BeamFnApi.StateRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BeamFnApi.StateRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BeamFnApi.StateRequest.Builder newBuilder()
public static BeamFnApi.StateRequest.Builder newBuilder(BeamFnApi.StateRequest prototype)
public BeamFnApi.StateRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BeamFnApi.StateRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BeamFnApi.StateRequest getDefaultInstance()
public static com.google.protobuf.Parser<BeamFnApi.StateRequest> parser()
public com.google.protobuf.Parser<BeamFnApi.StateRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BeamFnApi.StateRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.