public final class LicenseConfig extends GeneratedMessage implements LicenseConfigOrBuilder
Information about users' licenses.
Protobuf type google.cloud.discoveryengine.v1beta.LicenseConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
AUTO_RENEW_FIELD_NUMBER
public static final int AUTO_RENEW_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EARLY_TERMINATED_FIELD_NUMBER
public static final int EARLY_TERMINATED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EARLY_TERMINATION_DATE_FIELD_NUMBER
public static final int EARLY_TERMINATION_DATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
END_DATE_FIELD_NUMBER
public static final int END_DATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FREE_TRIAL_FIELD_NUMBER
public static final int FREE_TRIAL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
GEMINI_BUNDLE_FIELD_NUMBER
public static final int GEMINI_BUNDLE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LICENSE_COUNT_FIELD_NUMBER
public static final int LICENSE_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
START_DATE_FIELD_NUMBER
public static final int START_DATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SUBSCRIPTION_TERM_FIELD_NUMBER
public static final int SUBSCRIPTION_TERM_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SUBSCRIPTION_TIER_FIELD_NUMBER
public static final int SUBSCRIPTION_TIER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static LicenseConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LicenseConfig.Builder newBuilder()
newBuilder(LicenseConfig prototype)
public static LicenseConfig.Builder newBuilder(LicenseConfig prototype)
public static LicenseConfig parseDelimitedFrom(InputStream input)
public static LicenseConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LicenseConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LicenseConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LicenseConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LicenseConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LicenseConfig parseFrom(CodedInputStream input)
public static LicenseConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LicenseConfig parseFrom(InputStream input)
public static LicenseConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LicenseConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LicenseConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LicenseConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAutoRenew()
public 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.
|
getDefaultInstanceForType()
public LicenseConfig getDefaultInstanceForType()
getEarlyTerminated()
public 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 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 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()
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 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 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 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 long getLicenseCount()
Required. Number of licenses purchased.
int64 license_count = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
long |
The licenseCount.
|
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 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.
|
getParserForType()
public Parser<LicenseConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getStartDate()
public 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 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 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];
getStateValue()
public 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 SubscriptionTerm getSubscriptionTerm()
Required. Subscription term.
.google.cloud.discoveryengine.v1beta.SubscriptionTerm subscription_term = 8 [(.google.api.field_behavior) = REQUIRED];
getSubscriptionTermValue()
public 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 SubscriptionTier getSubscriptionTier()
Required. Subscription tier information for the license config.
.google.cloud.discoveryengine.v1beta.SubscriptionTier subscription_tier = 3 [(.google.api.field_behavior) = REQUIRED];
getSubscriptionTierValue()
public 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 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 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 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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LicenseConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected LicenseConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public LicenseConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides