public static final class ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder extends GeneratedMessageV3.Builder<ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder> implements ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder
List Offers for CreateEntitlement purchase.
Protobuf type
google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListPurchasableOffersRequest.CreateEntitlementPurchase build()
Returns
buildPartial()
public ListPurchasableOffersRequest.CreateEntitlementPurchase buildPartial()
Returns
clear()
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSku()
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder clearSku()
Required. SKU that the result should be restricted to.
Format: products/{product_id}/skus/{sku_id}.
string sku = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListPurchasableOffersRequest.CreateEntitlementPurchase getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSku()
Required. SKU that the result should be restricted to.
Format: products/{product_id}/skus/{sku_id}.
string sku = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getSkuBytes()
public ByteString getSkuBytes()
Required. SKU that the result should be restricted to.
Format: products/{product_id}/skus/{sku_id}.
string sku = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListPurchasableOffersRequest.CreateEntitlementPurchase other)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder mergeFrom(ListPurchasableOffersRequest.CreateEntitlementPurchase other)
Parameter
Returns
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSku(String value)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder setSku(String value)
Required. SKU that the result should be restricted to.
Format: products/{product_id}/skus/{sku_id}.
string sku = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The sku to set.
|
Returns
setSkuBytes(ByteString value)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder setSkuBytes(ByteString value)
Required. SKU that the result should be restricted to.
Format: products/{product_id}/skus/{sku_id}.
string sku = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for sku to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides