public static final class SkuGroup.Builder extends GeneratedMessageV3.Builder<SkuGroup.Builder> implements SkuGroupOrBuilder
Represents the SKU group information.
Protobuf type google.cloud.channel.v1.SkuGroup
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 SkuGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public SkuGroup buildPartial()
clear()
public SkuGroup.Builder clear()
Overrides
clearDisplayName()
public SkuGroup.Builder clearDisplayName()
Unique human readable identifier for the SKU group.
string display_name = 2;
clearField(Descriptors.FieldDescriptor field)
public SkuGroup.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public SkuGroup.Builder clearName()
Resource name of SKU group. Format:
accounts/{account}/skuGroups/{sku_group}.
Example:
"accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public SkuGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SkuGroup.Builder clone()
Overrides
getDefaultInstanceForType()
public SkuGroup getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDisplayName()
public String getDisplayName()
Unique human readable identifier for the SKU group.
string display_name = 2;
Returns |
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Unique human readable identifier for the SKU group.
string display_name = 2;
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
getName()
Resource name of SKU group. Format:
accounts/{account}/skuGroups/{sku_group}.
Example:
"accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
string name = 1;
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Resource name of SKU group. Format:
accounts/{account}/skuGroups/{sku_group}.
Example:
"accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
string name = 1;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SkuGroup other)
public SkuGroup.Builder mergeFrom(SkuGroup other)
Parameter |
Name |
Description |
other |
SkuGroup
|
public SkuGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SkuGroup.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SkuGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDisplayName(String value)
public SkuGroup.Builder setDisplayName(String value)
Unique human readable identifier for the SKU group.
string display_name = 2;
Parameter |
Name |
Description |
value |
String
The displayName to set.
|
setDisplayNameBytes(ByteString value)
public SkuGroup.Builder setDisplayNameBytes(ByteString value)
Unique human readable identifier for the SKU group.
string display_name = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for displayName to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SkuGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public SkuGroup.Builder setName(String value)
Resource name of SKU group. Format:
accounts/{account}/skuGroups/{sku_group}.
Example:
"accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
string name = 1;
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public SkuGroup.Builder setNameBytes(ByteString value)
Resource name of SKU group. Format:
accounts/{account}/skuGroups/{sku_group}.
Example:
"accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
string name = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SkuGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SkuGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides