Class InstanceGroupManagerAllInstancesConfig.Builder (1.45.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupManagerAllInstancesConfig build()
Returns
TypeDescription
InstanceGroupManagerAllInstancesConfig

buildPartial()

public InstanceGroupManagerAllInstancesConfig buildPartial()
Returns
TypeDescription
InstanceGroupManagerAllInstancesConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public InstanceGroupManagerAllInstancesConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InstanceGroupManagerAllInstancesConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceGroupManagerAllInstancesConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
InstanceGroupManagerAllInstancesConfig.Builder

clone()

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

getDefaultInstanceForType()

public InstanceGroupManagerAllInstancesConfig getDefaultInstanceForType()
Returns
TypeDescription
InstanceGroupManagerAllInstancesConfig

getDescriptorForType()

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

Whether the properties field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstanceGroupManagerAllInstancesConfig other)

public InstanceGroupManagerAllInstancesConfig.Builder mergeFrom(InstanceGroupManagerAllInstancesConfig other)
Parameter
NameDescription
otherInstanceGroupManagerAllInstancesConfig
Returns
TypeDescription
InstanceGroupManagerAllInstancesConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InstanceGroupManagerAllInstancesConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueInstancePropertiesPatch
Returns
TypeDescription
InstanceGroupManagerAllInstancesConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public InstanceGroupManagerAllInstancesConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InstanceGroupManagerAllInstancesConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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