类 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,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 type
istio.networking.v1alpha3.HTTPRoute- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static final classDescribes 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<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter 从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
字段概要
字段修饰符和类型字段说明static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型方法说明booleanCross-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.static final com.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.Header manipulation rulesHeader manipulation rulesgetMatch(int index) 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.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.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.com.google.protobuf.Parser<VirtualServiceOuterClass.HTTPRoute> 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.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.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.intcom.google.protobuf.DurationTimeout 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.inthashCode()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 booleannewBuilder(VirtualServiceOuterClass.HTTPRoute prototype) newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<VirtualServiceOuterClass.HTTPRoute> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) 从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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从类继承的方法 com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
字段详细资料
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- 另请参阅:
-
MATCH_FIELD_NUMBER
public static final int MATCH_FIELD_NUMBER- 另请参阅:
-
ROUTE_FIELD_NUMBER
public static final int ROUTE_FIELD_NUMBER- 另请参阅:
-
REDIRECT_FIELD_NUMBER
public static final int REDIRECT_FIELD_NUMBER- 另请参阅:
-
DELEGATE_FIELD_NUMBER
public static final int DELEGATE_FIELD_NUMBER- 另请参阅:
-
REWRITE_FIELD_NUMBER
public static final int REWRITE_FIELD_NUMBER- 另请参阅:
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER- 另请参阅:
-
RETRIES_FIELD_NUMBER
public static final int RETRIES_FIELD_NUMBER- 另请参阅:
-
FAULT_FIELD_NUMBER
public static final int FAULT_FIELD_NUMBER- 另请参阅:
-
MIRROR_FIELD_NUMBER
public static final int MIRROR_FIELD_NUMBER- 另请参阅:
-
MIRROR_PERCENT_FIELD_NUMBER
public static final int MIRROR_PERCENT_FIELD_NUMBER- 另请参阅:
-
MIRROR_PERCENTAGE_FIELD_NUMBER
public static final int MIRROR_PERCENTAGE_FIELD_NUMBER- 另请参阅:
-
CORS_POLICY_FIELD_NUMBER
public static final int CORS_POLICY_FIELD_NUMBER- 另请参阅:
-
HEADERS_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER- 另请参阅:
-
-
方法详细资料
-
newInstance
- 覆盖:
newInstance在类中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
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
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; -
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; -
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; -
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 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
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; -
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.
-
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.
-
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.
-
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
Retry policy for HTTP requests.
.istio.networking.v1alpha3.HTTPRetry retries = 7;- 指定者:
getRetries在接口中VirtualServiceOuterClass.HTTPRouteOrBuilder- 返回:
- The retries.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
- 指定者:
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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.HTTPRoute parseFrom(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
- 抛出:
IOException
-
parseFrom
public static VirtualServiceOuterClass.HTTPRoute parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
public static VirtualServiceOuterClass.HTTPRoute parseDelimitedFrom(InputStream input) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
public static VirtualServiceOuterClass.HTTPRoute parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseFrom
public static VirtualServiceOuterClass.HTTPRoute parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - 抛出:
IOException
-
parseFrom
public static VirtualServiceOuterClass.HTTPRoute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
newBuilderForType
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static VirtualServiceOuterClass.HTTPRoute.Builder newBuilder(VirtualServiceOuterClass.HTTPRoute prototype) -
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
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-