public static final class RouteOuterClass.RouteAction extends com.google.protobuf.GeneratedMessageV3 implements RouteOuterClass.RouteActionOrBuilder
[#comment:next free field: 3]Protobuf type
envoy.config.filter.network.thrift_proxy.v2alpha1.RouteAction| Modifier and Type | Class and Description |
|---|---|
static class |
RouteOuterClass.RouteAction.Builder
[#comment:next free field: 3]
Protobuf type
envoy.config.filter.network.thrift_proxy.v2alpha1.RouteAction |
static class |
RouteOuterClass.RouteAction.ClusterSpecifierCase |
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| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_FIELD_NUMBER |
static int |
METADATA_MATCH_FIELD_NUMBER |
static int |
WEIGHTED_CLUSTERS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCluster()
Indicates a single upstream cluster to which the request should be routed
to.
|
com.google.protobuf.ByteString |
getClusterBytes()
Indicates a single upstream cluster to which the request should be routed
to.
|
RouteOuterClass.RouteAction.ClusterSpecifierCase |
getClusterSpecifierCase() |
static RouteOuterClass.RouteAction |
getDefaultInstance() |
RouteOuterClass.RouteAction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Base.Metadata |
getMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
Base.MetadataOrBuilder |
getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.
|
com.google.protobuf.Parser<RouteOuterClass.RouteAction> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
RouteOuterClass.WeightedCluster |
getWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
RouteOuterClass.WeightedClusterOrBuilder |
getWeightedClustersOrBuilder()
Multiple upstream clusters can be specified for a given route.
|
int |
hashCode() |
boolean |
hasMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
boolean |
hasWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RouteOuterClass.RouteAction.Builder |
newBuilder() |
static RouteOuterClass.RouteAction.Builder |
newBuilder(RouteOuterClass.RouteAction prototype) |
RouteOuterClass.RouteAction.Builder |
newBuilderForType() |
protected RouteOuterClass.RouteAction.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static RouteOuterClass.RouteAction |
parseDelimitedFrom(InputStream input) |
static RouteOuterClass.RouteAction |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.RouteAction |
parseFrom(byte[] data) |
static RouteOuterClass.RouteAction |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.RouteAction |
parseFrom(ByteBuffer data) |
static RouteOuterClass.RouteAction |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.RouteAction |
parseFrom(com.google.protobuf.ByteString data) |
static RouteOuterClass.RouteAction |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.RouteAction |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouteOuterClass.RouteAction |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.RouteAction |
parseFrom(InputStream input) |
static RouteOuterClass.RouteAction |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouteOuterClass.RouteAction> |
parser() |
RouteOuterClass.RouteAction.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 CLUSTER_FIELD_NUMBER
public static final int WEIGHTED_CLUSTERS_FIELD_NUMBER
public static final int METADATA_MATCH_FIELD_NUMBER
public 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 RouteOuterClass.RouteAction.ClusterSpecifierCase getClusterSpecifierCase()
getClusterSpecifierCase in interface RouteOuterClass.RouteActionOrBuilderpublic String getCluster()
Indicates a single upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }getCluster in interface RouteOuterClass.RouteActionOrBuilderpublic com.google.protobuf.ByteString getClusterBytes()
Indicates a single upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }getClusterBytes in interface RouteOuterClass.RouteActionOrBuilderpublic boolean hasWeightedClusters()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster.
.envoy.config.filter.network.thrift_proxy.v2alpha1.WeightedCluster weighted_clusters = 2;hasWeightedClusters in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.WeightedCluster getWeightedClusters()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster.
.envoy.config.filter.network.thrift_proxy.v2alpha1.WeightedCluster weighted_clusters = 2;getWeightedClusters in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.WeightedClusterOrBuilder getWeightedClustersOrBuilder()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster.
.envoy.config.filter.network.thrift_proxy.v2alpha1.WeightedCluster weighted_clusters = 2;getWeightedClustersOrBuilder in interface RouteOuterClass.RouteActionOrBuilderpublic boolean hasMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered. Note that this will be merged with what's provided in :ref: `WeightedCluster.MetadataMatch <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3;hasMetadataMatch in interface RouteOuterClass.RouteActionOrBuilderpublic Base.Metadata getMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered. Note that this will be merged with what's provided in :ref: `WeightedCluster.MetadataMatch <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3;getMetadataMatch in interface RouteOuterClass.RouteActionOrBuilderpublic Base.MetadataOrBuilder getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered. Note that this will be merged with what's provided in :ref: `WeightedCluster.MetadataMatch <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3;getMetadataMatchOrBuilder in interface RouteOuterClass.RouteActionOrBuilderpublic 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 RouteOuterClass.RouteAction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RouteAction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RouteAction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RouteAction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RouteAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RouteAction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RouteAction parseFrom(InputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.RouteAction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteOuterClass.RouteAction parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.RouteAction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteOuterClass.RouteAction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.RouteAction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RouteOuterClass.RouteAction.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouteOuterClass.RouteAction.Builder newBuilder()
public static RouteOuterClass.RouteAction.Builder newBuilder(RouteOuterClass.RouteAction prototype)
public RouteOuterClass.RouteAction.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouteOuterClass.RouteAction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouteOuterClass.RouteAction getDefaultInstance()
public static com.google.protobuf.Parser<RouteOuterClass.RouteAction> parser()
public com.google.protobuf.Parser<RouteOuterClass.RouteAction> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouteOuterClass.RouteAction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.