Class ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder (3.7.2)

public static final class ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder extends GeneratedMessageV3.Builder<ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder> implements ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder

List SKUs for a new entitlement. Make the purchase using CloudChannelService.CreateEntitlement.

Protobuf type google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPurchasableSkusRequest.CreateEntitlementPurchase build()
Returns
TypeDescription
ListPurchasableSkusRequest.CreateEntitlementPurchase

buildPartial()

public ListPurchasableSkusRequest.CreateEntitlementPurchase buildPartial()
Returns
TypeDescription
ListPurchasableSkusRequest.CreateEntitlementPurchase

clear()

public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder clear()
Returns
TypeDescription
ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProduct()

public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder clearProduct()

Required. List SKUs belonging to this Product. Format: products/{product_id}. Supports products/- to retrieve SKUs for all products.

string product = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder

This builder for chaining.

clone()

public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder clone()
Returns
TypeDescription
ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder
Overrides

getDefaultInstanceForType()

public ListPurchasableSkusRequest.CreateEntitlementPurchase getDefaultInstanceForType()
Returns
TypeDescription
ListPurchasableSkusRequest.CreateEntitlementPurchase

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProduct()

public String getProduct()

Required. List SKUs belonging to this Product. Format: products/{product_id}. Supports products/- to retrieve SKUs for all products.

string product = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The product.

getProductBytes()

public ByteString getProductBytes()

Required. List SKUs belonging to this Product. Format: products/{product_id}. Supports products/- to retrieve SKUs for all products.

string product = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for product.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListPurchasableSkusRequest.CreateEntitlementPurchase other)

public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder mergeFrom(ListPurchasableSkusRequest.CreateEntitlementPurchase other)
Parameter
NameDescription
otherListPurchasableSkusRequest.CreateEntitlementPurchase
Returns
TypeDescription
ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProduct(String value)

public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder setProduct(String value)

Required. List SKUs belonging to this Product. Format: products/{product_id}. Supports products/- to retrieve SKUs for all products.

string product = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The product to set.

Returns
TypeDescription
ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder

This builder for chaining.

setProductBytes(ByteString value)

public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder setProductBytes(ByteString value)

Required. List SKUs belonging to this Product. Format: products/{product_id}. Supports products/- to retrieve SKUs for all products.

string product = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for product to set.

Returns
TypeDescription
ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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