Interface LineItemInfoOrBuilder (0.25.0)

public interface LineItemInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOffer()

public abstract String getOffer()

Optional. The name of the offer can have either of these formats: 'billingAccounts/{billing_account}/offers/{offer}', or 'services/{service}/standardOffers/{offer}'.

string offer = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The offer.

getOfferBytes()

public abstract ByteString getOfferBytes()

Optional. The name of the offer can have either of these formats: 'billingAccounts/{billing_account}/offers/{offer}', or 'services/{service}/standardOffers/{offer}'.

string offer = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for offer.

getParameters(int index)

public abstract Parameter getParameters(int index)

Optional. User-provided parameters.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
Parameter

getParametersCount()

public abstract int getParametersCount()

Optional. User-provided parameters.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getParametersList()

public abstract List<Parameter> getParametersList()

Optional. User-provided parameters.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<Parameter>

getParametersOrBuilder(int index)

public abstract ParameterOrBuilder getParametersOrBuilder(int index)

Optional. User-provided parameters.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
ParameterOrBuilder

getParametersOrBuilderList()

public abstract List<? extends ParameterOrBuilder> getParametersOrBuilderList()

Optional. User-provided parameters.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.commerce.consumer.procurement.v1alpha1.ParameterOrBuilder>

getSubscription()

public abstract Subscription getSubscription()

Output only. Information about the subscription created, if applicable.

.google.cloud.commerce.consumer.procurement.v1alpha1.Subscription subscription = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Subscription

The subscription.

getSubscriptionOrBuilder()

public abstract SubscriptionOrBuilder getSubscriptionOrBuilder()

Output only. Information about the subscription created, if applicable.

.google.cloud.commerce.consumer.procurement.v1alpha1.Subscription subscription = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
SubscriptionOrBuilder

hasSubscription()

public abstract boolean hasSubscription()

Output only. Information about the subscription created, if applicable.

.google.cloud.commerce.consumer.procurement.v1alpha1.Subscription subscription = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the subscription field is set.