Interface ComputeResourceConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ComputeResourceConfig,ComputeResourceConfig.Builder
@Generated
public interface ComputeResourceConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasNewOnDemandInstances
boolean hasNewOnDemandInstances()Optional. Immutable. If set, indicates that this resource should use on-demand VMs.
.google.cloud.hypercomputecluster.v1.NewOnDemandInstancesConfig new_on_demand_instances = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the newOnDemandInstances field is set.
-
getNewOnDemandInstances
NewOnDemandInstancesConfig getNewOnDemandInstances()Optional. Immutable. If set, indicates that this resource should use on-demand VMs.
.google.cloud.hypercomputecluster.v1.NewOnDemandInstancesConfig new_on_demand_instances = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- The newOnDemandInstances.
-
getNewOnDemandInstancesOrBuilder
NewOnDemandInstancesConfigOrBuilder getNewOnDemandInstancesOrBuilder()Optional. Immutable. If set, indicates that this resource should use on-demand VMs.
.google.cloud.hypercomputecluster.v1.NewOnDemandInstancesConfig new_on_demand_instances = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
hasNewSpotInstances
boolean hasNewSpotInstances()Optional. Immutable. If set, indicates that this resource should use spot VMs.
.google.cloud.hypercomputecluster.v1.NewSpotInstancesConfig new_spot_instances = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the newSpotInstances field is set.
-
getNewSpotInstances
NewSpotInstancesConfig getNewSpotInstances()Optional. Immutable. If set, indicates that this resource should use spot VMs.
.google.cloud.hypercomputecluster.v1.NewSpotInstancesConfig new_spot_instances = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- The newSpotInstances.
-
getNewSpotInstancesOrBuilder
NewSpotInstancesConfigOrBuilder getNewSpotInstancesOrBuilder()Optional. Immutable. If set, indicates that this resource should use spot VMs.
.google.cloud.hypercomputecluster.v1.NewSpotInstancesConfig new_spot_instances = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
hasNewReservedInstances
boolean hasNewReservedInstances()Optional. Immutable. If set, indicates that this resource should use reserved VMs.
.google.cloud.hypercomputecluster.v1.NewReservedInstancesConfig new_reserved_instances = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the newReservedInstances field is set.
-
getNewReservedInstances
NewReservedInstancesConfig getNewReservedInstances()Optional. Immutable. If set, indicates that this resource should use reserved VMs.
.google.cloud.hypercomputecluster.v1.NewReservedInstancesConfig new_reserved_instances = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- The newReservedInstances.
-
getNewReservedInstancesOrBuilder
NewReservedInstancesConfigOrBuilder getNewReservedInstancesOrBuilder()Optional. Immutable. If set, indicates that this resource should use reserved VMs.
.google.cloud.hypercomputecluster.v1.NewReservedInstancesConfig new_reserved_instances = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
hasNewFlexStartInstances
boolean hasNewFlexStartInstances()Optional. Immutable. If set, indicates that this resource should use flex-start VMs.
.google.cloud.hypercomputecluster.v1.NewFlexStartInstancesConfig new_flex_start_instances = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the newFlexStartInstances field is set.
-
getNewFlexStartInstances
NewFlexStartInstancesConfig getNewFlexStartInstances()Optional. Immutable. If set, indicates that this resource should use flex-start VMs.
.google.cloud.hypercomputecluster.v1.NewFlexStartInstancesConfig new_flex_start_instances = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- The newFlexStartInstances.
-
getNewFlexStartInstancesOrBuilder
NewFlexStartInstancesConfigOrBuilder getNewFlexStartInstancesOrBuilder()Optional. Immutable. If set, indicates that this resource should use flex-start VMs.
.google.cloud.hypercomputecluster.v1.NewFlexStartInstancesConfig new_flex_start_instances = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
getConfigCase
ComputeResourceConfig.ConfigCase getConfigCase()
-