Class ManagedGroupConfig (4.5.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
TypeDescription
int

INSTANCE_TEMPLATE_NAME_FIELD_NUMBER

public static final int INSTANCE_TEMPLATE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ManagedGroupConfig getDefaultInstance()
Returns
TypeDescription
ManagedGroupConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ManagedGroupConfig.Builder newBuilder()
Returns
TypeDescription
ManagedGroupConfig.Builder

newBuilder(ManagedGroupConfig prototype)

public static ManagedGroupConfig.Builder newBuilder(ManagedGroupConfig prototype)
Parameter
NameDescription
prototypeManagedGroupConfig
Returns
TypeDescription
ManagedGroupConfig.Builder

parseDelimitedFrom(InputStream input)

public static ManagedGroupConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ManagedGroupConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ManagedGroupConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedGroupConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ManagedGroupConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ManagedGroupConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ManagedGroupConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedGroupConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ManagedGroupConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ManagedGroupConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ManagedGroupConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedGroupConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ManagedGroupConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ManagedGroupConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ManagedGroupConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedGroupConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ManagedGroupConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ManagedGroupConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ManagedGroupConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedGroupConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ManagedGroupConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ManagedGroupConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ManagedGroupConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedGroupConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ManagedGroupConfig> parser()
Returns
TypeDescription
Parser<ManagedGroupConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ManagedGroupConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for instanceGroupManagerName.

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
TypeDescription
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
TypeDescription
ByteString

The bytes for instanceTemplateName.

getParserForType()

public Parser<ManagedGroupConfig> getParserForType()
Returns
TypeDescription
Parser<ManagedGroupConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ManagedGroupConfig.Builder newBuilderForType()
Returns
TypeDescription
ManagedGroupConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ManagedGroupConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ManagedGroupConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ManagedGroupConfig.Builder toBuilder()
Returns
TypeDescription
ManagedGroupConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException