public final class EndpointMatcher extends GeneratedMessageV3 implements EndpointMatcherOrBuilder
A definition of a matcher that selects endpoints to which the policies
should be applied.
Protobuf type google.events.cloud.networkservices.v1.EndpointMatcher
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int METADATA_LABEL_MATCHER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static EndpointMatcher getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EndpointMatcher.Builder newBuilder()
newBuilder(EndpointMatcher prototype)
public static EndpointMatcher.Builder newBuilder(EndpointMatcher prototype)
public static EndpointMatcher parseDelimitedFrom(InputStream input)
public static EndpointMatcher parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EndpointMatcher parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EndpointMatcher parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EndpointMatcher parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EndpointMatcher parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EndpointMatcher parseFrom(CodedInputStream input)
public static EndpointMatcher parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EndpointMatcher parseFrom(InputStream input)
public static EndpointMatcher parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EndpointMatcher parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EndpointMatcher parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EndpointMatcher> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public EndpointMatcher getDefaultInstanceForType()
getMatcherTypeCase()
public EndpointMatcher.MatcherTypeCase getMatcherTypeCase()
public EndpointMatcher.MetadataLabelMatcher getMetadataLabelMatcher()
The matcher is based on node metadata presented by xDS clients.
.google.events.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.events.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher metadata_label_matcher = 1;
getParserForType()
public Parser<EndpointMatcher> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
public boolean hasMetadataLabelMatcher()
The matcher is based on node metadata presented by xDS clients.
.google.events.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher metadata_label_matcher = 1;
Returns |
Type |
Description |
boolean |
Whether the metadataLabelMatcher field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EndpointMatcher.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EndpointMatcher.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public EndpointMatcher.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides