Class ManagedGroupConfig.Builder (4.49.0)

public static final class ManagedGroupConfig.Builder extends GeneratedMessageV3.Builder<ManagedGroupConfig.Builder> implements ManagedGroupConfigOrBuilder

Specifies the resources used to actively manage an instance group.

Protobuf type google.cloud.dataproc.v1.ManagedGroupConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ManagedGroupConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ManagedGroupConfig.Builder
Overrides

build()

public ManagedGroupConfig build()
Returns
Type Description
ManagedGroupConfig

buildPartial()

public ManagedGroupConfig buildPartial()
Returns
Type Description
ManagedGroupConfig

clear()

public ManagedGroupConfig.Builder clear()
Returns
Type Description
ManagedGroupConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ManagedGroupConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ManagedGroupConfig.Builder
Overrides

clearInstanceGroupManagerName()

public ManagedGroupConfig.Builder clearInstanceGroupManagerName()

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
ManagedGroupConfig.Builder

This builder for chaining.

clearInstanceGroupManagerUri()

public ManagedGroupConfig.Builder clearInstanceGroupManagerUri()

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
ManagedGroupConfig.Builder

This builder for chaining.

clearInstanceTemplateName()

public ManagedGroupConfig.Builder clearInstanceTemplateName()

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
ManagedGroupConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ManagedGroupConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ManagedGroupConfig.Builder
Overrides

clone()

public ManagedGroupConfig.Builder clone()
Returns
Type Description
ManagedGroupConfig.Builder
Overrides

getDefaultInstanceForType()

public ManagedGroupConfig getDefaultInstanceForType()
Returns
Type Description
ManagedGroupConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ManagedGroupConfig other)

public ManagedGroupConfig.Builder mergeFrom(ManagedGroupConfig other)
Parameter
Name Description
other ManagedGroupConfig
Returns
Type Description
ManagedGroupConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ManagedGroupConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManagedGroupConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ManagedGroupConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ManagedGroupConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ManagedGroupConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ManagedGroupConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ManagedGroupConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ManagedGroupConfig.Builder
Overrides

setInstanceGroupManagerName(String value)

public ManagedGroupConfig.Builder setInstanceGroupManagerName(String value)

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

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

Parameter
Name Description
value String

The instanceGroupManagerName to set.

Returns
Type Description
ManagedGroupConfig.Builder

This builder for chaining.

setInstanceGroupManagerNameBytes(ByteString value)

public ManagedGroupConfig.Builder setInstanceGroupManagerNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for instanceGroupManagerName to set.

Returns
Type Description
ManagedGroupConfig.Builder

This builder for chaining.

setInstanceGroupManagerUri(String value)

public ManagedGroupConfig.Builder setInstanceGroupManagerUri(String value)

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];

Parameter
Name Description
value String

The instanceGroupManagerUri to set.

Returns
Type Description
ManagedGroupConfig.Builder

This builder for chaining.

setInstanceGroupManagerUriBytes(ByteString value)

public ManagedGroupConfig.Builder setInstanceGroupManagerUriBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for instanceGroupManagerUri to set.

Returns
Type Description
ManagedGroupConfig.Builder

This builder for chaining.

setInstanceTemplateName(String value)

public ManagedGroupConfig.Builder setInstanceTemplateName(String value)

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];

Parameter
Name Description
value String

The instanceTemplateName to set.

Returns
Type Description
ManagedGroupConfig.Builder

This builder for chaining.

setInstanceTemplateNameBytes(ByteString value)

public ManagedGroupConfig.Builder setInstanceTemplateNameBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for instanceTemplateName to set.

Returns
Type Description
ManagedGroupConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ManagedGroupConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ManagedGroupConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ManagedGroupConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ManagedGroupConfig.Builder
Overrides