Class InstanceGroupManagerAllInstancesConfig.Builder (1.64.0)

public static final class InstanceGroupManagerAllInstancesConfig.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagerAllInstancesConfig.Builder> implements InstanceGroupManagerAllInstancesConfigOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerAllInstancesConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupManagerAllInstancesConfig build()
Returns
Type Description
InstanceGroupManagerAllInstancesConfig

buildPartial()

public InstanceGroupManagerAllInstancesConfig buildPartial()
Returns
Type Description
InstanceGroupManagerAllInstancesConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProperties()

public InstanceGroupManagerAllInstancesConfig.Builder clearProperties()

Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.

optional .google.cloud.compute.v1.InstancePropertiesPatch properties = 147688755;

Returns
Type Description
InstanceGroupManagerAllInstancesConfig.Builder

clone()

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

getDefaultInstanceForType()

public InstanceGroupManagerAllInstancesConfig getDefaultInstanceForType()
Returns
Type Description
InstanceGroupManagerAllInstancesConfig

getDescriptorForType()

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

getProperties()

public InstancePropertiesPatch getProperties()

Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.

optional .google.cloud.compute.v1.InstancePropertiesPatch properties = 147688755;

Returns
Type Description
InstancePropertiesPatch

The properties.

getPropertiesBuilder()

public InstancePropertiesPatch.Builder getPropertiesBuilder()

Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.

optional .google.cloud.compute.v1.InstancePropertiesPatch properties = 147688755;

Returns
Type Description
InstancePropertiesPatch.Builder

getPropertiesOrBuilder()

public InstancePropertiesPatchOrBuilder getPropertiesOrBuilder()

Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.

optional .google.cloud.compute.v1.InstancePropertiesPatch properties = 147688755;

Returns
Type Description
InstancePropertiesPatchOrBuilder

hasProperties()

public boolean hasProperties()

Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.

optional .google.cloud.compute.v1.InstancePropertiesPatch properties = 147688755;

Returns
Type Description
boolean

Whether the properties field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstanceGroupManagerAllInstancesConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProperties(InstancePropertiesPatch value)

public InstanceGroupManagerAllInstancesConfig.Builder mergeProperties(InstancePropertiesPatch value)

Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.

optional .google.cloud.compute.v1.InstancePropertiesPatch properties = 147688755;

Parameter
Name Description
value InstancePropertiesPatch
Returns
Type Description
InstanceGroupManagerAllInstancesConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProperties(InstancePropertiesPatch value)

public InstanceGroupManagerAllInstancesConfig.Builder setProperties(InstancePropertiesPatch value)

Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.

optional .google.cloud.compute.v1.InstancePropertiesPatch properties = 147688755;

Parameter
Name Description
value InstancePropertiesPatch
Returns
Type Description
InstanceGroupManagerAllInstancesConfig.Builder

setProperties(InstancePropertiesPatch.Builder builderForValue)

public InstanceGroupManagerAllInstancesConfig.Builder setProperties(InstancePropertiesPatch.Builder builderForValue)

Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.

optional .google.cloud.compute.v1.InstancePropertiesPatch properties = 147688755;

Parameter
Name Description
builderForValue InstancePropertiesPatch.Builder
Returns
Type Description
InstanceGroupManagerAllInstancesConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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