Package com.google.cloud.compute.v1
Class InstanceGroupManagersDeleteInstancesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
-
- com.google.cloud.compute.v1.InstanceGroupManagersDeleteInstancesRequest.Builder
-
- All Implemented Interfaces:
InstanceGroupManagersDeleteInstancesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InstanceGroupManagersDeleteInstancesRequest
public static final class InstanceGroupManagersDeleteInstancesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder> implements InstanceGroupManagersDeleteInstancesRequestOrBuilder
Protobuf typegoogle.cloud.compute.v1.InstanceGroupManagersDeleteInstancesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceGroupManagersDeleteInstancesRequest.BuilderaddAllInstances(Iterable<String> values)The URLs of one or more instances to delete.InstanceGroupManagersDeleteInstancesRequest.BuilderaddInstances(String value)The URLs of one or more instances to delete.InstanceGroupManagersDeleteInstancesRequest.BuilderaddInstancesBytes(com.google.protobuf.ByteString value)The URLs of one or more instances to delete.InstanceGroupManagersDeleteInstancesRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InstanceGroupManagersDeleteInstancesRequestbuild()InstanceGroupManagersDeleteInstancesRequestbuildPartial()InstanceGroupManagersDeleteInstancesRequest.Builderclear()InstanceGroupManagersDeleteInstancesRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)InstanceGroupManagersDeleteInstancesRequest.BuilderclearInstances()The URLs of one or more instances to delete.InstanceGroupManagersDeleteInstancesRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)InstanceGroupManagersDeleteInstancesRequest.BuilderclearSkipInstancesOnValidationError()Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned.InstanceGroupManagersDeleteInstancesRequest.Builderclone()InstanceGroupManagersDeleteInstancesRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetInstances(int index)The URLs of one or more instances to delete.com.google.protobuf.ByteStringgetInstancesBytes(int index)The URLs of one or more instances to delete.intgetInstancesCount()The URLs of one or more instances to delete.com.google.protobuf.ProtocolStringListgetInstancesList()The URLs of one or more instances to delete.booleangetSkipInstancesOnValidationError()Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned.booleanhasSkipInstancesOnValidationError()Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()InstanceGroupManagersDeleteInstancesRequest.BuildermergeFrom(InstanceGroupManagersDeleteInstancesRequest other)InstanceGroupManagersDeleteInstancesRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)InstanceGroupManagersDeleteInstancesRequest.BuildermergeFrom(com.google.protobuf.Message other)InstanceGroupManagersDeleteInstancesRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)InstanceGroupManagersDeleteInstancesRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InstanceGroupManagersDeleteInstancesRequest.BuildersetInstances(int index, String value)The URLs of one or more instances to delete.InstanceGroupManagersDeleteInstancesRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)InstanceGroupManagersDeleteInstancesRequest.BuildersetSkipInstancesOnValidationError(boolean value)Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned.InstanceGroupManagersDeleteInstancesRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
-
clear
public InstanceGroupManagersDeleteInstancesRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
-
getDefaultInstanceForType
public InstanceGroupManagersDeleteInstancesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public InstanceGroupManagersDeleteInstancesRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InstanceGroupManagersDeleteInstancesRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InstanceGroupManagersDeleteInstancesRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
-
setField
public InstanceGroupManagersDeleteInstancesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
-
clearField
public InstanceGroupManagersDeleteInstancesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
-
clearOneof
public InstanceGroupManagersDeleteInstancesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
-
setRepeatedField
public InstanceGroupManagersDeleteInstancesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
-
addRepeatedField
public InstanceGroupManagersDeleteInstancesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
-
mergeFrom
public InstanceGroupManagersDeleteInstancesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
-
mergeFrom
public InstanceGroupManagersDeleteInstancesRequest.Builder mergeFrom(InstanceGroupManagersDeleteInstancesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
-
mergeFrom
public InstanceGroupManagersDeleteInstancesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>- Throws:
IOException
-
getInstancesList
public com.google.protobuf.ProtocolStringList getInstancesList()
The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be deleted only by name. One cannot specify both URLs and names in a single request.
repeated string instances = 29097598;- Specified by:
getInstancesListin interfaceInstanceGroupManagersDeleteInstancesRequestOrBuilder- Returns:
- A list containing the instances.
-
getInstancesCount
public int getInstancesCount()
The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be deleted only by name. One cannot specify both URLs and names in a single request.
repeated string instances = 29097598;- Specified by:
getInstancesCountin interfaceInstanceGroupManagersDeleteInstancesRequestOrBuilder- Returns:
- The count of instances.
-
getInstances
public String getInstances(int index)
The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be deleted only by name. One cannot specify both URLs and names in a single request.
repeated string instances = 29097598;- Specified by:
getInstancesin interfaceInstanceGroupManagersDeleteInstancesRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The instances at the given index.
-
getInstancesBytes
public com.google.protobuf.ByteString getInstancesBytes(int index)
The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be deleted only by name. One cannot specify both URLs and names in a single request.
repeated string instances = 29097598;- Specified by:
getInstancesBytesin interfaceInstanceGroupManagersDeleteInstancesRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the instances at the given index.
-
setInstances
public InstanceGroupManagersDeleteInstancesRequest.Builder setInstances(int index, String value)
The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be deleted only by name. One cannot specify both URLs and names in a single request.
repeated string instances = 29097598;- Parameters:
index- The index to set the value at.value- The instances to set.- Returns:
- This builder for chaining.
-
addInstances
public InstanceGroupManagersDeleteInstancesRequest.Builder addInstances(String value)
The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be deleted only by name. One cannot specify both URLs and names in a single request.
repeated string instances = 29097598;- Parameters:
value- The instances to add.- Returns:
- This builder for chaining.
-
addAllInstances
public InstanceGroupManagersDeleteInstancesRequest.Builder addAllInstances(Iterable<String> values)
The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be deleted only by name. One cannot specify both URLs and names in a single request.
repeated string instances = 29097598;- Parameters:
values- The instances to add.- Returns:
- This builder for chaining.
-
clearInstances
public InstanceGroupManagersDeleteInstancesRequest.Builder clearInstances()
The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be deleted only by name. One cannot specify both URLs and names in a single request.
repeated string instances = 29097598;- Returns:
- This builder for chaining.
-
addInstancesBytes
public InstanceGroupManagersDeleteInstancesRequest.Builder addInstancesBytes(com.google.protobuf.ByteString value)
The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be deleted only by name. One cannot specify both URLs and names in a single request.
repeated string instances = 29097598;- Parameters:
value- The bytes of the instances to add.- Returns:
- This builder for chaining.
-
hasSkipInstancesOnValidationError
public boolean hasSkipInstancesOnValidationError()
Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region.
optional bool skip_instances_on_validation_error = 40631073;- Specified by:
hasSkipInstancesOnValidationErrorin interfaceInstanceGroupManagersDeleteInstancesRequestOrBuilder- Returns:
- Whether the skipInstancesOnValidationError field is set.
-
getSkipInstancesOnValidationError
public boolean getSkipInstancesOnValidationError()
Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region.
optional bool skip_instances_on_validation_error = 40631073;- Specified by:
getSkipInstancesOnValidationErrorin interfaceInstanceGroupManagersDeleteInstancesRequestOrBuilder- Returns:
- The skipInstancesOnValidationError.
-
setSkipInstancesOnValidationError
public InstanceGroupManagersDeleteInstancesRequest.Builder setSkipInstancesOnValidationError(boolean value)
Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region.
optional bool skip_instances_on_validation_error = 40631073;- Parameters:
value- The skipInstancesOnValidationError to set.- Returns:
- This builder for chaining.
-
clearSkipInstancesOnValidationError
public InstanceGroupManagersDeleteInstancesRequest.Builder clearSkipInstancesOnValidationError()
Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region.
optional bool skip_instances_on_validation_error = 40631073;- Returns:
- This builder for chaining.
-
setUnknownFields
public final InstanceGroupManagersDeleteInstancesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
-
mergeUnknownFields
public final InstanceGroupManagersDeleteInstancesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
-
-