public final class QuotaGroup extends GeneratedMessageV3 implements QuotaGroupOrBuilder
The group information for methods in the Merchant API. The quota is shared
between all methods in the group. Even if none of the methods within the
group have usage the information for the group is returned.
Protobuf type google.shopping.merchant.quota.v1beta.QuotaGroup
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int METHOD_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int QUOTA_LIMIT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int QUOTA_MINUTE_LIMIT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int QUOTA_USAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static QuotaGroup getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static QuotaGroup.Builder newBuilder()
public static QuotaGroup.Builder newBuilder(QuotaGroup prototype)
public static QuotaGroup parseDelimitedFrom(InputStream input)
public static QuotaGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QuotaGroup parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static QuotaGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QuotaGroup parseFrom(ByteString data)
public static QuotaGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QuotaGroup parseFrom(CodedInputStream input)
public static QuotaGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static QuotaGroup parseFrom(InputStream input)
public static QuotaGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QuotaGroup parseFrom(ByteBuffer data)
public static QuotaGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<QuotaGroup> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public QuotaGroup getDefaultInstanceForType()
public MethodDetails getMethodDetails(int index)
Output only. List of all methods group quota applies to.
repeated .google.shopping.merchant.quota.v1beta.MethodDetails method_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
public int getMethodDetailsCount()
Output only. List of all methods group quota applies to.
repeated .google.shopping.merchant.quota.v1beta.MethodDetails method_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | |
public List<MethodDetails> getMethodDetailsList()
Output only. List of all methods group quota applies to.
repeated .google.shopping.merchant.quota.v1beta.MethodDetails method_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MethodDetailsOrBuilder getMethodDetailsOrBuilder(int index)
Output only. List of all methods group quota applies to.
repeated .google.shopping.merchant.quota.v1beta.MethodDetails method_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
public List<? extends MethodDetailsOrBuilder> getMethodDetailsOrBuilderList()
Output only. List of all methods group quota applies to.
repeated .google.shopping.merchant.quota.v1beta.MethodDetails method_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
List<? extends com.google.shopping.merchant.quota.v1beta.MethodDetailsOrBuilder> | |
Identifier. The resource name of the quota group.
Format: accounts/{account}/quotas/{group}
Note: There is no guarantee on the format of {group}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
---|
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Identifier. The resource name of the quota group.
Format: accounts/{account}/quotas/{group}
Note: There is no guarantee on the format of {group}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
public Parser<QuotaGroup> getParserForType()
Overrides
public long getQuotaLimit()
Output only. The maximum number of calls allowed per day for the group.
int64 quota_limit = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
long | The quotaLimit.
|
public long getQuotaMinuteLimit()
Output only. The maximum number of calls allowed per minute for the group.
int64 quota_minute_limit = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
long | The quotaMinuteLimit.
|
public long getQuotaUsage()
Output only. The current quota usage, meaning the number of calls already
made on a given day to the methods in the group. The daily quota limits
reset at at 12:00 PM midday UTC.
int64 quota_usage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
long | The quotaUsage.
|
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public QuotaGroup.Builder newBuilderForType()
protected QuotaGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public QuotaGroup.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides