Class SkuGroupCondition (3.34.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static SkuGroupCondition getDefaultInstance()
Returns
TypeDescription
SkuGroupCondition

getDescriptor()

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

newBuilder()

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

newBuilder(SkuGroupCondition prototype)

public static SkuGroupCondition.Builder newBuilder(SkuGroupCondition prototype)
Parameter
NameDescription
prototypeSkuGroupCondition
Returns
TypeDescription
SkuGroupCondition.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SkuGroupCondition getDefaultInstanceForType()
Returns
TypeDescription
SkuGroupCondition

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for skuGroup.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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