public static final class SkuGroupCondition.Builder extends GeneratedMessageV3.Builder<SkuGroupCondition.Builder> 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SkuGroupCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SkuGroupCondition build()
buildPartial()
public SkuGroupCondition buildPartial()
clear()
public SkuGroupCondition.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SkuGroupCondition.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SkuGroupCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSkuGroup()
public SkuGroupCondition.Builder clearSkuGroup()
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;
clone()
public SkuGroupCondition.Builder clone()
Overrides
getDefaultInstanceForType()
public SkuGroupCondition getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SkuGroupCondition other)
public SkuGroupCondition.Builder mergeFrom(SkuGroupCondition other)
public SkuGroupCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SkuGroupCondition.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SkuGroupCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SkuGroupCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SkuGroupCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSkuGroup(String value)
public SkuGroupCondition.Builder setSkuGroup(String value)
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;
Parameter |
---|
Name | Description |
value | String
The skuGroup to set.
|
setSkuGroupBytes(ByteString value)
public SkuGroupCondition.Builder setSkuGroupBytes(ByteString value)
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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for skuGroup to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SkuGroupCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides