public static final class BillableSku.Builder extends GeneratedMessageV3.Builder<BillableSku.Builder> implements BillableSkuOrBuilderRepresents the Billable SKU information.
Protobuf type google.cloud.channel.v1.BillableSku
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BillableSku.BuilderImplements
BillableSkuOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BillableSku.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BillableSku.Builder |
|
build()
public BillableSku build()| Returns | |
|---|---|
| Type | Description |
BillableSku |
|
buildPartial()
public BillableSku buildPartial()| Returns | |
|---|---|
| Type | Description |
BillableSku |
|
clear()
public BillableSku.Builder clear()| Returns | |
|---|---|
| Type | Description |
BillableSku.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public BillableSku.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
BillableSku.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public BillableSku.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
BillableSku.Builder |
|
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 | |
|---|---|
| Type | Description |
BillableSku.Builder |
This builder for chaining. |
clearServiceDisplayName()
public BillableSku.Builder clearServiceDisplayName()Unique human readable name for the Service.
string service_display_name = 4;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
BillableSku.Builder |
This builder for chaining. |
clearSkuDisplayName()
public BillableSku.Builder clearSkuDisplayName()Unique human readable name for the SKU.
string sku_display_name = 2;
| Returns | |
|---|---|
| Type | Description |
BillableSku.Builder |
This builder for chaining. |
clone()
public BillableSku.Builder clone()| Returns | |
|---|---|
| Type | Description |
BillableSku.Builder |
|
getDefaultInstanceForType()
public BillableSku getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BillableSku |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getService()
public String getService()Resource name of Service which contains Repricing SKU. Format: services/{service}. Example: "services/B7D9-FDCB-15D8".
string service = 3;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for service. |
getServiceDisplayName()
public String getServiceDisplayName()Unique human readable name for the Service.
string service_display_name = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The serviceDisplayName. |
getServiceDisplayNameBytes()
public ByteString getServiceDisplayNameBytes()Unique human readable name for the Service.
string service_display_name = 4;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
String |
The sku. |
getSkuBytes()
public ByteString getSkuBytes()Resource name of Billable SKU. Format: billableSkus/{sku}. Example: billableSkus/6E1B-6634-470F".
string sku = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sku. |
getSkuDisplayName()
public String getSkuDisplayName()Unique human readable name for the SKU.
string sku_display_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The skuDisplayName. |
getSkuDisplayNameBytes()
public ByteString getSkuDisplayNameBytes()Unique human readable name for the SKU.
string sku_display_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for skuDisplayName. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BillableSku other)
public BillableSku.Builder mergeFrom(BillableSku other)| Parameter | |
|---|---|
| Name | Description |
other |
BillableSku |
| Returns | |
|---|---|
| Type | Description |
BillableSku.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BillableSku.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BillableSku.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BillableSku.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BillableSku.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BillableSku.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BillableSku.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public BillableSku.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BillableSku.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BillableSku.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BillableSku.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
StringThe service to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for service to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
StringThe serviceDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
StringThe sku to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sku to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
StringThe skuDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for skuDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
BillableSku.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BillableSku.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BillableSku.Builder |
|