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 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

      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;
    • getOtherLocations

      Deprecated.
    • 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

       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

      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;
    • 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.