public final class InstanceGroupConfig extends com.google.protobuf.GeneratedMessageV3 implements InstanceGroupConfigOrBuilder
Optional. The config settings for Compute Engine resources in an instance group, such as a master or worker group.Protobuf type
google.cloud.dataproc.v1.InstanceGroupConfig| Modifier and Type | Class and Description |
|---|---|
static class |
InstanceGroupConfig.Builder
Optional.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACCELERATORS_FIELD_NUMBER |
static int |
DISK_CONFIG_FIELD_NUMBER |
static int |
IMAGE_URI_FIELD_NUMBER |
static int |
INSTANCE_NAMES_FIELD_NUMBER |
static int |
IS_PREEMPTIBLE_FIELD_NUMBER |
static int |
MACHINE_TYPE_URI_FIELD_NUMBER |
static int |
MANAGED_GROUP_CONFIG_FIELD_NUMBER |
static int |
NUM_INSTANCES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AcceleratorConfig |
getAccelerators(int index)
Optional.
|
int |
getAcceleratorsCount()
Optional.
|
List<AcceleratorConfig> |
getAcceleratorsList()
Optional.
|
AcceleratorConfigOrBuilder |
getAcceleratorsOrBuilder(int index)
Optional.
|
List<? extends AcceleratorConfigOrBuilder> |
getAcceleratorsOrBuilderList()
Optional.
|
static InstanceGroupConfig |
getDefaultInstance() |
InstanceGroupConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DiskConfig |
getDiskConfig()
Optional.
|
DiskConfigOrBuilder |
getDiskConfigOrBuilder()
Optional.
|
String |
getImageUri()
Optional.
|
com.google.protobuf.ByteString |
getImageUriBytes()
Optional.
|
String |
getInstanceNames(int index)
Output only.
|
com.google.protobuf.ByteString |
getInstanceNamesBytes(int index)
Output only.
|
int |
getInstanceNamesCount()
Output only.
|
com.google.protobuf.ProtocolStringList |
getInstanceNamesList()
Output only.
|
boolean |
getIsPreemptible()
Optional.
|
String |
getMachineTypeUri()
Optional.
|
com.google.protobuf.ByteString |
getMachineTypeUriBytes()
Optional.
|
ManagedGroupConfig |
getManagedGroupConfig()
Output only.
|
ManagedGroupConfigOrBuilder |
getManagedGroupConfigOrBuilder()
Output only.
|
int |
getNumInstances()
Optional.
|
com.google.protobuf.Parser<InstanceGroupConfig> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDiskConfig()
Optional.
|
int |
hashCode() |
boolean |
hasManagedGroupConfig()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static InstanceGroupConfig.Builder |
newBuilder() |
static InstanceGroupConfig.Builder |
newBuilder(InstanceGroupConfig prototype) |
InstanceGroupConfig.Builder |
newBuilderForType() |
protected InstanceGroupConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static InstanceGroupConfig |
parseDelimitedFrom(InputStream input) |
static InstanceGroupConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstanceGroupConfig |
parseFrom(byte[] data) |
static InstanceGroupConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstanceGroupConfig |
parseFrom(ByteBuffer data) |
static InstanceGroupConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstanceGroupConfig |
parseFrom(com.google.protobuf.ByteString data) |
static InstanceGroupConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstanceGroupConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static InstanceGroupConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstanceGroupConfig |
parseFrom(InputStream input) |
static InstanceGroupConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<InstanceGroupConfig> |
parser() |
InstanceGroupConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NUM_INSTANCES_FIELD_NUMBER
public static final int INSTANCE_NAMES_FIELD_NUMBER
public static final int IMAGE_URI_FIELD_NUMBER
public static final int MACHINE_TYPE_URI_FIELD_NUMBER
public static final int DISK_CONFIG_FIELD_NUMBER
public static final int IS_PREEMPTIBLE_FIELD_NUMBER
public static final int MANAGED_GROUP_CONFIG_FIELD_NUMBER
public static final int ACCELERATORS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getNumInstances()
Optional. The number of VM instances in the instance group. For master instance groups, must be set to 1.
int32 num_instances = 1;getNumInstances in interface InstanceGroupConfigOrBuilderpublic com.google.protobuf.ProtocolStringList getInstanceNamesList()
Output only. The list of instance names. Cloud Dataproc derives the names from `cluster_name`, `num_instances`, and the instance group.
repeated string instance_names = 2;getInstanceNamesList in interface InstanceGroupConfigOrBuilderpublic int getInstanceNamesCount()
Output only. The list of instance names. Cloud Dataproc derives the names from `cluster_name`, `num_instances`, and the instance group.
repeated string instance_names = 2;getInstanceNamesCount in interface InstanceGroupConfigOrBuilderpublic String getInstanceNames(int index)
Output only. The list of instance names. Cloud Dataproc derives the names from `cluster_name`, `num_instances`, and the instance group.
repeated string instance_names = 2;getInstanceNames in interface InstanceGroupConfigOrBuilderpublic com.google.protobuf.ByteString getInstanceNamesBytes(int index)
Output only. The list of instance names. Cloud Dataproc derives the names from `cluster_name`, `num_instances`, and the instance group.
repeated string instance_names = 2;getInstanceNamesBytes in interface InstanceGroupConfigOrBuilderpublic String getImageUri()
Optional. The Compute Engine image resource used for cluster instances. It can be specified or may be inferred from `SoftwareConfig.image_version`.
string image_uri = 3;getImageUri in interface InstanceGroupConfigOrBuilderpublic com.google.protobuf.ByteString getImageUriBytes()
Optional. The Compute Engine image resource used for cluster instances. It can be specified or may be inferred from `SoftwareConfig.image_version`.
string image_uri = 3;getImageUriBytes in interface InstanceGroupConfigOrBuilderpublic String getMachineTypeUri()
Optional. The Compute Engine machine type used for cluster instances. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2` * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2` * `n1-standard-2` **Auto Zone Exception**: If you are using the Cloud Dataproc [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the machine type resource, for example, `n1-standard-2`.
string machine_type_uri = 4;getMachineTypeUri in interface InstanceGroupConfigOrBuilderpublic com.google.protobuf.ByteString getMachineTypeUriBytes()
Optional. The Compute Engine machine type used for cluster instances. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2` * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2` * `n1-standard-2` **Auto Zone Exception**: If you are using the Cloud Dataproc [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the machine type resource, for example, `n1-standard-2`.
string machine_type_uri = 4;getMachineTypeUriBytes in interface InstanceGroupConfigOrBuilderpublic boolean hasDiskConfig()
Optional. Disk option config settings.
.google.cloud.dataproc.v1.DiskConfig disk_config = 5;hasDiskConfig in interface InstanceGroupConfigOrBuilderpublic DiskConfig getDiskConfig()
Optional. Disk option config settings.
.google.cloud.dataproc.v1.DiskConfig disk_config = 5;getDiskConfig in interface InstanceGroupConfigOrBuilderpublic DiskConfigOrBuilder getDiskConfigOrBuilder()
Optional. Disk option config settings.
.google.cloud.dataproc.v1.DiskConfig disk_config = 5;getDiskConfigOrBuilder in interface InstanceGroupConfigOrBuilderpublic boolean getIsPreemptible()
Optional. Specifies that this instance group contains preemptible instances.
bool is_preemptible = 6;getIsPreemptible in interface InstanceGroupConfigOrBuilderpublic boolean hasManagedGroupConfig()
Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.
.google.cloud.dataproc.v1.ManagedGroupConfig managed_group_config = 7;hasManagedGroupConfig in interface InstanceGroupConfigOrBuilderpublic ManagedGroupConfig getManagedGroupConfig()
Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.
.google.cloud.dataproc.v1.ManagedGroupConfig managed_group_config = 7;getManagedGroupConfig in interface InstanceGroupConfigOrBuilderpublic ManagedGroupConfigOrBuilder getManagedGroupConfigOrBuilder()
Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.
.google.cloud.dataproc.v1.ManagedGroupConfig managed_group_config = 7;getManagedGroupConfigOrBuilder in interface InstanceGroupConfigOrBuilderpublic List<AcceleratorConfig> getAcceleratorsList()
Optional. The Compute Engine accelerator configuration for these instances. **Beta Feature**: This feature is still under development. It may be changed before final release.
repeated .google.cloud.dataproc.v1.AcceleratorConfig accelerators = 8;getAcceleratorsList in interface InstanceGroupConfigOrBuilderpublic List<? extends AcceleratorConfigOrBuilder> getAcceleratorsOrBuilderList()
Optional. The Compute Engine accelerator configuration for these instances. **Beta Feature**: This feature is still under development. It may be changed before final release.
repeated .google.cloud.dataproc.v1.AcceleratorConfig accelerators = 8;getAcceleratorsOrBuilderList in interface InstanceGroupConfigOrBuilderpublic int getAcceleratorsCount()
Optional. The Compute Engine accelerator configuration for these instances. **Beta Feature**: This feature is still under development. It may be changed before final release.
repeated .google.cloud.dataproc.v1.AcceleratorConfig accelerators = 8;getAcceleratorsCount in interface InstanceGroupConfigOrBuilderpublic AcceleratorConfig getAccelerators(int index)
Optional. The Compute Engine accelerator configuration for these instances. **Beta Feature**: This feature is still under development. It may be changed before final release.
repeated .google.cloud.dataproc.v1.AcceleratorConfig accelerators = 8;getAccelerators in interface InstanceGroupConfigOrBuilderpublic AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index)
Optional. The Compute Engine accelerator configuration for these instances. **Beta Feature**: This feature is still under development. It may be changed before final release.
repeated .google.cloud.dataproc.v1.AcceleratorConfig accelerators = 8;getAcceleratorsOrBuilder in interface InstanceGroupConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static InstanceGroupConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstanceGroupConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstanceGroupConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstanceGroupConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstanceGroupConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstanceGroupConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstanceGroupConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static InstanceGroupConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InstanceGroupConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static InstanceGroupConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InstanceGroupConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static InstanceGroupConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic InstanceGroupConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static InstanceGroupConfig.Builder newBuilder()
public static InstanceGroupConfig.Builder newBuilder(InstanceGroupConfig prototype)
public InstanceGroupConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected InstanceGroupConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static InstanceGroupConfig getDefaultInstance()
public static com.google.protobuf.Parser<InstanceGroupConfig> parser()
public com.google.protobuf.Parser<InstanceGroupConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public InstanceGroupConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.