Class ManagedGroupConfig.Builder (3.0.3)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ManagedGroupConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ManagedGroupConfig.Builder
Overrides

build()

public ManagedGroupConfig build()
Returns
TypeDescription
ManagedGroupConfig

buildPartial()

public ManagedGroupConfig buildPartial()
Returns
TypeDescription
ManagedGroupConfig

clear()

public ManagedGroupConfig.Builder clear()
Returns
TypeDescription
ManagedGroupConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ManagedGroupConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ManagedGroupConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ManagedGroupConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ManagedGroupConfig.Builder
Overrides

clone()

public ManagedGroupConfig.Builder clone()
Returns
TypeDescription
ManagedGroupConfig.Builder
Overrides

getDefaultInstanceForType()

public ManagedGroupConfig getDefaultInstanceForType()
Returns
TypeDescription
ManagedGroupConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ManagedGroupConfig other)

public ManagedGroupConfig.Builder mergeFrom(ManagedGroupConfig other)
Parameter
NameDescription
otherManagedGroupConfig
Returns
TypeDescription
ManagedGroupConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ManagedGroupConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedGroupConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ManagedGroupConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ManagedGroupConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ManagedGroupConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ManagedGroupConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ManagedGroupConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The instanceGroupManagerName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for instanceGroupManagerName to set.

Returns
TypeDescription
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
NameDescription
valueString

The instanceTemplateName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for instanceTemplateName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ManagedGroupConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ManagedGroupConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ManagedGroupConfig.Builder
Overrides