Class Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus (0.90.0)

public static final class Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus extends GeneratedMessage implements Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatusOrBuilder

Per-model Agent Search TPM subscription status. One entry per active core_subscription.agent_search_token_subscriptions[*] entry in the customer-provided config; populated by UpdateProject and GetProject.

The lifecycle scalars on this message (start_time, terminate_time, update_type, tpm_threshold_next_update_time) are per (project, model_version) — siblings of the whole-relationship start_time / terminate_time / update_type on the enclosing ConfigurableBillingStatus, but scoped to this specific Agent Search TPM subscription instead of to the overall customer-configurable- pricing relationship. This per-instance granularity is intentional: the underlying SubV3 storage is per-(project, model_version), so each model has its own activation, termination, and deferred-update clock; surfacing that on the response gives customers the granularity they need to manage per-model commitments independently. QPM / IndexingCore differ — their storage is one row per (project, location), so their lifecycle is represented only by the whole- relationship scalars on ConfigurableBillingStatus.

Protobuf type google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus

Static Fields

EFFECTIVE_TPM_THRESHOLD_FIELD_NUMBER

public static final int EFFECTIVE_TPM_THRESHOLD_FIELD_NUMBER
Field Value
Type Description
int

MODEL_VERSION_FIELD_NUMBER

public static final int MODEL_VERSION_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

TERMINATE_TIME_FIELD_NUMBER

public static final int TERMINATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

TPM_THRESHOLD_NEXT_UPDATE_TIME_FIELD_NUMBER

public static final int TPM_THRESHOLD_NEXT_UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TYPE_FIELD_NUMBER

public static final int UPDATE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus getDefaultInstance()
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus.Builder newBuilder()
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus.Builder

newBuilder(Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus prototype)

public static Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus.Builder newBuilder(Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus prototype)
Parameter
Name Description
prototype Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus.Builder

parseDelimitedFrom(InputStream input)

public static Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus> parser()
Returns
Type Description
Parser<AgentSearchTokenSubscriptionStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus getDefaultInstanceForType()
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus

getEffectiveTpmThreshold()

public long getEffectiveTpmThreshold()

Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale-down at the next billing cycle, matching effective_search_qpm_threshold semantics.

int64 effective_tpm_threshold = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The effectiveTpmThreshold.

getModelVersion()

public String getModelVersion()

Output only. The Gemini model version this status corresponds to. Matches CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from the Gemini Enterprise Agent Platform model-versions registry; see https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini-models).

string model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The modelVersion.

getModelVersionBytes()

public ByteString getModelVersionBytes()

Output only. The Gemini model version this status corresponds to. Matches CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from the Gemini Enterprise Agent Platform model-versions registry; see https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini-models).

string model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for modelVersion.

getParserForType()

public Parser<Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus> getParserForType()
Returns
Type Description
Parser<AgentSearchTokenSubscriptionStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Output only. When this (project, model_version) Agent Search TPM subscription was first activated. Set once on first activation of this model version and never moved by subsequent threshold updates; on termination + re-activation a new value is recorded. Does NOT move the whole-relationship start_time on the enclosing ConfigurableBillingStatus, which continues to represent the first activation of the overall customer-configurable-pricing relationship.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. When this (project, model_version) Agent Search TPM subscription was first activated. Set once on first activation of this model version and never moved by subsequent threshold updates; on termination + re-activation a new value is recorded. Does NOT move the whole-relationship start_time on the enclosing ConfigurableBillingStatus, which continues to represent the first activation of the overall customer-configurable-pricing relationship.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getTerminateTime()

public Timestamp getTerminateTime()

Output only. If set, the scheduled effective time at which this (project, model_version) Agent Search TPM subscription will terminate. Populated when the customer removes this entry from core_subscription.agent_search_token_subscriptions[*]. Does NOT move the whole-relationship terminate_time on the enclosing ConfigurableBillingStatus, which is populated only when the entire customer-configurable-pricing relationship is being torn down.

.google.protobuf.Timestamp terminate_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The terminateTime.

getTerminateTimeOrBuilder()

public TimestampOrBuilder getTerminateTimeOrBuilder()

Output only. If set, the scheduled effective time at which this (project, model_version) Agent Search TPM subscription will terminate. Populated when the customer removes this entry from core_subscription.agent_search_token_subscriptions[*]. Does NOT move the whole-relationship terminate_time on the enclosing ConfigurableBillingStatus, which is populated only when the entire customer-configurable-pricing relationship is being torn down.

.google.protobuf.Timestamp terminate_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getTpmThresholdNextUpdateTime()

public Timestamp getTpmThresholdNextUpdateTime()

Output only. The earliest next update time for the TPM subscription threshold for this (project, model_version). Populated only after a successful update.

.google.protobuf.Timestamp tpm_threshold_next_update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The tpmThresholdNextUpdateTime.

getTpmThresholdNextUpdateTimeOrBuilder()

public TimestampOrBuilder getTpmThresholdNextUpdateTimeOrBuilder()

Output only. The earliest next update time for the TPM subscription threshold for this (project, model_version). Populated only after a successful update.

.google.protobuf.Timestamp tpm_threshold_next_update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getUpdateType()

public Project.ConfigurableBillingStatus.UpdateType getUpdateType()

Output only. The type of the most recent update to this (project, model_version) subscription, as performed by the most recent UpdateProject call. UPDATE_TYPE_UNSPECIFIED indicates this model_version was not touched by the most recent UpdateProject (its effective_tpm_threshold reflects an earlier update). The whole-relationship update_type on the enclosing ConfigurableBillingStatus continues to summarize the direction of the most recent update across all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together).

.google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus.UpdateType update_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Project.ConfigurableBillingStatus.UpdateType

The updateType.

getUpdateTypeValue()

public int getUpdateTypeValue()

Output only. The type of the most recent update to this (project, model_version) subscription, as performed by the most recent UpdateProject call. UPDATE_TYPE_UNSPECIFIED indicates this model_version was not touched by the most recent UpdateProject (its effective_tpm_threshold reflects an earlier update). The whole-relationship update_type on the enclosing ConfigurableBillingStatus continues to summarize the direction of the most recent update across all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together).

.google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus.UpdateType update_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for updateType.

hasStartTime()

public boolean hasStartTime()

Output only. When this (project, model_version) Agent Search TPM subscription was first activated. Set once on first activation of this model version and never moved by subsequent threshold updates; on termination + re-activation a new value is recorded. Does NOT move the whole-relationship start_time on the enclosing ConfigurableBillingStatus, which continues to represent the first activation of the overall customer-configurable-pricing relationship.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

hasTerminateTime()

public boolean hasTerminateTime()

Output only. If set, the scheduled effective time at which this (project, model_version) Agent Search TPM subscription will terminate. Populated when the customer removes this entry from core_subscription.agent_search_token_subscriptions[*]. Does NOT move the whole-relationship terminate_time on the enclosing ConfigurableBillingStatus, which is populated only when the entire customer-configurable-pricing relationship is being torn down.

.google.protobuf.Timestamp terminate_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the terminateTime field is set.

hasTpmThresholdNextUpdateTime()

public boolean hasTpmThresholdNextUpdateTime()

Output only. The earliest next update time for the TPM subscription threshold for this (project, model_version). Populated only after a successful update.

.google.protobuf.Timestamp tpm_threshold_next_update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the tpmThresholdNextUpdateTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus.Builder newBuilderForType()
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus.Builder
Overrides

toBuilder()

public Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus.Builder toBuilder()
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException