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