Package com.google.cloud.dataplex.v1
Class Task.InfrastructureSpec.ContainerImageRuntime.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Task.InfrastructureSpec.ContainerImageRuntime.Builder>
com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.Builder
- All Implemented Interfaces:
Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Task.InfrastructureSpec.ContainerImageRuntime
public static final class Task.InfrastructureSpec.ContainerImageRuntime.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Task.InfrastructureSpec.ContainerImageRuntime.Builder>
implements Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
Container Image Runtime Configuration used with Batch execution.Protobuf type
google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime-
Method Summary
Modifier and TypeMethodDescriptionaddAllJavaJars(Iterable<String> values) Optional.addAllPythonPackages(Iterable<String> values) Optional.addJavaJars(String value) Optional.addJavaJarsBytes(com.google.protobuf.ByteString value) Optional.addPythonPackages(String value) Optional.addPythonPackagesBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Optional.booleancontainsProperties(String key) Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetImage()Optional.com.google.protobuf.ByteStringOptional.getJavaJars(int index) Optional.com.google.protobuf.ByteStringgetJavaJarsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Deprecated.Deprecated.intOptional.Optional.getPropertiesOrDefault(String key, String defaultValue) Optional.Optional.getPythonPackages(int index) Optional.com.google.protobuf.ByteStringgetPythonPackagesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllProperties(Map<String, String> values) Optional.putProperties(String key, String value) Optional.removeProperties(String key) Optional.Optional.setImageBytes(com.google.protobuf.ByteString value) Optional.setJavaJars(int index, String value) Optional.setPythonPackages(int index, String value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Task.InfrastructureSpec.ContainerImageRuntime.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Task.InfrastructureSpec.ContainerImageRuntime.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Task.InfrastructureSpec.ContainerImageRuntime.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Task.InfrastructureSpec.ContainerImageRuntime.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Task.InfrastructureSpec.ContainerImageRuntime.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Task.InfrastructureSpec.ContainerImageRuntime.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Task.InfrastructureSpec.ContainerImageRuntime.Builder>
-
mergeFrom
public Task.InfrastructureSpec.ContainerImageRuntime.Builder mergeFrom(Task.InfrastructureSpec.ContainerImageRuntime other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Task.InfrastructureSpec.ContainerImageRuntime.Builder>
-
mergeFrom
public Task.InfrastructureSpec.ContainerImageRuntime.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Task.InfrastructureSpec.ContainerImageRuntime.Builder>- Throws:
IOException
-
getImage
Optional. Container image to use.
string image = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getImagein interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder- Returns:
- The image.
-
getImageBytes
public com.google.protobuf.ByteString getImageBytes()Optional. Container image to use.
string image = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getImageBytesin interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder- Returns:
- The bytes for image.
-
setImage
Optional. Container image to use.
string image = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The image to set.- Returns:
- This builder for chaining.
-
clearImage
Optional. Container image to use.
string image = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setImageBytes
public Task.InfrastructureSpec.ContainerImageRuntime.Builder setImageBytes(com.google.protobuf.ByteString value) Optional. Container image to use.
string image = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for image to set.- Returns:
- This builder for chaining.
-
getJavaJarsList
public com.google.protobuf.ProtocolStringList getJavaJarsList()Optional. A list of Java JARS to add to the classpath. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getJavaJarsListin interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder- Returns:
- A list containing the javaJars.
-
getJavaJarsCount
public int getJavaJarsCount()Optional. A list of Java JARS to add to the classpath. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getJavaJarsCountin interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder- Returns:
- The count of javaJars.
-
getJavaJars
Optional. A list of Java JARS to add to the classpath. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getJavaJarsin interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The javaJars at the given index.
-
getJavaJarsBytes
public com.google.protobuf.ByteString getJavaJarsBytes(int index) Optional. A list of Java JARS to add to the classpath. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getJavaJarsBytesin interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the javaJars at the given index.
-
setJavaJars
Optional. A list of Java JARS to add to the classpath. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The javaJars to set.- Returns:
- This builder for chaining.
-
addJavaJars
Optional. A list of Java JARS to add to the classpath. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The javaJars to add.- Returns:
- This builder for chaining.
-
addAllJavaJars
public Task.InfrastructureSpec.ContainerImageRuntime.Builder addAllJavaJars(Iterable<String> values) Optional. A list of Java JARS to add to the classpath. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The javaJars to add.- Returns:
- This builder for chaining.
-
clearJavaJars
Optional. A list of Java JARS to add to the classpath. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addJavaJarsBytes
public Task.InfrastructureSpec.ContainerImageRuntime.Builder addJavaJarsBytes(com.google.protobuf.ByteString value) Optional. A list of Java JARS to add to the classpath. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the javaJars to add.- Returns:
- This builder for chaining.
-
getPythonPackagesList
public com.google.protobuf.ProtocolStringList getPythonPackagesList()Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPythonPackagesListin interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder- Returns:
- A list containing the pythonPackages.
-
getPythonPackagesCount
public int getPythonPackagesCount()Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPythonPackagesCountin interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder- Returns:
- The count of pythonPackages.
-
getPythonPackages
Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPythonPackagesin interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The pythonPackages at the given index.
-
getPythonPackagesBytes
public com.google.protobuf.ByteString getPythonPackagesBytes(int index) Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPythonPackagesBytesin interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the pythonPackages at the given index.
-
setPythonPackages
public Task.InfrastructureSpec.ContainerImageRuntime.Builder setPythonPackages(int index, String value) Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The pythonPackages to set.- Returns:
- This builder for chaining.
-
addPythonPackages
Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The pythonPackages to add.- Returns:
- This builder for chaining.
-
addAllPythonPackages
public Task.InfrastructureSpec.ContainerImageRuntime.Builder addAllPythonPackages(Iterable<String> values) Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The pythonPackages to add.- Returns:
- This builder for chaining.
-
clearPythonPackages
Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addPythonPackagesBytes
public Task.InfrastructureSpec.ContainerImageRuntime.Builder addPythonPackagesBytes(com.google.protobuf.ByteString value) Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the pythonPackages to add.- Returns:
- This builder for chaining.
-
getPropertiesCount
public int getPropertiesCount()Description copied from interface:Task.InfrastructureSpec.ContainerImageRuntimeOrBuilderOptional. Override to common configuration of open source components installed on the Dataproc cluster. The properties to set on daemon config files. Property keys are specified in `prefix:property` format, for example `core:hadoop.tmp.dir`. For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesCountin interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder
-
containsProperties
Optional. Override to common configuration of open source components installed on the Dataproc cluster. The properties to set on daemon config files. Property keys are specified in `prefix:property` format, for example `core:hadoop.tmp.dir`. For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsPropertiesin interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder
-
getPropertiesMap
Optional. Override to common configuration of open source components installed on the Dataproc cluster. The properties to set on daemon config files. Property keys are specified in `prefix:property` format, for example `core:hadoop.tmp.dir`. For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesMapin interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder
-
getPropertiesOrDefault
Optional. Override to common configuration of open source components installed on the Dataproc cluster. The properties to set on daemon config files. Property keys are specified in `prefix:property` format, for example `core:hadoop.tmp.dir`. For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesOrDefaultin interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder
-
getPropertiesOrThrow
Optional. Override to common configuration of open source components installed on the Dataproc cluster. The properties to set on daemon config files. Property keys are specified in `prefix:property` format, for example `core:hadoop.tmp.dir`. For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesOrThrowin interfaceTask.InfrastructureSpec.ContainerImageRuntimeOrBuilder
-
clearProperties
-
removeProperties
Optional. Override to common configuration of open source components installed on the Dataproc cluster. The properties to set on daemon config files. Property keys are specified in `prefix:property` format, for example `core:hadoop.tmp.dir`. For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableProperties
Deprecated.Use alternate mutation accessors instead. -
putProperties
public Task.InfrastructureSpec.ContainerImageRuntime.Builder putProperties(String key, String value) Optional. Override to common configuration of open source components installed on the Dataproc cluster. The properties to set on daemon config files. Property keys are specified in `prefix:property` format, for example `core:hadoop.tmp.dir`. For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; -
putAllProperties
public Task.InfrastructureSpec.ContainerImageRuntime.Builder putAllProperties(Map<String, String> values) Optional. Override to common configuration of open source components installed on the Dataproc cluster. The properties to set on daemon config files. Property keys are specified in `prefix:property` format, for example `core:hadoop.tmp.dir`. For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
-