Interface FutureResourcesSpecOrBuilder (1.92.0)

public interface FutureResourcesSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeploymentType()

public abstract 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
Type Description
String

The deploymentType.

getDeploymentTypeBytes()

public abstract 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
Type Description
ByteString

The bytes for deploymentType.

getLocationPolicy()

public abstract 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
Type Description
FutureResourcesSpecLocationPolicy

The locationPolicy.

getLocationPolicyOrBuilder()

public abstract 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;

Returns
Type Description
FutureResourcesSpecLocationPolicyOrBuilder

getTargetResources()

public abstract FutureResourcesSpecTargetResources getTargetResources()

Specification of the reserved resources.

optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;

Returns
Type Description
FutureResourcesSpecTargetResources

The targetResources.

getTargetResourcesOrBuilder()

public abstract FutureResourcesSpecTargetResourcesOrBuilder getTargetResourcesOrBuilder()

Specification of the reserved resources.

optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;

Returns
Type Description
FutureResourcesSpecTargetResourcesOrBuilder

getTimeRangeSpec()

public abstract 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
Type Description
FlexibleTimeRange

The timeRangeSpec.

getTimeRangeSpecOrBuilder()

public abstract 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;

Returns
Type Description
FlexibleTimeRangeOrBuilder

hasDeploymentType()

public abstract 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
Type Description
boolean

Whether the deploymentType field is set.

hasLocationPolicy()

public abstract 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
Type Description
boolean

Whether the locationPolicy field is set.

hasTargetResources()

public abstract boolean hasTargetResources()

Specification of the reserved resources.

optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;

Returns
Type Description
boolean

Whether the targetResources field is set.

hasTimeRangeSpec()

public abstract 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
Type Description
boolean

Whether the timeRangeSpec field is set.