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