- 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 Subscription.Builder extends GeneratedMessage.Builder<Subscription.Builder> implements SubscriptionOrBuilderSubscription information.
Protobuf type google.cloud.commerce.consumer.procurement.v1alpha1.Subscription
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Subscription.BuilderImplements
SubscriptionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Subscription build()| Returns | |
|---|---|
| Type | Description |
Subscription |
|
buildPartial()
public Subscription buildPartial()| Returns | |
|---|---|
| Type | Description |
Subscription |
|
clear()
public Subscription.Builder clear()| Returns | |
|---|---|
| Type | Description |
Subscription.Builder |
|
clearAutoRenewalEnabled()
public Subscription.Builder clearAutoRenewalEnabled()Whether auto renewal is enabled by user choice on current subscription. This field indicates order/subscription status after pending plan change is cancelled or rejected.
bool auto_renewal_enabled = 2;
| Returns | |
|---|---|
| Type | Description |
Subscription.Builder |
This builder for chaining. |
clearEndTime()
public Subscription.Builder clearEndTime()The timestamp when the subscription ends, if applicable.
.google.protobuf.Timestamp end_time = 1;
| Returns | |
|---|---|
| Type | Description |
Subscription.Builder |
|
clearStartTime()
public Subscription.Builder clearStartTime()The timestamp when the subscription begins, if applicable.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
Subscription.Builder |
|
getAutoRenewalEnabled()
public boolean getAutoRenewalEnabled()Whether auto renewal is enabled by user choice on current subscription. This field indicates order/subscription status after pending plan change is cancelled or rejected.
bool auto_renewal_enabled = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The autoRenewalEnabled. |
getDefaultInstanceForType()
public Subscription getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Subscription |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndTime()
public Timestamp getEndTime()The timestamp when the subscription ends, if applicable.
.google.protobuf.Timestamp end_time = 1;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()The timestamp when the subscription ends, if applicable.
.google.protobuf.Timestamp end_time = 1;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()The timestamp when the subscription ends, if applicable.
.google.protobuf.Timestamp end_time = 1;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getStartTime()
public Timestamp getStartTime()The timestamp when the subscription begins, if applicable.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()The timestamp when the subscription begins, if applicable.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()The timestamp when the subscription begins, if applicable.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasEndTime()
public boolean hasEndTime()The timestamp when the subscription ends, if applicable.
.google.protobuf.Timestamp end_time = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endTime field is set. |
hasStartTime()
public boolean hasStartTime()The timestamp when the subscription begins, if applicable.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEndTime(Timestamp value)
public Subscription.Builder mergeEndTime(Timestamp value)The timestamp when the subscription ends, if applicable.
.google.protobuf.Timestamp end_time = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Subscription.Builder |
|
mergeFrom(Subscription other)
public Subscription.Builder mergeFrom(Subscription other)| Parameter | |
|---|---|
| Name | Description |
other |
Subscription |
| Returns | |
|---|---|
| Type | Description |
Subscription.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Subscription.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Subscription.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Subscription.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Subscription.Builder |
|
mergeStartTime(Timestamp value)
public Subscription.Builder mergeStartTime(Timestamp value)The timestamp when the subscription begins, if applicable.
.google.protobuf.Timestamp start_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Subscription.Builder |
|
setAutoRenewalEnabled(boolean value)
public Subscription.Builder setAutoRenewalEnabled(boolean value)Whether auto renewal is enabled by user choice on current subscription. This field indicates order/subscription status after pending plan change is cancelled or rejected.
bool auto_renewal_enabled = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe autoRenewalEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
Subscription.Builder |
This builder for chaining. |
setEndTime(Timestamp value)
public Subscription.Builder setEndTime(Timestamp value)The timestamp when the subscription ends, if applicable.
.google.protobuf.Timestamp end_time = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Subscription.Builder |
|
setEndTime(Timestamp.Builder builderForValue)
public Subscription.Builder setEndTime(Timestamp.Builder builderForValue)The timestamp when the subscription ends, if applicable.
.google.protobuf.Timestamp end_time = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Subscription.Builder |
|
setStartTime(Timestamp value)
public Subscription.Builder setStartTime(Timestamp value)The timestamp when the subscription begins, if applicable.
.google.protobuf.Timestamp start_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Subscription.Builder |
|
setStartTime(Timestamp.Builder builderForValue)
public Subscription.Builder setStartTime(Timestamp.Builder builderForValue)The timestamp when the subscription begins, if applicable.
.google.protobuf.Timestamp start_time = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Subscription.Builder |
|