public static final class EndpointMatcher.Builder extends GeneratedMessageV3.Builder<EndpointMatcher.Builder> implements EndpointMatcherOrBuilder
A definition of a matcher that selects endpoints to which the policies
should be applied.
Protobuf type google.cloud.networkservices.v1.EndpointMatcher
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 EndpointMatcher.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EndpointMatcher build()
buildPartial()
public EndpointMatcher buildPartial()
clear()
public EndpointMatcher.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public EndpointMatcher.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMatcherType()
public EndpointMatcher.Builder clearMatcherType()
public EndpointMatcher.Builder clearMetadataLabelMatcher()
The matcher is based on node metadata presented by xDS clients.
.google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher metadata_label_matcher = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public EndpointMatcher.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public EndpointMatcher.Builder clone()
Overrides
getDefaultInstanceForType()
public EndpointMatcher getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMatcherTypeCase()
public EndpointMatcher.MatcherTypeCase getMatcherTypeCase()
public EndpointMatcher.MetadataLabelMatcher getMetadataLabelMatcher()
The matcher is based on node metadata presented by xDS clients.
.google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher metadata_label_matcher = 1;
public EndpointMatcher.MetadataLabelMatcher.Builder getMetadataLabelMatcherBuilder()
The matcher is based on node metadata presented by xDS clients.
.google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher metadata_label_matcher = 1;
public EndpointMatcher.MetadataLabelMatcherOrBuilder getMetadataLabelMatcherOrBuilder()
The matcher is based on node metadata presented by xDS clients.
.google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher metadata_label_matcher = 1;
public boolean hasMetadataLabelMatcher()
The matcher is based on node metadata presented by xDS clients.
.google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher metadata_label_matcher = 1;
Returns |
Type |
Description |
boolean |
Whether the metadataLabelMatcher field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EndpointMatcher other)
public EndpointMatcher.Builder mergeFrom(EndpointMatcher other)
public EndpointMatcher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EndpointMatcher.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public EndpointMatcher.Builder mergeMetadataLabelMatcher(EndpointMatcher.MetadataLabelMatcher value)
The matcher is based on node metadata presented by xDS clients.
.google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher metadata_label_matcher = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EndpointMatcher.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public EndpointMatcher.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public EndpointMatcher.Builder setMetadataLabelMatcher(EndpointMatcher.MetadataLabelMatcher value)
The matcher is based on node metadata presented by xDS clients.
.google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher metadata_label_matcher = 1;
public EndpointMatcher.Builder setMetadataLabelMatcher(EndpointMatcher.MetadataLabelMatcher.Builder builderForValue)
The matcher is based on node metadata presented by xDS clients.
.google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher metadata_label_matcher = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EndpointMatcher.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EndpointMatcher.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides