Package com.google.cloud.compute.v1
Class RegionInstanceGroupManagersDeleteInstancesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.Builder>
-
- com.google.cloud.compute.v1.RegionInstanceGroupManagersDeleteInstancesRequest.Builder
-
- All Implemented Interfaces:
RegionInstanceGroupManagersDeleteInstancesRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- RegionInstanceGroupManagersDeleteInstancesRequest
public static final class RegionInstanceGroupManagersDeleteInstancesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.Builder> implements RegionInstanceGroupManagersDeleteInstancesRequestOrBuilder
google.cloud.compute.v1.RegionInstanceGroupManagersDeleteInstancesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RegionInstanceGroupManagersDeleteInstancesRequest.Builder
addAllInstances(Iterable<String> values)
The URLs of one or more instances to delete.RegionInstanceGroupManagersDeleteInstancesRequest.Builder
addInstances(String value)
The URLs of one or more instances to delete.RegionInstanceGroupManagersDeleteInstancesRequest.Builder
addInstancesBytes(com.google.protobuf.ByteString value)
The URLs of one or more instances to delete.RegionInstanceGroupManagersDeleteInstancesRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RegionInstanceGroupManagersDeleteInstancesRequest
build()
RegionInstanceGroupManagersDeleteInstancesRequest
buildPartial()
RegionInstanceGroupManagersDeleteInstancesRequest.Builder
clear()
RegionInstanceGroupManagersDeleteInstancesRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RegionInstanceGroupManagersDeleteInstancesRequest.Builder
clearInstances()
The URLs of one or more instances to delete.RegionInstanceGroupManagersDeleteInstancesRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RegionInstanceGroupManagersDeleteInstancesRequest.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.RegionInstanceGroupManagersDeleteInstancesRequest.Builder
clone()
RegionInstanceGroupManagersDeleteInstancesRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getInstances(int index)
The URLs of one or more instances to delete.com.google.protobuf.ByteString
getInstancesBytes(int index)
The URLs of one or more instances to delete.int
getInstancesCount()
The URLs of one or more instances to delete.com.google.protobuf.ProtocolStringList
getInstancesList()
The URLs of one or more instances to delete.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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RegionInstanceGroupManagersDeleteInstancesRequest.Builder
mergeFrom(RegionInstanceGroupManagersDeleteInstancesRequest other)
RegionInstanceGroupManagersDeleteInstancesRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RegionInstanceGroupManagersDeleteInstancesRequest.Builder
mergeFrom(com.google.protobuf.Message other)
RegionInstanceGroupManagersDeleteInstancesRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RegionInstanceGroupManagersDeleteInstancesRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RegionInstanceGroupManagersDeleteInstancesRequest.Builder
setInstances(int index, String value)
The URLs of one or more instances to delete.RegionInstanceGroupManagersDeleteInstancesRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RegionInstanceGroupManagersDeleteInstancesRequest.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.RegionInstanceGroupManagersDeleteInstancesRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.Builder>
-
clear
public RegionInstanceGroupManagersDeleteInstancesRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.Builder>
-
getDefaultInstanceForType
public RegionInstanceGroupManagersDeleteInstancesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RegionInstanceGroupManagersDeleteInstancesRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RegionInstanceGroupManagersDeleteInstancesRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RegionInstanceGroupManagersDeleteInstancesRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.Builder>
-
setField
public RegionInstanceGroupManagersDeleteInstancesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.Builder>
-
clearField
public RegionInstanceGroupManagersDeleteInstancesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.Builder>
-
clearOneof
public RegionInstanceGroupManagersDeleteInstancesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.Builder>
-
setRepeatedField
public RegionInstanceGroupManagersDeleteInstancesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.Builder>
-
addRepeatedField
public RegionInstanceGroupManagersDeleteInstancesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.Builder>
-
mergeFrom
public RegionInstanceGroupManagersDeleteInstancesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.Builder>
-
mergeFrom
public RegionInstanceGroupManagersDeleteInstancesRequest.Builder mergeFrom(RegionInstanceGroupManagersDeleteInstancesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.Builder>
-
mergeFrom
public RegionInstanceGroupManagersDeleteInstancesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.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].
repeated string instances = 29097598;
- Specified by:
getInstancesList
in interfaceRegionInstanceGroupManagersDeleteInstancesRequestOrBuilder
- 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].
repeated string instances = 29097598;
- Specified by:
getInstancesCount
in interfaceRegionInstanceGroupManagersDeleteInstancesRequestOrBuilder
- 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].
repeated string instances = 29097598;
- Specified by:
getInstances
in interfaceRegionInstanceGroupManagersDeleteInstancesRequestOrBuilder
- 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].
repeated string instances = 29097598;
- Specified by:
getInstancesBytes
in interfaceRegionInstanceGroupManagersDeleteInstancesRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the instances at the given index.
-
setInstances
public RegionInstanceGroupManagersDeleteInstancesRequest.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].
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 RegionInstanceGroupManagersDeleteInstancesRequest.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].
repeated string instances = 29097598;
- Parameters:
value
- The instances to add.- Returns:
- This builder for chaining.
-
addAllInstances
public RegionInstanceGroupManagersDeleteInstancesRequest.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].
repeated string instances = 29097598;
- Parameters:
values
- The instances to add.- Returns:
- This builder for chaining.
-
clearInstances
public RegionInstanceGroupManagersDeleteInstancesRequest.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].
repeated string instances = 29097598;
- Returns:
- This builder for chaining.
-
addInstancesBytes
public RegionInstanceGroupManagersDeleteInstancesRequest.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].
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:
hasSkipInstancesOnValidationError
in interfaceRegionInstanceGroupManagersDeleteInstancesRequestOrBuilder
- 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:
getSkipInstancesOnValidationError
in interfaceRegionInstanceGroupManagersDeleteInstancesRequestOrBuilder
- Returns:
- The skipInstancesOnValidationError.
-
setSkipInstancesOnValidationError
public RegionInstanceGroupManagersDeleteInstancesRequest.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 RegionInstanceGroupManagersDeleteInstancesRequest.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 RegionInstanceGroupManagersDeleteInstancesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.Builder>
-
mergeUnknownFields
public final RegionInstanceGroupManagersDeleteInstancesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersDeleteInstancesRequest.Builder>
-
-