public static final class PropertyChatQuota.Builder extends GeneratedMessage.Builder<PropertyChatQuota.Builder> implements PropertyChatQuotaOrBuilderProperty quota for chatbot specific fields.
Protobuf type google.analytics.data.v1alpha.PropertyChatQuota
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PropertyChatQuota.BuilderImplements
PropertyChatQuotaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PropertyChatQuota build()| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota |
|
buildPartial()
public PropertyChatQuota buildPartial()| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota |
|
clear()
public PropertyChatQuota.Builder clear()| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota.Builder |
|
clearTokensPerDay()
public PropertyChatQuota.Builder clearTokensPerDay()Chat tokens consumed per day.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;
| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota.Builder |
|
clearTokensPerHour()
public PropertyChatQuota.Builder clearTokensPerHour()Chat tokens consumed per hour.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2;
| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota.Builder |
|
getDefaultInstanceForType()
public PropertyChatQuota getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTokensPerDay()
public QuotaStatus getTokensPerDay()Chat tokens consumed per day.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;
| Returns | |
|---|---|
| Type | Description |
QuotaStatus |
The tokensPerDay. |
getTokensPerDayBuilder()
public QuotaStatus.Builder getTokensPerDayBuilder()Chat tokens consumed per day.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;
| Returns | |
|---|---|
| Type | Description |
QuotaStatus.Builder |
|
getTokensPerDayOrBuilder()
public QuotaStatusOrBuilder getTokensPerDayOrBuilder()Chat tokens consumed per day.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;
| Returns | |
|---|---|
| Type | Description |
QuotaStatusOrBuilder |
|
getTokensPerHour()
public QuotaStatus getTokensPerHour()Chat tokens consumed per hour.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2;
| Returns | |
|---|---|
| Type | Description |
QuotaStatus |
The tokensPerHour. |
getTokensPerHourBuilder()
public QuotaStatus.Builder getTokensPerHourBuilder()Chat tokens consumed per hour.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2;
| Returns | |
|---|---|
| Type | Description |
QuotaStatus.Builder |
|
getTokensPerHourOrBuilder()
public QuotaStatusOrBuilder getTokensPerHourOrBuilder()Chat tokens consumed per hour.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2;
| Returns | |
|---|---|
| Type | Description |
QuotaStatusOrBuilder |
|
hasTokensPerDay()
public boolean hasTokensPerDay()Chat tokens consumed per day.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tokensPerDay field is set. |
hasTokensPerHour()
public boolean hasTokensPerHour()Chat tokens consumed per hour.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tokensPerHour field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PropertyChatQuota other)
public PropertyChatQuota.Builder mergeFrom(PropertyChatQuota other)| Parameter | |
|---|---|
| Name | Description |
other |
PropertyChatQuota |
| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PropertyChatQuota.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PropertyChatQuota.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota.Builder |
|
mergeTokensPerDay(QuotaStatus value)
public PropertyChatQuota.Builder mergeTokensPerDay(QuotaStatus value)Chat tokens consumed per day.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
QuotaStatus |
| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota.Builder |
|
mergeTokensPerHour(QuotaStatus value)
public PropertyChatQuota.Builder mergeTokensPerHour(QuotaStatus value)Chat tokens consumed per hour.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
QuotaStatus |
| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota.Builder |
|
setTokensPerDay(QuotaStatus value)
public PropertyChatQuota.Builder setTokensPerDay(QuotaStatus value)Chat tokens consumed per day.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
QuotaStatus |
| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota.Builder |
|
setTokensPerDay(QuotaStatus.Builder builderForValue)
public PropertyChatQuota.Builder setTokensPerDay(QuotaStatus.Builder builderForValue)Chat tokens consumed per day.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
QuotaStatus.Builder |
| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota.Builder |
|
setTokensPerHour(QuotaStatus value)
public PropertyChatQuota.Builder setTokensPerHour(QuotaStatus value)Chat tokens consumed per hour.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
QuotaStatus |
| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota.Builder |
|
setTokensPerHour(QuotaStatus.Builder builderForValue)
public PropertyChatQuota.Builder setTokensPerHour(QuotaStatus.Builder builderForValue)Chat tokens consumed per hour.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
QuotaStatus.Builder |
| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota.Builder |
|