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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder> implements Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
Software Runtime Configuration to run Analyze.
Protobuf typegoogle.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
clear
public Environment.InfrastructureSpec.OsImageRuntime.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
getDefaultInstanceForType
public Environment.InfrastructureSpec.OsImageRuntime getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Environment.InfrastructureSpec.OsImageRuntime build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Environment.InfrastructureSpec.OsImageRuntime buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Environment.InfrastructureSpec.OsImageRuntime.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
setField
public Environment.InfrastructureSpec.OsImageRuntime.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
clearField
public Environment.InfrastructureSpec.OsImageRuntime.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
clearOneof
public Environment.InfrastructureSpec.OsImageRuntime.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
setRepeatedField
public Environment.InfrastructureSpec.OsImageRuntime.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
addRepeatedField
public Environment.InfrastructureSpec.OsImageRuntime.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
mergeFrom
public Environment.InfrastructureSpec.OsImageRuntime.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in 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:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
- Throws:
IOException
-
getImageVersion
public String getImageVersion()
Required. Dataplex Image version.
string image_version = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getImageVersion
in interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
- Returns:
- The imageVersion.
-
getImageVersionBytes
public com.google.protobuf.ByteString getImageVersionBytes()
Required. Dataplex Image version.
string image_version = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getImageVersionBytes
in interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
- Returns:
- The bytes for imageVersion.
-
setImageVersion
public Environment.InfrastructureSpec.OsImageRuntime.Builder setImageVersion(String value)
Required. Dataplex Image version.
string image_version = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The imageVersion to set.- Returns:
- This builder for chaining.
-
clearImageVersion
public Environment.InfrastructureSpec.OsImageRuntime.Builder clearImageVersion()
Required. Dataplex 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 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:
getJavaLibrariesList
in 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:
getJavaLibrariesCount
in interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
- Returns:
- The count of javaLibraries.
-
getJavaLibraries
public String getJavaLibraries(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:
getJavaLibraries
in 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:
getJavaLibrariesBytes
in 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
public Environment.InfrastructureSpec.OsImageRuntime.Builder addJavaLibraries(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:
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
public Environment.InfrastructureSpec.OsImageRuntime.Builder 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:
getPythonPackagesList
in 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:
getPythonPackagesCount
in interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
- Returns:
- The count of pythonPackages.
-
getPythonPackages
public String getPythonPackages(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:
getPythonPackages
in 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:
getPythonPackagesBytes
in 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
public Environment.InfrastructureSpec.OsImageRuntime.Builder addPythonPackages(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:
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
public Environment.InfrastructureSpec.OsImageRuntime.Builder 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.OsImageRuntimeOrBuilder
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:
getPropertiesCount
in interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
-
containsProperties
public boolean containsProperties(String key)
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:
containsProperties
in interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
-
getProperties
@Deprecated public Map<String,String> getProperties()
Deprecated.UsegetPropertiesMap()
instead.- Specified by:
getProperties
in interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
-
getPropertiesMap
public Map<String,String> 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:
getPropertiesMap
in interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
-
getPropertiesOrDefault
public String getPropertiesOrDefault(String key, String defaultValue)
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:
getPropertiesOrDefault
in interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
-
getPropertiesOrThrow
public String getPropertiesOrThrow(String key)
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:
getPropertiesOrThrow
in interfaceEnvironment.InfrastructureSpec.OsImageRuntimeOrBuilder
-
clearProperties
public Environment.InfrastructureSpec.OsImageRuntime.Builder clearProperties()
-
removeProperties
public Environment.InfrastructureSpec.OsImageRuntime.Builder removeProperties(String key)
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 public Map<String,String> 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];
-
setUnknownFields
public final Environment.InfrastructureSpec.OsImageRuntime.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
mergeUnknownFields
public final Environment.InfrastructureSpec.OsImageRuntime.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
-
-