类 VirtualServiceOuterClass.HTTPRoute
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- istio.networking.v1alpha3.VirtualServiceOuterClass.HTTPRoute
-
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,VirtualServiceOuterClass.HTTPRouteOrBuilder,java.io.Serializable
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 typeistio.networking.v1alpha3.HTTPRoute- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classVirtualServiceOuterClass.HTTPRoute.BuilderDescribes match conditions and actions for routing HTTP/1.1, HTTP2, and gRPC traffic.-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
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
-
-
字段概要
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 booleanequals(java.lang.Object obj)VirtualServiceOuterClass.CorsPolicygetCorsPolicy()Cross-Origin Resource Sharing policy (CORS).VirtualServiceOuterClass.CorsPolicyOrBuildergetCorsPolicyOrBuilder()Cross-Origin Resource Sharing policy (CORS).static VirtualServiceOuterClass.HTTPRoutegetDefaultInstance()VirtualServiceOuterClass.HTTPRoutegetDefaultInstanceForType()VirtualServiceOuterClass.DelegategetDelegate()Delegate is used to specify the particular VirtualService which can be used to define delegate HTTPRoute.VirtualServiceOuterClass.DelegateOrBuildergetDelegateOrBuilder()Delegate is used to specify the particular VirtualService which can be used to define delegate HTTPRoute.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()VirtualServiceOuterClass.HTTPFaultInjectiongetFault()Fault injection policy to apply on HTTP traffic at the client side.VirtualServiceOuterClass.HTTPFaultInjectionOrBuildergetFaultOrBuilder()Fault injection policy to apply on HTTP traffic at the client side.VirtualServiceOuterClass.HeadersgetHeaders()Header manipulation rulesVirtualServiceOuterClass.HeadersOrBuildergetHeadersOrBuilder()Header manipulation rulesVirtualServiceOuterClass.HTTPMatchRequestgetMatch(int index)Match conditions to be satisfied for the rule to be activated.intgetMatchCount()Match conditions to be satisfied for the rule to be activated.java.util.List<VirtualServiceOuterClass.HTTPMatchRequest>getMatchList()Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.HTTPMatchRequestOrBuildergetMatchOrBuilder(int index)Match conditions to be satisfied for the rule to be activated.java.util.List<? extends VirtualServiceOuterClass.HTTPMatchRequestOrBuilder>getMatchOrBuilderList()Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.DestinationgetMirror()Mirror HTTP traffic to a another destination in addition to forwarding the requests to the intended destination.VirtualServiceOuterClass.DestinationOrBuildergetMirrorOrBuilder()Mirror HTTP traffic to a another destination in addition to forwarding the requests to the intended destination.com.google.protobuf.UInt32ValuegetMirrorPercent()已过时。istio.networking.v1alpha3.HTTPRoute.mirror_percent is deprecated.VirtualServiceOuterClass.PercentgetMirrorPercentage()Percentage of the traffic to be mirrored by the `mirror` field.VirtualServiceOuterClass.PercentOrBuildergetMirrorPercentageOrBuilder()Percentage of the traffic to be mirrored by the `mirror` field.com.google.protobuf.UInt32ValueOrBuildergetMirrorPercentOrBuilder()已过时。java.lang.StringgetName()The name assigned to the route for debugging purposes.com.google.protobuf.ByteStringgetNameBytes()The name assigned to the route for debugging purposes.com.google.protobuf.Parser<VirtualServiceOuterClass.HTTPRoute>getParserForType()VirtualServiceOuterClass.HTTPRedirectgetRedirect()A HTTP rule can either redirect or forward (default) traffic.VirtualServiceOuterClass.HTTPRedirectOrBuildergetRedirectOrBuilder()A HTTP rule can either redirect or forward (default) traffic.VirtualServiceOuterClass.HTTPRetrygetRetries()Retry policy for HTTP requests.VirtualServiceOuterClass.HTTPRetryOrBuildergetRetriesOrBuilder()Retry policy for HTTP requests.VirtualServiceOuterClass.HTTPRewritegetRewrite()Rewrite HTTP URIs and Authority headers.VirtualServiceOuterClass.HTTPRewriteOrBuildergetRewriteOrBuilder()Rewrite HTTP URIs and Authority headers.VirtualServiceOuterClass.HTTPRouteDestinationgetRoute(int index)A HTTP rule can either redirect or forward (default) traffic.intgetRouteCount()A HTTP rule can either redirect or forward (default) traffic.java.util.List<VirtualServiceOuterClass.HTTPRouteDestination>getRouteList()A HTTP rule can either redirect or forward (default) traffic.VirtualServiceOuterClass.HTTPRouteDestinationOrBuildergetRouteOrBuilder(int index)A HTTP rule can either redirect or forward (default) traffic.java.util.List<? extends VirtualServiceOuterClass.HTTPRouteDestinationOrBuilder>getRouteOrBuilderList()A HTTP rule can either redirect or forward (default) traffic.intgetSerializedSize()com.google.protobuf.DurationgetTimeout()Timeout for HTTP requests, default is disabled.com.google.protobuf.DurationOrBuildergetTimeoutOrBuilder()Timeout for HTTP requests, default is disabled.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasCorsPolicy()Cross-Origin Resource Sharing policy (CORS).booleanhasDelegate()Delegate is used to specify the particular VirtualService which can be used to define delegate HTTPRoute.booleanhasFault()Fault injection policy to apply on HTTP traffic at the client side.inthashCode()booleanhasHeaders()Header manipulation rulesbooleanhasMirror()Mirror HTTP traffic to a another destination in addition to forwarding the requests to the intended destination.booleanhasMirrorPercent()已过时。istio.networking.v1alpha3.HTTPRoute.mirror_percent is deprecated.booleanhasMirrorPercentage()Percentage of the traffic to be mirrored by the `mirror` field.booleanhasRedirect()A HTTP rule can either redirect or forward (default) traffic.booleanhasRetries()Retry policy for HTTP requests.booleanhasRewrite()Rewrite HTTP URIs and Authority headers.booleanhasTimeout()Timeout for HTTP requests, default is disabled.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static VirtualServiceOuterClass.HTTPRoute.BuildernewBuilder()static VirtualServiceOuterClass.HTTPRoute.BuildernewBuilder(VirtualServiceOuterClass.HTTPRoute prototype)VirtualServiceOuterClass.HTTPRoute.BuildernewBuilderForType()protected VirtualServiceOuterClass.HTTPRoute.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static VirtualServiceOuterClass.HTTPRouteparseDelimitedFrom(java.io.InputStream input)static VirtualServiceOuterClass.HTTPRouteparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VirtualServiceOuterClass.HTTPRouteparseFrom(byte[] data)static VirtualServiceOuterClass.HTTPRouteparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VirtualServiceOuterClass.HTTPRouteparseFrom(com.google.protobuf.ByteString data)static VirtualServiceOuterClass.HTTPRouteparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VirtualServiceOuterClass.HTTPRouteparseFrom(com.google.protobuf.CodedInputStream input)static VirtualServiceOuterClass.HTTPRouteparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VirtualServiceOuterClass.HTTPRouteparseFrom(java.io.InputStream input)static VirtualServiceOuterClass.HTTPRouteparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VirtualServiceOuterClass.HTTPRouteparseFrom(java.nio.ByteBuffer data)static VirtualServiceOuterClass.HTTPRouteparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<VirtualServiceOuterClass.HTTPRoute>parser()VirtualServiceOuterClass.HTTPRoute.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
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, writeStringNoTag
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID
- 另请参阅:
- 常量字段值
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
name_
private volatile java.lang.Object name_
-
MATCH_FIELD_NUMBER
public static final int MATCH_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
match_
private java.util.List<VirtualServiceOuterClass.HTTPMatchRequest> match_
-
ROUTE_FIELD_NUMBER
public static final int ROUTE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
route_
private java.util.List<VirtualServiceOuterClass.HTTPRouteDestination> route_
-
REDIRECT_FIELD_NUMBER
public static final int REDIRECT_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
redirect_
private VirtualServiceOuterClass.HTTPRedirect redirect_
-
DELEGATE_FIELD_NUMBER
public static final int DELEGATE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
delegate_
private VirtualServiceOuterClass.Delegate delegate_
-
REWRITE_FIELD_NUMBER
public static final int REWRITE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
rewrite_
private VirtualServiceOuterClass.HTTPRewrite rewrite_
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
timeout_
private com.google.protobuf.Duration timeout_
-
RETRIES_FIELD_NUMBER
public static final int RETRIES_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
retries_
private VirtualServiceOuterClass.HTTPRetry retries_
-
FAULT_FIELD_NUMBER
public static final int FAULT_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
fault_
private VirtualServiceOuterClass.HTTPFaultInjection fault_
-
MIRROR_FIELD_NUMBER
public static final int MIRROR_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
mirror_
private VirtualServiceOuterClass.Destination mirror_
-
MIRROR_PERCENT_FIELD_NUMBER
public static final int MIRROR_PERCENT_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
mirrorPercent_
private com.google.protobuf.UInt32Value mirrorPercent_
-
MIRROR_PERCENTAGE_FIELD_NUMBER
public static final int MIRROR_PERCENTAGE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
mirrorPercentage_
private VirtualServiceOuterClass.Percent mirrorPercentage_
-
CORS_POLICY_FIELD_NUMBER
public static final int CORS_POLICY_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
corsPolicy_
private VirtualServiceOuterClass.CorsPolicy corsPolicy_
-
HEADERS_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
headers_
private VirtualServiceOuterClass.Headers headers_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final VirtualServiceOuterClass.HTTPRoute DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<VirtualServiceOuterClass.HTTPRoute> PARSER
-
-
方法详细资料
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getName
public java.lang.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.HTTPRouteOrBuilder- 返回:
- The name.
-
getNameBytes
public 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.HTTPRouteOrBuilder- 返回:
- The bytes for name.
-
getMatchList
public java.util.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;
-
getMatchOrBuilderList
public java.util.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;
-
getMatchCount
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;
-
getMatch
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;
-
getMatchOrBuilder
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;
-
getRouteList
public java.util.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;
-
getRouteOrBuilderList
public java.util.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;
-
getRouteCount
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;
-
getRoute
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;
-
getRouteOrBuilder
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;
-
hasRedirect
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.HTTPRouteOrBuilder- 返回:
- Whether the redirect field is set.
-
getRedirect
public 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.HTTPRouteOrBuilder- 返回:
- The redirect.
-
getRedirectOrBuilder
public 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;
-
hasDelegate
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.HTTPRouteOrBuilder- 返回:
- Whether the delegate field is set.
-
getDelegate
public 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.HTTPRouteOrBuilder- 返回:
- The delegate.
-
getDelegateOrBuilder
public 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;
-
hasRewrite
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.HTTPRouteOrBuilder- 返回:
- Whether the rewrite field is set.
-
getRewrite
public 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.HTTPRouteOrBuilder- 返回:
- The rewrite.
-
getRewriteOrBuilder
public 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;
-
hasTimeout
public boolean hasTimeout()
Timeout for HTTP requests, default is disabled.
.google.protobuf.Duration timeout = 6;- 指定者:
hasTimeout在接口中VirtualServiceOuterClass.HTTPRouteOrBuilder- 返回:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.Duration getTimeout()
Timeout for HTTP requests, default is disabled.
.google.protobuf.Duration timeout = 6;- 指定者:
getTimeout在接口中VirtualServiceOuterClass.HTTPRouteOrBuilder- 返回:
- The timeout.
-
getTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
Timeout for HTTP requests, default is disabled.
.google.protobuf.Duration timeout = 6;
-
hasRetries
public boolean hasRetries()
Retry policy for HTTP requests.
.istio.networking.v1alpha3.HTTPRetry retries = 7;- 指定者:
hasRetries在接口中VirtualServiceOuterClass.HTTPRouteOrBuilder- 返回:
- Whether the retries field is set.
-
getRetries
public VirtualServiceOuterClass.HTTPRetry getRetries()
Retry policy for HTTP requests.
.istio.networking.v1alpha3.HTTPRetry retries = 7;- 指定者:
getRetries在接口中VirtualServiceOuterClass.HTTPRouteOrBuilder- 返回:
- The retries.
-
getRetriesOrBuilder
public VirtualServiceOuterClass.HTTPRetryOrBuilder getRetriesOrBuilder()
Retry policy for HTTP requests.
.istio.networking.v1alpha3.HTTPRetry retries = 7;
-
hasFault
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.HTTPRouteOrBuilder- 返回:
- Whether the fault field is set.
-
getFault
public 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.HTTPRouteOrBuilder- 返回:
- The fault.
-
getFaultOrBuilder
public 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;
-
hasMirror
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.HTTPRouteOrBuilder- 返回:
- Whether the mirror field is set.
-
getMirror
public 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.HTTPRouteOrBuilder- 返回:
- The mirror.
-
getMirrorOrBuilder
public 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;
-
hasMirrorPercent
@Deprecated public boolean hasMirrorPercent()
已过时。istio.networking.v1alpha3.HTTPRoute.mirror_percent is deprecated. See networking/v1alpha3/virtual_service.proto;l=627Percentage 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- 返回:
- Whether the mirrorPercent field is set.
-
getMirrorPercent
@Deprecated public com.google.protobuf.UInt32Value getMirrorPercent()
已过时。istio.networking.v1alpha3.HTTPRoute.mirror_percent is deprecated. See networking/v1alpha3/virtual_service.proto;l=627Percentage 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- 返回:
- The mirrorPercent.
-
getMirrorPercentOrBuilder
@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];
-
hasMirrorPercentage
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.HTTPRouteOrBuilder- 返回:
- Whether the mirrorPercentage field is set.
-
getMirrorPercentage
public 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.HTTPRouteOrBuilder- 返回:
- The mirrorPercentage.
-
getMirrorPercentageOrBuilder
public 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;
-
hasCorsPolicy
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.HTTPRouteOrBuilder- 返回:
- Whether the corsPolicy field is set.
-
getCorsPolicy
public 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.HTTPRouteOrBuilder- 返回:
- The corsPolicy.
-
getCorsPolicyOrBuilder
public 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;
-
hasHeaders
public boolean hasHeaders()
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16;- 指定者:
hasHeaders在接口中VirtualServiceOuterClass.HTTPRouteOrBuilder- 返回:
- Whether the headers field is set.
-
getHeaders
public VirtualServiceOuterClass.Headers getHeaders()
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16;- 指定者:
getHeaders在接口中VirtualServiceOuterClass.HTTPRouteOrBuilder- 返回:
- The headers.
-
getHeadersOrBuilder
public VirtualServiceOuterClass.HeadersOrBuilder getHeadersOrBuilder()
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16;
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static VirtualServiceOuterClass.HTTPRoute parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.HTTPRoute parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.HTTPRoute parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.HTTPRoute parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.HTTPRoute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.HTTPRoute parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.HTTPRoute parseFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static VirtualServiceOuterClass.HTTPRoute parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static VirtualServiceOuterClass.HTTPRoute parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static VirtualServiceOuterClass.HTTPRoute parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static VirtualServiceOuterClass.HTTPRoute parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static VirtualServiceOuterClass.HTTPRoute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
newBuilderForType
public VirtualServiceOuterClass.HTTPRoute.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static VirtualServiceOuterClass.HTTPRoute.Builder newBuilder()
-
newBuilder
public static VirtualServiceOuterClass.HTTPRoute.Builder newBuilder(VirtualServiceOuterClass.HTTPRoute prototype)
-
toBuilder
public VirtualServiceOuterClass.HTTPRoute.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected VirtualServiceOuterClass.HTTPRoute.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static VirtualServiceOuterClass.HTTPRoute getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<VirtualServiceOuterClass.HTTPRoute> parser()
-
getParserForType
public com.google.protobuf.Parser<VirtualServiceOuterClass.HTTPRoute> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public VirtualServiceOuterClass.HTTPRoute getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-