Class SkuGroupCondition (3.49.0)

public final class SkuGroupCondition extends GeneratedMessageV3 implements SkuGroupConditionOrBuilder

A condition that applies the override if a line item SKU is found in the SKU group.

Protobuf type google.cloud.channel.v1.SkuGroupCondition

Static Fields

SKU_GROUP_FIELD_NUMBER

public static final int SKU_GROUP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SkuGroupCondition getDefaultInstance()
Returns
Type Description
SkuGroupCondition

getDescriptor()

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

newBuilder()

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

newBuilder(SkuGroupCondition prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SkuGroupCondition getDefaultInstanceForType()
Returns
Type Description
SkuGroupCondition

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkuGroup()

public String getSkuGroup()

Specifies a SKU group (https://cloud.google.com/skus/sku-groups). Resource name of SKU group. Format: accounts/{account}/skuGroups/{sku_group}. Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".

string sku_group = 1;

Returns
Type Description
String

The skuGroup.

getSkuGroupBytes()

public ByteString getSkuGroupBytes()

Specifies a SKU group (https://cloud.google.com/skus/sku-groups). Resource name of SKU group. Format: accounts/{account}/skuGroups/{sku_group}. Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".

string sku_group = 1;

Returns
Type Description
ByteString

The bytes for skuGroup.

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 SkuGroupCondition.Builder newBuilderForType()
Returns
Type Description
SkuGroupCondition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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