public static final class ValueMatcher.Builder extends GeneratedMessageV3.Builder<ValueMatcher.Builder> implements ValueMatcherOrBuilder
Contains various matching options for values for a GCP resource field.
Protobuf type google.cloud.recommender.v1beta1.ValueMatcher
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ValueMatcher.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ValueMatcher build()
buildPartial()
public ValueMatcher buildPartial()
clear()
public ValueMatcher.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ValueMatcher.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMatchVariant()
public ValueMatcher.Builder clearMatchVariant()
clearMatchesPattern()
public ValueMatcher.Builder clearMatchesPattern()
clearOneof(Descriptors.OneofDescriptor oneof)
public ValueMatcher.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ValueMatcher.Builder clone()
Overrides
getDefaultInstanceForType()
public ValueMatcher getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMatchVariantCase()
public ValueMatcher.MatchVariantCase getMatchVariantCase()
getMatchesPattern()
public String getMatchesPattern()
Returns |
Type |
Description |
String |
The matchesPattern.
|
getMatchesPatternBytes()
public ByteString getMatchesPatternBytes()
Returns |
Type |
Description |
ByteString |
The bytes for matchesPattern.
|
hasMatchesPattern()
public boolean hasMatchesPattern()
Returns |
Type |
Description |
boolean |
Whether the matchesPattern field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ValueMatcher other)
public ValueMatcher.Builder mergeFrom(ValueMatcher other)
public ValueMatcher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ValueMatcher.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ValueMatcher.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ValueMatcher.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMatchesPattern(String value)
public ValueMatcher.Builder setMatchesPattern(String value)
Parameter |
Name |
Description |
value |
String
The matchesPattern to set.
|
setMatchesPatternBytes(ByteString value)
public ValueMatcher.Builder setMatchesPatternBytes(ByteString value)
Parameter |
Name |
Description |
value |
ByteString
The bytes for matchesPattern to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ValueMatcher.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ValueMatcher.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides