public static final class SkuGroup.Builder extends GeneratedMessage.Builder<SkuGroup.Builder> implements SkuGroupOrBuilderRepresents the SKU group information.
Protobuf type google.cloud.channel.v1.SkuGroup
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SkuGroup.BuilderImplements
SkuGroupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SkuGroup build()| Returns | |
|---|---|
| Type | Description |
SkuGroup |
|
buildPartial()
public SkuGroup buildPartial()| Returns | |
|---|---|
| Type | Description |
SkuGroup |
|
clear()
public SkuGroup.Builder clear()| Returns | |
|---|---|
| Type | Description |
SkuGroup.Builder |
|
clearDisplayName()
public SkuGroup.Builder clearDisplayName()Unique human readable identifier for the SKU group.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
SkuGroup.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| Type | Description |
SkuGroup.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SkuGroup getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SkuGroup |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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()
public String 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SkuGroup other)
public SkuGroup.Builder mergeFrom(SkuGroup other)| Parameter | |
|---|---|
| Name | Description |
other |
SkuGroup |
| Returns | |
|---|---|
| Type | Description |
SkuGroup.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SkuGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SkuGroup.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SkuGroup.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SkuGroup.Builder |
|
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 |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
SkuGroup.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
SkuGroup.Builder |
This builder for chaining. |
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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
SkuGroup.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
SkuGroup.Builder |
This builder for chaining. |