Interface MeteredEntitlementOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    MeteredEntitlement, MeteredEntitlement.Builder

    public interface MeteredEntitlementOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getCurrentUsage()
      double current_usage = 7 [json_name = "currentUsage"];
      EntitlementFeature getFeature()
      optional .stigg.sidecar.v1.EntitlementFeature feature = 4 [json_name = "feature"];
      EntitlementFeatureOrBuilder getFeatureOrBuilder()
      optional .stigg.sidecar.v1.EntitlementFeature feature = 4 [json_name = "feature"];
      boolean getIsUnlimited()
      bool is_unlimited = 6 [json_name = "isUnlimited"];
      com.google.protobuf.Timestamp getNextResetDate()
      optional .google.protobuf.Timestamp next_reset_date = 10 [json_name = "nextResetDate"];
      com.google.protobuf.TimestampOrBuilder getNextResetDateOrBuilder()
      optional .google.protobuf.Timestamp next_reset_date = 10 [json_name = "nextResetDate"];
      EntitlementResetPeriod getResetPeriod()
      optional .stigg.sidecar.v1.EntitlementResetPeriod reset_period = 9 [json_name = "resetPeriod"];
      int getResetPeriodValue()
      optional .stigg.sidecar.v1.EntitlementResetPeriod reset_period = 9 [json_name = "resetPeriod"];
      double getUsageLimit()
      optional double usage_limit = 5 [json_name = "usageLimit"];
      boolean hasFeature()
      optional .stigg.sidecar.v1.EntitlementFeature feature = 4 [json_name = "feature"];
      boolean hasNextResetDate()
      optional .google.protobuf.Timestamp next_reset_date = 10 [json_name = "nextResetDate"];
      boolean hasResetPeriod()
      optional .stigg.sidecar.v1.EntitlementResetPeriod reset_period = 9 [json_name = "resetPeriod"];
      boolean hasUsageLimit()
      optional double usage_limit = 5 [json_name = "usageLimit"];
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasFeature

        boolean hasFeature()
        optional .stigg.sidecar.v1.EntitlementFeature feature = 4 [json_name = "feature"];
        Returns:
        Whether the feature field is set.
      • getFeature

        EntitlementFeature getFeature()
        optional .stigg.sidecar.v1.EntitlementFeature feature = 4 [json_name = "feature"];
        Returns:
        The feature.
      • getFeatureOrBuilder

        EntitlementFeatureOrBuilder getFeatureOrBuilder()
        optional .stigg.sidecar.v1.EntitlementFeature feature = 4 [json_name = "feature"];
      • hasUsageLimit

        boolean hasUsageLimit()
        optional double usage_limit = 5 [json_name = "usageLimit"];
        Returns:
        Whether the usageLimit field is set.
      • getUsageLimit

        double getUsageLimit()
        optional double usage_limit = 5 [json_name = "usageLimit"];
        Returns:
        The usageLimit.
      • getIsUnlimited

        boolean getIsUnlimited()
        bool is_unlimited = 6 [json_name = "isUnlimited"];
        Returns:
        The isUnlimited.
      • getCurrentUsage

        double getCurrentUsage()
        double current_usage = 7 [json_name = "currentUsage"];
        Returns:
        The currentUsage.
      • hasResetPeriod

        boolean hasResetPeriod()
        optional .stigg.sidecar.v1.EntitlementResetPeriod reset_period = 9 [json_name = "resetPeriod"];
        Returns:
        Whether the resetPeriod field is set.
      • getResetPeriodValue

        int getResetPeriodValue()
        optional .stigg.sidecar.v1.EntitlementResetPeriod reset_period = 9 [json_name = "resetPeriod"];
        Returns:
        The enum numeric value on the wire for resetPeriod.
      • getResetPeriod

        EntitlementResetPeriod getResetPeriod()
        optional .stigg.sidecar.v1.EntitlementResetPeriod reset_period = 9 [json_name = "resetPeriod"];
        Returns:
        The resetPeriod.
      • hasNextResetDate

        boolean hasNextResetDate()
        optional .google.protobuf.Timestamp next_reset_date = 10 [json_name = "nextResetDate"];
        Returns:
        Whether the nextResetDate field is set.
      • getNextResetDate

        com.google.protobuf.Timestamp getNextResetDate()
        optional .google.protobuf.Timestamp next_reset_date = 10 [json_name = "nextResetDate"];
        Returns:
        The nextResetDate.
      • getNextResetDateOrBuilder

        com.google.protobuf.TimestampOrBuilder getNextResetDateOrBuilder()
        optional .google.protobuf.Timestamp next_reset_date = 10 [json_name = "nextResetDate"];