public static final class RatelimitV2.LimitTarget extends com.google.protobuf.GeneratedMessageV3 implements RatelimitV2.LimitTargetOrBuilder
限流目标,针对哪部分数据进行限流Protobuf type
polaris.metric.v2.LimitTarget| Modifier and Type | Class and Description |
|---|---|
static class |
RatelimitV2.LimitTarget.Builder
限流目标,针对哪部分数据进行限流
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
LABELS_FIELD_NUMBER |
static int |
NAMESPACE_FIELD_NUMBER |
static int |
SERVICE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RatelimitV2.LimitTarget |
getDefaultInstance() |
RatelimitV2.LimitTarget |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getLabels()
自定义标签
|
com.google.protobuf.ByteString |
getLabelsBytes()
自定义标签
|
String |
getNamespace()
命名空间
|
com.google.protobuf.ByteString |
getNamespaceBytes()
命名空间
|
com.google.protobuf.Parser<RatelimitV2.LimitTarget> |
getParserForType() |
int |
getSerializedSize() |
String |
getService()
服务名
|
com.google.protobuf.ByteString |
getServiceBytes()
服务名
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
isInitialized() |
static RatelimitV2.LimitTarget.Builder |
newBuilder() |
static RatelimitV2.LimitTarget.Builder |
newBuilder(RatelimitV2.LimitTarget prototype) |
RatelimitV2.LimitTarget.Builder |
newBuilderForType() |
static RatelimitV2.LimitTarget |
parseDelimitedFrom(InputStream input) |
static RatelimitV2.LimitTarget |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.LimitTarget |
parseFrom(byte[] data) |
static RatelimitV2.LimitTarget |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.LimitTarget |
parseFrom(ByteBuffer data) |
static RatelimitV2.LimitTarget |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.LimitTarget |
parseFrom(com.google.protobuf.ByteString data) |
static RatelimitV2.LimitTarget |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.LimitTarget |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RatelimitV2.LimitTarget |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.LimitTarget |
parseFrom(InputStream input) |
static RatelimitV2.LimitTarget |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RatelimitV2.LimitTarget> |
parser() |
RatelimitV2.LimitTarget.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAMESPACE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public String getNamespace()
命名空间
string namespace = 1;getNamespace in interface RatelimitV2.LimitTargetOrBuilderpublic com.google.protobuf.ByteString getNamespaceBytes()
命名空间
string namespace = 1;getNamespaceBytes in interface RatelimitV2.LimitTargetOrBuilderpublic String getService()
服务名
string service = 2;getService in interface RatelimitV2.LimitTargetOrBuilderpublic com.google.protobuf.ByteString getServiceBytes()
服务名
string service = 2;getServiceBytes in interface RatelimitV2.LimitTargetOrBuilderpublic String getLabels()
自定义标签
string labels = 3;getLabels in interface RatelimitV2.LimitTargetOrBuilderpublic com.google.protobuf.ByteString getLabelsBytes()
自定义标签
string labels = 3;getLabelsBytes in interface RatelimitV2.LimitTargetOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RatelimitV2.LimitTarget parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.LimitTarget parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.LimitTarget parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.LimitTarget parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.LimitTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.LimitTarget parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.LimitTarget parseFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.LimitTarget parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.LimitTarget parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.LimitTarget parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.LimitTarget parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RatelimitV2.LimitTarget parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RatelimitV2.LimitTarget.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RatelimitV2.LimitTarget.Builder newBuilder()
public static RatelimitV2.LimitTarget.Builder newBuilder(RatelimitV2.LimitTarget prototype)
public RatelimitV2.LimitTarget.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static RatelimitV2.LimitTarget getDefaultInstance()
public static com.google.protobuf.Parser<RatelimitV2.LimitTarget> parser()
public com.google.protobuf.Parser<RatelimitV2.LimitTarget> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RatelimitV2.LimitTarget getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.