类 VirtualServiceOuterClass.HTTPRoute.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
istio.networking.v1alpha3.VirtualServiceOuterClass.HTTPRoute.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,VirtualServiceOuterClass.HTTPRouteOrBuilder,Cloneable
public static final class VirtualServiceOuterClass.HTTPRoute.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
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-
方法概要
修饰符和类型方法说明addAllMatch(Iterable<? extends VirtualServiceOuterClass.HTTPMatchRequest> values) Match conditions to be satisfied for the rule to be activated.addAllRoute(Iterable<? extends VirtualServiceOuterClass.HTTPRouteDestination> values) A HTTP rule can either redirect or forward (default) traffic.addMatch(int index, VirtualServiceOuterClass.HTTPMatchRequest value) Match conditions to be satisfied for the rule to be activated.addMatch(int index, VirtualServiceOuterClass.HTTPMatchRequest.Builder builderForValue) Match conditions to be satisfied for the rule to be activated.Match conditions to be satisfied for the rule to be activated.addMatch(VirtualServiceOuterClass.HTTPMatchRequest.Builder builderForValue) Match conditions to be satisfied for the rule to be activated.Match conditions to be satisfied for the rule to be activated.addMatchBuilder(int index) Match conditions to be satisfied for the rule to be activated.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addRoute(int index, VirtualServiceOuterClass.HTTPRouteDestination value) A HTTP rule can either redirect or forward (default) traffic.addRoute(int index, VirtualServiceOuterClass.HTTPRouteDestination.Builder builderForValue) A HTTP rule can either redirect or forward (default) traffic.A HTTP rule can either redirect or forward (default) traffic.addRoute(VirtualServiceOuterClass.HTTPRouteDestination.Builder builderForValue) A HTTP rule can either redirect or forward (default) traffic.A HTTP rule can either redirect or forward (default) traffic.addRouteBuilder(int index) A HTTP rule can either redirect or forward (default) traffic.build()clear()Cross-Origin Resource Sharing policy (CORS).Delegate is used to specify the particular VirtualService which can be used to define delegate HTTPRoute.Fault injection policy to apply on HTTP traffic at the client side.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Header manipulation rulesMatch conditions to be satisfied for the rule to be activated.Mirror HTTP traffic to a another destination in addition to forwarding the requests to the intended destination.已过时。Percentage of the traffic to be mirrored by the `mirror` field.The name assigned to the route for debugging purposes.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) A HTTP rule can either redirect or forward (default) traffic.Retry policy for HTTP requests.Rewrite HTTP URIs and Authority headers.A HTTP rule can either redirect or forward (default) traffic.Timeout for HTTP requests, default is disabled.clone()Cross-Origin Resource Sharing policy (CORS).Cross-Origin Resource Sharing policy (CORS).Cross-Origin Resource Sharing policy (CORS).Delegate is used to specify the particular VirtualService which can be used to define delegate HTTPRoute.Delegate is used to specify the particular VirtualService which can be used to define delegate HTTPRoute.Delegate is used to specify the particular VirtualService which can be used to define delegate HTTPRoute.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFault()Fault injection policy to apply on HTTP traffic at the client side.Fault injection policy to apply on HTTP traffic at the client side.Fault injection policy to apply on HTTP traffic at the client side.Header manipulation rulesHeader manipulation rulesHeader manipulation rulesgetMatch(int index) Match conditions to be satisfied for the rule to be activated.getMatchBuilder(int index) Match conditions to be satisfied for the rule to be activated.Match conditions to be satisfied for the rule to be activated.intMatch conditions to be satisfied for the rule to be activated.Match conditions to be satisfied for the rule to be activated.getMatchOrBuilder(int index) Match conditions to be satisfied for the rule to be activated.Match conditions to be satisfied for the rule to be activated.Mirror HTTP traffic to a another destination in addition to forwarding the requests to the intended destination.Mirror HTTP traffic to a another destination in addition to forwarding the requests to the intended destination.Mirror HTTP traffic to a another destination in addition to forwarding the requests to the intended destination.com.google.protobuf.UInt32Value已过时。istio.networking.v1alpha3.HTTPRoute.mirror_percent is deprecated.Percentage of the traffic to be mirrored by the `mirror` field.Percentage of the traffic to be mirrored by the `mirror` field.Percentage of the traffic to be mirrored by the `mirror` field.com.google.protobuf.UInt32Value.Builder已过时。com.google.protobuf.UInt32ValueOrBuilder已过时。getName()The name assigned to the route for debugging purposes.com.google.protobuf.ByteStringThe name assigned to the route for debugging purposes.A HTTP rule can either redirect or forward (default) traffic.A HTTP rule can either redirect or forward (default) traffic.A HTTP rule can either redirect or forward (default) traffic.Retry policy for HTTP requests.Retry policy for HTTP requests.Retry policy for HTTP requests.Rewrite HTTP URIs and Authority headers.Rewrite HTTP URIs and Authority headers.Rewrite HTTP URIs and Authority headers.getRoute(int index) A HTTP rule can either redirect or forward (default) traffic.getRouteBuilder(int index) A HTTP rule can either redirect or forward (default) traffic.A HTTP rule can either redirect or forward (default) traffic.intA HTTP rule can either redirect or forward (default) traffic.A HTTP rule can either redirect or forward (default) traffic.getRouteOrBuilder(int index) A HTTP rule can either redirect or forward (default) traffic.A HTTP rule can either redirect or forward (default) traffic.com.google.protobuf.DurationTimeout for HTTP requests, default is disabled.com.google.protobuf.Duration.BuilderTimeout for HTTP requests, default is disabled.com.google.protobuf.DurationOrBuilderTimeout for HTTP requests, default is disabled.booleanCross-Origin Resource Sharing policy (CORS).booleanDelegate 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.booleanHeader manipulation rulesbooleanMirror HTTP traffic to a another destination in addition to forwarding the requests to the intended destination.boolean已过时。istio.networking.v1alpha3.HTTPRoute.mirror_percent is deprecated.booleanPercentage of the traffic to be mirrored by the `mirror` field.booleanA HTTP rule can either redirect or forward (default) traffic.booleanRetry policy for HTTP requests.booleanRewrite HTTP URIs and Authority headers.booleanTimeout for HTTP requests, default is disabled.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanCross-Origin Resource Sharing policy (CORS).Delegate is used to specify the particular VirtualService which can be used to define delegate HTTPRoute.Fault injection policy to apply on HTTP traffic at the client side.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Header manipulation rulesMirror HTTP traffic to a another destination in addition to forwarding the requests to the intended destination.mergeMirrorPercent(com.google.protobuf.UInt32Value value) 已过时。Percentage of the traffic to be mirrored by the `mirror` field.A HTTP rule can either redirect or forward (default) traffic.Retry policy for HTTP requests.Rewrite HTTP URIs and Authority headers.mergeTimeout(com.google.protobuf.Duration value) Timeout for HTTP requests, default is disabled.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeMatch(int index) Match conditions to be satisfied for the rule to be activated.removeRoute(int index) A HTTP rule can either redirect or forward (default) traffic.Cross-Origin Resource Sharing policy (CORS).setCorsPolicy(VirtualServiceOuterClass.CorsPolicy.Builder builderForValue) Cross-Origin Resource Sharing policy (CORS).Delegate is used to specify the particular VirtualService which can be used to define delegate HTTPRoute.setDelegate(VirtualServiceOuterClass.Delegate.Builder builderForValue) Delegate is used to specify the particular VirtualService which can be used to define delegate HTTPRoute.Fault injection policy to apply on HTTP traffic at the client side.setFault(VirtualServiceOuterClass.HTTPFaultInjection.Builder builderForValue) Fault injection policy to apply on HTTP traffic at the client side.Header manipulation rulessetHeaders(VirtualServiceOuterClass.Headers.Builder builderForValue) Header manipulation rulessetMatch(int index, VirtualServiceOuterClass.HTTPMatchRequest value) Match conditions to be satisfied for the rule to be activated.setMatch(int index, VirtualServiceOuterClass.HTTPMatchRequest.Builder builderForValue) Match conditions to be satisfied for the rule to be activated.Mirror HTTP traffic to a another destination in addition to forwarding the requests to the intended destination.setMirror(VirtualServiceOuterClass.Destination.Builder builderForValue) Mirror HTTP traffic to a another destination in addition to forwarding the requests to the intended destination.setMirrorPercent(com.google.protobuf.UInt32Value value) 已过时。setMirrorPercent(com.google.protobuf.UInt32Value.Builder builderForValue) 已过时。Percentage of the traffic to be mirrored by the `mirror` field.setMirrorPercentage(VirtualServiceOuterClass.Percent.Builder builderForValue) Percentage of the traffic to be mirrored by the `mirror` field.The name assigned to the route for debugging purposes.setNameBytes(com.google.protobuf.ByteString value) The name assigned to the route for debugging purposes.A HTTP rule can either redirect or forward (default) traffic.setRedirect(VirtualServiceOuterClass.HTTPRedirect.Builder builderForValue) A HTTP rule can either redirect or forward (default) traffic.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Retry policy for HTTP requests.setRetries(VirtualServiceOuterClass.HTTPRetry.Builder builderForValue) Retry policy for HTTP requests.Rewrite HTTP URIs and Authority headers.setRewrite(VirtualServiceOuterClass.HTTPRewrite.Builder builderForValue) Rewrite HTTP URIs and Authority headers.setRoute(int index, VirtualServiceOuterClass.HTTPRouteDestination value) A HTTP rule can either redirect or forward (default) traffic.setRoute(int index, VirtualServiceOuterClass.HTTPRouteDestination.Builder builderForValue) A HTTP rule can either redirect or forward (default) traffic.setTimeout(com.google.protobuf.Duration value) Timeout for HTTP requests, default is disabled.setTimeout(com.google.protobuf.Duration.Builder builderForValue) Timeout for HTTP requests, default is disabled.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException从接口继承的方法 com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom从接口继承的方法 com.google.protobuf.MessageLite.Builder
mergeFrom从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
-
setField
public VirtualServiceOuterClass.HTTPRoute.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
-
clearField
public VirtualServiceOuterClass.HTTPRoute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
-
clearOneof
public VirtualServiceOuterClass.HTTPRoute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
-
setRepeatedField
public VirtualServiceOuterClass.HTTPRoute.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
-
addRepeatedField
public VirtualServiceOuterClass.HTTPRoute.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
-
mergeFrom
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
-
mergeFrom
public VirtualServiceOuterClass.HTTPRoute.Builder mergeFrom(VirtualServiceOuterClass.HTTPRoute other) -
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
-
mergeFrom
public VirtualServiceOuterClass.HTTPRoute.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>- 抛出:
IOException
-
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.
-
setName
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;- 参数:
value- The name to set.- 返回:
- This builder for chaining.
-
clearName
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;- 返回:
- This builder for chaining.
-
setNameBytes
public VirtualServiceOuterClass.HTTPRoute.Builder setNameBytes(com.google.protobuf.ByteString value) 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;- 参数:
value- The bytes for name to set.- 返回:
- This builder for chaining.
-
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; -
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
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; -
setMatch
public VirtualServiceOuterClass.HTTPRoute.Builder setMatch(int index, VirtualServiceOuterClass.HTTPMatchRequest value) 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; -
setMatch
public VirtualServiceOuterClass.HTTPRoute.Builder setMatch(int index, VirtualServiceOuterClass.HTTPMatchRequest.Builder builderForValue) 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; -
addMatch
public VirtualServiceOuterClass.HTTPRoute.Builder addMatch(VirtualServiceOuterClass.HTTPMatchRequest value) 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; -
addMatch
public VirtualServiceOuterClass.HTTPRoute.Builder addMatch(int index, VirtualServiceOuterClass.HTTPMatchRequest value) 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; -
addMatch
public VirtualServiceOuterClass.HTTPRoute.Builder addMatch(VirtualServiceOuterClass.HTTPMatchRequest.Builder builderForValue) 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; -
addMatch
public VirtualServiceOuterClass.HTTPRoute.Builder addMatch(int index, VirtualServiceOuterClass.HTTPMatchRequest.Builder builderForValue) 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; -
addAllMatch
public VirtualServiceOuterClass.HTTPRoute.Builder addAllMatch(Iterable<? extends VirtualServiceOuterClass.HTTPMatchRequest> values) 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; -
clearMatch
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; -
removeMatch
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; -
getMatchBuilder
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
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
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; -
addMatchBuilder
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; -
addMatchBuilder
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; -
getMatchBuilderList
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
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
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; -
setRoute
public VirtualServiceOuterClass.HTTPRoute.Builder setRoute(int index, VirtualServiceOuterClass.HTTPRouteDestination value) 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; -
setRoute
public VirtualServiceOuterClass.HTTPRoute.Builder setRoute(int index, VirtualServiceOuterClass.HTTPRouteDestination.Builder builderForValue) 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; -
addRoute
public VirtualServiceOuterClass.HTTPRoute.Builder addRoute(VirtualServiceOuterClass.HTTPRouteDestination value) 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; -
addRoute
public VirtualServiceOuterClass.HTTPRoute.Builder addRoute(int index, VirtualServiceOuterClass.HTTPRouteDestination value) 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; -
addRoute
public VirtualServiceOuterClass.HTTPRoute.Builder addRoute(VirtualServiceOuterClass.HTTPRouteDestination.Builder builderForValue) 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; -
addRoute
public VirtualServiceOuterClass.HTTPRoute.Builder addRoute(int index, VirtualServiceOuterClass.HTTPRouteDestination.Builder builderForValue) 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; -
addAllRoute
public VirtualServiceOuterClass.HTTPRoute.Builder addAllRoute(Iterable<? extends VirtualServiceOuterClass.HTTPRouteDestination> values) 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; -
clearRoute
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; -
removeRoute
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; -
getRouteBuilder
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
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 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; -
addRouteBuilder
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; -
addRouteBuilder
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; -
getRouteBuilderList
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
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.
-
setRedirect
public VirtualServiceOuterClass.HTTPRoute.Builder setRedirect(VirtualServiceOuterClass.HTTPRedirect value) 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; -
setRedirect
public VirtualServiceOuterClass.HTTPRoute.Builder setRedirect(VirtualServiceOuterClass.HTTPRedirect.Builder builderForValue) 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; -
mergeRedirect
public VirtualServiceOuterClass.HTTPRoute.Builder mergeRedirect(VirtualServiceOuterClass.HTTPRedirect value) 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; -
clearRedirect
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; -
getRedirectBuilder
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; -
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
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.
-
setDelegate
public VirtualServiceOuterClass.HTTPRoute.Builder setDelegate(VirtualServiceOuterClass.Delegate value) 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; -
setDelegate
public VirtualServiceOuterClass.HTTPRoute.Builder setDelegate(VirtualServiceOuterClass.Delegate.Builder builderForValue) 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; -
mergeDelegate
public VirtualServiceOuterClass.HTTPRoute.Builder mergeDelegate(VirtualServiceOuterClass.Delegate value) 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; -
clearDelegate
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; -
getDelegateBuilder
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; -
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
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.
-
setRewrite
public VirtualServiceOuterClass.HTTPRoute.Builder setRewrite(VirtualServiceOuterClass.HTTPRewrite value) 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; -
setRewrite
public VirtualServiceOuterClass.HTTPRoute.Builder setRewrite(VirtualServiceOuterClass.HTTPRewrite.Builder builderForValue) 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; -
mergeRewrite
public VirtualServiceOuterClass.HTTPRoute.Builder mergeRewrite(VirtualServiceOuterClass.HTTPRewrite value) 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; -
clearRewrite
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; -
getRewriteBuilder
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; -
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.
-
setTimeout
Timeout for HTTP requests, default is disabled.
.google.protobuf.Duration timeout = 6; -
setTimeout
public VirtualServiceOuterClass.HTTPRoute.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue) Timeout for HTTP requests, default is disabled.
.google.protobuf.Duration timeout = 6; -
mergeTimeout
Timeout for HTTP requests, default is disabled.
.google.protobuf.Duration timeout = 6; -
clearTimeout
Timeout for HTTP requests, default is disabled.
.google.protobuf.Duration timeout = 6; -
getTimeoutBuilder
public com.google.protobuf.Duration.Builder getTimeoutBuilder()Timeout for HTTP requests, default is disabled.
.google.protobuf.Duration timeout = 6; -
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
Retry policy for HTTP requests.
.istio.networking.v1alpha3.HTTPRetry retries = 7;- 指定者:
getRetries在接口中VirtualServiceOuterClass.HTTPRouteOrBuilder- 返回:
- The retries.
-
setRetries
public VirtualServiceOuterClass.HTTPRoute.Builder setRetries(VirtualServiceOuterClass.HTTPRetry value) Retry policy for HTTP requests.
.istio.networking.v1alpha3.HTTPRetry retries = 7; -
setRetries
public VirtualServiceOuterClass.HTTPRoute.Builder setRetries(VirtualServiceOuterClass.HTTPRetry.Builder builderForValue) Retry policy for HTTP requests.
.istio.networking.v1alpha3.HTTPRetry retries = 7; -
mergeRetries
public VirtualServiceOuterClass.HTTPRoute.Builder mergeRetries(VirtualServiceOuterClass.HTTPRetry value) Retry policy for HTTP requests.
.istio.networking.v1alpha3.HTTPRetry retries = 7; -
clearRetries
Retry policy for HTTP requests.
.istio.networking.v1alpha3.HTTPRetry retries = 7; -
getRetriesBuilder
Retry policy for HTTP requests.
.istio.networking.v1alpha3.HTTPRetry retries = 7; -
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
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.
-
setFault
public VirtualServiceOuterClass.HTTPRoute.Builder setFault(VirtualServiceOuterClass.HTTPFaultInjection value) 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; -
setFault
public VirtualServiceOuterClass.HTTPRoute.Builder setFault(VirtualServiceOuterClass.HTTPFaultInjection.Builder builderForValue) 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; -
mergeFault
public VirtualServiceOuterClass.HTTPRoute.Builder mergeFault(VirtualServiceOuterClass.HTTPFaultInjection value) 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; -
clearFault
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; -
getFaultBuilder
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; -
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
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.
-
setMirror
public VirtualServiceOuterClass.HTTPRoute.Builder setMirror(VirtualServiceOuterClass.Destination value) 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; -
setMirror
public VirtualServiceOuterClass.HTTPRoute.Builder setMirror(VirtualServiceOuterClass.Destination.Builder builderForValue) 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; -
mergeMirror
public VirtualServiceOuterClass.HTTPRoute.Builder mergeMirror(VirtualServiceOuterClass.Destination value) 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; -
clearMirror
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; -
getMirrorBuilder
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; -
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
已过时。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
已过时。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.
-
setMirrorPercent
@Deprecated public VirtualServiceOuterClass.HTTPRoute.Builder setMirrorPercent(com.google.protobuf.UInt32Value value) 已过时。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]; -
setMirrorPercent
@Deprecated public VirtualServiceOuterClass.HTTPRoute.Builder setMirrorPercent(com.google.protobuf.UInt32Value.Builder builderForValue) 已过时。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]; -
mergeMirrorPercent
@Deprecated public VirtualServiceOuterClass.HTTPRoute.Builder mergeMirrorPercent(com.google.protobuf.UInt32Value value) 已过时。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]; -
clearMirrorPercent
已过时。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]; -
getMirrorPercentBuilder
已过时。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]; -
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
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.
-
setMirrorPercentage
public VirtualServiceOuterClass.HTTPRoute.Builder setMirrorPercentage(VirtualServiceOuterClass.Percent value) 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; -
setMirrorPercentage
public VirtualServiceOuterClass.HTTPRoute.Builder setMirrorPercentage(VirtualServiceOuterClass.Percent.Builder builderForValue) 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; -
mergeMirrorPercentage
public VirtualServiceOuterClass.HTTPRoute.Builder mergeMirrorPercentage(VirtualServiceOuterClass.Percent value) 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; -
clearMirrorPercentage
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; -
getMirrorPercentageBuilder
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; -
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
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.
-
setCorsPolicy
public VirtualServiceOuterClass.HTTPRoute.Builder setCorsPolicy(VirtualServiceOuterClass.CorsPolicy value) 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; -
setCorsPolicy
public VirtualServiceOuterClass.HTTPRoute.Builder setCorsPolicy(VirtualServiceOuterClass.CorsPolicy.Builder builderForValue) 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; -
mergeCorsPolicy
public VirtualServiceOuterClass.HTTPRoute.Builder mergeCorsPolicy(VirtualServiceOuterClass.CorsPolicy value) 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; -
clearCorsPolicy
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; -
getCorsPolicyBuilder
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; -
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
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16;- 指定者:
getHeaders在接口中VirtualServiceOuterClass.HTTPRouteOrBuilder- 返回:
- The headers.
-
setHeaders
public VirtualServiceOuterClass.HTTPRoute.Builder setHeaders(VirtualServiceOuterClass.Headers value) Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16; -
setHeaders
public VirtualServiceOuterClass.HTTPRoute.Builder setHeaders(VirtualServiceOuterClass.Headers.Builder builderForValue) Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16; -
mergeHeaders
public VirtualServiceOuterClass.HTTPRoute.Builder mergeHeaders(VirtualServiceOuterClass.Headers value) Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16; -
clearHeaders
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16; -
getHeadersBuilder
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16; -
getHeadersOrBuilder
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 16; -
setUnknownFields
public final VirtualServiceOuterClass.HTTPRoute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
-
mergeUnknownFields
public final VirtualServiceOuterClass.HTTPRoute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.HTTPRoute.Builder>
-