public final class SdkHarnessContainerImage extends 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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SdkHarnessContainerImage() |
Modifier and Type | Method and Description |
---|---|
SdkHarnessContainerImage |
clone() |
String |
getContainerImage()
A docker container image that resides in Google Container Registry.
|
String |
getEnvironmentId()
Environment ID for the Beam runner API proto Environment that corresponds to the current SDK
Harness.
|
Boolean |
getUseSingleCorePerContainer()
If true, recommends the Dataflow service to use only one core per SDK container instance with
this image.
|
SdkHarnessContainerImage |
set(String fieldName,
Object value) |
SdkHarnessContainerImage |
setContainerImage(String containerImage)
A docker container image that resides in Google Container Registry.
|
SdkHarnessContainerImage |
setEnvironmentId(String environmentId)
Environment ID for the Beam runner API proto Environment that corresponds to the current SDK
Harness.
|
SdkHarnessContainerImage |
setUseSingleCorePerContainer(Boolean useSingleCorePerContainer)
If true, recommends the Dataflow service to use only one core per SDK container instance with
this image.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getContainerImage()
null
for nonepublic SdkHarnessContainerImage setContainerImage(String containerImage)
containerImage
- containerImage or null
for nonepublic String getEnvironmentId()
null
for nonepublic SdkHarnessContainerImage setEnvironmentId(String environmentId)
environmentId
- environmentId or null
for nonepublic Boolean getUseSingleCorePerContainer()
null
for nonepublic SdkHarnessContainerImage setUseSingleCorePerContainer(Boolean useSingleCorePerContainer)
useSingleCorePerContainer
- useSingleCorePerContainer or null
for nonepublic SdkHarnessContainerImage set(String fieldName, Object value)
set
in class GenericJson
public SdkHarnessContainerImage clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.