public final class RuntimeConfig extends GeneratedMessageV3 implements RuntimeConfigOrBuilder
Runtime configuration for a workload.
Protobuf type google.cloud.dataproc.v1.RuntimeConfig
Static Fields
CONTAINER_IMAGE_FIELD_NUMBER
public static final int CONTAINER_IMAGE_FIELD_NUMBER
Field Value
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static RuntimeConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static RuntimeConfig.Builder newBuilder()
Returns
newBuilder(RuntimeConfig prototype)
public static RuntimeConfig.Builder newBuilder(RuntimeConfig prototype)
Parameter
Returns
public static RuntimeConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RuntimeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RuntimeConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RuntimeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RuntimeConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RuntimeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RuntimeConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RuntimeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RuntimeConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RuntimeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RuntimeConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RuntimeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RuntimeConfig> parser()
Returns
Methods
containsProperties(String key)
public boolean containsProperties(String key)
Optional. A mapping of property names to values, which are used to
configure workload execution.
map<string, string> properties = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getContainerImage()
public String getContainerImage()
Optional. Optional custom container image for the job runtime environment.
If not specified, a default container image will be used.
string container_image = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The containerImage.
|
getContainerImageBytes()
public ByteString getContainerImageBytes()
Optional. Optional custom container image for the job runtime environment.
If not specified, a default container image will be used.
string container_image = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
ByteString | The bytes for containerImage.
|
getDefaultInstanceForType()
public RuntimeConfig getDefaultInstanceForType()
Returns
getParserForType()
public Parser<RuntimeConfig> getParserForType()
Returns
Overrides
getProperties()
public Map<String,String> getProperties()
Returns
getPropertiesCount()
public int getPropertiesCount()
Optional. A mapping of property names to values, which are used to
configure workload execution.
map<string, string> properties = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getPropertiesMap()
public Map<String,String> getPropertiesMap()
Optional. A mapping of property names to values, which are used to
configure workload execution.
map<string, string> properties = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getPropertiesOrDefault(String key, String defaultValue)
public String getPropertiesOrDefault(String key, String defaultValue)
Optional. A mapping of property names to values, which are used to
configure workload execution.
map<string, string> properties = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters
Returns
getPropertiesOrThrow(String key)
public String getPropertiesOrThrow(String key)
Optional. A mapping of property names to values, which are used to
configure workload execution.
map<string, string> properties = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVersion()
public String getVersion()
Optional. Version of the batch runtime.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Optional. Version of the batch runtime.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
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 RuntimeConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RuntimeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public RuntimeConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions