Interface SdkHarnessContainerImageOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SdkHarnessContainerImage, SdkHarnessContainerImage.Builder

@Generated public interface SdkHarnessContainerImageOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getCapabilities(int index)
    The set of capabilities enumerated in the above Environment proto.
    com.google.protobuf.ByteString
    The set of capabilities enumerated in the above Environment proto.
    int
    The set of capabilities enumerated in the above Environment proto.
    The set of capabilities enumerated in the above Environment proto.
    A docker container image that resides in Google Container Registry.
    com.google.protobuf.ByteString
    A docker container image that resides in Google Container Registry.
    Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
    com.google.protobuf.ByteString
    Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
    boolean
    If true, recommends the Dataflow service to use only one core per SDK container instance with this image.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getContainerImage

      String getContainerImage()
       A docker container image that resides in Google Container Registry.
       
      string container_image = 1;
      Returns:
      The containerImage.
    • getContainerImageBytes

      com.google.protobuf.ByteString getContainerImageBytes()
       A docker container image that resides in Google Container Registry.
       
      string container_image = 1;
      Returns:
      The bytes for containerImage.
    • getUseSingleCorePerContainer

      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:
      The useSingleCorePerContainer.
    • getEnvironmentId

      String getEnvironmentId()
       Environment ID for the Beam runner API proto Environment that corresponds
       to the current SDK Harness.
       
      string environment_id = 3;
      Returns:
      The environmentId.
    • getEnvironmentIdBytes

      com.google.protobuf.ByteString getEnvironmentIdBytes()
       Environment ID for the Beam runner API proto Environment that corresponds
       to the current SDK Harness.
       
      string environment_id = 3;
      Returns:
      The bytes for environmentId.
    • getCapabilitiesList

      List<String> getCapabilitiesList()
       The set of capabilities enumerated in the above Environment proto. See also
       [beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto)
       
      repeated string capabilities = 4;
      Returns:
      A list containing the capabilities.
    • getCapabilitiesCount

      int getCapabilitiesCount()
       The set of capabilities enumerated in the above Environment proto. See also
       [beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto)
       
      repeated string capabilities = 4;
      Returns:
      The count of capabilities.
    • getCapabilities

      String getCapabilities(int index)
       The set of capabilities enumerated in the above Environment proto. See also
       [beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto)
       
      repeated string capabilities = 4;
      Parameters:
      index - The index of the element to return.
      Returns:
      The capabilities at the given index.
    • getCapabilitiesBytes

      com.google.protobuf.ByteString getCapabilitiesBytes(int index)
       The set of capabilities enumerated in the above Environment proto. See also
       [beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto)
       
      repeated string capabilities = 4;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the capabilities at the given index.