Class RepricingCondition (3.28.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static RepricingCondition getDefaultInstance()
Returns
TypeDescription
RepricingCondition

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RepricingCondition.Builder newBuilder()
Returns
TypeDescription
RepricingCondition.Builder

newBuilder(RepricingCondition prototype)

public static RepricingCondition.Builder newBuilder(RepricingCondition prototype)
Parameter
NameDescription
prototypeRepricingCondition
Returns
TypeDescription
RepricingCondition.Builder

parseDelimitedFrom(InputStream input)

public static RepricingCondition parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RepricingCondition
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepricingCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepricingCondition
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RepricingCondition parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RepricingCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RepricingCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepricingCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RepricingCondition parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RepricingCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RepricingCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepricingCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RepricingCondition parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RepricingCondition
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RepricingCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepricingCondition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RepricingCondition parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RepricingCondition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepricingCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepricingCondition
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RepricingCondition parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RepricingCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RepricingCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepricingCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RepricingCondition> parser()
Returns
TypeDescription
Parser<RepricingCondition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConditionCase()

public RepricingCondition.ConditionCase getConditionCase()
Returns
TypeDescription
RepricingCondition.ConditionCase

getDefaultInstanceForType()

public RepricingCondition getDefaultInstanceForType()
Returns
TypeDescription
RepricingCondition

getParserForType()

public Parser<RepricingCondition> getParserForType()
Returns
TypeDescription
Parser<RepricingCondition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSkuGroupCondition()

public SkuGroupCondition getSkuGroupCondition()

SKU Group condition for override.

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

Returns
TypeDescription
SkuGroupCondition

The skuGroupCondition.

getSkuGroupConditionOrBuilder()

public SkuGroupConditionOrBuilder getSkuGroupConditionOrBuilder()

SKU Group condition for override.

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

Returns
TypeDescription
SkuGroupConditionOrBuilder

hasSkuGroupCondition()

public boolean hasSkuGroupCondition()

SKU Group condition for override.

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

Returns
TypeDescription
boolean

Whether the skuGroupCondition field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RepricingCondition.Builder newBuilderForType()
Returns
TypeDescription
RepricingCondition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RepricingCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RepricingCondition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RepricingCondition.Builder toBuilder()
Returns
TypeDescription
RepricingCondition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException