public static final class ExtensionBinding.MatchCondition.StringMatch extends GeneratedMessage implements ExtensionBinding.MatchCondition.StringMatchOrBuilder
Specifies matching logic for string values.
Protobuf type
google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.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 ExtensionBinding.MatchCondition.StringMatch getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ExtensionBinding.MatchCondition.StringMatch.Builder newBuilder()
newBuilder(ExtensionBinding.MatchCondition.StringMatch prototype)
public static ExtensionBinding.MatchCondition.StringMatch.Builder newBuilder(ExtensionBinding.MatchCondition.StringMatch prototype)
public static ExtensionBinding.MatchCondition.StringMatch parseDelimitedFrom(InputStream input)
public static ExtensionBinding.MatchCondition.StringMatch parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ExtensionBinding.MatchCondition.StringMatch parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExtensionBinding.MatchCondition.StringMatch parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ExtensionBinding.MatchCondition.StringMatch parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExtensionBinding.MatchCondition.StringMatch parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExtensionBinding.MatchCondition.StringMatch parseFrom(CodedInputStream input)
public static ExtensionBinding.MatchCondition.StringMatch parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExtensionBinding.MatchCondition.StringMatch parseFrom(InputStream input)
public static ExtensionBinding.MatchCondition.StringMatch parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ExtensionBinding.MatchCondition.StringMatch parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExtensionBinding.MatchCondition.StringMatch parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ExtensionBinding.MatchCondition.StringMatch> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getContains()
public String getContains()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The contains.
|
getContainsBytes()
public ByteString getContainsBytes()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for contains.
|
getDefaultInstanceForType()
public ExtensionBinding.MatchCondition.StringMatch getDefaultInstanceForType()
getExact()
Optional. The input string must match exactly the string specified
here.
Examples:
abc only matches the value abc.
string exact = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The exact.
|
getExactBytes()
public ByteString getExactBytes()
Optional. The input string must match exactly the string specified
here.
Examples:
abc only matches the value abc.
string exact = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for exact.
|
getIgnoreCase()
public boolean getIgnoreCase()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The ignoreCase.
|
getMatchPatternCase()
public ExtensionBinding.MatchCondition.StringMatch.MatchPatternCase getMatchPatternCase()
getParserForType()
public Parser<ExtensionBinding.MatchCondition.StringMatch> getParserForType()
Overrides
getPrefix()
public String getPrefix()
Optional. The input string must have the prefix specified here.
Note: empty prefix is not allowed.
Examples:
abc matches the value abc.xyz
string prefix = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The prefix.
|
getPrefixBytes()
public ByteString getPrefixBytes()
Optional. The input string must have the prefix specified here.
Note: empty prefix is not allowed.
Examples:
abc matches the value abc.xyz
string prefix = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for prefix.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSuffix()
public String getSuffix()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The suffix.
|
getSuffixBytes()
public ByteString getSuffixBytes()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for suffix.
|
hasContains()
public boolean hasContains()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the contains field is set.
|
hasExact()
public boolean hasExact()
Optional. The input string must match exactly the string specified
here.
Examples:
abc only matches the value abc.
string exact = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the exact field is set.
|
hasPrefix()
public boolean hasPrefix()
Optional. The input string must have the prefix specified here.
Note: empty prefix is not allowed.
Examples:
abc matches the value abc.xyz
string prefix = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the prefix field is set.
|
hasSuffix()
public boolean hasSuffix()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| 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 ExtensionBinding.MatchCondition.StringMatch.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ExtensionBinding.MatchCondition.StringMatch.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ExtensionBinding.MatchCondition.StringMatch.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides