Interface SdkHarnessContainerImageOrBuilder (0.13.0)

public interface SdkHarnessContainerImageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCapabilities(int index)

public abstract String getCapabilities(int index)

The set of capabilities enumerated in the above Environment proto. See also https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto

repeated string capabilities = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The capabilities at the given index.

getCapabilitiesBytes(int index)

public abstract ByteString getCapabilitiesBytes(int index)

The set of capabilities enumerated in the above Environment proto. See also https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto

repeated string capabilities = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the capabilities at the given index.

getCapabilitiesCount()

public abstract int getCapabilitiesCount()

The set of capabilities enumerated in the above Environment proto. See also https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto

repeated string capabilities = 4;

Returns
TypeDescription
int

The count of capabilities.

getCapabilitiesList()

public abstract List<String> getCapabilitiesList()

The set of capabilities enumerated in the above Environment proto. See also https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto

repeated string capabilities = 4;

Returns
TypeDescription
List<String>

A list containing the capabilities.

getContainerImage()

public abstract String getContainerImage()

A docker container image that resides in Google Container Registry.

string container_image = 1;

Returns
TypeDescription
String

The containerImage.

getContainerImageBytes()

public abstract ByteString getContainerImageBytes()

A docker container image that resides in Google Container Registry.

string container_image = 1;

Returns
TypeDescription
ByteString

The bytes for containerImage.

getEnvironmentId()

public abstract String getEnvironmentId()

Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.

string environment_id = 3;

Returns
TypeDescription
String

The environmentId.

getEnvironmentIdBytes()

public abstract ByteString getEnvironmentIdBytes()

Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.

string environment_id = 3;

Returns
TypeDescription
ByteString

The bytes for environmentId.

getUseSingleCorePerContainer()

public abstract boolean getUseSingleCorePerContainer()

If true, recommends the Dataflow service to use only one core per SDK container instance with this image. If false (or unset) recommends using more than one core per SDK container instance with this image for efficiency. Note that Dataflow service may choose to override this property if needed.

bool use_single_core_per_container = 2;

Returns
TypeDescription
boolean

The useSingleCorePerContainer.