public static final class QuotaProtos.ThrottleRequest extends com.google.protobuf.GeneratedMessage implements QuotaProtos.ThrottleRequestOrBuilder
ThrottleRequest
Modifier and Type | Class and Description |
---|---|
static class |
QuotaProtos.ThrottleRequest.Builder
Protobuf type
ThrottleRequest |
Modifier and Type | Field and Description |
---|---|
static <any> |
PARSER |
static int |
TIMED_QUOTA_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static QuotaProtos.ThrottleRequest |
getDefaultInstance() |
QuotaProtos.ThrottleRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
int |
getSerializedSize() |
QuotaProtos.TimedQuota |
getTimedQuota()
optional .TimedQuota timed_quota = 2; |
QuotaProtos.TimedQuotaOrBuilder |
getTimedQuotaOrBuilder()
optional .TimedQuota timed_quota = 2; |
QuotaProtos.ThrottleType |
getType()
optional .ThrottleType type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasTimedQuota()
optional .TimedQuota timed_quota = 2; |
boolean |
hasType()
optional .ThrottleType type = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static QuotaProtos.ThrottleRequest.Builder |
newBuilder() |
static QuotaProtos.ThrottleRequest.Builder |
newBuilder(QuotaProtos.ThrottleRequest prototype) |
QuotaProtos.ThrottleRequest.Builder |
newBuilderForType() |
protected QuotaProtos.ThrottleRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static QuotaProtos.ThrottleRequest |
parseDelimitedFrom(InputStream input) |
static QuotaProtos.ThrottleRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaProtos.ThrottleRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaProtos.ThrottleRequest |
parseFrom(com.google.protobuf.ByteString data) |
static QuotaProtos.ThrottleRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaProtos.ThrottleRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static QuotaProtos.ThrottleRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaProtos.ThrottleRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
QuotaProtos.ThrottleRequest.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static <any> PARSER
public static final int TYPE_FIELD_NUMBER
public static final int TIMED_QUOTA_FIELD_NUMBER
public static QuotaProtos.ThrottleRequest getDefaultInstance()
public QuotaProtos.ThrottleRequest getDefaultInstanceForType()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public <any> getParserForType()
public boolean hasType()
optional .ThrottleType type = 1;
hasType
in interface QuotaProtos.ThrottleRequestOrBuilder
public QuotaProtos.ThrottleType getType()
optional .ThrottleType type = 1;
getType
in interface QuotaProtos.ThrottleRequestOrBuilder
public boolean hasTimedQuota()
optional .TimedQuota timed_quota = 2;
hasTimedQuota
in interface QuotaProtos.ThrottleRequestOrBuilder
public QuotaProtos.TimedQuota getTimedQuota()
optional .TimedQuota timed_quota = 2;
getTimedQuota
in interface QuotaProtos.ThrottleRequestOrBuilder
public QuotaProtos.TimedQuotaOrBuilder getTimedQuotaOrBuilder()
optional .TimedQuota timed_quota = 2;
getTimedQuotaOrBuilder
in interface QuotaProtos.ThrottleRequestOrBuilder
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
IOException
public int getSerializedSize()
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
public boolean equals(Object obj)
public int hashCode()
public static QuotaProtos.ThrottleRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QuotaProtos.ThrottleRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QuotaProtos.ThrottleRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QuotaProtos.ThrottleRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QuotaProtos.ThrottleRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static QuotaProtos.ThrottleRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QuotaProtos.ThrottleRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static QuotaProtos.ThrottleRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QuotaProtos.ThrottleRequest.Builder newBuilder()
public QuotaProtos.ThrottleRequest.Builder newBuilderForType()
public static QuotaProtos.ThrottleRequest.Builder newBuilder(QuotaProtos.ThrottleRequest prototype)
public QuotaProtos.ThrottleRequest.Builder toBuilder()
protected QuotaProtos.ThrottleRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)