Class ManagedGroupConfig (4.39.0)

public final class ManagedGroupConfig extends GeneratedMessageV3 implements ManagedGroupConfigOrBuilder

Specifies the resources used to actively manage an instance group.

Protobuf type google.cloud.dataproc.v1.ManagedGroupConfig

Static Fields

INSTANCE_GROUP_MANAGER_NAME_FIELD_NUMBER

public static final int INSTANCE_GROUP_MANAGER_NAME_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_GROUP_MANAGER_URI_FIELD_NUMBER

public static final int INSTANCE_GROUP_MANAGER_URI_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_TEMPLATE_NAME_FIELD_NUMBER

public static final int INSTANCE_TEMPLATE_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ManagedGroupConfig getDefaultInstance()
Returns
Type Description
ManagedGroupConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ManagedGroupConfig.Builder newBuilder()
Returns
Type Description
ManagedGroupConfig.Builder

newBuilder(ManagedGroupConfig prototype)

public static ManagedGroupConfig.Builder newBuilder(ManagedGroupConfig prototype)
Parameter
Name Description
prototype ManagedGroupConfig
Returns
Type Description
ManagedGroupConfig.Builder

parseDelimitedFrom(InputStream input)

public static ManagedGroupConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ManagedGroupConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ManagedGroupConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManagedGroupConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ManagedGroupConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ManagedGroupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ManagedGroupConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManagedGroupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ManagedGroupConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ManagedGroupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ManagedGroupConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManagedGroupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ManagedGroupConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ManagedGroupConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ManagedGroupConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManagedGroupConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ManagedGroupConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ManagedGroupConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ManagedGroupConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManagedGroupConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ManagedGroupConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ManagedGroupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ManagedGroupConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManagedGroupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ManagedGroupConfig> parser()
Returns
Type Description
Parser<ManagedGroupConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ManagedGroupConfig getDefaultInstanceForType()
Returns
Type Description
ManagedGroupConfig

getInstanceGroupManagerName()

public String getInstanceGroupManagerName()

Output only. The name of the Instance Group Manager for this group.

string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The instanceGroupManagerName.

getInstanceGroupManagerNameBytes()

public ByteString getInstanceGroupManagerNameBytes()

Output only. The name of the Instance Group Manager for this group.

string instance_group_manager_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for instanceGroupManagerName.

getInstanceGroupManagerUri()

public String getInstanceGroupManagerUri()

Output only. The partial URI to the instance group manager for this group. E.g. projects/my-project/regions/us-central1/instanceGroupManagers/my-igm.

string instance_group_manager_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The instanceGroupManagerUri.

getInstanceGroupManagerUriBytes()

public ByteString getInstanceGroupManagerUriBytes()

Output only. The partial URI to the instance group manager for this group. E.g. projects/my-project/regions/us-central1/instanceGroupManagers/my-igm.

string instance_group_manager_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for instanceGroupManagerUri.

getInstanceTemplateName()

public String getInstanceTemplateName()

Output only. The name of the Instance Template used for the Managed Instance Group.

string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The instanceTemplateName.

getInstanceTemplateNameBytes()

public ByteString getInstanceTemplateNameBytes()

Output only. The name of the Instance Template used for the Managed Instance Group.

string instance_template_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for instanceTemplateName.

getParserForType()

public Parser<ManagedGroupConfig> getParserForType()
Returns
Type Description
Parser<ManagedGroupConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ManagedGroupConfig.Builder newBuilderForType()
Returns
Type Description
ManagedGroupConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ManagedGroupConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ManagedGroupConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ManagedGroupConfig.Builder toBuilder()
Returns
Type Description
ManagedGroupConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException