Class CalendarModeRecommendation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.CalendarModeRecommendation
All Implemented Interfaces:
CalendarModeRecommendationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class CalendarModeRecommendation extends com.google.protobuf.GeneratedMessage implements CalendarModeRecommendationOrBuilder
 A single recommendation to create requested resources. Contains detailed
 recommendations for every future resources specification specified in
 CalendarModeAdviceRequest.
 
Protobuf type google.cloud.compute.v1.CalendarModeRecommendation
See Also:
  • Field Details

    • RECOMMENDATIONS_PER_SPEC_FIELD_NUMBER

      public static final int RECOMMENDATIONS_PER_SPEC_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getRecommendationsPerSpecCount

      public int getRecommendationsPerSpecCount()
      Description copied from interface: CalendarModeRecommendationOrBuilder
       Recommendations for every future resource specification passed in
       CalendarModeAdviceRequest. Keys of the map correspond to keys
       specified in the request.
       
      map<string, .google.cloud.compute.v1.FutureResourcesRecommendation> recommendations_per_spec = 61331554;
      Specified by:
      getRecommendationsPerSpecCount in interface CalendarModeRecommendationOrBuilder
    • containsRecommendationsPerSpec

      public boolean containsRecommendationsPerSpec(String key)
       Recommendations for every future resource specification passed in
       CalendarModeAdviceRequest. Keys of the map correspond to keys
       specified in the request.
       
      map<string, .google.cloud.compute.v1.FutureResourcesRecommendation> recommendations_per_spec = 61331554;
      Specified by:
      containsRecommendationsPerSpec in interface CalendarModeRecommendationOrBuilder
    • getRecommendationsPerSpec

      @Deprecated public Map<String,FutureResourcesRecommendation> getRecommendationsPerSpec()
      Deprecated.
      Specified by:
      getRecommendationsPerSpec in interface CalendarModeRecommendationOrBuilder
    • getRecommendationsPerSpecMap

      public Map<String,FutureResourcesRecommendation> getRecommendationsPerSpecMap()
       Recommendations for every future resource specification passed in
       CalendarModeAdviceRequest. Keys of the map correspond to keys
       specified in the request.
       
      map<string, .google.cloud.compute.v1.FutureResourcesRecommendation> recommendations_per_spec = 61331554;
      Specified by:
      getRecommendationsPerSpecMap in interface CalendarModeRecommendationOrBuilder
    • getRecommendationsPerSpecOrDefault

      public FutureResourcesRecommendation getRecommendationsPerSpecOrDefault(String key, FutureResourcesRecommendation defaultValue)
       Recommendations for every future resource specification passed in
       CalendarModeAdviceRequest. Keys of the map correspond to keys
       specified in the request.
       
      map<string, .google.cloud.compute.v1.FutureResourcesRecommendation> recommendations_per_spec = 61331554;
      Specified by:
      getRecommendationsPerSpecOrDefault in interface CalendarModeRecommendationOrBuilder
    • getRecommendationsPerSpecOrThrow

      public FutureResourcesRecommendation getRecommendationsPerSpecOrThrow(String key)
       Recommendations for every future resource specification passed in
       CalendarModeAdviceRequest. Keys of the map correspond to keys
       specified in the request.
       
      map<string, .google.cloud.compute.v1.FutureResourcesRecommendation> recommendations_per_spec = 61331554;
      Specified by:
      getRecommendationsPerSpecOrThrow in interface CalendarModeRecommendationOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static CalendarModeRecommendation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CalendarModeRecommendation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CalendarModeRecommendation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CalendarModeRecommendation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CalendarModeRecommendation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CalendarModeRecommendation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CalendarModeRecommendation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CalendarModeRecommendation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CalendarModeRecommendation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CalendarModeRecommendation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CalendarModeRecommendation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CalendarModeRecommendation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public CalendarModeRecommendation.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static CalendarModeRecommendation.Builder newBuilder()
    • newBuilder

      public static CalendarModeRecommendation.Builder newBuilder(CalendarModeRecommendation prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CalendarModeRecommendation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static CalendarModeRecommendation getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CalendarModeRecommendation> parser()
    • getParserForType

      public com.google.protobuf.Parser<CalendarModeRecommendation> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public CalendarModeRecommendation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder