Class ConditionalOverride (3.39.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 3.39.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ConditionalOverride   extends   GeneratedMessageV3   implements   ConditionalOverrideOrBuilder  
   
   Specifies the override to conditionally apply.
 Protobuf type google.cloud.channel.v1.ConditionalOverride
 
  
  
  
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  ADJUSTMENT_FIELD_NUMBER 
  
    
public   static   final   int   ADJUSTMENT_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  REBILLING_BASIS_FIELD_NUMBER 
  
    
public   static   final   int   REBILLING_BASIS_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  REPRICING_CONDITION_FIELD_NUMBER 
  
    
public   static   final   int   REPRICING_CONDITION_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   ConditionalOverride   getDefaultInstance ()  
   
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  newBuilder() 
  
    
public   static   ConditionalOverride . Builder   newBuilder ()  
   
  
   
  newBuilder(ConditionalOverride prototype) 
  
    
public   static   ConditionalOverride . Builder   newBuilder ( ConditionalOverride   prototype )  
   
  
  
   
  
  
    
public   static   ConditionalOverride   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   ConditionalOverride   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(byte[] data) 
  
    
public   static   ConditionalOverride   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ConditionalOverride   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteString data) 
  
    
public   static   ConditionalOverride   parseFrom ( ByteString   data )  
   
  
  
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ConditionalOverride   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   ConditionalOverride   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   ConditionalOverride   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   ConditionalOverride   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   ConditionalOverride   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   ConditionalOverride   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ConditionalOverride   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parser() 
  
    
public   static   Parser<ConditionalOverride>   parser ()  
   
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  getAdjustment() 
  
    
public   RepricingAdjustment   getAdjustment ()  
   
   Required. Information about the applied override's adjustment.
 
 .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED];
 
 
  
   
  getAdjustmentOrBuilder() 
  
    
public   RepricingAdjustmentOrBuilder   getAdjustmentOrBuilder ()  
   
   Required. Information about the applied override's adjustment.
 
 .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED];
 
 
  
   
  getDefaultInstanceForType() 
  
    
public   ConditionalOverride   getDefaultInstanceForType ()  
   
  
   
  getParserForType() 
  
    
public   Parser<ConditionalOverride>   getParserForType ()  
   
  
  Overrides 
  
   
  getRebillingBasis() 
  
    
public   RebillingBasis   getRebillingBasis ()  
   
   Required. The RebillingBasis  to
 use for the applied override. Shows the relative cost based on your
 repricing costs.
 
 .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED];
 
 
  
   
  getRebillingBasisValue() 
  
    
public   int   getRebillingBasisValue ()  
   
   Required. The RebillingBasis  to
 use for the applied override. Shows the relative cost based on your
 repricing costs.
 
 .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED];
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
        The enum numeric value on the wire for rebillingBasis.
 
       
     
  
   
  getRepricingCondition() 
  
    
public   RepricingCondition   getRepricingCondition ()  
   
   Required. Specifies the condition which, if met, will apply the override.
 
 .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED];
 
 
  
   
  getRepricingConditionOrBuilder() 
  
    
public   RepricingConditionOrBuilder   getRepricingConditionOrBuilder ()  
   
   Required. Specifies the condition which, if met, will apply the override.
 
 .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED];
 
 
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  hasAdjustment() 
  
    
public   boolean   hasAdjustment ()  
   
   Required. Information about the applied override's adjustment.
 
 .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED];
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the adjustment field is set.
 
       
     
  
   
  hasRepricingCondition() 
  
    
public   boolean   hasRepricingCondition ()  
   
   Required. Specifies the condition which, if met, will apply the override.
 
 .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED];
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the repricingCondition field is set.
 
       
     
  
   
  hashCode() 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   ConditionalOverride . Builder   newBuilderForType ()  
   
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   ConditionalOverride . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  toBuilder() 
  
    
public   ConditionalOverride . Builder   toBuilder ()  
   
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]