public static final class RuntimeConfig.Builder extends GeneratedMessageV3.Builder<RuntimeConfig.Builder> implements RuntimeConfigOrBuilder
Runtime configuration for a workload.Protobuf type
google.cloud.dataproc.v1.RuntimeConfig
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<RuntimeConfig.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<RuntimeConfig.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<RuntimeConfig.Builder>
public RuntimeConfig.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<RuntimeConfig.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<RuntimeConfig.Builder>
public RuntimeConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public RuntimeConfig build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public RuntimeConfig buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public RuntimeConfig.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<RuntimeConfig.Builder>
public RuntimeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<RuntimeConfig.Builder>
public RuntimeConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<RuntimeConfig.Builder>
public RuntimeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<RuntimeConfig.Builder>
public RuntimeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<RuntimeConfig.Builder>
public RuntimeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<RuntimeConfig.Builder>
public RuntimeConfig.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<RuntimeConfig.Builder>
public RuntimeConfig.Builder mergeFrom(RuntimeConfig other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<RuntimeConfig.Builder>
public RuntimeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<RuntimeConfig.Builder>
IOException
public String getVersion()
Optional. Version of the batch runtime.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
getVersion
in interface RuntimeConfigOrBuilder
public ByteString getVersionBytes()
Optional. Version of the batch runtime.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
getVersionBytes
in interface RuntimeConfigOrBuilder
public RuntimeConfig.Builder setVersion(String value)
Optional. Version of the batch runtime.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
value
- The version to set.public RuntimeConfig.Builder clearVersion()
Optional. Version of the batch runtime.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
public RuntimeConfig.Builder setVersionBytes(ByteString value)
Optional. Version of the batch runtime.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for version to set.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];
getContainerImage
in interface RuntimeConfigOrBuilder
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];
getContainerImageBytes
in interface RuntimeConfigOrBuilder
public RuntimeConfig.Builder setContainerImage(String value)
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];
value
- The containerImage to set.public RuntimeConfig.Builder clearContainerImage()
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];
public RuntimeConfig.Builder setContainerImageBytes(ByteString value)
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];
value
- The bytes for containerImage to set.public int getPropertiesCount()
RuntimeConfigOrBuilder
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];
getPropertiesCount
in interface RuntimeConfigOrBuilder
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];
containsProperties
in interface RuntimeConfigOrBuilder
@Deprecated public Map<String,String> getProperties()
getPropertiesMap()
instead.getProperties
in interface RuntimeConfigOrBuilder
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];
getPropertiesMap
in interface RuntimeConfigOrBuilder
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];
getPropertiesOrDefault
in interface RuntimeConfigOrBuilder
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];
getPropertiesOrThrow
in interface RuntimeConfigOrBuilder
public RuntimeConfig.Builder clearProperties()
public RuntimeConfig.Builder removeProperties(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];
@Deprecated public Map<String,String> getMutableProperties()
public RuntimeConfig.Builder putProperties(String key, String value)
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];
public RuntimeConfig.Builder putAllProperties(Map<String,String> values)
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];
public final RuntimeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<RuntimeConfig.Builder>
public final RuntimeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<RuntimeConfig.Builder>
Copyright © 2022 Google LLC. All rights reserved.