Interface LicenseConfigOrBuilder (0.90.0)

public interface LicenseConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoRenew()

public abstract boolean getAutoRenew()

Optional. Whether the license config should be auto renewed when it reaches the end date.

bool auto_renew = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The autoRenew.

getEarlyTerminated()

public abstract boolean getEarlyTerminated()

Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.

bool early_terminated = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The earlyTerminated.

getEarlyTerminationDate()

public abstract Date getEarlyTerminationDate()

Output only. The date when the subscription is terminated earlier than the expiration date.

.google.type.Date early_termination_date = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Date

The earlyTerminationDate.

getEarlyTerminationDateOrBuilder()

public abstract DateOrBuilder getEarlyTerminationDateOrBuilder()

Output only. The date when the subscription is terminated earlier than the expiration date.

.google.type.Date early_termination_date = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.DateOrBuilder

getEndDate()

public abstract Date getEndDate()

Optional. The planed end date.

.google.type.Date end_date = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Date

The endDate.

getEndDateOrBuilder()

public abstract DateOrBuilder getEndDateOrBuilder()

Optional. The planed end date.

.google.type.Date end_date = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.DateOrBuilder

getFreeTrial()

public abstract boolean getFreeTrial()

Optional. Whether the license config is for free trial.

bool free_trial = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The freeTrial.

getGeminiBundle()

public abstract boolean getGeminiBundle()

Output only. Whether the license config is for Gemini bundle.

bool gemini_bundle = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The geminiBundle.

getLicenseCount()

public abstract long getLicenseCount()

Required. Number of licenses purchased.

int64 license_count = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The licenseCount.

getName()

public abstract String getName()

Immutable. Identifier. The fully qualified resource name of the license config. Format: projects/{project}/locations/{location}/licenseConfigs/{license_config}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Immutable. Identifier. The fully qualified resource name of the license config. Format: projects/{project}/locations/{location}/licenseConfigs/{license_config}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getStartDate()

public abstract Date getStartDate()

Required. The start date.

.google.type.Date start_date = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.Date

The startDate.

getStartDateOrBuilder()

public abstract DateOrBuilder getStartDateOrBuilder()

Required. The start date.

.google.type.Date start_date = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.DateOrBuilder

getState()

public abstract LicenseConfig.State getState()

Output only. The state of the license config.

.google.cloud.discoveryengine.v1beta.LicenseConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LicenseConfig.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. The state of the license config.

.google.cloud.discoveryengine.v1beta.LicenseConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getSubscriptionTerm()

public abstract SubscriptionTerm getSubscriptionTerm()

Required. Subscription term.

.google.cloud.discoveryengine.v1beta.SubscriptionTerm subscription_term = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubscriptionTerm

The subscriptionTerm.

getSubscriptionTermValue()

public abstract int getSubscriptionTermValue()

Required. Subscription term.

.google.cloud.discoveryengine.v1beta.SubscriptionTerm subscription_term = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for subscriptionTerm.

getSubscriptionTier()

public abstract SubscriptionTier getSubscriptionTier()

Required. Subscription tier information for the license config.

.google.cloud.discoveryengine.v1beta.SubscriptionTier subscription_tier = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubscriptionTier

The subscriptionTier.

getSubscriptionTierValue()

public abstract int getSubscriptionTierValue()

Required. Subscription tier information for the license config.

.google.cloud.discoveryengine.v1beta.SubscriptionTier subscription_tier = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for subscriptionTier.

hasEarlyTerminationDate()

public abstract boolean hasEarlyTerminationDate()

Output only. The date when the subscription is terminated earlier than the expiration date.

.google.type.Date early_termination_date = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the earlyTerminationDate field is set.

hasEndDate()

public abstract boolean hasEndDate()

Optional. The planed end date.

.google.type.Date end_date = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the endDate field is set.

hasStartDate()

public abstract boolean hasStartDate()

Required. The start date.

.google.type.Date start_date = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the startDate field is set.