Class PropertyChatQuota (0.110.0)

public final class PropertyChatQuota extends GeneratedMessage implements PropertyChatQuotaOrBuilder

Property quota for chatbot specific fields.

Protobuf type google.analytics.data.v1alpha.PropertyChatQuota

Static Fields

TOKENS_PER_DAY_FIELD_NUMBER

public static final int TOKENS_PER_DAY_FIELD_NUMBER
Field Value
Type Description
int

TOKENS_PER_HOUR_FIELD_NUMBER

public static final int TOKENS_PER_HOUR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PropertyChatQuota getDefaultInstance()
Returns
Type Description
PropertyChatQuota

getDescriptor()

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

newBuilder()

public static PropertyChatQuota.Builder newBuilder()
Returns
Type Description
PropertyChatQuota.Builder

newBuilder(PropertyChatQuota prototype)

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

parseDelimitedFrom(InputStream input)

public static PropertyChatQuota parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PropertyChatQuota
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static PropertyChatQuota parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PropertyChatQuota
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static PropertyChatQuota parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PropertyChatQuota
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static PropertyChatQuota parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PropertyChatQuota
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static PropertyChatQuota parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PropertyChatQuota
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<PropertyChatQuota> parser()
Returns
Type Description
Parser<PropertyChatQuota>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PropertyChatQuota getDefaultInstanceForType()
Returns
Type Description
PropertyChatQuota

getParserForType()

public Parser<PropertyChatQuota> getParserForType()
Returns
Type Description
Parser<PropertyChatQuota>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTokensPerDay()

public QuotaStatus getTokensPerDay()

Chat tokens consumed per day.

.google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;

Returns
Type Description
QuotaStatus

The tokensPerDay.

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.

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.

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 PropertyChatQuota.Builder newBuilderForType()
Returns
Type Description
PropertyChatQuota.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

public PropertyChatQuota.Builder toBuilder()
Returns
Type Description
PropertyChatQuota.Builder

writeTo(CodedOutputStream output)

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