Interface UpdateInstanceRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UpdateInstanceRequest, UpdateInstanceRequest.Builder

@Generated public interface UpdateInstanceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether to discard local SSDs from the instance during restart default value is false.
    Name of the instance resource to update.
    com.google.protobuf.ByteString
    Name of the instance resource to update.
    The body resource for this request
    The body resource for this request
    Specifies the action to take when updating an instance even if the updated properties do not require it.
    com.google.protobuf.ByteString
    Specifies the action to take when updating an instance even if the updated properties do not require it.
    Specifies the most disruptive action that can be taken on the instance as part of the update.
    com.google.protobuf.ByteString
    Specifies the most disruptive action that can be taken on the instance as part of the update.
    Project ID for this request.
    com.google.protobuf.ByteString
    Project ID for this request.
    An optional request ID to identify requests.
    com.google.protobuf.ByteString
    An optional request ID to identify requests.
    The name of the zone for this request.
    com.google.protobuf.ByteString
    The name of the zone for this request.
    boolean
    Whether to discard local SSDs from the instance during restart default value is false.
    boolean
    The body resource for this request
    boolean
    Specifies the action to take when updating an instance even if the updated properties do not require it.
    boolean
    Specifies the most disruptive action that can be taken on the instance as part of the update.
    boolean
    An optional request ID to identify requests.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasDiscardLocalSsd

      boolean hasDiscardLocalSsd()
       Whether to discard local SSDs from the instance during restart
       default value is false.
       
      optional bool discard_local_ssd = 319517903;
      Returns:
      Whether the discardLocalSsd field is set.
    • getDiscardLocalSsd

      boolean getDiscardLocalSsd()
       Whether to discard local SSDs from the instance during restart
       default value is false.
       
      optional bool discard_local_ssd = 319517903;
      Returns:
      The discardLocalSsd.
    • getInstance

      String getInstance()
       Name of the instance resource to update.
       
      string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The instance.
    • getInstanceBytes

      com.google.protobuf.ByteString getInstanceBytes()
       Name of the instance resource to update.
       
      string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for instance.
    • hasInstanceResource

      boolean hasInstanceResource()
       The body resource for this request
       
      .google.cloud.compute.v1.Instance instance_resource = 215988344 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the instanceResource field is set.
    • getInstanceResource

      Instance getInstanceResource()
       The body resource for this request
       
      .google.cloud.compute.v1.Instance instance_resource = 215988344 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The instanceResource.
    • getInstanceResourceOrBuilder

      InstanceOrBuilder getInstanceResourceOrBuilder()
       The body resource for this request
       
      .google.cloud.compute.v1.Instance instance_resource = 215988344 [(.google.api.field_behavior) = REQUIRED];
    • hasMinimalAction

      boolean hasMinimalAction()
       Specifies the action to take when updating an instance even if the
       updated properties do not require it. If not specified, then
       Compute Engine acts based on the minimum action that the updated
       properties require.
       Check the MinimalAction enum for the list of possible values.
       
      optional string minimal_action = 270567060;
      Returns:
      Whether the minimalAction field is set.
    • getMinimalAction

      String getMinimalAction()
       Specifies the action to take when updating an instance even if the
       updated properties do not require it. If not specified, then
       Compute Engine acts based on the minimum action that the updated
       properties require.
       Check the MinimalAction enum for the list of possible values.
       
      optional string minimal_action = 270567060;
      Returns:
      The minimalAction.
    • getMinimalActionBytes

      com.google.protobuf.ByteString getMinimalActionBytes()
       Specifies the action to take when updating an instance even if the
       updated properties do not require it. If not specified, then
       Compute Engine acts based on the minimum action that the updated
       properties require.
       Check the MinimalAction enum for the list of possible values.
       
      optional string minimal_action = 270567060;
      Returns:
      The bytes for minimalAction.
    • hasMostDisruptiveAllowedAction

      boolean hasMostDisruptiveAllowedAction()
       Specifies the most disruptive action that can be taken on the instance
       as part of the update. Compute Engine returns an error if the
       instance properties require a more disruptive action as part of the
       instance update. Valid options from lowest to highest are
       NO_EFFECT, REFRESH, and RESTART.
       Check the MostDisruptiveAllowedAction enum for the list of possible values.
       
      optional string most_disruptive_allowed_action = 66103053;
      Returns:
      Whether the mostDisruptiveAllowedAction field is set.
    • getMostDisruptiveAllowedAction

      String getMostDisruptiveAllowedAction()
       Specifies the most disruptive action that can be taken on the instance
       as part of the update. Compute Engine returns an error if the
       instance properties require a more disruptive action as part of the
       instance update. Valid options from lowest to highest are
       NO_EFFECT, REFRESH, and RESTART.
       Check the MostDisruptiveAllowedAction enum for the list of possible values.
       
      optional string most_disruptive_allowed_action = 66103053;
      Returns:
      The mostDisruptiveAllowedAction.
    • getMostDisruptiveAllowedActionBytes

      com.google.protobuf.ByteString getMostDisruptiveAllowedActionBytes()
       Specifies the most disruptive action that can be taken on the instance
       as part of the update. Compute Engine returns an error if the
       instance properties require a more disruptive action as part of the
       instance update. Valid options from lowest to highest are
       NO_EFFECT, REFRESH, and RESTART.
       Check the MostDisruptiveAllowedAction enum for the list of possible values.
       
      optional string most_disruptive_allowed_action = 66103053;
      Returns:
      The bytes for mostDisruptiveAllowedAction.
    • getProject

      String getProject()
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
      Returns:
      The project.
    • getProjectBytes

      com.google.protobuf.ByteString getProjectBytes()
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
      Returns:
      The bytes for project.
    • hasRequestId

      boolean hasRequestId()
       An optional request ID to identify requests. Specify a unique request ID so
       that if you must retry your request, the server will know to ignore the
       request if it has already been completed.
      
       For example, consider a situation where you make an initial request and
       the request times out. If you make the request again with the same
       request ID, the server can check if original operation with the same
       request ID was received, and if so, will ignore the second request. This
       prevents clients from accidentally creating duplicate commitments.
      
       The request ID must be
       a valid UUID with the exception that zero UUID is not supported
       (00000000-0000-0000-0000-000000000000).
       
      optional string request_id = 37109963;
      Returns:
      Whether the requestId field is set.
    • getRequestId

      String getRequestId()
       An optional request ID to identify requests. Specify a unique request ID so
       that if you must retry your request, the server will know to ignore the
       request if it has already been completed.
      
       For example, consider a situation where you make an initial request and
       the request times out. If you make the request again with the same
       request ID, the server can check if original operation with the same
       request ID was received, and if so, will ignore the second request. This
       prevents clients from accidentally creating duplicate commitments.
      
       The request ID must be
       a valid UUID with the exception that zero UUID is not supported
       (00000000-0000-0000-0000-000000000000).
       
      optional string request_id = 37109963;
      Returns:
      The requestId.
    • getRequestIdBytes

      com.google.protobuf.ByteString getRequestIdBytes()
       An optional request ID to identify requests. Specify a unique request ID so
       that if you must retry your request, the server will know to ignore the
       request if it has already been completed.
      
       For example, consider a situation where you make an initial request and
       the request times out. If you make the request again with the same
       request ID, the server can check if original operation with the same
       request ID was received, and if so, will ignore the second request. This
       prevents clients from accidentally creating duplicate commitments.
      
       The request ID must be
       a valid UUID with the exception that zero UUID is not supported
       (00000000-0000-0000-0000-000000000000).
       
      optional string request_id = 37109963;
      Returns:
      The bytes for requestId.
    • getZone

      String getZone()
       The name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
      Returns:
      The zone.
    • getZoneBytes

      com.google.protobuf.ByteString getZoneBytes()
       The name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
      Returns:
      The bytes for zone.