public static final class Check.ReferencedAttributes.AttributeMatch extends com.google.protobuf.GeneratedMessageV3 implements Check.ReferencedAttributes.AttributeMatchOrBuilder
Describes a single attribute match.Protobuf type
istio.mixer.v1.ReferencedAttributes.AttributeMatch| Modifier and Type | Class and Description |
|---|---|
static class |
Check.ReferencedAttributes.AttributeMatch.Builder
Describes a single attribute match.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, 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 |
CONDITION_FIELD_NUMBER |
static int |
MAP_KEY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
REGEX_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Check.ReferencedAttributes.Condition |
getCondition()
The kind of match against the attribute value.
|
int |
getConditionValue()
The kind of match against the attribute value.
|
static Check.ReferencedAttributes.AttributeMatch |
getDefaultInstance() |
Check.ReferencedAttributes.AttributeMatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getMapKey()
A key in a STRING_MAP.
|
int |
getName()
The name of the attribute.
|
com.google.protobuf.Parser<Check.ReferencedAttributes.AttributeMatch> |
getParserForType() |
String |
getRegex()
If a REGEX condition is provided for a STRING_MAP attribute,
clients should use the regex value to match against map keys.
|
com.google.protobuf.ByteString |
getRegexBytes()
If a REGEX condition is provided for a STRING_MAP attribute,
clients should use the regex value to match against map keys.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Check.ReferencedAttributes.AttributeMatch.Builder |
newBuilder() |
static Check.ReferencedAttributes.AttributeMatch.Builder |
newBuilder(Check.ReferencedAttributes.AttributeMatch prototype) |
Check.ReferencedAttributes.AttributeMatch.Builder |
newBuilderForType() |
protected Check.ReferencedAttributes.AttributeMatch.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Check.ReferencedAttributes.AttributeMatch |
parseDelimitedFrom(InputStream input) |
static Check.ReferencedAttributes.AttributeMatch |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.ReferencedAttributes.AttributeMatch |
parseFrom(byte[] data) |
static Check.ReferencedAttributes.AttributeMatch |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.ReferencedAttributes.AttributeMatch |
parseFrom(ByteBuffer data) |
static Check.ReferencedAttributes.AttributeMatch |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.ReferencedAttributes.AttributeMatch |
parseFrom(com.google.protobuf.ByteString data) |
static Check.ReferencedAttributes.AttributeMatch |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.ReferencedAttributes.AttributeMatch |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Check.ReferencedAttributes.AttributeMatch |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.ReferencedAttributes.AttributeMatch |
parseFrom(InputStream input) |
static Check.ReferencedAttributes.AttributeMatch |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Check.ReferencedAttributes.AttributeMatch> |
parser() |
Check.ReferencedAttributes.AttributeMatch.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER
public static final int REGEX_FIELD_NUMBER
public static final int MAP_KEY_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()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getName()
The name of the attribute. This is a dictionary index encoded in a manner identical to all strings in the [CompressedAttributes][istio.mixer.v1.CompressedAttributes] message.
sint32 name = 1;getName in interface Check.ReferencedAttributes.AttributeMatchOrBuilderpublic int getConditionValue()
The kind of match against the attribute value.
.istio.mixer.v1.ReferencedAttributes.Condition condition = 2;getConditionValue in interface Check.ReferencedAttributes.AttributeMatchOrBuilderpublic Check.ReferencedAttributes.Condition getCondition()
The kind of match against the attribute value.
.istio.mixer.v1.ReferencedAttributes.Condition condition = 2;getCondition in interface Check.ReferencedAttributes.AttributeMatchOrBuilderpublic String getRegex()
If a REGEX condition is provided for a STRING_MAP attribute, clients should use the regex value to match against map keys.
string regex = 3;getRegex in interface Check.ReferencedAttributes.AttributeMatchOrBuilderpublic com.google.protobuf.ByteString getRegexBytes()
If a REGEX condition is provided for a STRING_MAP attribute, clients should use the regex value to match against map keys.
string regex = 3;getRegexBytes in interface Check.ReferencedAttributes.AttributeMatchOrBuilderpublic int getMapKey()
A key in a STRING_MAP. When multiple keys from a STRING_MAP attribute were referenced, there will be multiple AttributeMatch messages with different map_key values. Values for map_key SHOULD be ignored for attributes that are not STRING_MAP. Indices for the keys are used (taken either from the message dictionary from the `words` field or the global dictionary). If no map_key value is provided for a STRING_MAP attribute, the entire STRING_MAP will be used.
sint32 map_key = 4;getMapKey in interface Check.ReferencedAttributes.AttributeMatchOrBuilderpublic 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 Check.ReferencedAttributes.AttributeMatch parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.ReferencedAttributes.AttributeMatch parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.ReferencedAttributes.AttributeMatch parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.ReferencedAttributes.AttributeMatch parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.ReferencedAttributes.AttributeMatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.ReferencedAttributes.AttributeMatch parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.ReferencedAttributes.AttributeMatch parseFrom(InputStream input) throws IOException
IOExceptionpublic static Check.ReferencedAttributes.AttributeMatch parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Check.ReferencedAttributes.AttributeMatch parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Check.ReferencedAttributes.AttributeMatch parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Check.ReferencedAttributes.AttributeMatch parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Check.ReferencedAttributes.AttributeMatch parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Check.ReferencedAttributes.AttributeMatch.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Check.ReferencedAttributes.AttributeMatch.Builder newBuilder()
public static Check.ReferencedAttributes.AttributeMatch.Builder newBuilder(Check.ReferencedAttributes.AttributeMatch prototype)
public Check.ReferencedAttributes.AttributeMatch.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Check.ReferencedAttributes.AttributeMatch.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Check.ReferencedAttributes.AttributeMatch getDefaultInstance()
public static com.google.protobuf.Parser<Check.ReferencedAttributes.AttributeMatch> parser()
public com.google.protobuf.Parser<Check.ReferencedAttributes.AttributeMatch> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Check.ReferencedAttributes.AttributeMatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 WSO2. All rights reserved.