Class BillableSku (3.50.0)

public final class BillableSku extends GeneratedMessageV3 implements BillableSkuOrBuilder

Represents the Billable SKU information.

Protobuf type google.cloud.channel.v1.BillableSku

Static Fields

SERVICE_DISPLAY_NAME_FIELD_NUMBER

public static final int SERVICE_DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
Type Description
int

SKU_DISPLAY_NAME_FIELD_NUMBER

public static final int SKU_DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

SKU_FIELD_NUMBER

public static final int SKU_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BillableSku getDefaultInstance()
Returns
Type Description
BillableSku

getDescriptor()

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

newBuilder()

public static BillableSku.Builder newBuilder()
Returns
Type Description
BillableSku.Builder

newBuilder(BillableSku prototype)

public static BillableSku.Builder newBuilder(BillableSku prototype)
Parameter
Name Description
prototype BillableSku
Returns
Type Description
BillableSku.Builder

parseDelimitedFrom(InputStream input)

public static BillableSku parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BillableSku
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BillableSku parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BillableSku
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BillableSku parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BillableSku
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BillableSku parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BillableSku
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BillableSku parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BillableSku
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BillableSku parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BillableSku
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BillableSku parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BillableSku
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BillableSku parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BillableSku
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BillableSku parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BillableSku
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BillableSku parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BillableSku
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BillableSku parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BillableSku
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BillableSku parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BillableSku
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BillableSku> parser()
Returns
Type Description
Parser<BillableSku>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BillableSku getDefaultInstanceForType()
Returns
Type Description
BillableSku

getParserForType()

public Parser<BillableSku> getParserForType()
Returns
Type Description
Parser<BillableSku>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BillableSku.Builder newBuilderForType()
Returns
Type Description
BillableSku.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BillableSku.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BillableSku.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BillableSku.Builder toBuilder()
Returns
Type Description
BillableSku.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException