Package com.google.cloud.dataplex.v1
Class Environment.InfrastructureSpec.OsImageRuntime.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder
- All Implemented Interfaces:
Environment.InfrastructureSpec.OsImageRuntimeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Environment.InfrastructureSpec.OsImageRuntime
public static final class Environment.InfrastructureSpec.OsImageRuntime.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
implements Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
Software Runtime Configuration to run Analyze.Protobuf type
google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime-
Method Summary
Modifier and TypeMethodDescriptionaddAllJavaLibraries(Iterable<String> values) Optional.addAllPythonPackages(Iterable<String> values) Optional.addJavaLibraries(String value) Optional.addJavaLibrariesBytes(com.google.protobuf.ByteString value) Optional.addPythonPackages(String value) Optional.addPythonPackagesBytes(com.google.protobuf.ByteString value) Optional.build()clear()Required.Optional.Optional.booleancontainsProperties(String key) Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.getJavaLibraries(int index) Optional.com.google.protobuf.ByteStringgetJavaLibrariesBytes(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.setImageVersion(String value) Required.setImageVersionBytes(com.google.protobuf.ByteString value) Required.setJavaLibraries(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<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.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<Environment.InfrastructureSpec.OsImageRuntime.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<Environment.InfrastructureSpec.OsImageRuntime.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 Environment.InfrastructureSpec.OsImageRuntime.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
mergeFrom
public Environment.InfrastructureSpec.OsImageRuntime.Builder mergeFrom(Environment.InfrastructureSpec.OsImageRuntime other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
mergeFrom
public Environment.InfrastructureSpec.OsImageRuntime.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<Environment.InfrastructureSpec.OsImageRuntime.Builder>- Throws:
IOException
-
getImageVersion
Required. Dataplex Universal Catalog Image version.
string image_version = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getImageVersionin interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder- Returns:
- The imageVersion.
-
getImageVersionBytes
public com.google.protobuf.ByteString getImageVersionBytes()Required. Dataplex Universal Catalog Image version.
string image_version = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getImageVersionBytesin interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder- Returns:
- The bytes for imageVersion.
-
setImageVersion
Required. Dataplex Universal Catalog Image version.
string image_version = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The imageVersion to set.- Returns:
- This builder for chaining.
-
clearImageVersion
Required. Dataplex Universal Catalog Image version.
string image_version = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setImageVersionBytes
public Environment.InfrastructureSpec.OsImageRuntime.Builder setImageVersionBytes(com.google.protobuf.ByteString value) Required. Dataplex Universal Catalog Image version.
string image_version = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for imageVersion to set.- Returns:
- This builder for chaining.
-
getJavaLibrariesList
public com.google.protobuf.ProtocolStringList getJavaLibrariesList()Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getJavaLibrariesListin interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder- Returns:
- A list containing the javaLibraries.
-
getJavaLibrariesCount
public int getJavaLibrariesCount()Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getJavaLibrariesCountin interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder- Returns:
- The count of javaLibraries.
-
getJavaLibraries
Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getJavaLibrariesin interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The javaLibraries at the given index.
-
getJavaLibrariesBytes
public com.google.protobuf.ByteString getJavaLibrariesBytes(int index) Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getJavaLibrariesBytesin interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the javaLibraries at the given index.
-
setJavaLibraries
public Environment.InfrastructureSpec.OsImageRuntime.Builder setJavaLibraries(int index, String value) Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The javaLibraries to set.- Returns:
- This builder for chaining.
-
addJavaLibraries
Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The javaLibraries to add.- Returns:
- This builder for chaining.
-
addAllJavaLibraries
public Environment.InfrastructureSpec.OsImageRuntime.Builder addAllJavaLibraries(Iterable<String> values) Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The javaLibraries to add.- Returns:
- This builder for chaining.
-
clearJavaLibraries
Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addJavaLibrariesBytes
public Environment.InfrastructureSpec.OsImageRuntime.Builder addJavaLibrariesBytes(com.google.protobuf.ByteString value) Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the javaLibraries 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 interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder- 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 interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder- 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 interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder- 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 interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the pythonPackages at the given index.
-
setPythonPackages
public Environment.InfrastructureSpec.OsImageRuntime.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 Environment.InfrastructureSpec.OsImageRuntime.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 Environment.InfrastructureSpec.OsImageRuntime.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:Environment.InfrastructureSpec.OsImageRuntimeOrBuilderOptional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in `prefix:property` format. The prefix must be "spark".
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesCountin interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
-
containsProperties
Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in `prefix:property` format. The prefix must be "spark".
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsPropertiesin interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
-
getPropertiesMap
Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in `prefix:property` format. The prefix must be "spark".
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesMapin interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
-
getPropertiesOrDefault
Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in `prefix:property` format. The prefix must be "spark".
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesOrDefaultin interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
-
getPropertiesOrThrow
Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in `prefix:property` format. The prefix must be "spark".
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesOrThrowin interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
-
clearProperties
-
removeProperties
Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in `prefix:property` format. The prefix must be "spark".
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableProperties
Deprecated.Use alternate mutation accessors instead. -
putProperties
public Environment.InfrastructureSpec.OsImageRuntime.Builder putProperties(String key, String value) Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in `prefix:property` format. The prefix must be "spark".
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL]; -
putAllProperties
public Environment.InfrastructureSpec.OsImageRuntime.Builder putAllProperties(Map<String, String> values) Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in `prefix:property` format. The prefix must be "spark".
map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
-