- 3.59.0 (latest)
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.1
- 3.5.1
- 3.3.1
public static final class ListPurchasableSkusRequest.ChangeOfferPurchase.Builder extends GeneratedMessageV3.Builder<ListPurchasableSkusRequest.ChangeOfferPurchase.Builder> implements ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder
List SKUs for upgrading or downgrading an entitlement. Make the purchase using CloudChannelService.ChangeOffer.
Protobuf type google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListPurchasableSkusRequest.ChangeOfferPurchase.BuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder |
build()
public ListPurchasableSkusRequest.ChangeOfferPurchase build()
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase |
buildPartial()
public ListPurchasableSkusRequest.ChangeOfferPurchase buildPartial()
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase |
clear()
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder clear()
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder |
clearChangeType()
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder clearChangeType()
Required. Change Type for the entitlement.
.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder | This builder for chaining. |
clearEntitlement()
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder clearEntitlement()
Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder |
clone()
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder clone()
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder |
getChangeType()
public ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType getChangeType()
Required. Change Type for the entitlement.
.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType | The changeType. |
getChangeTypeValue()
public int getChangeTypeValue()
Required. Change Type for the entitlement.
.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The enum numeric value on the wire for changeType. |
getDefaultInstanceForType()
public ListPurchasableSkusRequest.ChangeOfferPurchase getDefaultInstanceForType()
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEntitlement()
public String getEntitlement()
Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The entitlement. |
getEntitlementBytes()
public ByteString getEntitlementBytes()
Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for entitlement. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ListPurchasableSkusRequest.ChangeOfferPurchase other)
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder mergeFrom(ListPurchasableSkusRequest.ChangeOfferPurchase other)
Name | Description |
other | ListPurchasableSkusRequest.ChangeOfferPurchase |
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableSkusRequest.ChangeOfferPurchase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder |
setChangeType(ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType value)
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder setChangeType(ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType value)
Required. Change Type for the entitlement.
.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType The changeType to set. |
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder | This builder for chaining. |
setChangeTypeValue(int value)
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder setChangeTypeValue(int value)
Required. Change Type for the entitlement.
.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for changeType to set. |
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder | This builder for chaining. |
setEntitlement(String value)
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder setEntitlement(String value)
Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The entitlement to set. |
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder | This builder for chaining. |
setEntitlementBytes(ByteString value)
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder setEntitlementBytes(ByteString value)
Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for entitlement to set. |
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableSkusRequest.ChangeOfferPurchase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder |