public final class Sku extends GeneratedMessageV3 implements SkuOrBuilder
Represents the SKU a partner owns inside Google Cloud to sell to customers.
Protobuf type google.cloud.cloudcontrolspartner.v1.Sku
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Sku getDefaultInstance()
Returns |
Type |
Description |
Sku |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Sku.Builder newBuilder()
newBuilder(Sku prototype)
public static Sku.Builder newBuilder(Sku prototype)
Parameter |
Name |
Description |
prototype |
Sku
|
public static Sku parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Sku |
|
public static Sku parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Sku |
|
parseFrom(byte[] data)
public static Sku parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Sku |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Sku parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Sku |
|
parseFrom(ByteString data)
public static Sku parseFrom(ByteString data)
Returns |
Type |
Description |
Sku |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Sku parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Sku |
|
public static Sku parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Sku |
|
public static Sku parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Sku |
|
public static Sku parseFrom(InputStream input)
Returns |
Type |
Description |
Sku |
|
public static Sku parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Sku |
|
parseFrom(ByteBuffer data)
public static Sku parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Sku |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Sku parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Sku |
|
parser()
public static Parser<Sku> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Sku getDefaultInstanceForType()
Returns |
Type |
Description |
Sku |
|
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()
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.
|
getParserForType()
public Parser<Sku> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Sku.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Sku.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Sku.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides