Class KubernetesSoftwareConfig (4.17.0)

public final class KubernetesSoftwareConfig extends GeneratedMessageV3 implements KubernetesSoftwareConfigOrBuilder

The software configuration for this Dataproc cluster running on Kubernetes.

Protobuf type google.cloud.dataproc.v1.KubernetesSoftwareConfig

Static Fields

COMPONENT_VERSION_FIELD_NUMBER

public static final int COMPONENT_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

PROPERTIES_FIELD_NUMBER

public static final int PROPERTIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static KubernetesSoftwareConfig getDefaultInstance()
Returns
TypeDescription
KubernetesSoftwareConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static KubernetesSoftwareConfig.Builder newBuilder()
Returns
TypeDescription
KubernetesSoftwareConfig.Builder

newBuilder(KubernetesSoftwareConfig prototype)

public static KubernetesSoftwareConfig.Builder newBuilder(KubernetesSoftwareConfig prototype)
Parameter
NameDescription
prototypeKubernetesSoftwareConfig
Returns
TypeDescription
KubernetesSoftwareConfig.Builder

parseDelimitedFrom(InputStream input)

public static KubernetesSoftwareConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
KubernetesSoftwareConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KubernetesSoftwareConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesSoftwareConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static KubernetesSoftwareConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
KubernetesSoftwareConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static KubernetesSoftwareConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesSoftwareConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static KubernetesSoftwareConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
KubernetesSoftwareConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static KubernetesSoftwareConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesSoftwareConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static KubernetesSoftwareConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
KubernetesSoftwareConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static KubernetesSoftwareConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesSoftwareConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static KubernetesSoftwareConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
KubernetesSoftwareConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KubernetesSoftwareConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesSoftwareConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static KubernetesSoftwareConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
KubernetesSoftwareConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static KubernetesSoftwareConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesSoftwareConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<KubernetesSoftwareConfig> parser()
Returns
TypeDescription
Parser<KubernetesSoftwareConfig>

Methods

containsComponentVersion(String key)

public boolean containsComponentVersion(String key)

The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.

map<string, string> component_version = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsProperties(String key)

public boolean containsProperties(String key)

The properties to set on daemon config files.

Property keys are specified in prefix:property format, for example spark:spark.kubernetes.container.image. The following are supported prefixes and their mappings:

map<string, string> properties = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getComponentVersion()

public Map<String,String> getComponentVersion()
Returns
TypeDescription
Map<String,String>

getComponentVersionCount()

public int getComponentVersionCount()

The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.

map<string, string> component_version = 1;

Returns
TypeDescription
int

getComponentVersionMap()

public Map<String,String> getComponentVersionMap()

The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.

map<string, string> component_version = 1;

Returns
TypeDescription
Map<String,String>

getComponentVersionOrDefault(String key, String defaultValue)

public String getComponentVersionOrDefault(String key, String defaultValue)

The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.

map<string, string> component_version = 1;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getComponentVersionOrThrow(String key)

public String getComponentVersionOrThrow(String key)

The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.

map<string, string> component_version = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getDefaultInstanceForType()

public KubernetesSoftwareConfig getDefaultInstanceForType()
Returns
TypeDescription
KubernetesSoftwareConfig

getParserForType()

public Parser<KubernetesSoftwareConfig> getParserForType()
Returns
TypeDescription
Parser<KubernetesSoftwareConfig>
Overrides

getProperties()

public Map<String,String> getProperties()

Use #getPropertiesMap() instead.

Returns
TypeDescription
Map<String,String>

getPropertiesCount()

public int getPropertiesCount()

The properties to set on daemon config files.

Property keys are specified in prefix:property format, for example spark:spark.kubernetes.container.image. The following are supported prefixes and their mappings:

map<string, string> properties = 2;

Returns
TypeDescription
int

getPropertiesMap()

public Map<String,String> getPropertiesMap()

The properties to set on daemon config files.

Property keys are specified in prefix:property format, for example spark:spark.kubernetes.container.image. The following are supported prefixes and their mappings:

map<string, string> properties = 2;

Returns
TypeDescription
Map<String,String>

getPropertiesOrDefault(String key, String defaultValue)

public String getPropertiesOrDefault(String key, String defaultValue)

The properties to set on daemon config files.

Property keys are specified in prefix:property format, for example spark:spark.kubernetes.container.image. The following are supported prefixes and their mappings:

map<string, string> properties = 2;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getPropertiesOrThrow(String key)

public String getPropertiesOrThrow(String key)

The properties to set on daemon config files.

Property keys are specified in prefix:property format, for example spark:spark.kubernetes.container.image. The following are supported prefixes and their mappings:

map<string, string> properties = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public KubernetesSoftwareConfig.Builder newBuilderForType()
Returns
TypeDescription
KubernetesSoftwareConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected KubernetesSoftwareConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
KubernetesSoftwareConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public KubernetesSoftwareConfig.Builder toBuilder()
Returns
TypeDescription
KubernetesSoftwareConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException