- 0.81.0 (latest)
- 0.80.0
- 0.79.0
- 0.78.0
- 0.76.0
- 0.74.0
- 0.73.0
- 0.72.0
- 0.71.0
- 0.70.0
- 0.68.0
- 0.66.0
- 0.65.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.5
public static final class LineItemInfo.Builder extends GeneratedMessage.Builder<LineItemInfo.Builder> implements LineItemInfoOrBuilderLine item information.
Protobuf type google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LineItemInfo.BuilderImplements
LineItemInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllParameters(Iterable<? extends Parameter> values)
public LineItemInfo.Builder addAllParameters(Iterable<? extends Parameter> values)Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.commerce.consumer.procurement.v1alpha1.Parameter> |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
addParameters(Parameter value)
public LineItemInfo.Builder addParameters(Parameter value)Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Parameter |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
addParameters(Parameter.Builder builderForValue)
public LineItemInfo.Builder addParameters(Parameter.Builder builderForValue)Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Parameter.Builder |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
addParameters(int index, Parameter value)
public LineItemInfo.Builder addParameters(int index, Parameter value)Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Parameter |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
addParameters(int index, Parameter.Builder builderForValue)
public LineItemInfo.Builder addParameters(int index, Parameter.Builder builderForValue)Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Parameter.Builder |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
addParametersBuilder()
public Parameter.Builder addParametersBuilder()Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
addParametersBuilder(int index)
public Parameter.Builder addParametersBuilder(int index)Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
build()
public LineItemInfo build()| Returns | |
|---|---|
| Type | Description |
LineItemInfo |
|
buildPartial()
public LineItemInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
LineItemInfo |
|
clear()
public LineItemInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
clearOffer()
public LineItemInfo.Builder clearOffer()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 | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
This builder for chaining. |
clearParameters()
public LineItemInfo.Builder clearParameters()Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
clearSubscription()
public LineItemInfo.Builder clearSubscription()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 | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
getDefaultInstanceForType()
public LineItemInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LineItemInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getOffer()
public 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 | |
|---|---|
| Type | Description |
String |
The offer. |
getOfferBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for offer. |
getParameters(int index)
public Parameter getParameters(int index)Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Parameter |
|
getParametersBuilder(int index)
public Parameter.Builder getParametersBuilder(int index)Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
getParametersBuilderList()
public List<Parameter.Builder> getParametersBuilderList()Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getParametersCount()
public int getParametersCount()Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getParametersList()
public List<Parameter> getParametersList()Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Parameter> |
|
getParametersOrBuilder(int index)
public ParameterOrBuilder getParametersOrBuilder(int index)Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ParameterOrBuilder |
|
getParametersOrBuilderList()
public List<? extends ParameterOrBuilder> getParametersOrBuilderList()Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.commerce.consumer.procurement.v1alpha1.ParameterOrBuilder> |
|
getSubscription()
public 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 | |
|---|---|
| Type | Description |
Subscription |
The subscription. |
getSubscriptionBuilder()
public Subscription.Builder getSubscriptionBuilder()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 | |
|---|---|
| Type | Description |
Subscription.Builder |
|
getSubscriptionOrBuilder()
public 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 | |
|---|---|
| Type | Description |
SubscriptionOrBuilder |
|
hasSubscription()
public 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 | |
|---|---|
| Type | Description |
boolean |
Whether the subscription field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LineItemInfo other)
public LineItemInfo.Builder mergeFrom(LineItemInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
LineItemInfo |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LineItemInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LineItemInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
mergeSubscription(Subscription value)
public LineItemInfo.Builder mergeSubscription(Subscription value)Output only. Information about the subscription created, if applicable.
.google.cloud.commerce.consumer.procurement.v1alpha1.Subscription subscription = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Subscription |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
removeParameters(int index)
public LineItemInfo.Builder removeParameters(int index)Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
setOffer(String value)
public LineItemInfo.Builder setOffer(String value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe offer to set. |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
This builder for chaining. |
setOfferBytes(ByteString value)
public LineItemInfo.Builder setOfferBytes(ByteString value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for offer to set. |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
This builder for chaining. |
setParameters(int index, Parameter value)
public LineItemInfo.Builder setParameters(int index, Parameter value)Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Parameter |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
setParameters(int index, Parameter.Builder builderForValue)
public LineItemInfo.Builder setParameters(int index, Parameter.Builder builderForValue)Optional. User-provided parameters.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Parameter.Builder |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
setSubscription(Subscription value)
public LineItemInfo.Builder setSubscription(Subscription value)Output only. Information about the subscription created, if applicable.
.google.cloud.commerce.consumer.procurement.v1alpha1.Subscription subscription = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Subscription |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|
setSubscription(Subscription.Builder builderForValue)
public LineItemInfo.Builder setSubscription(Subscription.Builder builderForValue)Output only. Information about the subscription created, if applicable.
.google.cloud.commerce.consumer.procurement.v1alpha1.Subscription subscription = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Subscription.Builder |
| Returns | |
|---|---|
| Type | Description |
LineItemInfo.Builder |
|