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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SkuGroupCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SkuGroupCondition build()
Returns
buildPartial()
public SkuGroupCondition buildPartial()
Returns
clear()
public SkuGroupCondition.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SkuGroupCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SkuGroupCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
clone()
public SkuGroupCondition.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SkuGroupCondition getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SkuGroupCondition other)
public SkuGroupCondition.Builder mergeFrom(SkuGroupCondition other)
Parameter
Returns
public SkuGroupCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SkuGroupCondition.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SkuGroupCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SkuGroupCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SkuGroupCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SkuGroupCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides