Class QuotaExceededInfo

  • All Implemented Interfaces:
    QuotaExceededInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class QuotaExceededInfo
    extends com.google.protobuf.GeneratedMessageV3
    implements QuotaExceededInfoOrBuilder
     Additional details for quota exceeded error for resource quota.
     
    Protobuf type google.cloud.compute.v1.QuotaExceededInfo
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasFutureLimit

        public boolean hasFutureLimit()
         Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
         
        optional double future_limit = 456564287;
        Specified by:
        hasFutureLimit in interface QuotaExceededInfoOrBuilder
        Returns:
        Whether the futureLimit field is set.
      • getFutureLimit

        public double getFutureLimit()
         Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
         
        optional double future_limit = 456564287;
        Specified by:
        getFutureLimit in interface QuotaExceededInfoOrBuilder
        Returns:
        The futureLimit.
      • hasLimit

        public boolean hasLimit()
         Current effective quota limit. The limit's unit depends on the quota type or metric.
         
        optional double limit = 102976443;
        Specified by:
        hasLimit in interface QuotaExceededInfoOrBuilder
        Returns:
        Whether the limit field is set.
      • getLimit

        public double getLimit()
         Current effective quota limit. The limit's unit depends on the quota type or metric.
         
        optional double limit = 102976443;
        Specified by:
        getLimit in interface QuotaExceededInfoOrBuilder
        Returns:
        The limit.
      • hasLimitName

        public boolean hasLimitName()
         The name of the quota limit.
         
        optional string limit_name = 398197903;
        Specified by:
        hasLimitName in interface QuotaExceededInfoOrBuilder
        Returns:
        Whether the limitName field is set.
      • getLimitNameBytes

        public com.google.protobuf.ByteString getLimitNameBytes()
         The name of the quota limit.
         
        optional string limit_name = 398197903;
        Specified by:
        getLimitNameBytes in interface QuotaExceededInfoOrBuilder
        Returns:
        The bytes for limitName.
      • hasMetricName

        public boolean hasMetricName()
         The Compute Engine quota metric name.
         
        optional string metric_name = 409881530;
        Specified by:
        hasMetricName in interface QuotaExceededInfoOrBuilder
        Returns:
        Whether the metricName field is set.
      • getMetricNameBytes

        public com.google.protobuf.ByteString getMetricNameBytes()
         The Compute Engine quota metric name.
         
        optional string metric_name = 409881530;
        Specified by:
        getMetricNameBytes in interface QuotaExceededInfoOrBuilder
        Returns:
        The bytes for metricName.
      • hasRolloutStatus

        public boolean hasRolloutStatus()
         Rollout status of the future quota limit.
         Check the RolloutStatus enum for the list of possible values.
         
        optional string rollout_status = 476426816;
        Specified by:
        hasRolloutStatus in interface QuotaExceededInfoOrBuilder
        Returns:
        Whether the rolloutStatus field is set.
      • getRolloutStatus

        public String getRolloutStatus()
         Rollout status of the future quota limit.
         Check the RolloutStatus enum for the list of possible values.
         
        optional string rollout_status = 476426816;
        Specified by:
        getRolloutStatus in interface QuotaExceededInfoOrBuilder
        Returns:
        The rolloutStatus.
      • getRolloutStatusBytes

        public com.google.protobuf.ByteString getRolloutStatusBytes()
         Rollout status of the future quota limit.
         Check the RolloutStatus enum for the list of possible values.
         
        optional string rollout_status = 476426816;
        Specified by:
        getRolloutStatusBytes in interface QuotaExceededInfoOrBuilder
        Returns:
        The bytes for rolloutStatus.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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 QuotaExceededInfo parseFrom​(ByteBuffer data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        protected QuotaExceededInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<QuotaExceededInfo> 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.GeneratedMessageV3
      • getDefaultInstanceForType

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