public final class MetadataKind extends com.google.protobuf.GeneratedMessageV3 implements MetadataKindOrBuilder
Describes what kind of metadata.Protobuf type
envoy.type.metadata.v2.MetadataKind| Modifier and Type | Class and Description |
|---|---|
static class |
MetadataKind.Builder
Describes what kind of metadata.
|
static class |
MetadataKind.Cluster
Represents metadata from :ref:`the upstream cluster<envoy_api_field_Cluster.metadata>`.
|
static interface |
MetadataKind.ClusterOrBuilder |
static class |
MetadataKind.Host
Represents metadata from :ref:`the upstream
host<envoy_api_field_endpoint.LbEndpoint.metadata>`.
|
static interface |
MetadataKind.HostOrBuilder |
static class |
MetadataKind.KindCase |
static class |
MetadataKind.Request
Represents dynamic metadata associated with the request.
|
static interface |
MetadataKind.RequestOrBuilder |
static class |
MetadataKind.Route
Represents metadata from :ref:`the route<envoy_api_field_route.Route.metadata>`.
|
static interface |
MetadataKind.RouteOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_FIELD_NUMBER |
static int |
HOST_FIELD_NUMBER |
static int |
REQUEST_FIELD_NUMBER |
static int |
ROUTE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
MetadataKind.Cluster |
getCluster()
Cluster kind of metadata.
|
MetadataKind.ClusterOrBuilder |
getClusterOrBuilder()
Cluster kind of metadata.
|
static MetadataKind |
getDefaultInstance() |
MetadataKind |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
MetadataKind.Host |
getHost()
Host kind of metadata.
|
MetadataKind.HostOrBuilder |
getHostOrBuilder()
Host kind of metadata.
|
MetadataKind.KindCase |
getKindCase() |
com.google.protobuf.Parser<MetadataKind> |
getParserForType() |
MetadataKind.Request |
getRequest()
Request kind of metadata.
|
MetadataKind.RequestOrBuilder |
getRequestOrBuilder()
Request kind of metadata.
|
MetadataKind.Route |
getRoute()
Route kind of metadata.
|
MetadataKind.RouteOrBuilder |
getRouteOrBuilder()
Route kind of metadata.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCluster()
Cluster kind of metadata.
|
int |
hashCode() |
boolean |
hasHost()
Host kind of metadata.
|
boolean |
hasRequest()
Request kind of metadata.
|
boolean |
hasRoute()
Route kind of metadata.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MetadataKind.Builder |
newBuilder() |
static MetadataKind.Builder |
newBuilder(MetadataKind prototype) |
MetadataKind.Builder |
newBuilderForType() |
protected MetadataKind.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MetadataKind |
parseDelimitedFrom(InputStream input) |
static MetadataKind |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetadataKind |
parseFrom(byte[] data) |
static MetadataKind |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetadataKind |
parseFrom(ByteBuffer data) |
static MetadataKind |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetadataKind |
parseFrom(com.google.protobuf.ByteString data) |
static MetadataKind |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetadataKind |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MetadataKind |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetadataKind |
parseFrom(InputStream input) |
static MetadataKind |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MetadataKind> |
parser() |
MetadataKind.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REQUEST_FIELD_NUMBER
public static final int ROUTE_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public MetadataKind.KindCase getKindCase()
getKindCase in interface MetadataKindOrBuilderpublic boolean hasRequest()
Request kind of metadata.
.envoy.type.metadata.v2.MetadataKind.Request request = 1;hasRequest in interface MetadataKindOrBuilderpublic MetadataKind.Request getRequest()
Request kind of metadata.
.envoy.type.metadata.v2.MetadataKind.Request request = 1;getRequest in interface MetadataKindOrBuilderpublic MetadataKind.RequestOrBuilder getRequestOrBuilder()
Request kind of metadata.
.envoy.type.metadata.v2.MetadataKind.Request request = 1;getRequestOrBuilder in interface MetadataKindOrBuilderpublic boolean hasRoute()
Route kind of metadata.
.envoy.type.metadata.v2.MetadataKind.Route route = 2;hasRoute in interface MetadataKindOrBuilderpublic MetadataKind.Route getRoute()
Route kind of metadata.
.envoy.type.metadata.v2.MetadataKind.Route route = 2;getRoute in interface MetadataKindOrBuilderpublic MetadataKind.RouteOrBuilder getRouteOrBuilder()
Route kind of metadata.
.envoy.type.metadata.v2.MetadataKind.Route route = 2;getRouteOrBuilder in interface MetadataKindOrBuilderpublic boolean hasCluster()
Cluster kind of metadata.
.envoy.type.metadata.v2.MetadataKind.Cluster cluster = 3;hasCluster in interface MetadataKindOrBuilderpublic MetadataKind.Cluster getCluster()
Cluster kind of metadata.
.envoy.type.metadata.v2.MetadataKind.Cluster cluster = 3;getCluster in interface MetadataKindOrBuilderpublic MetadataKind.ClusterOrBuilder getClusterOrBuilder()
Cluster kind of metadata.
.envoy.type.metadata.v2.MetadataKind.Cluster cluster = 3;getClusterOrBuilder in interface MetadataKindOrBuilderpublic boolean hasHost()
Host kind of metadata.
.envoy.type.metadata.v2.MetadataKind.Host host = 4;hasHost in interface MetadataKindOrBuilderpublic MetadataKind.Host getHost()
Host kind of metadata.
.envoy.type.metadata.v2.MetadataKind.Host host = 4;getHost in interface MetadataKindOrBuilderpublic MetadataKind.HostOrBuilder getHostOrBuilder()
Host kind of metadata.
.envoy.type.metadata.v2.MetadataKind.Host host = 4;getHostOrBuilder in interface MetadataKindOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MetadataKind parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetadataKind parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetadataKind parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetadataKind parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetadataKind parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetadataKind parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetadataKind parseFrom(InputStream input) throws IOException
IOExceptionpublic static MetadataKind parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MetadataKind parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MetadataKind parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MetadataKind parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MetadataKind parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MetadataKind.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MetadataKind.Builder newBuilder()
public static MetadataKind.Builder newBuilder(MetadataKind prototype)
public MetadataKind.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MetadataKind.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MetadataKind getDefaultInstance()
public static com.google.protobuf.Parser<MetadataKind> parser()
public com.google.protobuf.Parser<MetadataKind> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MetadataKind getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.