public static final class AuthzPolicy.AuthzRule.StringMatch extends GeneratedMessage implements AuthzPolicy.AuthzRule.StringMatchOrBuilder
Determines how a string value should be matched.
Protobuf type google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CONTAINS_FIELD_NUMBER
public static final int CONTAINS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXACT_FIELD_NUMBER
public static final int EXACT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
IGNORE_CASE_FIELD_NUMBER
public static final int IGNORE_CASE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PREFIX_FIELD_NUMBER
public static final int PREFIX_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SUFFIX_FIELD_NUMBER
public static final int SUFFIX_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AuthzPolicy.AuthzRule.StringMatch getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AuthzPolicy.AuthzRule.StringMatch.Builder newBuilder()
newBuilder(AuthzPolicy.AuthzRule.StringMatch prototype)
public static AuthzPolicy.AuthzRule.StringMatch.Builder newBuilder(AuthzPolicy.AuthzRule.StringMatch prototype)
public static AuthzPolicy.AuthzRule.StringMatch parseDelimitedFrom(InputStream input)
public static AuthzPolicy.AuthzRule.StringMatch parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AuthzPolicy.AuthzRule.StringMatch parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AuthzPolicy.AuthzRule.StringMatch parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AuthzPolicy.AuthzRule.StringMatch parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuthzPolicy.AuthzRule.StringMatch parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuthzPolicy.AuthzRule.StringMatch parseFrom(CodedInputStream input)
public static AuthzPolicy.AuthzRule.StringMatch parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AuthzPolicy.AuthzRule.StringMatch parseFrom(InputStream input)
public static AuthzPolicy.AuthzRule.StringMatch parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AuthzPolicy.AuthzRule.StringMatch parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AuthzPolicy.AuthzRule.StringMatch parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AuthzPolicy.AuthzRule.StringMatch> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getContains()
public String getContains()
The input string must have the substring specified here.
Note: empty contains match is not allowed, please use regex instead.
Examples:
abc matches the value xyz.abc.def
string contains = 4;
| Returns |
| Type |
Description |
String |
The contains.
|
getContainsBytes()
public ByteString getContainsBytes()
The input string must have the substring specified here.
Note: empty contains match is not allowed, please use regex instead.
Examples:
abc matches the value xyz.abc.def
string contains = 4;
| Returns |
| Type |
Description |
ByteString |
The bytes for contains.
|
getDefaultInstanceForType()
public AuthzPolicy.AuthzRule.StringMatch getDefaultInstanceForType()
getExact()
The input string must match exactly the string specified here.
Examples:
abc only matches the value abc.
string exact = 1;
| Returns |
| Type |
Description |
String |
The exact.
|
getExactBytes()
public ByteString getExactBytes()
The input string must match exactly the string specified here.
Examples:
abc only matches the value abc.
string exact = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for exact.
|
getIgnoreCase()
public boolean getIgnoreCase()
If true, indicates the exact/prefix/suffix/contains matching should be
case insensitive. For example, the matcher data will match both
input string Data and data if set to true.
bool ignore_case = 5;
| Returns |
| Type |
Description |
boolean |
The ignoreCase.
|
getMatchPatternCase()
public AuthzPolicy.AuthzRule.StringMatch.MatchPatternCase getMatchPatternCase()
getParserForType()
public Parser<AuthzPolicy.AuthzRule.StringMatch> getParserForType()
Overrides
getPrefix()
public String getPrefix()
The input string must have the prefix specified here.
Note: empty prefix is not allowed, please use regex instead.
Examples:
abc matches the value abc.xyz
string prefix = 2;
| Returns |
| Type |
Description |
String |
The prefix.
|
getPrefixBytes()
public ByteString getPrefixBytes()
The input string must have the prefix specified here.
Note: empty prefix is not allowed, please use regex instead.
Examples:
abc matches the value abc.xyz
string prefix = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for prefix.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSuffix()
public String getSuffix()
The input string must have the suffix specified here.
Note: empty prefix is not allowed, please use regex instead.
Examples:
abc matches the value xyz.abc
string suffix = 3;
| Returns |
| Type |
Description |
String |
The suffix.
|
getSuffixBytes()
public ByteString getSuffixBytes()
The input string must have the suffix specified here.
Note: empty prefix is not allowed, please use regex instead.
Examples:
abc matches the value xyz.abc
string suffix = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for suffix.
|
hasContains()
public boolean hasContains()
The input string must have the substring specified here.
Note: empty contains match is not allowed, please use regex instead.
Examples:
abc matches the value xyz.abc.def
string contains = 4;
| Returns |
| Type |
Description |
boolean |
Whether the contains field is set.
|
hasExact()
public boolean hasExact()
The input string must match exactly the string specified here.
Examples:
abc only matches the value abc.
string exact = 1;
| Returns |
| Type |
Description |
boolean |
Whether the exact field is set.
|
hasPrefix()
public boolean hasPrefix()
The input string must have the prefix specified here.
Note: empty prefix is not allowed, please use regex instead.
Examples:
abc matches the value abc.xyz
string prefix = 2;
| Returns |
| Type |
Description |
boolean |
Whether the prefix field is set.
|
hasSuffix()
public boolean hasSuffix()
The input string must have the suffix specified here.
Note: empty prefix is not allowed, please use regex instead.
Examples:
abc matches the value xyz.abc
string suffix = 3;
| Returns |
| Type |
Description |
boolean |
Whether the suffix field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AuthzPolicy.AuthzRule.StringMatch.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AuthzPolicy.AuthzRule.StringMatch.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public AuthzPolicy.AuthzRule.StringMatch.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides