public final class StreamingConfigTask
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
StreamingConfigTask() |
| Modifier and Type | Method and Description |
|---|---|
StreamingConfigTask |
clone() |
byte[] |
decodeUserWorkerRunnerV1Settings()
Binary encoded proto to control runtime behavior of the java runner v1 user worker.
|
byte[] |
decodeUserWorkerRunnerV2Settings()
Binary encoded proto to control runtime behavior of the runner v2 user worker.
|
StreamingConfigTask |
encodeUserWorkerRunnerV1Settings(byte[] userWorkerRunnerV1Settings)
Binary encoded proto to control runtime behavior of the java runner v1 user worker.
|
StreamingConfigTask |
encodeUserWorkerRunnerV2Settings(byte[] userWorkerRunnerV2Settings)
Binary encoded proto to control runtime behavior of the runner v2 user worker.
|
Long |
getCommitStreamChunkSizeBytes()
Chunk size for commit streams from the harness to windmill.
|
Long |
getGetDataStreamChunkSizeBytes()
Chunk size for get data streams from the harness to windmill.
|
Long |
getMaxWorkItemCommitBytes()
Maximum size for work item commit supported windmill storage layer.
|
StreamingOperationalLimits |
getOperationalLimits()
Operational limits for the streaming job.
|
List<StreamingComputationConfig> |
getStreamingComputationConfigs()
Set of computation configuration information.
|
Map<String,String> |
getUserStepToStateFamilyNameMap()
Map from user step names to state families.
|
String |
getUserWorkerRunnerV1Settings()
Binary encoded proto to control runtime behavior of the java runner v1 user worker.
|
String |
getUserWorkerRunnerV2Settings()
Binary encoded proto to control runtime behavior of the runner v2 user worker.
|
String |
getWindmillServiceEndpoint()
If present, the worker must use this endpoint to communicate with Windmill Service dispatchers,
otherwise the worker must continue to use whatever endpoint it had been using.
|
Long |
getWindmillServicePort()
If present, the worker must use this port to communicate with Windmill Service dispatchers.
|
StreamingConfigTask |
set(String fieldName,
Object value) |
StreamingConfigTask |
setCommitStreamChunkSizeBytes(Long commitStreamChunkSizeBytes)
Chunk size for commit streams from the harness to windmill.
|
StreamingConfigTask |
setGetDataStreamChunkSizeBytes(Long getDataStreamChunkSizeBytes)
Chunk size for get data streams from the harness to windmill.
|
StreamingConfigTask |
setMaxWorkItemCommitBytes(Long maxWorkItemCommitBytes)
Maximum size for work item commit supported windmill storage layer.
|
StreamingConfigTask |
setOperationalLimits(StreamingOperationalLimits operationalLimits)
Operational limits for the streaming job.
|
StreamingConfigTask |
setStreamingComputationConfigs(List<StreamingComputationConfig> streamingComputationConfigs)
Set of computation configuration information.
|
StreamingConfigTask |
setUserStepToStateFamilyNameMap(Map<String,String> userStepToStateFamilyNameMap)
Map from user step names to state families.
|
StreamingConfigTask |
setUserWorkerRunnerV1Settings(String userWorkerRunnerV1Settings)
Binary encoded proto to control runtime behavior of the java runner v1 user worker.
|
StreamingConfigTask |
setUserWorkerRunnerV2Settings(String userWorkerRunnerV2Settings)
Binary encoded proto to control runtime behavior of the runner v2 user worker.
|
StreamingConfigTask |
setWindmillServiceEndpoint(String windmillServiceEndpoint)
If present, the worker must use this endpoint to communicate with Windmill Service dispatchers,
otherwise the worker must continue to use whatever endpoint it had been using.
|
StreamingConfigTask |
setWindmillServicePort(Long windmillServicePort)
If present, the worker must use this port to communicate with Windmill Service dispatchers.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Long getCommitStreamChunkSizeBytes()
null for nonepublic StreamingConfigTask setCommitStreamChunkSizeBytes(Long commitStreamChunkSizeBytes)
commitStreamChunkSizeBytes - commitStreamChunkSizeBytes or null for nonepublic Long getGetDataStreamChunkSizeBytes()
null for nonepublic StreamingConfigTask setGetDataStreamChunkSizeBytes(Long getDataStreamChunkSizeBytes)
getDataStreamChunkSizeBytes - getDataStreamChunkSizeBytes or null for nonepublic Long getMaxWorkItemCommitBytes()
null for nonepublic StreamingConfigTask setMaxWorkItemCommitBytes(Long maxWorkItemCommitBytes)
maxWorkItemCommitBytes - maxWorkItemCommitBytes or null for nonepublic StreamingOperationalLimits getOperationalLimits()
null for nonepublic StreamingConfigTask setOperationalLimits(StreamingOperationalLimits operationalLimits)
operationalLimits - operationalLimits or null for nonepublic List<StreamingComputationConfig> getStreamingComputationConfigs()
null for nonepublic StreamingConfigTask setStreamingComputationConfigs(List<StreamingComputationConfig> streamingComputationConfigs)
streamingComputationConfigs - streamingComputationConfigs or null for nonepublic Map<String,String> getUserStepToStateFamilyNameMap()
null for nonepublic StreamingConfigTask setUserStepToStateFamilyNameMap(Map<String,String> userStepToStateFamilyNameMap)
userStepToStateFamilyNameMap - userStepToStateFamilyNameMap or null for nonepublic String getUserWorkerRunnerV1Settings()
null for nonedecodeUserWorkerRunnerV1Settings()public byte[] decodeUserWorkerRunnerV1Settings()
null for nonegetUserWorkerRunnerV1Settings()public StreamingConfigTask setUserWorkerRunnerV1Settings(String userWorkerRunnerV1Settings)
userWorkerRunnerV1Settings - userWorkerRunnerV1Settings or null for none#encodeUserWorkerRunnerV1Settings()public StreamingConfigTask encodeUserWorkerRunnerV1Settings(byte[] userWorkerRunnerV1Settings)
The value is encoded Base64 or {@code null} for none.
public String getUserWorkerRunnerV2Settings()
null for nonedecodeUserWorkerRunnerV2Settings()public byte[] decodeUserWorkerRunnerV2Settings()
null for nonegetUserWorkerRunnerV2Settings()public StreamingConfigTask setUserWorkerRunnerV2Settings(String userWorkerRunnerV2Settings)
userWorkerRunnerV2Settings - userWorkerRunnerV2Settings or null for none#encodeUserWorkerRunnerV2Settings()public StreamingConfigTask encodeUserWorkerRunnerV2Settings(byte[] userWorkerRunnerV2Settings)
The value is encoded Base64 or {@code null} for none.
public String getWindmillServiceEndpoint()
null for nonepublic StreamingConfigTask setWindmillServiceEndpoint(String windmillServiceEndpoint)
windmillServiceEndpoint - windmillServiceEndpoint or null for nonepublic Long getWindmillServicePort()
null for nonepublic StreamingConfigTask setWindmillServicePort(Long windmillServicePort)
windmillServicePort - windmillServicePort or null for nonepublic StreamingConfigTask set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic StreamingConfigTask clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.