Class InstanceGroupManagersDeleteInstancesRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
      • getDefaultInstanceForType

        public InstanceGroupManagersDeleteInstancesRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • buildPartial

        public InstanceGroupManagersDeleteInstancesRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersDeleteInstancesRequest.Builder>
      • 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:
        getInstancesList in interface InstanceGroupManagersDeleteInstancesRequestOrBuilder
        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:
        getInstancesCount in interface InstanceGroupManagersDeleteInstancesRequestOrBuilder
        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:
        getInstances in interface InstanceGroupManagersDeleteInstancesRequestOrBuilder
        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:
        getInstancesBytes in interface InstanceGroupManagersDeleteInstancesRequestOrBuilder
        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:
        hasSkipInstancesOnValidationError in interface InstanceGroupManagersDeleteInstancesRequestOrBuilder
        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 interface InstanceGroupManagersDeleteInstancesRequestOrBuilder
        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.