Class QuotaDetails.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QuotaDetails.Builder>
com.google.api.cloudquotas.v1.QuotaDetails.Builder
All Implemented Interfaces:
QuotaDetailsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
QuotaDetails

public static final class QuotaDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<QuotaDetails.Builder> implements QuotaDetailsOrBuilder
 The quota details for a map of dimensions.
 
Protobuf type google.api.cloudquotas.v1.QuotaDetails
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<QuotaDetails.Builder>
    • clear

      public QuotaDetails.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<QuotaDetails.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<QuotaDetails.Builder>
    • getDefaultInstanceForType

      public QuotaDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public QuotaDetails build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public QuotaDetails buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public QuotaDetails.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<QuotaDetails.Builder>
    • mergeFrom

      public QuotaDetails.Builder mergeFrom(QuotaDetails other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<QuotaDetails.Builder>
    • mergeFrom

      public QuotaDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<QuotaDetails.Builder>
      Throws:
      IOException
    • getValue

      public long getValue()
       The value currently in effect and being enforced.
       
      int64 value = 1;
      Specified by:
      getValue in interface QuotaDetailsOrBuilder
      Returns:
      The value.
    • setValue

      public QuotaDetails.Builder setValue(long value)
       The value currently in effect and being enforced.
       
      int64 value = 1;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public QuotaDetails.Builder clearValue()
       The value currently in effect and being enforced.
       
      int64 value = 1;
      Returns:
      This builder for chaining.
    • hasRolloutInfo

      public boolean hasRolloutInfo()
       Rollout information of this quota.
       This field is present only if the effective limit will change due to the
       ongoing rollout of the service config.
       
      .google.api.cloudquotas.v1.RolloutInfo rollout_info = 3;
      Specified by:
      hasRolloutInfo in interface QuotaDetailsOrBuilder
      Returns:
      Whether the rolloutInfo field is set.
    • getRolloutInfo

      public RolloutInfo getRolloutInfo()
       Rollout information of this quota.
       This field is present only if the effective limit will change due to the
       ongoing rollout of the service config.
       
      .google.api.cloudquotas.v1.RolloutInfo rollout_info = 3;
      Specified by:
      getRolloutInfo in interface QuotaDetailsOrBuilder
      Returns:
      The rolloutInfo.
    • setRolloutInfo

      public QuotaDetails.Builder setRolloutInfo(RolloutInfo value)
       Rollout information of this quota.
       This field is present only if the effective limit will change due to the
       ongoing rollout of the service config.
       
      .google.api.cloudquotas.v1.RolloutInfo rollout_info = 3;
    • setRolloutInfo

      public QuotaDetails.Builder setRolloutInfo(RolloutInfo.Builder builderForValue)
       Rollout information of this quota.
       This field is present only if the effective limit will change due to the
       ongoing rollout of the service config.
       
      .google.api.cloudquotas.v1.RolloutInfo rollout_info = 3;
    • mergeRolloutInfo

      public QuotaDetails.Builder mergeRolloutInfo(RolloutInfo value)
       Rollout information of this quota.
       This field is present only if the effective limit will change due to the
       ongoing rollout of the service config.
       
      .google.api.cloudquotas.v1.RolloutInfo rollout_info = 3;
    • clearRolloutInfo

      public QuotaDetails.Builder clearRolloutInfo()
       Rollout information of this quota.
       This field is present only if the effective limit will change due to the
       ongoing rollout of the service config.
       
      .google.api.cloudquotas.v1.RolloutInfo rollout_info = 3;
    • getRolloutInfoBuilder

      public RolloutInfo.Builder getRolloutInfoBuilder()
       Rollout information of this quota.
       This field is present only if the effective limit will change due to the
       ongoing rollout of the service config.
       
      .google.api.cloudquotas.v1.RolloutInfo rollout_info = 3;
    • getRolloutInfoOrBuilder

      public RolloutInfoOrBuilder getRolloutInfoOrBuilder()
       Rollout information of this quota.
       This field is present only if the effective limit will change due to the
       ongoing rollout of the service config.
       
      .google.api.cloudquotas.v1.RolloutInfo rollout_info = 3;
      Specified by:
      getRolloutInfoOrBuilder in interface QuotaDetailsOrBuilder