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.v1.Sku
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Sku.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
Returns |
---|
Type | Description |
Sku | |
buildPartial()
public Sku buildPartial()
Returns |
---|
Type | Description |
Sku | |
clear()
public Sku.Builder clear()
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)
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)
Overrides
clone()
public Sku.Builder clone()
Overrides
getDefaultInstanceForType()
public Sku getDefaultInstanceForType()
Returns |
---|
Type | Description |
Sku | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
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;
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Sku other)
public Sku.Builder mergeFrom(Sku other)
Parameter |
---|
Name | Description |
other | Sku
|
public Sku.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Sku.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Sku.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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)
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)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Sku.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides