Class Project.ConfigurableBillingStatus (0.90.0)

public static final class Project.ConfigurableBillingStatus extends GeneratedMessage implements Project.ConfigurableBillingStatusOrBuilder

Represents the currently effective configurable billing parameters. These values are derived from the customer's subscription history stored internally and reflect the thresholds actively being used for billing purposes at the time of the GetProject call. This includes the start_time of the subscription and may differ from the values in customer_provided_config due to billing rules (e.g., scale-downs taking effect only at the start of a new month). We also include the update type to indicate the type of update performed on the configurable billing configuration in the UpdateProject operation.

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

Inheritance

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

Static Fields

AGENT_SEARCH_TOKEN_SUBSCRIPTION_STATUSES_FIELD_NUMBER

public static final int AGENT_SEARCH_TOKEN_SUBSCRIPTION_STATUSES_FIELD_NUMBER
Field Value
Type Description
int

EFFECTIVE_INDEXING_CORE_THRESHOLD_FIELD_NUMBER

public static final int EFFECTIVE_INDEXING_CORE_THRESHOLD_FIELD_NUMBER
Field Value
Type Description
int

EFFECTIVE_SEARCH_QPM_THRESHOLD_FIELD_NUMBER

public static final int EFFECTIVE_SEARCH_QPM_THRESHOLD_FIELD_NUMBER
Field Value
Type Description
int

INDEXING_CORE_THRESHOLD_NEXT_UPDATE_TIME_FIELD_NUMBER

public static final int INDEXING_CORE_THRESHOLD_NEXT_UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

SEARCH_QPM_THRESHOLD_NEXT_UPDATE_TIME_FIELD_NUMBER

public static final int SEARCH_QPM_THRESHOLD_NEXT_UPDATE_TIME_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

UPDATE_TYPE_FIELD_NUMBER

public static final int UPDATE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(Project.ConfigurableBillingStatus prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAgentSearchTokenSubscriptionStatuses(int index)

public Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus getAgentSearchTokenSubscriptionStatuses(int index)

Output only. Per-model Agent Search TPM subscription status.

repeated .google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus agent_search_token_subscription_statuses = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus

getAgentSearchTokenSubscriptionStatusesCount()

public int getAgentSearchTokenSubscriptionStatusesCount()

Output only. Per-model Agent Search TPM subscription status.

repeated .google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus agent_search_token_subscription_statuses = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getAgentSearchTokenSubscriptionStatusesList()

public List<Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus> getAgentSearchTokenSubscriptionStatusesList()

Output only. Per-model Agent Search TPM subscription status.

repeated .google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus agent_search_token_subscription_statuses = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<AgentSearchTokenSubscriptionStatus>

getAgentSearchTokenSubscriptionStatusesOrBuilder(int index)

public Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatusOrBuilder getAgentSearchTokenSubscriptionStatusesOrBuilder(int index)

Output only. Per-model Agent Search TPM subscription status.

repeated .google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus agent_search_token_subscription_statuses = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatusOrBuilder

getAgentSearchTokenSubscriptionStatusesOrBuilderList()

public List<? extends Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatusOrBuilder> getAgentSearchTokenSubscriptionStatusesOrBuilderList()

Output only. Per-model Agent Search TPM subscription status.

repeated .google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatus agent_search_token_subscription_statuses = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus.AgentSearchTokenSubscriptionStatusOrBuilder>

getDefaultInstanceForType()

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

getEffectiveIndexingCoreThreshold()

public long getEffectiveIndexingCoreThreshold()

Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations.

int64 effective_indexing_core_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The effectiveIndexingCoreThreshold.

getEffectiveSearchQpmThreshold()

public long getEffectiveSearchQpmThreshold()

Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.

int64 effective_search_qpm_threshold = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The effectiveSearchQpmThreshold.

getIndexingCoreThresholdNextUpdateTime()

public Timestamp getIndexingCoreThresholdNextUpdateTime()

Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded.

.google.protobuf.Timestamp indexing_core_threshold_next_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The indexingCoreThresholdNextUpdateTime.

getIndexingCoreThresholdNextUpdateTimeOrBuilder()

public TimestampOrBuilder getIndexingCoreThresholdNextUpdateTimeOrBuilder()

Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded.

.google.protobuf.Timestamp indexing_core_threshold_next_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getParserForType()

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

getSearchQpmThresholdNextUpdateTime()

public Timestamp getSearchQpmThresholdNextUpdateTime()

Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded.

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

Returns
Type Description
Timestamp

The searchQpmThresholdNextUpdateTime.

getSearchQpmThresholdNextUpdateTimeOrBuilder()

public TimestampOrBuilder getSearchQpmThresholdNextUpdateTimeOrBuilder()

Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded.

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

Returns
Type Description
TimestampOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Optional. The start time of the currently active billing subscription.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Optional. The start time of the currently active billing subscription.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getTerminateTime()

public Timestamp getTerminateTime()

Output only. The latest terminate effective time of search qpm and indexing core subscriptions.

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

Returns
Type Description
Timestamp

The terminateTime.

getTerminateTimeOrBuilder()

public TimestampOrBuilder getTerminateTimeOrBuilder()

Output only. The latest terminate effective time of search qpm and indexing core subscriptions.

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

Returns
Type Description
TimestampOrBuilder

getUpdateType()

public Project.ConfigurableBillingStatus.UpdateType getUpdateType()

Output only. The type of update performed in this operation. This field is populated in the response of UpdateProject.

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

Returns
Type Description
Project.ConfigurableBillingStatus.UpdateType

The updateType.

getUpdateTypeValue()

public int getUpdateTypeValue()

Output only. The type of update performed in this operation. This field is populated in the response of UpdateProject.

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

Returns
Type Description
int

The enum numeric value on the wire for updateType.

hasIndexingCoreThresholdNextUpdateTime()

public boolean hasIndexingCoreThresholdNextUpdateTime()

Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded.

.google.protobuf.Timestamp indexing_core_threshold_next_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the indexingCoreThresholdNextUpdateTime field is set.

hasSearchQpmThresholdNextUpdateTime()

public boolean hasSearchQpmThresholdNextUpdateTime()

Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded.

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

Returns
Type Description
boolean

Whether the searchQpmThresholdNextUpdateTime field is set.

hasStartTime()

public boolean hasStartTime()

Optional. The start time of the currently active billing subscription.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the startTime field is set.

hasTerminateTime()

public boolean hasTerminateTime()

Output only. The latest terminate effective time of search qpm and indexing core subscriptions.

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

Returns
Type Description
boolean

Whether the terminateTime 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.Builder newBuilderForType()
Returns
Type Description
Project.ConfigurableBillingStatus.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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