Interface SdkHarnessContainerImageOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getCapabilities​(int index)
      The set of capabilities enumerated in the above Environment proto.
      com.google.protobuf.ByteString getCapabilitiesBytes​(int index)
      The set of capabilities enumerated in the above Environment proto.
      int getCapabilitiesCount()
      The set of capabilities enumerated in the above Environment proto.
      List<String> getCapabilitiesList()
      The set of capabilities enumerated in the above Environment proto.
      String getContainerImage()
      A docker container image that resides in Google Container Registry.
      com.google.protobuf.ByteString getContainerImageBytes()
      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.
      com.google.protobuf.ByteString getEnvironmentIdBytes()
      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.
      • 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 Detail

      • 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
         https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/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
         https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/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
         https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/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
         https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/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.