Interface SubscriptionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Subscription
,Subscription.Builder
public interface SubscriptionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAutoRenewalEnabled()
Whether auto renewal is enabled by user choice on current subscription.com.google.protobuf.Timestamp
getEndTime()
The timestamp when the subscription ends, if applicable.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
The timestamp when the subscription ends, if applicable.com.google.protobuf.Timestamp
getStartTime()
The timestamp when the subscription begins, if applicable.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
The timestamp when the subscription begins, if applicable.boolean
hasEndTime()
The timestamp when the subscription ends, if applicable.boolean
hasStartTime()
The timestamp when the subscription begins, if applicable.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStartTime
boolean hasStartTime()
The timestamp when the subscription begins, if applicable.
.google.protobuf.Timestamp start_time = 3;
- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()
The timestamp when the subscription begins, if applicable.
.google.protobuf.Timestamp start_time = 3;
- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The timestamp when the subscription begins, if applicable.
.google.protobuf.Timestamp start_time = 3;
-
hasEndTime
boolean hasEndTime()
The timestamp when the subscription ends, if applicable.
.google.protobuf.Timestamp end_time = 1;
- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()
The timestamp when the subscription ends, if applicable.
.google.protobuf.Timestamp end_time = 1;
- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The timestamp when the subscription ends, if applicable.
.google.protobuf.Timestamp end_time = 1;
-
getAutoRenewalEnabled
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:
- The autoRenewalEnabled.
-
-