Class CalendarModeAdviceRequest

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

@Generated public final class CalendarModeAdviceRequest extends com.google.protobuf.GeneratedMessage implements CalendarModeAdviceRequestOrBuilder
 A request to recommend the best way to consume the specified resources in the
 future.
 
Protobuf type google.cloud.compute.v1.CalendarModeAdviceRequest
See Also:
  • Field Details

    • FUTURE_RESOURCES_SPECS_FIELD_NUMBER

      public static final int FUTURE_RESOURCES_SPECS_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
    • getFutureResourcesSpecsCount

      public int getFutureResourcesSpecsCount()
      Description copied from interface: CalendarModeAdviceRequestOrBuilder
       Specification of resources to create in the future.
       The key of the map is an arbitrary string specified by the caller.
       Value of the map is a specification of required resources and their
       constraints. Currently only one value is allowed in this map.
       
      map<string, .google.cloud.compute.v1.FutureResourcesSpec> future_resources_specs = 255012610;
      Specified by:
      getFutureResourcesSpecsCount in interface CalendarModeAdviceRequestOrBuilder
    • containsFutureResourcesSpecs

      public boolean containsFutureResourcesSpecs(String key)
       Specification of resources to create in the future.
       The key of the map is an arbitrary string specified by the caller.
       Value of the map is a specification of required resources and their
       constraints. Currently only one value is allowed in this map.
       
      map<string, .google.cloud.compute.v1.FutureResourcesSpec> future_resources_specs = 255012610;
      Specified by:
      containsFutureResourcesSpecs in interface CalendarModeAdviceRequestOrBuilder
    • getFutureResourcesSpecs

      @Deprecated public Map<String,FutureResourcesSpec> getFutureResourcesSpecs()
      Deprecated.
      Specified by:
      getFutureResourcesSpecs in interface CalendarModeAdviceRequestOrBuilder
    • getFutureResourcesSpecsMap

      public Map<String,FutureResourcesSpec> getFutureResourcesSpecsMap()
       Specification of resources to create in the future.
       The key of the map is an arbitrary string specified by the caller.
       Value of the map is a specification of required resources and their
       constraints. Currently only one value is allowed in this map.
       
      map<string, .google.cloud.compute.v1.FutureResourcesSpec> future_resources_specs = 255012610;
      Specified by:
      getFutureResourcesSpecsMap in interface CalendarModeAdviceRequestOrBuilder
    • getFutureResourcesSpecsOrDefault

      public FutureResourcesSpec getFutureResourcesSpecsOrDefault(String key, FutureResourcesSpec defaultValue)
       Specification of resources to create in the future.
       The key of the map is an arbitrary string specified by the caller.
       Value of the map is a specification of required resources and their
       constraints. Currently only one value is allowed in this map.
       
      map<string, .google.cloud.compute.v1.FutureResourcesSpec> future_resources_specs = 255012610;
      Specified by:
      getFutureResourcesSpecsOrDefault in interface CalendarModeAdviceRequestOrBuilder
    • getFutureResourcesSpecsOrThrow

      public FutureResourcesSpec getFutureResourcesSpecsOrThrow(String key)
       Specification of resources to create in the future.
       The key of the map is an arbitrary string specified by the caller.
       Value of the map is a specification of required resources and their
       constraints. Currently only one value is allowed in this map.
       
      map<string, .google.cloud.compute.v1.FutureResourcesSpec> future_resources_specs = 255012610;
      Specified by:
      getFutureResourcesSpecsOrThrow in interface CalendarModeAdviceRequestOrBuilder
    • 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 CalendarModeAdviceRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static CalendarModeAdviceRequest.Builder newBuilder()
    • newBuilder

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

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

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

      public static CalendarModeAdviceRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<CalendarModeAdviceRequest> 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 CalendarModeAdviceRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder