Class EndpointMatcher.MetadataLabelMatcher.MetadataLabels (0.15.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
TypeDescription
int

LABEL_VALUE_FIELD_NUMBER

public static final int LABEL_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels getDefaultInstance()
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder newBuilder()
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder

newBuilder(EndpointMatcher.MetadataLabelMatcher.MetadataLabels prototype)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder newBuilder(EndpointMatcher.MetadataLabelMatcher.MetadataLabels prototype)
Parameter
NameDescription
prototypeEndpointMatcher.MetadataLabelMatcher.MetadataLabels
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder

parseDelimitedFrom(InputStream input)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EndpointMatcher.MetadataLabelMatcher.MetadataLabels parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EndpointMatcher.MetadataLabelMatcher.MetadataLabels getDefaultInstanceForType()
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels

getLabelName()

public String getLabelName()

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

string label_name = 1;

Returns
TypeDescription
String

The labelName.

getLabelNameBytes()

public ByteString getLabelNameBytes()

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

string label_name = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for labelValue.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder newBuilderForType()
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder toBuilder()
Returns
TypeDescription
EndpointMatcher.MetadataLabelMatcher.MetadataLabels.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException