- 1.63.0 (latest)
- 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 InstanceGroupManagersApplyUpdatesRequest.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder> implements InstanceGroupManagersApplyUpdatesRequestOrBuilder
InstanceGroupManagers.applyUpdatesToInstances
Protobuf type google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InstanceGroupManagersApplyUpdatesRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllInstances(Iterable<String> values)
public InstanceGroupManagersApplyUpdatesRequest.Builder addAllInstances(Iterable<String> values)
The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
Name | Description |
values | Iterable<String> The instances to add. |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder | This builder for chaining. |
addInstances(String value)
public InstanceGroupManagersApplyUpdatesRequest.Builder addInstances(String value)
The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
Name | Description |
value | String The instances to add. |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder | This builder for chaining. |
addInstancesBytes(ByteString value)
public InstanceGroupManagersApplyUpdatesRequest.Builder addInstancesBytes(ByteString value)
The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
Name | Description |
value | ByteString The bytes of the instances to add. |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupManagersApplyUpdatesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder |
build()
public InstanceGroupManagersApplyUpdatesRequest build()
Type | Description |
InstanceGroupManagersApplyUpdatesRequest |
buildPartial()
public InstanceGroupManagersApplyUpdatesRequest buildPartial()
Type | Description |
InstanceGroupManagersApplyUpdatesRequest |
clear()
public InstanceGroupManagersApplyUpdatesRequest.Builder clear()
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder |
clearAllInstances()
public InstanceGroupManagersApplyUpdatesRequest.Builder clearAllInstances()
Flag to update all instances instead of specified list of ���instances���. If the flag is set to true then the instances may not be specified in the request.
optional bool all_instances = 403676512;
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public InstanceGroupManagersApplyUpdatesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder |
clearInstances()
public InstanceGroupManagersApplyUpdatesRequest.Builder clearInstances()
The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder | This builder for chaining. |
clearMinimalAction()
public InstanceGroupManagersApplyUpdatesRequest.Builder clearMinimalAction()
The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. Check the MinimalAction enum for the list of possible values.
optional string minimal_action = 270567060;
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder | This builder for chaining. |
clearMostDisruptiveAllowedAction()
public InstanceGroupManagersApplyUpdatesRequest.Builder clearMostDisruptiveAllowedAction()
The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. Check the MostDisruptiveAllowedAction enum for the list of possible values.
optional string most_disruptive_allowed_action = 66103053;
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceGroupManagersApplyUpdatesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder |
clone()
public InstanceGroupManagersApplyUpdatesRequest.Builder clone()
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder |
getAllInstances()
public boolean getAllInstances()
Flag to update all instances instead of specified list of ���instances���. If the flag is set to true then the instances may not be specified in the request.
optional bool all_instances = 403676512;
Type | Description |
boolean | The allInstances. |
getDefaultInstanceForType()
public InstanceGroupManagersApplyUpdatesRequest getDefaultInstanceForType()
Type | Description |
InstanceGroupManagersApplyUpdatesRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getInstances(int index)
public String getInstances(int index)
The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The instances at the given index. |
getInstancesBytes(int index)
public ByteString getInstancesBytes(int index)
The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the instances at the given index. |
getInstancesCount()
public int getInstancesCount()
The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
Type | Description |
int | The count of instances. |
getInstancesList()
public ProtocolStringList getInstancesList()
The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
Type | Description |
ProtocolStringList | A list containing the instances. |
getMinimalAction()
public String getMinimalAction()
The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. Check the MinimalAction enum for the list of possible values.
optional string minimal_action = 270567060;
Type | Description |
String | The minimalAction. |
getMinimalActionBytes()
public ByteString getMinimalActionBytes()
The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. Check the MinimalAction enum for the list of possible values.
optional string minimal_action = 270567060;
Type | Description |
ByteString | The bytes for minimalAction. |
getMostDisruptiveAllowedAction()
public String getMostDisruptiveAllowedAction()
The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. Check the MostDisruptiveAllowedAction enum for the list of possible values.
optional string most_disruptive_allowed_action = 66103053;
Type | Description |
String | The mostDisruptiveAllowedAction. |
getMostDisruptiveAllowedActionBytes()
public ByteString getMostDisruptiveAllowedActionBytes()
The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. Check the MostDisruptiveAllowedAction enum for the list of possible values.
optional string most_disruptive_allowed_action = 66103053;
Type | Description |
ByteString | The bytes for mostDisruptiveAllowedAction. |
hasAllInstances()
public boolean hasAllInstances()
Flag to update all instances instead of specified list of ���instances���. If the flag is set to true then the instances may not be specified in the request.
optional bool all_instances = 403676512;
Type | Description |
boolean | Whether the allInstances field is set. |
hasMinimalAction()
public boolean hasMinimalAction()
The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. Check the MinimalAction enum for the list of possible values.
optional string minimal_action = 270567060;
Type | Description |
boolean | Whether the minimalAction field is set. |
hasMostDisruptiveAllowedAction()
public boolean hasMostDisruptiveAllowedAction()
The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. Check the MostDisruptiveAllowedAction enum for the list of possible values.
optional string most_disruptive_allowed_action = 66103053;
Type | Description |
boolean | Whether the mostDisruptiveAllowedAction field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(InstanceGroupManagersApplyUpdatesRequest other)
public InstanceGroupManagersApplyUpdatesRequest.Builder mergeFrom(InstanceGroupManagersApplyUpdatesRequest other)
Name | Description |
other | InstanceGroupManagersApplyUpdatesRequest |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InstanceGroupManagersApplyUpdatesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public InstanceGroupManagersApplyUpdatesRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupManagersApplyUpdatesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder |
setAllInstances(boolean value)
public InstanceGroupManagersApplyUpdatesRequest.Builder setAllInstances(boolean value)
Flag to update all instances instead of specified list of ���instances���. If the flag is set to true then the instances may not be specified in the request.
optional bool all_instances = 403676512;
Name | Description |
value | boolean The allInstances to set. |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupManagersApplyUpdatesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder |
setInstances(int index, String value)
public InstanceGroupManagersApplyUpdatesRequest.Builder setInstances(int index, String value)
The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
Name | Description |
index | int The index to set the value at. |
value | String The instances to set. |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder | This builder for chaining. |
setMinimalAction(String value)
public InstanceGroupManagersApplyUpdatesRequest.Builder setMinimalAction(String value)
The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. Check the MinimalAction enum for the list of possible values.
optional string minimal_action = 270567060;
Name | Description |
value | String The minimalAction to set. |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder | This builder for chaining. |
setMinimalActionBytes(ByteString value)
public InstanceGroupManagersApplyUpdatesRequest.Builder setMinimalActionBytes(ByteString value)
The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. Check the MinimalAction enum for the list of possible values.
optional string minimal_action = 270567060;
Name | Description |
value | ByteString The bytes for minimalAction to set. |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder | This builder for chaining. |
setMostDisruptiveAllowedAction(String value)
public InstanceGroupManagersApplyUpdatesRequest.Builder setMostDisruptiveAllowedAction(String value)
The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. Check the MostDisruptiveAllowedAction enum for the list of possible values.
optional string most_disruptive_allowed_action = 66103053;
Name | Description |
value | String The mostDisruptiveAllowedAction to set. |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder | This builder for chaining. |
setMostDisruptiveAllowedActionBytes(ByteString value)
public InstanceGroupManagersApplyUpdatesRequest.Builder setMostDisruptiveAllowedActionBytes(ByteString value)
The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. Check the MostDisruptiveAllowedAction enum for the list of possible values.
optional string most_disruptive_allowed_action = 66103053;
Name | Description |
value | ByteString The bytes for mostDisruptiveAllowedAction to set. |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceGroupManagersApplyUpdatesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupManagersApplyUpdatesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InstanceGroupManagersApplyUpdatesRequest.Builder |