public final class AccountLimit extends GeneratedMessage implements AccountLimitOrBuilderA limit of a certain type that is applied to an account.
Protobuf type google.shopping.merchant.quota.v1.AccountLimit
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AccountLimitImplements
AccountLimitOrBuilderStatic Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PRODUCTS_FIELD_NUMBER
public static final int PRODUCTS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static AccountLimit getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
AccountLimit |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static AccountLimit.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
AccountLimit.Builder |
|
newBuilder(AccountLimit prototype)
public static AccountLimit.Builder newBuilder(AccountLimit prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
AccountLimit |
| Returns | |
|---|---|
| Type | Description |
AccountLimit.Builder |
|
parseDelimitedFrom(InputStream input)
public static AccountLimit parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AccountLimit |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AccountLimit parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AccountLimit |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static AccountLimit parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
AccountLimit |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AccountLimit parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AccountLimit |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static AccountLimit parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
AccountLimit |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AccountLimit parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AccountLimit |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static AccountLimit parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
AccountLimit |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AccountLimit parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AccountLimit |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static AccountLimit parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AccountLimit |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AccountLimit parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AccountLimit |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static AccountLimit parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
AccountLimit |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AccountLimit parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AccountLimit |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<AccountLimit> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AccountLimit> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public AccountLimit getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AccountLimit |
|
getName()
public String getName() Identifier. The limit part of the name will be a combination of the type
and the scope. For example: accounts/123/limits/products~ADS_NON_EEA
Format: accounts/{account}/limits/{limit}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The limit part of the name will be a combination of the type
and the scope. For example: accounts/123/limits/products~ADS_NON_EEA
Format: accounts/{account}/limits/{limit}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getParserForType()
public Parser<AccountLimit> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<AccountLimit> |
|
getProducts()
public ProductLimit getProducts()The limit for products.
.google.shopping.merchant.quota.v1.ProductLimit products = 100;
| Returns | |
|---|---|
| Type | Description |
ProductLimit |
The products. |
getProductsOrBuilder()
public ProductLimitOrBuilder getProductsOrBuilder()The limit for products.
.google.shopping.merchant.quota.v1.ProductLimit products = 100;
| Returns | |
|---|---|
| Type | Description |
ProductLimitOrBuilder |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getTypeCase()
public AccountLimit.TypeCase getTypeCase()| Returns | |
|---|---|
| Type | Description |
AccountLimit.TypeCase |
|
hasProducts()
public boolean hasProducts()The limit for products.
.google.shopping.merchant.quota.v1.ProductLimit products = 100;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the products field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public AccountLimit.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
AccountLimit.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AccountLimit.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
AccountLimit.Builder |
|
toBuilder()
public AccountLimit.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
AccountLimit.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|