Interface FutureResourcesRecommendationOrBuilder (1.92.0)

public interface FutureResourcesRecommendationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsOtherLocations(String key)

public abstract boolean containsOtherLocations(String key)

List of locations in the request scope that were not recommended. Keys of the map are zones, in format 'zones/'. The values are status information indicating the recommendation status.

map<string, .google.cloud.compute.v1.FutureResourcesRecommendationOtherLocation> other_locations = 179322095;

Parameter
Name Description
key String
Returns
Type Description
boolean

getEndTime()

public abstract String getEndTime()

optional string end_time = 114938801;

Returns
Type Description
String

The endTime.

getEndTimeBytes()

public abstract ByteString getEndTimeBytes()

optional string end_time = 114938801;

Returns
Type Description
ByteString

The bytes for endTime.

getLocation()

public abstract String getLocation()

The advised location for resource usage. When a zone, in format 'zones/'. If not set, it means that no location is recommended - see other_locations for details.

optional string location = 290430901;

Returns
Type Description
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

The advised location for resource usage. When a zone, in format 'zones/'. If not set, it means that no location is recommended - see other_locations for details.

optional string location = 290430901;

Returns
Type Description
ByteString

The bytes for location.

getOtherLocations() (deprecated)

public abstract Map<String,FutureResourcesRecommendationOtherLocation> getOtherLocations()
Returns
Type Description
Map<String,FutureResourcesRecommendationOtherLocation>

getOtherLocationsCount()

public abstract int getOtherLocationsCount()

List of locations in the request scope that were not recommended. Keys of the map are zones, in format 'zones/'. The values are status information indicating the recommendation status.

map<string, .google.cloud.compute.v1.FutureResourcesRecommendationOtherLocation> other_locations = 179322095;

Returns
Type Description
int

getOtherLocationsMap()

public abstract Map<String,FutureResourcesRecommendationOtherLocation> getOtherLocationsMap()

List of locations in the request scope that were not recommended. Keys of the map are zones, in format 'zones/'. The values are status information indicating the recommendation status.

map<string, .google.cloud.compute.v1.FutureResourcesRecommendationOtherLocation> other_locations = 179322095;

Returns
Type Description
Map<String,FutureResourcesRecommendationOtherLocation>

getOtherLocationsOrDefault(String key, FutureResourcesRecommendationOtherLocation defaultValue)

public abstract FutureResourcesRecommendationOtherLocation getOtherLocationsOrDefault(String key, FutureResourcesRecommendationOtherLocation defaultValue)

List of locations in the request scope that were not recommended. Keys of the map are zones, in format 'zones/'. The values are status information indicating the recommendation status.

map<string, .google.cloud.compute.v1.FutureResourcesRecommendationOtherLocation> other_locations = 179322095;

Parameters
Name Description
key String
defaultValue FutureResourcesRecommendationOtherLocation
Returns
Type Description
FutureResourcesRecommendationOtherLocation

getOtherLocationsOrThrow(String key)

public abstract FutureResourcesRecommendationOtherLocation getOtherLocationsOrThrow(String key)

List of locations in the request scope that were not recommended. Keys of the map are zones, in format 'zones/'. The values are status information indicating the recommendation status.

map<string, .google.cloud.compute.v1.FutureResourcesRecommendationOtherLocation> other_locations = 179322095;

Parameter
Name Description
key String
Returns
Type Description
FutureResourcesRecommendationOtherLocation

getRecommendationId()

public abstract String getRecommendationId()

Unique id of the recommendation, a UUID string generated by the API.

optional string recommendation_id = 474540897;

Returns
Type Description
String

The recommendationId.

getRecommendationIdBytes()

public abstract ByteString getRecommendationIdBytes()

Unique id of the recommendation, a UUID string generated by the API.

optional string recommendation_id = 474540897;

Returns
Type Description
ByteString

The bytes for recommendationId.

getRecommendationType()

public abstract String getRecommendationType()

Type of recommendation. Currently only FUTURE_RESERVATION is supported. Check the RecommendationType enum for the list of possible values.

optional string recommendation_type = 230749184;

Returns
Type Description
String

The recommendationType.

getRecommendationTypeBytes()

public abstract ByteString getRecommendationTypeBytes()

Type of recommendation. Currently only FUTURE_RESERVATION is supported. Check the RecommendationType enum for the list of possible values.

optional string recommendation_type = 230749184;

Returns
Type Description
ByteString

The bytes for recommendationType.

getStartTime()

public abstract String getStartTime()

optional string start_time = 37467274;

Returns
Type Description
String

The startTime.

getStartTimeBytes()

public abstract ByteString getStartTimeBytes()

optional string start_time = 37467274;

Returns
Type Description
ByteString

The bytes for startTime.

hasEndTime()

public abstract boolean hasEndTime()

optional string end_time = 114938801;

Returns
Type Description
boolean

Whether the endTime field is set.

hasLocation()

public abstract boolean hasLocation()

The advised location for resource usage. When a zone, in format 'zones/'. If not set, it means that no location is recommended - see other_locations for details.

optional string location = 290430901;

Returns
Type Description
boolean

Whether the location field is set.

hasRecommendationId()

public abstract boolean hasRecommendationId()

Unique id of the recommendation, a UUID string generated by the API.

optional string recommendation_id = 474540897;

Returns
Type Description
boolean

Whether the recommendationId field is set.

hasRecommendationType()

public abstract boolean hasRecommendationType()

Type of recommendation. Currently only FUTURE_RESERVATION is supported. Check the RecommendationType enum for the list of possible values.

optional string recommendation_type = 230749184;

Returns
Type Description
boolean

Whether the recommendationType field is set.

hasStartTime()

public abstract boolean hasStartTime()

optional string start_time = 37467274;

Returns
Type Description
boolean

Whether the startTime field is set.