Class Sku.Builder (0.51.0)

public static final class Sku.Builder extends GeneratedMessage.Builder<Sku.Builder> implements SkuOrBuilder

Represents the SKU a partner owns inside Google Cloud to sell to customers.

Protobuf type google.cloud.cloudcontrolspartner.v1.Sku

Implements

SkuOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Sku build()
Returns
Type Description
Sku

buildPartial()

public Sku buildPartial()
Returns
Type Description
Sku

clear()

public Sku.Builder clear()
Returns
Type Description
Sku.Builder
Overrides

clearDisplayName()

public Sku.Builder clearDisplayName()

Display name of the product identified by the SKU. A partner may want to show partner branded names for their offerings such as local sovereign cloud solutions.

string display_name = 2;

Returns
Type Description
Sku.Builder

This builder for chaining.

clearId()

public Sku.Builder clearId()

Argentum product SKU, that is associated with the partner offerings to customers used by Syntro for billing purposes. SKUs can represent resold Google products or support services.

string id = 1;

Returns
Type Description
Sku.Builder

This builder for chaining.

getDefaultInstanceForType()

public Sku getDefaultInstanceForType()
Returns
Type Description
Sku

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Display name of the product identified by the SKU. A partner may want to show partner branded names for their offerings such as local sovereign cloud solutions.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Display name of the product identified by the SKU. A partner may want to show partner branded names for their offerings such as local sovereign cloud solutions.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getId()

public String getId()

Argentum product SKU, that is associated with the partner offerings to customers used by Syntro for billing purposes. SKUs can represent resold Google products or support services.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Argentum product SKU, that is associated with the partner offerings to customers used by Syntro for billing purposes. SKUs can represent resold Google products or support services.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Sku other)

public Sku.Builder mergeFrom(Sku other)
Parameter
Name Description
other Sku
Returns
Type Description
Sku.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Sku.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Sku.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Sku.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Sku.Builder
Overrides

setDisplayName(String value)

public Sku.Builder setDisplayName(String value)

Display name of the product identified by the SKU. A partner may want to show partner branded names for their offerings such as local sovereign cloud solutions.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Sku.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Sku.Builder setDisplayNameBytes(ByteString value)

Display name of the product identified by the SKU. A partner may want to show partner branded names for their offerings such as local sovereign cloud solutions.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Sku.Builder

This builder for chaining.

setId(String value)

public Sku.Builder setId(String value)

Argentum product SKU, that is associated with the partner offerings to customers used by Syntro for billing purposes. SKUs can represent resold Google products or support services.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
Sku.Builder

This builder for chaining.

setIdBytes(ByteString value)

public Sku.Builder setIdBytes(ByteString value)

Argentum product SKU, that is associated with the partner offerings to customers used by Syntro for billing purposes. SKUs can represent resold Google products or support services.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
Sku.Builder

This builder for chaining.