public final class SoftwareConfig extends GeneratedMessageV3 implements SoftwareConfigOrBuilder
Specifies the selection and config of software inside the cluster.
Protobuf type google.cloud.dataproc.v1.SoftwareConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
IMAGE_VERSION_FIELD_NUMBER
public static final int IMAGE_VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
OPTIONAL_COMPONENTS_FIELD_NUMBER
public static final int OPTIONAL_COMPONENTS_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 SoftwareConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SoftwareConfig.Builder newBuilder()
newBuilder(SoftwareConfig prototype)
public static SoftwareConfig.Builder newBuilder(SoftwareConfig prototype)
public static SoftwareConfig parseDelimitedFrom(InputStream input)
public static SoftwareConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SoftwareConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SoftwareConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SoftwareConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SoftwareConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SoftwareConfig parseFrom(CodedInputStream input)
public static SoftwareConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SoftwareConfig parseFrom(InputStream input)
public static SoftwareConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SoftwareConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SoftwareConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SoftwareConfig> parser()
Methods
containsProperties(String key)
public boolean containsProperties(String key)
Optional. The properties to set on daemon config files.
Property keys are specified in prefix:property
format, for example
core:hadoop.tmp.dir
. The following are supported prefixes
and their mappings:
map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public SoftwareConfig getDefaultInstanceForType()
getImageVersion()
public String getImageVersion()
Optional. The version of software inside the cluster. It must be one of the
supported Dataproc
Versions,
such as "1.2" (including a subminor version, such as "1.2.29"), or the
"preview"
version.
If unspecified, it defaults to the latest Debian version.
string image_version = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The imageVersion.
|
getImageVersionBytes()
public ByteString getImageVersionBytes()
Optional. The version of software inside the cluster. It must be one of the
supported Dataproc
Versions,
such as "1.2" (including a subminor version, such as "1.2.29"), or the
"preview"
version.
If unspecified, it defaults to the latest Debian version.
string image_version = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for imageVersion.
|
getOptionalComponents(int index)
public Component getOptionalComponents(int index)
Optional. The set of components to activate on the cluster.
repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
Component | The optionalComponents at the given index.
|
getOptionalComponentsCount()
public int getOptionalComponentsCount()
Optional. The set of components to activate on the cluster.
repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | The count of optionalComponents.
|
getOptionalComponentsList()
public List<Component> getOptionalComponentsList()
Optional. The set of components to activate on the cluster.
repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
List<Component> | A list containing the optionalComponents.
|
getOptionalComponentsValue(int index)
public int getOptionalComponentsValue(int index)
Optional. The set of components to activate on the cluster.
repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
int | The enum numeric value on the wire of optionalComponents at the given index.
|
getOptionalComponentsValueList()
public List<Integer> getOptionalComponentsValueList()
Optional. The set of components to activate on the cluster.
repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for optionalComponents.
|
getParserForType()
public Parser<SoftwareConfig> getParserForType()
Overrides
getProperties()
public Map<String,String> getProperties()
getPropertiesCount()
public int getPropertiesCount()
Optional. The properties to set on daemon config files.
Property keys are specified in prefix:property
format, for example
core:hadoop.tmp.dir
. The following are supported prefixes
and their mappings:
map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | |
getPropertiesMap()
public Map<String,String> getPropertiesMap()
Optional. The properties to set on daemon config files.
Property keys are specified in prefix:property
format, for example
core:hadoop.tmp.dir
. The following are supported prefixes
and their mappings:
map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
getPropertiesOrDefault(String key, String defaultValue)
public String getPropertiesOrDefault(String key, String defaultValue)
Optional. The properties to set on daemon config files.
Property keys are specified in prefix:property
format, for example
core:hadoop.tmp.dir
. The following are supported prefixes
and their mappings:
map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
getPropertiesOrThrow(String key)
public String getPropertiesOrThrow(String key)
Optional. The properties to set on daemon config files.
Property keys are specified in prefix:property
format, for example
core:hadoop.tmp.dir
. The following are supported prefixes
and their mappings:
map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
key | String
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 SoftwareConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SoftwareConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SoftwareConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides