public static interface ExtensionBinding.MatchCondition.StringMatchOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContains()
public abstract String getContains()Optional. The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead.
Examples:
abcmatches the valuexyz.abc.def
string contains = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The contains. |
getContainsBytes()
public abstract ByteString getContainsBytes()Optional. The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead.
Examples:
abcmatches the valuexyz.abc.def
string contains = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for contains. |
getExact()
public abstract String getExact()Optional. The input string must match exactly the string specified here.
Examples:
.abconly matches the valueabc
string exact = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The exact. |
getExactBytes()
public abstract ByteString getExactBytes()Optional. The input string must match exactly the string specified here.
Examples:
.abconly matches the valueabc
string exact = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for exact. |
getIgnoreCase()
public abstract boolean getIgnoreCase() Optional. If true, indicates the exact/prefix/suffix/contains matching
should be case insensitive. For example, the matcher if set to true.data will
match both input string Data and data
bool ignore_case = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The ignoreCase. |
getMatchPatternCase()
public abstract ExtensionBinding.MatchCondition.StringMatch.MatchPatternCase getMatchPatternCase()| Returns | |
|---|---|
| Type | Description |
ExtensionBinding.MatchCondition.StringMatch.MatchPatternCase |
|
getPrefix()
public abstract String getPrefix()Optional. The input string must have the prefix specified here. Note: empty prefix is not allowed.
Examples:
abcmatches the valueabc.xyz
string prefix = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The prefix. |
getPrefixBytes()
public abstract ByteString getPrefixBytes()Optional. The input string must have the prefix specified here. Note: empty prefix is not allowed.
Examples:
abcmatches the valueabc.xyz
string prefix = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for prefix. |
getSuffix()
public abstract String getSuffix()Optional. The input string must have the suffix specified here. Note: empty prefix is not allowed, please use regex instead.
Examples:
abcmatches the valuexyz.abc
string suffix = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The suffix. |
getSuffixBytes()
public abstract ByteString getSuffixBytes()Optional. The input string must have the suffix specified here. Note: empty prefix is not allowed, please use regex instead.
Examples:
abcmatches the valuexyz.abc
string suffix = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for suffix. |
hasContains()
public abstract boolean hasContains()Optional. The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead.
Examples:
abcmatches the valuexyz.abc.def
string contains = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the contains field is set. |
hasExact()
public abstract boolean hasExact()Optional. The input string must match exactly the string specified here.
Examples:
.abconly matches the valueabc
string exact = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the exact field is set. |
hasPrefix()
public abstract boolean hasPrefix()Optional. The input string must have the prefix specified here. Note: empty prefix is not allowed.
Examples:
abcmatches the valueabc.xyz
string prefix = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the prefix field is set. |
hasSuffix()
public abstract boolean hasSuffix()Optional. The input string must have the suffix specified here. Note: empty prefix is not allowed, please use regex instead.
Examples:
abcmatches the valuexyz.abc
string suffix = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the suffix field is set. |