Class InstanceGroupManagerAllInstancesConfig.Builder (1.68.0)

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

Protobuf type google.cloud.compute.v1.InstanceGroupManagerAllInstancesConfig

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public InstanceGroupManagerAllInstancesConfig build()
Returns
Type Description
InstanceGroupManagerAllInstancesConfig

buildPartial()

public InstanceGroupManagerAllInstancesConfig buildPartial()
Returns
Type Description
InstanceGroupManagerAllInstancesConfig

clear()

public InstanceGroupManagerAllInstancesConfig.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceGroupManagerAllInstancesConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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;

clone()

public InstanceGroupManagerAllInstancesConfig.Builder clone()
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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InstanceGroupManagerAllInstancesConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public InstanceGroupManagerAllInstancesConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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

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

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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