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
Static Methods
getDefaultInstance()
public static RepricingCondition getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static RepricingCondition.Builder newBuilder()
Returns
newBuilder(RepricingCondition prototype)
public static RepricingCondition.Builder newBuilder(RepricingCondition prototype)
Parameter
Returns
public static RepricingCondition parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RepricingCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RepricingCondition parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RepricingCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RepricingCondition parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RepricingCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RepricingCondition parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RepricingCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RepricingCondition parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RepricingCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RepricingCondition parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RepricingCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RepricingCondition> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getConditionCase()
public RepricingCondition.ConditionCase getConditionCase()
Returns
getDefaultInstanceForType()
public RepricingCondition getDefaultInstanceForType()
Returns
getParserForType()
public Parser<RepricingCondition> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSkuGroupCondition()
public SkuGroupCondition getSkuGroupCondition()
SKU Group condition for override.
.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;
Returns
getSkuGroupConditionOrBuilder()
public SkuGroupConditionOrBuilder getSkuGroupConditionOrBuilder()
SKU Group condition for override.
.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public RepricingCondition.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RepricingCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public RepricingCondition.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions