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