com.google.cloud.backupdr.v1.SchedulingOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-backupdr-v1 Show documentation
Show all versions of proto-google-cloud-backupdr-v1 Show documentation
Proto library for google-cloud-backupdr
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/backupdr/v1/backupvault_gce.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.backupdr.v1;
public interface SchedulingOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.backupdr.v1.Scheduling)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Optional. Defines the maintenance behavior for this instance.
*
*
*
* optional .google.cloud.backupdr.v1.Scheduling.OnHostMaintenance on_host_maintenance = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the onHostMaintenance field is set.
*/
boolean hasOnHostMaintenance();
/**
*
*
*
* Optional. Defines the maintenance behavior for this instance.
*
*
*
* optional .google.cloud.backupdr.v1.Scheduling.OnHostMaintenance on_host_maintenance = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The enum numeric value on the wire for onHostMaintenance.
*/
int getOnHostMaintenanceValue();
/**
*
*
*
* Optional. Defines the maintenance behavior for this instance.
*
*
*
* optional .google.cloud.backupdr.v1.Scheduling.OnHostMaintenance on_host_maintenance = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The onHostMaintenance.
*/
com.google.cloud.backupdr.v1.Scheduling.OnHostMaintenance getOnHostMaintenance();
/**
*
*
*
* Optional. Specifies whether the instance should be automatically restarted
* if it is terminated by Compute Engine (not terminated by a user).
*
*
* optional bool automatic_restart = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return Whether the automaticRestart field is set.
*/
boolean hasAutomaticRestart();
/**
*
*
*
* Optional. Specifies whether the instance should be automatically restarted
* if it is terminated by Compute Engine (not terminated by a user).
*
*
* optional bool automatic_restart = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The automaticRestart.
*/
boolean getAutomaticRestart();
/**
*
*
*
* Optional. Defines whether the instance is preemptible.
*
*
* optional bool preemptible = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return Whether the preemptible field is set.
*/
boolean hasPreemptible();
/**
*
*
*
* Optional. Defines whether the instance is preemptible.
*
*
* optional bool preemptible = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The preemptible.
*/
boolean getPreemptible();
/**
*
*
*
* Optional. A set of node affinity and anti-affinity configurations.
* Overrides reservationAffinity.
*
*
*
* repeated .google.cloud.backupdr.v1.Scheduling.NodeAffinity node_affinities = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*/
java.util.List getNodeAffinitiesList();
/**
*
*
*
* Optional. A set of node affinity and anti-affinity configurations.
* Overrides reservationAffinity.
*
*
*
* repeated .google.cloud.backupdr.v1.Scheduling.NodeAffinity node_affinities = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.backupdr.v1.Scheduling.NodeAffinity getNodeAffinities(int index);
/**
*
*
*
* Optional. A set of node affinity and anti-affinity configurations.
* Overrides reservationAffinity.
*
*
*
* repeated .google.cloud.backupdr.v1.Scheduling.NodeAffinity node_affinities = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*/
int getNodeAffinitiesCount();
/**
*
*
*
* Optional. A set of node affinity and anti-affinity configurations.
* Overrides reservationAffinity.
*
*
*
* repeated .google.cloud.backupdr.v1.Scheduling.NodeAffinity node_affinities = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*/
java.util.List
getNodeAffinitiesOrBuilderList();
/**
*
*
*
* Optional. A set of node affinity and anti-affinity configurations.
* Overrides reservationAffinity.
*
*
*
* repeated .google.cloud.backupdr.v1.Scheduling.NodeAffinity node_affinities = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.backupdr.v1.Scheduling.NodeAffinityOrBuilder getNodeAffinitiesOrBuilder(
int index);
/**
*
*
*
* Optional. The minimum number of virtual CPUs this instance will consume
* when running on a sole-tenant node.
*
*
* optional int32 min_node_cpus = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return Whether the minNodeCpus field is set.
*/
boolean hasMinNodeCpus();
/**
*
*
*
* Optional. The minimum number of virtual CPUs this instance will consume
* when running on a sole-tenant node.
*
*
* optional int32 min_node_cpus = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The minNodeCpus.
*/
int getMinNodeCpus();
/**
*
*
*
* Optional. Specifies the provisioning model of the instance.
*
*
*
* optional .google.cloud.backupdr.v1.Scheduling.ProvisioningModel provisioning_model = 6 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the provisioningModel field is set.
*/
boolean hasProvisioningModel();
/**
*
*
*
* Optional. Specifies the provisioning model of the instance.
*
*
*
* optional .google.cloud.backupdr.v1.Scheduling.ProvisioningModel provisioning_model = 6 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The enum numeric value on the wire for provisioningModel.
*/
int getProvisioningModelValue();
/**
*
*
*
* Optional. Specifies the provisioning model of the instance.
*
*
*
* optional .google.cloud.backupdr.v1.Scheduling.ProvisioningModel provisioning_model = 6 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The provisioningModel.
*/
com.google.cloud.backupdr.v1.Scheduling.ProvisioningModel getProvisioningModel();
/**
*
*
*
* Optional. Specifies the termination action for the instance.
*
*
*
* optional .google.cloud.backupdr.v1.Scheduling.InstanceTerminationAction instance_termination_action = 7 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the instanceTerminationAction field is set.
*/
boolean hasInstanceTerminationAction();
/**
*
*
*
* Optional. Specifies the termination action for the instance.
*
*
*
* optional .google.cloud.backupdr.v1.Scheduling.InstanceTerminationAction instance_termination_action = 7 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The enum numeric value on the wire for instanceTerminationAction.
*/
int getInstanceTerminationActionValue();
/**
*
*
*
* Optional. Specifies the termination action for the instance.
*
*
*
* optional .google.cloud.backupdr.v1.Scheduling.InstanceTerminationAction instance_termination_action = 7 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The instanceTerminationAction.
*/
com.google.cloud.backupdr.v1.Scheduling.InstanceTerminationAction getInstanceTerminationAction();
/**
*
*
*
* Optional. Specifies the maximum amount of time a Local Ssd Vm should wait
* while recovery of the Local Ssd state is attempted. Its value should be in
* between 0 and 168 hours with hour granularity and the default value being 1
* hour.
*
*
*
* optional .google.cloud.backupdr.v1.SchedulingDuration local_ssd_recovery_timeout = 10 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the localSsdRecoveryTimeout field is set.
*/
boolean hasLocalSsdRecoveryTimeout();
/**
*
*
*
* Optional. Specifies the maximum amount of time a Local Ssd Vm should wait
* while recovery of the Local Ssd state is attempted. Its value should be in
* between 0 and 168 hours with hour granularity and the default value being 1
* hour.
*
*
*
* optional .google.cloud.backupdr.v1.SchedulingDuration local_ssd_recovery_timeout = 10 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The localSsdRecoveryTimeout.
*/
com.google.cloud.backupdr.v1.SchedulingDuration getLocalSsdRecoveryTimeout();
/**
*
*
*
* Optional. Specifies the maximum amount of time a Local Ssd Vm should wait
* while recovery of the Local Ssd state is attempted. Its value should be in
* between 0 and 168 hours with hour granularity and the default value being 1
* hour.
*
*
*
* optional .google.cloud.backupdr.v1.SchedulingDuration local_ssd_recovery_timeout = 10 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.backupdr.v1.SchedulingDurationOrBuilder getLocalSsdRecoveryTimeoutOrBuilder();
}