Class BillableSku.Builder (3.41.0)

public static final class BillableSku.Builder extends GeneratedMessageV3.Builder<BillableSku.Builder> implements BillableSkuOrBuilder

Represents the Billable SKU information.

Protobuf type google.cloud.channel.v1.BillableSku

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BillableSku.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BillableSku.Builder
Overrides

build()

public BillableSku build()
Returns
TypeDescription
BillableSku

buildPartial()

public BillableSku buildPartial()
Returns
TypeDescription
BillableSku

clear()

public BillableSku.Builder clear()
Returns
TypeDescription
BillableSku.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BillableSku.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BillableSku.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BillableSku.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BillableSku.Builder
Overrides

clearService()

public BillableSku.Builder clearService()

Resource name of Service which contains Repricing SKU. Format: services/{service}. Example: "services/B7D9-FDCB-15D8".

string service = 3;

Returns
TypeDescription
BillableSku.Builder

This builder for chaining.

clearServiceDisplayName()

public BillableSku.Builder clearServiceDisplayName()

Unique human readable name for the Service.

string service_display_name = 4;

Returns
TypeDescription
BillableSku.Builder

This builder for chaining.

clearSku()

public BillableSku.Builder clearSku()

Resource name of Billable SKU. Format: billableSkus/{sku}. Example: billableSkus/6E1B-6634-470F".

string sku = 1;

Returns
TypeDescription
BillableSku.Builder

This builder for chaining.

clearSkuDisplayName()

public BillableSku.Builder clearSkuDisplayName()

Unique human readable name for the SKU.

string sku_display_name = 2;

Returns
TypeDescription
BillableSku.Builder

This builder for chaining.

clone()

public BillableSku.Builder clone()
Returns
TypeDescription
BillableSku.Builder
Overrides

getDefaultInstanceForType()

public BillableSku getDefaultInstanceForType()
Returns
TypeDescription
BillableSku

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getService()

public String getService()

Resource name of Service which contains Repricing SKU. Format: services/{service}. Example: "services/B7D9-FDCB-15D8".

string service = 3;

Returns
TypeDescription
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

Resource name of Service which contains Repricing SKU. Format: services/{service}. Example: "services/B7D9-FDCB-15D8".

string service = 3;

Returns
TypeDescription
ByteString

The bytes for service.

getServiceDisplayName()

public String getServiceDisplayName()

Unique human readable name for the Service.

string service_display_name = 4;

Returns
TypeDescription
String

The serviceDisplayName.

getServiceDisplayNameBytes()

public ByteString getServiceDisplayNameBytes()

Unique human readable name for the Service.

string service_display_name = 4;

Returns
TypeDescription
ByteString

The bytes for serviceDisplayName.

getSku()

public String getSku()

Resource name of Billable SKU. Format: billableSkus/{sku}. Example: billableSkus/6E1B-6634-470F".

string sku = 1;

Returns
TypeDescription
String

The sku.

getSkuBytes()

public ByteString getSkuBytes()

Resource name of Billable SKU. Format: billableSkus/{sku}. Example: billableSkus/6E1B-6634-470F".

string sku = 1;

Returns
TypeDescription
ByteString

The bytes for sku.

getSkuDisplayName()

public String getSkuDisplayName()

Unique human readable name for the SKU.

string sku_display_name = 2;

Returns
TypeDescription
String

The skuDisplayName.

getSkuDisplayNameBytes()

public ByteString getSkuDisplayNameBytes()

Unique human readable name for the SKU.

string sku_display_name = 2;

Returns
TypeDescription
ByteString

The bytes for skuDisplayName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BillableSku other)

public BillableSku.Builder mergeFrom(BillableSku other)
Parameter
NameDescription
otherBillableSku
Returns
TypeDescription
BillableSku.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BillableSku.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BillableSku.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BillableSku.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BillableSku.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BillableSku.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BillableSku.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BillableSku.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BillableSku.Builder
Overrides

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

public BillableSku.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BillableSku.Builder
Overrides

setService(String value)

public BillableSku.Builder setService(String value)

Resource name of Service which contains Repricing SKU. Format: services/{service}. Example: "services/B7D9-FDCB-15D8".

string service = 3;

Parameter
NameDescription
valueString

The service to set.

Returns
TypeDescription
BillableSku.Builder

This builder for chaining.

setServiceBytes(ByteString value)

public BillableSku.Builder setServiceBytes(ByteString value)

Resource name of Service which contains Repricing SKU. Format: services/{service}. Example: "services/B7D9-FDCB-15D8".

string service = 3;

Parameter
NameDescription
valueByteString

The bytes for service to set.

Returns
TypeDescription
BillableSku.Builder

This builder for chaining.

setServiceDisplayName(String value)

public BillableSku.Builder setServiceDisplayName(String value)

Unique human readable name for the Service.

string service_display_name = 4;

Parameter
NameDescription
valueString

The serviceDisplayName to set.

Returns
TypeDescription
BillableSku.Builder

This builder for chaining.

setServiceDisplayNameBytes(ByteString value)

public BillableSku.Builder setServiceDisplayNameBytes(ByteString value)

Unique human readable name for the Service.

string service_display_name = 4;

Parameter
NameDescription
valueByteString

The bytes for serviceDisplayName to set.

Returns
TypeDescription
BillableSku.Builder

This builder for chaining.

setSku(String value)

public BillableSku.Builder setSku(String value)

Resource name of Billable SKU. Format: billableSkus/{sku}. Example: billableSkus/6E1B-6634-470F".

string sku = 1;

Parameter
NameDescription
valueString

The sku to set.

Returns
TypeDescription
BillableSku.Builder

This builder for chaining.

setSkuBytes(ByteString value)

public BillableSku.Builder setSkuBytes(ByteString value)

Resource name of Billable SKU. Format: billableSkus/{sku}. Example: billableSkus/6E1B-6634-470F".

string sku = 1;

Parameter
NameDescription
valueByteString

The bytes for sku to set.

Returns
TypeDescription
BillableSku.Builder

This builder for chaining.

setSkuDisplayName(String value)

public BillableSku.Builder setSkuDisplayName(String value)

Unique human readable name for the SKU.

string sku_display_name = 2;

Parameter
NameDescription
valueString

The skuDisplayName to set.

Returns
TypeDescription
BillableSku.Builder

This builder for chaining.

setSkuDisplayNameBytes(ByteString value)

public BillableSku.Builder setSkuDisplayNameBytes(ByteString value)

Unique human readable name for the SKU.

string sku_display_name = 2;

Parameter
NameDescription
valueByteString

The bytes for skuDisplayName to set.

Returns
TypeDescription
BillableSku.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final BillableSku.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BillableSku.Builder
Overrides