- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class InstanceGroupManagerVersion.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagerVersion.Builder> implements InstanceGroupManagerVersionOrBuilder
Protobuf type google.cloud.compute.v1.InstanceGroupManagerVersion
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InstanceGroupManagerVersion.BuilderImplements
InstanceGroupManagerVersionOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupManagerVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InstanceGroupManagerVersion.Builder |
build()
public InstanceGroupManagerVersion build()
Type | Description |
InstanceGroupManagerVersion |
buildPartial()
public InstanceGroupManagerVersion buildPartial()
Type | Description |
InstanceGroupManagerVersion |
clear()
public InstanceGroupManagerVersion.Builder clear()
Type | Description |
InstanceGroupManagerVersion.Builder |
clearField(Descriptors.FieldDescriptor field)
public InstanceGroupManagerVersion.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
InstanceGroupManagerVersion.Builder |
clearInstanceTemplate()
public InstanceGroupManagerVersion.Builder clearInstanceTemplate()
The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the targetSize
for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize
for this version is reached.
optional string instance_template = 309248228;
Type | Description |
InstanceGroupManagerVersion.Builder | This builder for chaining. |
clearName()
public InstanceGroupManagerVersion.Builder clearName()
Name of the version. Unique among all versions in the scope of this managed instance group.
optional string name = 3373707;
Type | Description |
InstanceGroupManagerVersion.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceGroupManagerVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
InstanceGroupManagerVersion.Builder |
clearTargetSize()
public InstanceGroupManagerVersion.Builder clearTargetSize()
Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
optional .google.cloud.compute.v1.FixedOrPercent target_size = 62880239;
Type | Description |
InstanceGroupManagerVersion.Builder |
clone()
public InstanceGroupManagerVersion.Builder clone()
Type | Description |
InstanceGroupManagerVersion.Builder |
getDefaultInstanceForType()
public InstanceGroupManagerVersion getDefaultInstanceForType()
Type | Description |
InstanceGroupManagerVersion |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getInstanceTemplate()
public String getInstanceTemplate()
The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the targetSize
for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize
for this version is reached.
optional string instance_template = 309248228;
Type | Description |
String | The instanceTemplate. |
getInstanceTemplateBytes()
public ByteString getInstanceTemplateBytes()
The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the targetSize
for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize
for this version is reached.
optional string instance_template = 309248228;
Type | Description |
ByteString | The bytes for instanceTemplate. |
getName()
public String getName()
Name of the version. Unique among all versions in the scope of this managed instance group.
optional string name = 3373707;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the version. Unique among all versions in the scope of this managed instance group.
optional string name = 3373707;
Type | Description |
ByteString | The bytes for name. |
getTargetSize()
public FixedOrPercent getTargetSize()
Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
optional .google.cloud.compute.v1.FixedOrPercent target_size = 62880239;
Type | Description |
FixedOrPercent | The targetSize. |
getTargetSizeBuilder()
public FixedOrPercent.Builder getTargetSizeBuilder()
Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
optional .google.cloud.compute.v1.FixedOrPercent target_size = 62880239;
Type | Description |
FixedOrPercent.Builder |
getTargetSizeOrBuilder()
public FixedOrPercentOrBuilder getTargetSizeOrBuilder()
Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
optional .google.cloud.compute.v1.FixedOrPercent target_size = 62880239;
Type | Description |
FixedOrPercentOrBuilder |
hasInstanceTemplate()
public boolean hasInstanceTemplate()
The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the targetSize
for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize
for this version is reached.
optional string instance_template = 309248228;
Type | Description |
boolean | Whether the instanceTemplate field is set. |
hasName()
public boolean hasName()
Name of the version. Unique among all versions in the scope of this managed instance group.
optional string name = 3373707;
Type | Description |
boolean | Whether the name field is set. |
hasTargetSize()
public boolean hasTargetSize()
Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
optional .google.cloud.compute.v1.FixedOrPercent target_size = 62880239;
Type | Description |
boolean | Whether the targetSize field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(InstanceGroupManagerVersion other)
public InstanceGroupManagerVersion.Builder mergeFrom(InstanceGroupManagerVersion other)
Name | Description |
other | InstanceGroupManagerVersion |
Type | Description |
InstanceGroupManagerVersion.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InstanceGroupManagerVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
InstanceGroupManagerVersion.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public InstanceGroupManagerVersion.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
InstanceGroupManagerVersion.Builder |
mergeTargetSize(FixedOrPercent value)
public InstanceGroupManagerVersion.Builder mergeTargetSize(FixedOrPercent value)
Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
optional .google.cloud.compute.v1.FixedOrPercent target_size = 62880239;
Name | Description |
value | FixedOrPercent |
Type | Description |
InstanceGroupManagerVersion.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupManagerVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InstanceGroupManagerVersion.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupManagerVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InstanceGroupManagerVersion.Builder |
setInstanceTemplate(String value)
public InstanceGroupManagerVersion.Builder setInstanceTemplate(String value)
The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the targetSize
for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize
for this version is reached.
optional string instance_template = 309248228;
Name | Description |
value | String The instanceTemplate to set. |
Type | Description |
InstanceGroupManagerVersion.Builder | This builder for chaining. |
setInstanceTemplateBytes(ByteString value)
public InstanceGroupManagerVersion.Builder setInstanceTemplateBytes(ByteString value)
The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the targetSize
for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize
for this version is reached.
optional string instance_template = 309248228;
Name | Description |
value | ByteString The bytes for instanceTemplate to set. |
Type | Description |
InstanceGroupManagerVersion.Builder | This builder for chaining. |
setName(String value)
public InstanceGroupManagerVersion.Builder setName(String value)
Name of the version. Unique among all versions in the scope of this managed instance group.
optional string name = 3373707;
Name | Description |
value | String The name to set. |
Type | Description |
InstanceGroupManagerVersion.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public InstanceGroupManagerVersion.Builder setNameBytes(ByteString value)
Name of the version. Unique among all versions in the scope of this managed instance group.
optional string name = 3373707;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
InstanceGroupManagerVersion.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceGroupManagerVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
InstanceGroupManagerVersion.Builder |
setTargetSize(FixedOrPercent value)
public InstanceGroupManagerVersion.Builder setTargetSize(FixedOrPercent value)
Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
optional .google.cloud.compute.v1.FixedOrPercent target_size = 62880239;
Name | Description |
value | FixedOrPercent |
Type | Description |
InstanceGroupManagerVersion.Builder |
setTargetSize(FixedOrPercent.Builder builderForValue)
public InstanceGroupManagerVersion.Builder setTargetSize(FixedOrPercent.Builder builderForValue)
Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
optional .google.cloud.compute.v1.FixedOrPercent target_size = 62880239;
Name | Description |
builderForValue | FixedOrPercent.Builder |
Type | Description |
InstanceGroupManagerVersion.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupManagerVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InstanceGroupManagerVersion.Builder |