Class InstanceGroupManagersDeleteInstancesRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.InstanceGroupManagersDeleteInstancesRequest
All Implemented Interfaces:
InstanceGroupManagersDeleteInstancesRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class InstanceGroupManagersDeleteInstancesRequest extends com.google.protobuf.GeneratedMessage implements InstanceGroupManagersDeleteInstancesRequestOrBuilder
 
Protobuf type google.cloud.compute.v1.InstanceGroupManagersDeleteInstancesRequest
See Also:
  • Field Details

    • INSTANCES_FIELD_NUMBER

      public static final int INSTANCES_FIELD_NUMBER
      See Also:
    • SKIP_INSTANCES_ON_VALIDATION_ERROR_FIELD_NUMBER

      public static final int SKIP_INSTANCES_ON_VALIDATION_ERROR_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static InstanceGroupManagersDeleteInstancesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceGroupManagersDeleteInstancesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceGroupManagersDeleteInstancesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceGroupManagersDeleteInstancesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceGroupManagersDeleteInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceGroupManagersDeleteInstancesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      Throws:
      IOException
    • parseFrom

      public static InstanceGroupManagersDeleteInstancesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InstanceGroupManagersDeleteInstancesRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InstanceGroupManagersDeleteInstancesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InstanceGroupManagersDeleteInstancesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InstanceGroupManagersDeleteInstancesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected InstanceGroupManagersDeleteInstancesRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static InstanceGroupManagersDeleteInstancesRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<InstanceGroupManagersDeleteInstancesRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<InstanceGroupManagersDeleteInstancesRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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