public static final class VirtualServiceOuterClass.HTTPRoute extends com.google.protobuf.GeneratedMessageV3 implements VirtualServiceOuterClass.HTTPRouteOrBuilder
Describes match conditions and actions for routing HTTP/1.1, HTTP2, and gRPC traffic. See VirtualService for usage examples.Protobuf type
istio.networking.v1alpha3.HTTPRoute| 限定符和类型 | 类和说明 |
|---|---|
static class |
VirtualServiceOuterClass.HTTPRoute.Builder
Describes match conditions and actions for routing HTTP/1.1, HTTP2, and
gRPC traffic.
|
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| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CORS_POLICY_FIELD_NUMBER |
static int |
DELEGATE_FIELD_NUMBER |
static int |
FAULT_FIELD_NUMBER |
static int |
HEADERS_FIELD_NUMBER |
static int |
MATCH_FIELD_NUMBER |
static int |
MIRROR_FIELD_NUMBER |
static int |
MIRROR_PERCENT_FIELD_NUMBER |
static int |
MIRROR_PERCENTAGE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
REDIRECT_FIELD_NUMBER |
static int |
RETRIES_FIELD_NUMBER |
static int |
REWRITE_FIELD_NUMBER |
static int |
ROUTE_FIELD_NUMBER |
static int |
TIMEOUT_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
VirtualServiceOuterClass.CorsPolicy |
getCorsPolicy()
Cross-Origin Resource Sharing policy (CORS).
|
VirtualServiceOuterClass.CorsPolicyOrBuilder |
getCorsPolicyOrBuilder()
Cross-Origin Resource Sharing policy (CORS).
|
static VirtualServiceOuterClass.HTTPRoute |
getDefaultInstance() |
VirtualServiceOuterClass.HTTPRoute |
getDefaultInstanceForType() |
VirtualServiceOuterClass.Delegate |
getDelegate()
Delegate is used to specify the particular VirtualService which
can be used to define delegate HTTPRoute.
|
VirtualServiceOuterClass.DelegateOrBuilder |
getDelegateOrBuilder()
Delegate is used to specify the particular VirtualService which
can be used to define delegate HTTPRoute.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
VirtualServiceOuterClass.HTTPFaultInjection |
getFault()
Fault injection policy to apply on HTTP traffic at the client side.
|
VirtualServiceOuterClass.HTTPFaultInjectionOrBuilder |
getFaultOrBuilder()
Fault injection policy to apply on HTTP traffic at the client side.
|
VirtualServiceOuterClass.Headers |
getHeaders()
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16; |
VirtualServiceOuterClass.HeadersOrBuilder |
getHeadersOrBuilder()
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16; |
VirtualServiceOuterClass.HTTPMatchRequest |
getMatch(int index)
Match conditions to be satisfied for the rule to be
activated.
|
int |
getMatchCount()
Match conditions to be satisfied for the rule to be
activated.
|
List<VirtualServiceOuterClass.HTTPMatchRequest> |
getMatchList()
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.HTTPMatchRequestOrBuilder |
getMatchOrBuilder(int index)
Match conditions to be satisfied for the rule to be
activated.
|
List<? extends VirtualServiceOuterClass.HTTPMatchRequestOrBuilder> |
getMatchOrBuilderList()
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.Destination |
getMirror()
Mirror HTTP traffic to a another destination in addition to forwarding
the requests to the intended destination.
|
VirtualServiceOuterClass.DestinationOrBuilder |
getMirrorOrBuilder()
Mirror HTTP traffic to a another destination in addition to forwarding
the requests to the intended destination.
|
com.google.protobuf.UInt32Value |
getMirrorPercent()
已过时。
istio.networking.v1alpha3.HTTPRoute.mirror_percent is deprecated.
See networking/v1alpha3/virtual_service.proto;l=627
|
VirtualServiceOuterClass.Percent |
getMirrorPercentage()
Percentage of the traffic to be mirrored by the `mirror` field.
|
VirtualServiceOuterClass.PercentOrBuilder |
getMirrorPercentageOrBuilder()
Percentage of the traffic to be mirrored by the `mirror` field.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMirrorPercentOrBuilder()
已过时。
|
String |
getName()
The name assigned to the route for debugging purposes.
|
com.google.protobuf.ByteString |
getNameBytes()
The name assigned to the route for debugging purposes.
|
com.google.protobuf.Parser<VirtualServiceOuterClass.HTTPRoute> |
getParserForType() |
VirtualServiceOuterClass.HTTPRedirect |
getRedirect()
A HTTP rule can either redirect or forward (default) traffic.
|
VirtualServiceOuterClass.HTTPRedirectOrBuilder |
getRedirectOrBuilder()
A HTTP rule can either redirect or forward (default) traffic.
|
VirtualServiceOuterClass.HTTPRetry |
getRetries()
Retry policy for HTTP requests.
|
VirtualServiceOuterClass.HTTPRetryOrBuilder |
getRetriesOrBuilder()
Retry policy for HTTP requests.
|
VirtualServiceOuterClass.HTTPRewrite |
getRewrite()
Rewrite HTTP URIs and Authority headers.
|
VirtualServiceOuterClass.HTTPRewriteOrBuilder |
getRewriteOrBuilder()
Rewrite HTTP URIs and Authority headers.
|
VirtualServiceOuterClass.HTTPRouteDestination |
getRoute(int index)
A HTTP rule can either redirect or forward (default) traffic.
|
int |
getRouteCount()
A HTTP rule can either redirect or forward (default) traffic.
|
List<VirtualServiceOuterClass.HTTPRouteDestination> |
getRouteList()
A HTTP rule can either redirect or forward (default) traffic.
|
VirtualServiceOuterClass.HTTPRouteDestinationOrBuilder |
getRouteOrBuilder(int index)
A HTTP rule can either redirect or forward (default) traffic.
|
List<? extends VirtualServiceOuterClass.HTTPRouteDestinationOrBuilder> |
getRouteOrBuilderList()
A HTTP rule can either redirect or forward (default) traffic.
|
int |
getSerializedSize() |
com.google.protobuf.Duration |
getTimeout()
Timeout for HTTP requests, default is disabled.
|
com.google.protobuf.DurationOrBuilder |
getTimeoutOrBuilder()
Timeout for HTTP requests, default is disabled.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCorsPolicy()
Cross-Origin Resource Sharing policy (CORS).
|
boolean |
hasDelegate()
Delegate is used to specify the particular VirtualService which
can be used to define delegate HTTPRoute.
|
boolean |
hasFault()
Fault injection policy to apply on HTTP traffic at the client side.
|
int |
hashCode() |
boolean |
hasHeaders()
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16; |
boolean |
hasMirror()
Mirror HTTP traffic to a another destination in addition to forwarding
the requests to the intended destination.
|
boolean |
hasMirrorPercent()
已过时。
istio.networking.v1alpha3.HTTPRoute.mirror_percent is deprecated.
See networking/v1alpha3/virtual_service.proto;l=627
|
boolean |
hasMirrorPercentage()
Percentage of the traffic to be mirrored by the `mirror` field.
|
boolean |
hasRedirect()
A HTTP rule can either redirect or forward (default) traffic.
|
boolean |
hasRetries()
Retry policy for HTTP requests.
|
boolean |
hasRewrite()
Rewrite HTTP URIs and Authority headers.
|
boolean |
hasTimeout()
Timeout for HTTP requests, default is disabled.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VirtualServiceOuterClass.HTTPRoute.Builder |
newBuilder() |
static VirtualServiceOuterClass.HTTPRoute.Builder |
newBuilder(VirtualServiceOuterClass.HTTPRoute prototype) |
VirtualServiceOuterClass.HTTPRoute.Builder |
newBuilderForType() |
protected VirtualServiceOuterClass.HTTPRoute.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static VirtualServiceOuterClass.HTTPRoute |
parseDelimitedFrom(InputStream input) |
static VirtualServiceOuterClass.HTTPRoute |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualServiceOuterClass.HTTPRoute |
parseFrom(byte[] data) |
static VirtualServiceOuterClass.HTTPRoute |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualServiceOuterClass.HTTPRoute |
parseFrom(ByteBuffer data) |
static VirtualServiceOuterClass.HTTPRoute |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualServiceOuterClass.HTTPRoute |
parseFrom(com.google.protobuf.ByteString data) |
static VirtualServiceOuterClass.HTTPRoute |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualServiceOuterClass.HTTPRoute |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VirtualServiceOuterClass.HTTPRoute |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualServiceOuterClass.HTTPRoute |
parseFrom(InputStream input) |
static VirtualServiceOuterClass.HTTPRoute |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VirtualServiceOuterClass.HTTPRoute> |
parser() |
VirtualServiceOuterClass.HTTPRoute.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, isStringEmpty, 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, writeTopublic static final int NAME_FIELD_NUMBER
public static final int MATCH_FIELD_NUMBER
public static final int ROUTE_FIELD_NUMBER
public static final int REDIRECT_FIELD_NUMBER
public static final int DELEGATE_FIELD_NUMBER
public static final int REWRITE_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
public static final int RETRIES_FIELD_NUMBER
public static final int FAULT_FIELD_NUMBER
public static final int MIRROR_FIELD_NUMBER
public static final int MIRROR_PERCENT_FIELD_NUMBER
public static final int MIRROR_PERCENTAGE_FIELD_NUMBER
public static final int CORS_POLICY_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public String getName()
The name assigned to the route for debugging purposes. The route's name will be concatenated with the match's name and will be logged in the access logs for requests matching this route/match.
string name = 17;getName 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name assigned to the route for debugging purposes. The route's name will be concatenated with the match's name and will be logged in the access logs for requests matching this route/match.
string name = 17;getNameBytes 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic List<VirtualServiceOuterClass.HTTPMatchRequest> getMatchList()
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.HTTPMatchRequest match = 1;public List<? extends VirtualServiceOuterClass.HTTPMatchRequestOrBuilder> getMatchOrBuilderList()
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.HTTPMatchRequest match = 1;public int getMatchCount()
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.HTTPMatchRequest match = 1;public VirtualServiceOuterClass.HTTPMatchRequest getMatch(int index)
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.HTTPMatchRequest match = 1;public VirtualServiceOuterClass.HTTPMatchRequestOrBuilder getMatchOrBuilder(int index)
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.HTTPMatchRequest match = 1;public List<VirtualServiceOuterClass.HTTPRouteDestination> getRouteList()
A HTTP rule can either redirect or forward (default) traffic. The forwarding target can be one of several versions of a service (see glossary in beginning of document). Weights associated with the service version determine the proportion of traffic it receives.
repeated .istio.networking.v1alpha3.HTTPRouteDestination route = 2;public List<? extends VirtualServiceOuterClass.HTTPRouteDestinationOrBuilder> getRouteOrBuilderList()
A HTTP rule can either redirect or forward (default) traffic. The forwarding target can be one of several versions of a service (see glossary in beginning of document). Weights associated with the service version determine the proportion of traffic it receives.
repeated .istio.networking.v1alpha3.HTTPRouteDestination route = 2;public int getRouteCount()
A HTTP rule can either redirect or forward (default) traffic. The forwarding target can be one of several versions of a service (see glossary in beginning of document). Weights associated with the service version determine the proportion of traffic it receives.
repeated .istio.networking.v1alpha3.HTTPRouteDestination route = 2;public VirtualServiceOuterClass.HTTPRouteDestination getRoute(int index)
A HTTP rule can either redirect or forward (default) traffic. The forwarding target can be one of several versions of a service (see glossary in beginning of document). Weights associated with the service version determine the proportion of traffic it receives.
repeated .istio.networking.v1alpha3.HTTPRouteDestination route = 2;public VirtualServiceOuterClass.HTTPRouteDestinationOrBuilder getRouteOrBuilder(int index)
A HTTP rule can either redirect or forward (default) traffic. The forwarding target can be one of several versions of a service (see glossary in beginning of document). Weights associated with the service version determine the proportion of traffic it receives.
repeated .istio.networking.v1alpha3.HTTPRouteDestination route = 2;public boolean hasRedirect()
A HTTP rule can either redirect or forward (default) traffic. If traffic passthrough option is specified in the rule, route/redirect will be ignored. The redirect primitive can be used to send a HTTP 301 redirect to a different URI or Authority.
.istio.networking.v1alpha3.HTTPRedirect redirect = 3;hasRedirect 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.HTTPRedirect getRedirect()
A HTTP rule can either redirect or forward (default) traffic. If traffic passthrough option is specified in the rule, route/redirect will be ignored. The redirect primitive can be used to send a HTTP 301 redirect to a different URI or Authority.
.istio.networking.v1alpha3.HTTPRedirect redirect = 3;getRedirect 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.HTTPRedirectOrBuilder getRedirectOrBuilder()
A HTTP rule can either redirect or forward (default) traffic. If traffic passthrough option is specified in the rule, route/redirect will be ignored. The redirect primitive can be used to send a HTTP 301 redirect to a different URI or Authority.
.istio.networking.v1alpha3.HTTPRedirect redirect = 3;public boolean hasDelegate()
Delegate is used to specify the particular VirtualService which
can be used to define delegate HTTPRoute.
It can be set only when `Route` and `Redirect` are empty, and the route rules of the
delegate VirtualService will be merged with that in the current one.
**NOTE**:
1. Only one level delegation is supported.
2. The delegate's HTTPMatchRequest must be a strict subset of the root's,
otherwise there is a conflict and the HTTPRoute will not take effect.
.istio.networking.v1alpha3.Delegate delegate = 20;hasDelegate 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.Delegate getDelegate()
Delegate is used to specify the particular VirtualService which
can be used to define delegate HTTPRoute.
It can be set only when `Route` and `Redirect` are empty, and the route rules of the
delegate VirtualService will be merged with that in the current one.
**NOTE**:
1. Only one level delegation is supported.
2. The delegate's HTTPMatchRequest must be a strict subset of the root's,
otherwise there is a conflict and the HTTPRoute will not take effect.
.istio.networking.v1alpha3.Delegate delegate = 20;getDelegate 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.DelegateOrBuilder getDelegateOrBuilder()
Delegate is used to specify the particular VirtualService which
can be used to define delegate HTTPRoute.
It can be set only when `Route` and `Redirect` are empty, and the route rules of the
delegate VirtualService will be merged with that in the current one.
**NOTE**:
1. Only one level delegation is supported.
2. The delegate's HTTPMatchRequest must be a strict subset of the root's,
otherwise there is a conflict and the HTTPRoute will not take effect.
.istio.networking.v1alpha3.Delegate delegate = 20;public boolean hasRewrite()
Rewrite HTTP URIs and Authority headers. Rewrite cannot be used with Redirect primitive. Rewrite will be performed before forwarding.
.istio.networking.v1alpha3.HTTPRewrite rewrite = 4;hasRewrite 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.HTTPRewrite getRewrite()
Rewrite HTTP URIs and Authority headers. Rewrite cannot be used with Redirect primitive. Rewrite will be performed before forwarding.
.istio.networking.v1alpha3.HTTPRewrite rewrite = 4;getRewrite 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.HTTPRewriteOrBuilder getRewriteOrBuilder()
Rewrite HTTP URIs and Authority headers. Rewrite cannot be used with Redirect primitive. Rewrite will be performed before forwarding.
.istio.networking.v1alpha3.HTTPRewrite rewrite = 4;public boolean hasTimeout()
Timeout for HTTP requests, default is disabled.
.google.protobuf.Duration timeout = 6;hasTimeout 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic com.google.protobuf.Duration getTimeout()
Timeout for HTTP requests, default is disabled.
.google.protobuf.Duration timeout = 6;getTimeout 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
Timeout for HTTP requests, default is disabled.
.google.protobuf.Duration timeout = 6;public boolean hasRetries()
Retry policy for HTTP requests.
.istio.networking.v1alpha3.HTTPRetry retries = 7;hasRetries 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.HTTPRetry getRetries()
Retry policy for HTTP requests.
.istio.networking.v1alpha3.HTTPRetry retries = 7;getRetries 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.HTTPRetryOrBuilder getRetriesOrBuilder()
Retry policy for HTTP requests.
.istio.networking.v1alpha3.HTTPRetry retries = 7;public boolean hasFault()
Fault injection policy to apply on HTTP traffic at the client side. Note that timeouts or retries will not be enabled when faults are enabled on the client side.
.istio.networking.v1alpha3.HTTPFaultInjection fault = 8;hasFault 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.HTTPFaultInjection getFault()
Fault injection policy to apply on HTTP traffic at the client side. Note that timeouts or retries will not be enabled when faults are enabled on the client side.
.istio.networking.v1alpha3.HTTPFaultInjection fault = 8;getFault 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.HTTPFaultInjectionOrBuilder getFaultOrBuilder()
Fault injection policy to apply on HTTP traffic at the client side. Note that timeouts or retries will not be enabled when faults are enabled on the client side.
.istio.networking.v1alpha3.HTTPFaultInjection fault = 8;public boolean hasMirror()
Mirror HTTP traffic to a another destination in addition to forwarding the requests to the intended destination. Mirrored traffic is on a best effort basis where the sidecar/gateway will not wait for the mirrored cluster to respond before returning the response from the original destination. Statistics will be generated for the mirrored destination.
.istio.networking.v1alpha3.Destination mirror = 9;hasMirror 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.Destination getMirror()
Mirror HTTP traffic to a another destination in addition to forwarding the requests to the intended destination. Mirrored traffic is on a best effort basis where the sidecar/gateway will not wait for the mirrored cluster to respond before returning the response from the original destination. Statistics will be generated for the mirrored destination.
.istio.networking.v1alpha3.Destination mirror = 9;getMirror 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.DestinationOrBuilder getMirrorOrBuilder()
Mirror HTTP traffic to a another destination in addition to forwarding the requests to the intended destination. Mirrored traffic is on a best effort basis where the sidecar/gateway will not wait for the mirrored cluster to respond before returning the response from the original destination. Statistics will be generated for the mirrored destination.
.istio.networking.v1alpha3.Destination mirror = 9;@Deprecated public boolean hasMirrorPercent()
Percentage of the traffic to be mirrored by the `mirror` field. Use of integer `mirror_percent` value is deprecated. Use the double `mirror_percentage` field instead
.google.protobuf.UInt32Value mirror_percent = 18 [deprecated = true];hasMirrorPercent 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilder@Deprecated public com.google.protobuf.UInt32Value getMirrorPercent()
Percentage of the traffic to be mirrored by the `mirror` field. Use of integer `mirror_percent` value is deprecated. Use the double `mirror_percentage` field instead
.google.protobuf.UInt32Value mirror_percent = 18 [deprecated = true];getMirrorPercent 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilder@Deprecated public com.google.protobuf.UInt32ValueOrBuilder getMirrorPercentOrBuilder()
Percentage of the traffic to be mirrored by the `mirror` field. Use of integer `mirror_percent` value is deprecated. Use the double `mirror_percentage` field instead
.google.protobuf.UInt32Value mirror_percent = 18 [deprecated = true];public boolean hasMirrorPercentage()
Percentage of the traffic to be mirrored by the `mirror` field. If this field is absent, all the traffic (100%) will be mirrored. Max value is 100.
.istio.networking.v1alpha3.Percent mirror_percentage = 19;hasMirrorPercentage 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.Percent getMirrorPercentage()
Percentage of the traffic to be mirrored by the `mirror` field. If this field is absent, all the traffic (100%) will be mirrored. Max value is 100.
.istio.networking.v1alpha3.Percent mirror_percentage = 19;getMirrorPercentage 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.PercentOrBuilder getMirrorPercentageOrBuilder()
Percentage of the traffic to be mirrored by the `mirror` field. If this field is absent, all the traffic (100%) will be mirrored. Max value is 100.
.istio.networking.v1alpha3.Percent mirror_percentage = 19;public boolean hasCorsPolicy()
Cross-Origin Resource Sharing policy (CORS). Refer to [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) for further details about cross origin resource sharing.
.istio.networking.v1alpha3.CorsPolicy cors_policy = 10;hasCorsPolicy 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.CorsPolicy getCorsPolicy()
Cross-Origin Resource Sharing policy (CORS). Refer to [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) for further details about cross origin resource sharing.
.istio.networking.v1alpha3.CorsPolicy cors_policy = 10;getCorsPolicy 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.CorsPolicyOrBuilder getCorsPolicyOrBuilder()
Cross-Origin Resource Sharing policy (CORS). Refer to [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) for further details about cross origin resource sharing.
.istio.networking.v1alpha3.CorsPolicy cors_policy = 10;public boolean hasHeaders()
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16;hasHeaders 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.Headers getHeaders()
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16;getHeaders 在接口中 VirtualServiceOuterClass.HTTPRouteOrBuilderpublic VirtualServiceOuterClass.HeadersOrBuilder getHeadersOrBuilder()
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static VirtualServiceOuterClass.HTTPRoute parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.HTTPRoute parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.HTTPRoute parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.HTTPRoute parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.HTTPRoute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.HTTPRoute parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.HTTPRoute parseFrom(InputStream input) throws IOException
IOExceptionpublic static VirtualServiceOuterClass.HTTPRoute parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VirtualServiceOuterClass.HTTPRoute parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VirtualServiceOuterClass.HTTPRoute parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VirtualServiceOuterClass.HTTPRoute parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VirtualServiceOuterClass.HTTPRoute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VirtualServiceOuterClass.HTTPRoute.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static VirtualServiceOuterClass.HTTPRoute.Builder newBuilder()
public static VirtualServiceOuterClass.HTTPRoute.Builder newBuilder(VirtualServiceOuterClass.HTTPRoute prototype)
public VirtualServiceOuterClass.HTTPRoute.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected VirtualServiceOuterClass.HTTPRoute.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static VirtualServiceOuterClass.HTTPRoute getDefaultInstance()
public static com.google.protobuf.Parser<VirtualServiceOuterClass.HTTPRoute> parser()
public com.google.protobuf.Parser<VirtualServiceOuterClass.HTTPRoute> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public VirtualServiceOuterClass.HTTPRoute getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018–2023 Alibaba Group. All rights reserved.