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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SkuGroupCondition.Builder newBuilder()
newBuilder(SkuGroupCondition prototype)
public static SkuGroupCondition.Builder newBuilder(SkuGroupCondition prototype)
public static SkuGroupCondition parseDelimitedFrom(InputStream input)
public static SkuGroupCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SkuGroupCondition parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SkuGroupCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SkuGroupCondition parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SkuGroupCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SkuGroupCondition parseFrom(CodedInputStream input)
public static SkuGroupCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SkuGroupCondition parseFrom(InputStream input)
public static SkuGroupCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SkuGroupCondition parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SkuGroupCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SkuGroupCondition> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public SkuGroupCondition getDefaultInstanceForType()
getParserForType()
public Parser<SkuGroupCondition> getParserForType()
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SkuGroupCondition.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SkuGroupCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SkuGroupCondition.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides