public final class ValueMatcher extends GeneratedMessageV3 implements ValueMatcherOrBuilder
Contains various matching options for values for a GCP resource field.
Protobuf type google.cloud.recommender.v1.ValueMatcher
Fields
MATCHES_PATTERN_FIELD_NUMBER
public static final int MATCHES_PATTERN_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static ValueMatcher getDefaultInstance()
Returns
getDefaultInstanceForType()
public ValueMatcher getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getMatchVariantCase()
public ValueMatcher.MatchVariantCase getMatchVariantCase()
Returns
getMatchesPattern()
public String getMatchesPattern()
Returns
Type | Description |
String | The matchesPattern.
|
getMatchesPatternBytes()
public ByteString getMatchesPatternBytes()
Returns
Type | Description |
ByteString | The bytes for matchesPattern.
|
getParserForType()
public Parser<ValueMatcher> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasMatchesPattern()
public boolean hasMatchesPattern()
Returns
Type | Description |
boolean | Whether the matchesPattern field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static ValueMatcher.Builder newBuilder()
Returns
newBuilder(ValueMatcher prototype)
public static ValueMatcher.Builder newBuilder(ValueMatcher prototype)
Parameter
Returns
newBuilderForType()
public ValueMatcher.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ValueMatcher.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ValueMatcher parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ValueMatcher parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ValueMatcher parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ValueMatcher parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ValueMatcher parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ValueMatcher parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ValueMatcher parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ValueMatcher parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ValueMatcher parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ValueMatcher parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ValueMatcher parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ValueMatcher parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ValueMatcher> parser()
Returns
toBuilder()
public ValueMatcher.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions