Class RepricingCondition (3.55.0)

public final class RepricingCondition extends GeneratedMessageV3 implements RepricingConditionOrBuilder

Represents the various repricing conditions you can use for a conditional override.

Protobuf type google.cloud.channel.v1.RepricingCondition

Static Fields

SKU_GROUP_CONDITION_FIELD_NUMBER

public static final int SKU_GROUP_CONDITION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RepricingCondition getDefaultInstance()
Returns
Type Description
RepricingCondition

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RepricingCondition.Builder newBuilder()
Returns
Type Description
RepricingCondition.Builder

newBuilder(RepricingCondition prototype)

public static RepricingCondition.Builder newBuilder(RepricingCondition prototype)
Parameter
Name Description
prototype RepricingCondition
Returns
Type Description
RepricingCondition.Builder

parseDelimitedFrom(InputStream input)

public static RepricingCondition parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RepricingCondition
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepricingCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepricingCondition
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RepricingCondition parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RepricingCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RepricingCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepricingCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RepricingCondition parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RepricingCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RepricingCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepricingCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RepricingCondition parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RepricingCondition
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RepricingCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepricingCondition
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RepricingCondition parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RepricingCondition
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepricingCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepricingCondition
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RepricingCondition parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RepricingCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RepricingCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepricingCondition
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RepricingCondition> parser()
Returns
Type Description
Parser<RepricingCondition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConditionCase()

public RepricingCondition.ConditionCase getConditionCase()
Returns
Type Description
RepricingCondition.ConditionCase

getDefaultInstanceForType()

public RepricingCondition getDefaultInstanceForType()
Returns
Type Description
RepricingCondition

getParserForType()

public Parser<RepricingCondition> getParserForType()
Returns
Type Description
Parser<RepricingCondition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkuGroupCondition()

public SkuGroupCondition getSkuGroupCondition()

SKU Group condition for override.

.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;

Returns
Type Description
SkuGroupCondition

The skuGroupCondition.

getSkuGroupConditionOrBuilder()

public SkuGroupConditionOrBuilder getSkuGroupConditionOrBuilder()

SKU Group condition for override.

.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;

Returns
Type Description
SkuGroupConditionOrBuilder

hasSkuGroupCondition()

public boolean hasSkuGroupCondition()

SKU Group condition for override.

.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;

Returns
Type Description
boolean

Whether the skuGroupCondition field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RepricingCondition.Builder newBuilderForType()
Returns
Type Description
RepricingCondition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RepricingCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RepricingCondition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RepricingCondition.Builder toBuilder()
Returns
Type Description
RepricingCondition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException