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
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static KubernetesSoftwareConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static KubernetesSoftwareConfig.Builder newBuilder()
Returns
newBuilder(KubernetesSoftwareConfig prototype)
public static KubernetesSoftwareConfig.Builder newBuilder(KubernetesSoftwareConfig prototype)
Parameter
Returns
public static KubernetesSoftwareConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static KubernetesSoftwareConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static KubernetesSoftwareConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static KubernetesSoftwareConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static KubernetesSoftwareConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KubernetesSoftwareConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static KubernetesSoftwareConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static KubernetesSoftwareConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static KubernetesSoftwareConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static KubernetesSoftwareConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static KubernetesSoftwareConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static KubernetesSoftwareConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<KubernetesSoftwareConfig> parser()
Returns
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
Returns
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getComponentVersion()
public Map<String,String> getComponentVersion()
Returns
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
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
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
Returns
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
Returns
getDefaultInstanceForType()
public KubernetesSoftwareConfig getDefaultInstanceForType()
Returns
getParserForType()
public Parser<KubernetesSoftwareConfig> getParserForType()
Returns
Overrides
getProperties()
public Map<String,String> getProperties()
Returns
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
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
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
Returns
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
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public KubernetesSoftwareConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected KubernetesSoftwareConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public KubernetesSoftwareConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions