- 0.57.0 (latest)
- 0.56.0
- 0.55.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.5.0
public static final class SdkHarnessContainerImage.Builder extends GeneratedMessageV3.Builder<SdkHarnessContainerImage.Builder> implements SdkHarnessContainerImageOrBuilder
Defines a SDK harness container for executing Dataflow pipelines.
Protobuf type google.dataflow.v1beta3.SdkHarnessContainerImage
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SdkHarnessContainerImage.BuilderImplements
SdkHarnessContainerImageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllCapabilities(Iterable<String> values)
public SdkHarnessContainerImage.Builder addAllCapabilities(Iterable<String> values)
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 | |
---|---|
Name | Description |
values |
Iterable<String> The capabilities to add. |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
This builder for chaining. |
addCapabilities(String value)
public SdkHarnessContainerImage.Builder addCapabilities(String value)
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 | |
---|---|
Name | Description |
value |
String The capabilities to add. |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
This builder for chaining. |
addCapabilitiesBytes(ByteString value)
public SdkHarnessContainerImage.Builder addCapabilitiesBytes(ByteString value)
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 | |
---|---|
Name | Description |
value |
ByteString The bytes of the capabilities to add. |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SdkHarnessContainerImage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
build()
public SdkHarnessContainerImage build()
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage |
buildPartial()
public SdkHarnessContainerImage buildPartial()
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage |
clear()
public SdkHarnessContainerImage.Builder clear()
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
clearCapabilities()
public SdkHarnessContainerImage.Builder clearCapabilities()
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 | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
This builder for chaining. |
clearContainerImage()
public SdkHarnessContainerImage.Builder clearContainerImage()
A docker container image that resides in Google Container Registry.
string container_image = 1;
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
This builder for chaining. |
clearEnvironmentId()
public SdkHarnessContainerImage.Builder clearEnvironmentId()
Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
string environment_id = 3;
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SdkHarnessContainerImage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SdkHarnessContainerImage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
clearUseSingleCorePerContainer()
public SdkHarnessContainerImage.Builder clearUseSingleCorePerContainer()
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 |
SdkHarnessContainerImage.Builder |
This builder for chaining. |
clone()
public SdkHarnessContainerImage.Builder clone()
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
getCapabilities(int index)
public 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 | |
---|---|
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 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 | |
---|---|
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 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 | |
---|---|
Type | Description |
int |
The count of capabilities. |
getCapabilitiesList()
public ProtocolStringList 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 | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the capabilities. |
getContainerImage()
public String getContainerImage()
A docker container image that resides in Google Container Registry.
string container_image = 1;
Returns | |
---|---|
Type | Description |
String |
The containerImage. |
getContainerImageBytes()
public ByteString getContainerImageBytes()
A docker container image that resides in Google Container Registry.
string container_image = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for containerImage. |
getDefaultInstanceForType()
public SdkHarnessContainerImage getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnvironmentId()
public 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SdkHarnessContainerImage other)
public SdkHarnessContainerImage.Builder mergeFrom(SdkHarnessContainerImage other)
Parameter | |
---|---|
Name | Description |
other |
SdkHarnessContainerImage |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SdkHarnessContainerImage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SdkHarnessContainerImage.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SdkHarnessContainerImage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
setCapabilities(int index, String value)
public SdkHarnessContainerImage.Builder setCapabilities(int index, String value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The capabilities to set. |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
This builder for chaining. |
setContainerImage(String value)
public SdkHarnessContainerImage.Builder setContainerImage(String value)
A docker container image that resides in Google Container Registry.
string container_image = 1;
Parameter | |
---|---|
Name | Description |
value |
String The containerImage to set. |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
This builder for chaining. |
setContainerImageBytes(ByteString value)
public SdkHarnessContainerImage.Builder setContainerImageBytes(ByteString value)
A docker container image that resides in Google Container Registry.
string container_image = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for containerImage to set. |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
This builder for chaining. |
setEnvironmentId(String value)
public SdkHarnessContainerImage.Builder setEnvironmentId(String value)
Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
string environment_id = 3;
Parameter | |
---|---|
Name | Description |
value |
String The environmentId to set. |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
This builder for chaining. |
setEnvironmentIdBytes(ByteString value)
public SdkHarnessContainerImage.Builder setEnvironmentIdBytes(ByteString value)
Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
string environment_id = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for environmentId to set. |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SdkHarnessContainerImage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SdkHarnessContainerImage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SdkHarnessContainerImage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
setUseSingleCorePerContainer(boolean value)
public SdkHarnessContainerImage.Builder setUseSingleCorePerContainer(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value |
boolean The useSingleCorePerContainer to set. |
Returns | |
---|---|
Type | Description |
SdkHarnessContainerImage.Builder |
This builder for chaining. |