Package com.google.cloud.compute.v1
Interface FutureResourcesRecommendationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FutureResourcesRecommendation,FutureResourcesRecommendation.Builder
@Generated
public interface FutureResourcesRecommendationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanList of locations in the request scope that were not recommended.optional string end_time = 114938801;com.google.protobuf.ByteStringoptional string end_time = 114938801;The advised location for resource usage.com.google.protobuf.ByteStringThe advised location for resource usage.Deprecated.intList of locations in the request scope that were not recommended.List of locations in the request scope that were not recommended.getOtherLocationsOrDefault(String key, FutureResourcesRecommendationOtherLocation defaultValue) List of locations in the request scope that were not recommended.List of locations in the request scope that were not recommended.Unique id of the recommendation, a UUID string generated by the API.com.google.protobuf.ByteStringUnique id of the recommendation, a UUID string generated by the API.Type of recommendation.com.google.protobuf.ByteStringType of recommendation.optional string start_time = 37467274;com.google.protobuf.ByteStringoptional string start_time = 37467274;booleanoptional string end_time = 114938801;booleanThe advised location for resource usage.booleanUnique id of the recommendation, a UUID string generated by the API.booleanType of recommendation.booleanoptional string start_time = 37467274;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
-
hasEndTime
boolean hasEndTime()optional string end_time = 114938801;- Returns:
- Whether the endTime field is set.
-
getEndTime
String getEndTime()optional string end_time = 114938801;- Returns:
- The endTime.
-
getEndTimeBytes
com.google.protobuf.ByteString getEndTimeBytes()optional string end_time = 114938801;- Returns:
- The bytes for endTime.
-
hasLocation
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:
- Whether the location field is set.
-
getLocation
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:
- The location.
-
getLocationBytes
com.google.protobuf.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:
- The bytes for location.
-
getOtherLocationsCount
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; -
containsOtherLocations
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; -
getOtherLocations
Deprecated.UsegetOtherLocationsMap()instead. -
getOtherLocationsMap
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; -
getOtherLocationsOrDefault
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; -
getOtherLocationsOrThrow
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; -
hasRecommendationId
boolean hasRecommendationId()Unique id of the recommendation, a UUID string generated by the API.
optional string recommendation_id = 474540897;- Returns:
- Whether the recommendationId field is set.
-
getRecommendationId
String getRecommendationId()Unique id of the recommendation, a UUID string generated by the API.
optional string recommendation_id = 474540897;- Returns:
- The recommendationId.
-
getRecommendationIdBytes
com.google.protobuf.ByteString getRecommendationIdBytes()Unique id of the recommendation, a UUID string generated by the API.
optional string recommendation_id = 474540897;- Returns:
- The bytes for recommendationId.
-
hasRecommendationType
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:
- Whether the recommendationType field is set.
-
getRecommendationType
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:
- The recommendationType.
-
getRecommendationTypeBytes
com.google.protobuf.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:
- The bytes for recommendationType.
-
hasStartTime
boolean hasStartTime()optional string start_time = 37467274;- Returns:
- Whether the startTime field is set.
-
getStartTime
String getStartTime()optional string start_time = 37467274;- Returns:
- The startTime.
-
getStartTimeBytes
com.google.protobuf.ByteString getStartTimeBytes()optional string start_time = 37467274;- Returns:
- The bytes for startTime.
-