Package com.google.cloud.compute.v1
Interface FutureResourcesSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FutureResourcesSpec,FutureResourcesSpec.Builder
@Generated
public interface FutureResourcesSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIndicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD).com.google.protobuf.ByteStringIndicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD).Optional location policy allowing to exclude some zone(s) in which the resources must not be created.Optional location policy allowing to exclude some zone(s) in which the resources must not be created.Specification of the reserved resources.Specification of the reserved resources.Specification of a time range in which the resources may be created.Specification of a time range in which the resources may be created.booleanIndicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD).booleanOptional location policy allowing to exclude some zone(s) in which the resources must not be created.booleanSpecification of the reserved resources.booleanSpecification of a time range in which the resources may be created.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
-
hasDeploymentType
boolean hasDeploymentType()Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD). Defaults to DENSE. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;- Returns:
- Whether the deploymentType field is set.
-
getDeploymentType
String getDeploymentType()Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD). Defaults to DENSE. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;- Returns:
- The deploymentType.
-
getDeploymentTypeBytes
com.google.protobuf.ByteString getDeploymentTypeBytes()Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD). Defaults to DENSE. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;- Returns:
- The bytes for deploymentType.
-
hasLocationPolicy
boolean hasLocationPolicy()Optional location policy allowing to exclude some zone(s) in which the resources must not be created.
optional .google.cloud.compute.v1.FutureResourcesSpecLocationPolicy location_policy = 465689852;- Returns:
- Whether the locationPolicy field is set.
-
getLocationPolicy
FutureResourcesSpecLocationPolicy getLocationPolicy()Optional location policy allowing to exclude some zone(s) in which the resources must not be created.
optional .google.cloud.compute.v1.FutureResourcesSpecLocationPolicy location_policy = 465689852;- Returns:
- The locationPolicy.
-
getLocationPolicyOrBuilder
FutureResourcesSpecLocationPolicyOrBuilder getLocationPolicyOrBuilder()Optional location policy allowing to exclude some zone(s) in which the resources must not be created.
optional .google.cloud.compute.v1.FutureResourcesSpecLocationPolicy location_policy = 465689852; -
hasTargetResources
boolean hasTargetResources()Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;- Returns:
- Whether the targetResources field is set.
-
getTargetResources
FutureResourcesSpecTargetResources getTargetResources()Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;- Returns:
- The targetResources.
-
getTargetResourcesOrBuilder
FutureResourcesSpecTargetResourcesOrBuilder getTargetResourcesOrBuilder()Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647; -
hasTimeRangeSpec
boolean hasTimeRangeSpec()Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use.
optional .google.cloud.compute.v1.FlexibleTimeRange time_range_spec = 116516399;- Returns:
- Whether the timeRangeSpec field is set.
-
getTimeRangeSpec
FlexibleTimeRange getTimeRangeSpec()Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use.
optional .google.cloud.compute.v1.FlexibleTimeRange time_range_spec = 116516399;- Returns:
- The timeRangeSpec.
-
getTimeRangeSpecOrBuilder
FlexibleTimeRangeOrBuilder getTimeRangeSpecOrBuilder()Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use.
optional .google.cloud.compute.v1.FlexibleTimeRange time_range_spec = 116516399;
-