Class EndpointMatcher.MetadataLabelMatcher.MetadataLabels (0.16.0)

public static final class EndpointMatcher.MetadataLabelMatcher.MetadataLabels extends GeneratedMessageV3 implements EndpointMatcher.MetadataLabelMatcher.MetadataLabelsOrBuilder

Defines a name-pair value for a single label.

Protobuf type google.events.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher.MetadataLabels

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > EndpointMatcher.MetadataLabelMatcher.MetadataLabels

Static Fields

LABEL_NAME_FIELD_NUMBER

public static final int LABEL_NAME_FIELD_NUMBER
Field Value
Type Description
int

LABEL_VALUE_FIELD_NUMBER

public static final int LABEL_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels getDefaultInstance()
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder newBuilder()
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder

newBuilder(EndpointMatcher.MetadataLabelMatcher.MetadataLabels prototype)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder newBuilder(EndpointMatcher.MetadataLabelMatcher.MetadataLabels prototype)
Parameter
Name Description
prototype EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder

parseDelimitedFrom(InputStream input)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EndpointMatcher.MetadataLabelMatcher.MetadataLabels> parser()
Returns
Type Description
Parser<MetadataLabels>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EndpointMatcher.MetadataLabelMatcher.MetadataLabels getDefaultInstanceForType()
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels

getLabelName()

public String getLabelName()

Required. Label name presented as key in xDS Node Metadata.

string label_name = 1;

Returns
Type Description
String

The labelName.

getLabelNameBytes()

public ByteString getLabelNameBytes()

Required. Label name presented as key in xDS Node Metadata.

string label_name = 1;

Returns
Type Description
ByteString

The bytes for labelName.

getLabelValue()

public String getLabelValue()

Required. Label value presented as value corresponding to the above key, in xDS Node Metadata.

string label_value = 2;

Returns
Type Description
String

The labelValue.

getLabelValueBytes()

public ByteString getLabelValueBytes()

Required. Label value presented as value corresponding to the above key, in xDS Node Metadata.

string label_value = 2;

Returns
Type Description
ByteString

The bytes for labelValue.

getParserForType()

public Parser<EndpointMatcher.MetadataLabelMatcher.MetadataLabels> getParserForType()
Returns
Type Description
Parser<MetadataLabels>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder newBuilderForType()
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder toBuilder()
Returns
Type Description
EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException