Class Sku.Builder (0.16.0)

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

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

Protobuf type google.cloud.cloudcontrolspartner.v1beta.Sku

Implements

SkuOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Sku.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Sku.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public Sku.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Sku.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public Sku.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Sku.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Sku.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public Sku.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Sku.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Sku.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Sku.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Sku.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Sku.Builder
Overrides