public interface SdkHarnessContainerImageOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCapabilities(int index)
public abstract String getCapabilities(int index)
The set of capabilities enumerated in the above Environment proto. See also beam_runner_api.proto
repeated string capabilities = 4;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
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 beam_runner_api.proto
repeated string capabilities = 4;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
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 beam_runner_api.proto
repeated string capabilities = 4;
Returns | |
---|---|
Type | Description |
int |
The count of capabilities. |
getCapabilitiesList()
public abstract List<String> getCapabilitiesList()
The set of capabilities enumerated in the above Environment proto. See also beam_runner_api.proto
repeated string capabilities = 4;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
The containerImage. |
getContainerImageBytes()
public abstract ByteString getContainerImageBytes()
A docker container image that resides in Google Container Registry.
string container_image = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
The useSingleCorePerContainer. |