public static final class VirtualServiceOuterClass.VirtualService.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder> implements VirtualServiceOuterClass.VirtualServiceOrBuilder
Configuration affecting traffic routing. <!-- crd generation tags +cue-gen:VirtualService:groupName:networking.istio.io +cue-gen:VirtualService:version:v1alpha3 +cue-gen:VirtualService:storageVersion +cue-gen:VirtualService:annotations:helm.sh/resource-policy=keep +cue-gen:VirtualService:labels:app=istio-pilot,chart=istio,heritage=Tiller,release=istio +cue-gen:VirtualService:subresource:status +cue-gen:VirtualService:scope:Namespaced +cue-gen:VirtualService:resource:categories=istio-io,networking-istio-io,shortNames=vs +cue-gen:VirtualService:printerColumn:name=Gateways,type=string,JSONPath=.spec.gateways,description="The names of gateways and sidecars that should apply these routes" +cue-gen:VirtualService:printerColumn:name=Hosts,type=string,JSONPath=.spec.hosts,description="The destination hosts to which traffic is being sent" +cue-gen:VirtualService:printerColumn:name=Age,type=date,JSONPath=.metadata.creationTimestamp,description="CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" +cue-gen:VirtualService:preserveUnknownFields:false --> <!-- go code generation tags +kubetype-gen +kubetype-gen:groupVersion=networking.istio.io/v1alpha3 +genclient +k8s:deepcopy-gen=true -->Protobuf type
istio.networking.v1alpha3.VirtualService| 限定符和类型 | 方法和说明 |
|---|---|
VirtualServiceOuterClass.VirtualService.Builder |
addAllExportTo(Iterable<String> values)
A list of namespaces to which this virtual service is exported.
|
VirtualServiceOuterClass.VirtualService.Builder |
addAllGateways(Iterable<String> values)
The names of gateways and sidecars that should apply these routes.
|
VirtualServiceOuterClass.VirtualService.Builder |
addAllHosts(Iterable<String> values)
The destination hosts to which traffic is being sent.
|
VirtualServiceOuterClass.VirtualService.Builder |
addAllHttp(Iterable<? extends VirtualServiceOuterClass.HTTPRoute> values)
An ordered list of route rules for HTTP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
addAllTcp(Iterable<? extends VirtualServiceOuterClass.TCPRoute> values)
An ordered list of route rules for opaque TCP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
addAllTls(Iterable<? extends VirtualServiceOuterClass.TLSRoute> values)
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
addExportTo(String value)
A list of namespaces to which this virtual service is exported.
|
VirtualServiceOuterClass.VirtualService.Builder |
addExportToBytes(com.google.protobuf.ByteString value)
A list of namespaces to which this virtual service is exported.
|
VirtualServiceOuterClass.VirtualService.Builder |
addGateways(String value)
The names of gateways and sidecars that should apply these routes.
|
VirtualServiceOuterClass.VirtualService.Builder |
addGatewaysBytes(com.google.protobuf.ByteString value)
The names of gateways and sidecars that should apply these routes.
|
VirtualServiceOuterClass.VirtualService.Builder |
addHosts(String value)
The destination hosts to which traffic is being sent.
|
VirtualServiceOuterClass.VirtualService.Builder |
addHostsBytes(com.google.protobuf.ByteString value)
The destination hosts to which traffic is being sent.
|
VirtualServiceOuterClass.VirtualService.Builder |
addHttp(int index,
VirtualServiceOuterClass.HTTPRoute.Builder builderForValue)
An ordered list of route rules for HTTP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
addHttp(int index,
VirtualServiceOuterClass.HTTPRoute value)
An ordered list of route rules for HTTP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
addHttp(VirtualServiceOuterClass.HTTPRoute.Builder builderForValue)
An ordered list of route rules for HTTP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
addHttp(VirtualServiceOuterClass.HTTPRoute value)
An ordered list of route rules for HTTP traffic.
|
VirtualServiceOuterClass.HTTPRoute.Builder |
addHttpBuilder()
An ordered list of route rules for HTTP traffic.
|
VirtualServiceOuterClass.HTTPRoute.Builder |
addHttpBuilder(int index)
An ordered list of route rules for HTTP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VirtualServiceOuterClass.VirtualService.Builder |
addTcp(int index,
VirtualServiceOuterClass.TCPRoute.Builder builderForValue)
An ordered list of route rules for opaque TCP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
addTcp(int index,
VirtualServiceOuterClass.TCPRoute value)
An ordered list of route rules for opaque TCP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
addTcp(VirtualServiceOuterClass.TCPRoute.Builder builderForValue)
An ordered list of route rules for opaque TCP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
addTcp(VirtualServiceOuterClass.TCPRoute value)
An ordered list of route rules for opaque TCP traffic.
|
VirtualServiceOuterClass.TCPRoute.Builder |
addTcpBuilder()
An ordered list of route rules for opaque TCP traffic.
|
VirtualServiceOuterClass.TCPRoute.Builder |
addTcpBuilder(int index)
An ordered list of route rules for opaque TCP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
addTls(int index,
VirtualServiceOuterClass.TLSRoute.Builder builderForValue)
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
addTls(int index,
VirtualServiceOuterClass.TLSRoute value)
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
addTls(VirtualServiceOuterClass.TLSRoute.Builder builderForValue)
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
addTls(VirtualServiceOuterClass.TLSRoute value)
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
VirtualServiceOuterClass.TLSRoute.Builder |
addTlsBuilder()
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
VirtualServiceOuterClass.TLSRoute.Builder |
addTlsBuilder(int index)
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
VirtualServiceOuterClass.VirtualService |
build() |
VirtualServiceOuterClass.VirtualService |
buildPartial() |
VirtualServiceOuterClass.VirtualService.Builder |
clear() |
VirtualServiceOuterClass.VirtualService.Builder |
clearExportTo()
A list of namespaces to which this virtual service is exported.
|
VirtualServiceOuterClass.VirtualService.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
VirtualServiceOuterClass.VirtualService.Builder |
clearGateways()
The names of gateways and sidecars that should apply these routes.
|
VirtualServiceOuterClass.VirtualService.Builder |
clearHosts()
The destination hosts to which traffic is being sent.
|
VirtualServiceOuterClass.VirtualService.Builder |
clearHttp()
An ordered list of route rules for HTTP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VirtualServiceOuterClass.VirtualService.Builder |
clearTcp()
An ordered list of route rules for opaque TCP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
clearTls()
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
clone() |
VirtualServiceOuterClass.VirtualService |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExportTo(int index)
A list of namespaces to which this virtual service is exported.
|
com.google.protobuf.ByteString |
getExportToBytes(int index)
A list of namespaces to which this virtual service is exported.
|
int |
getExportToCount()
A list of namespaces to which this virtual service is exported.
|
com.google.protobuf.ProtocolStringList |
getExportToList()
A list of namespaces to which this virtual service is exported.
|
String |
getGateways(int index)
The names of gateways and sidecars that should apply these routes.
|
com.google.protobuf.ByteString |
getGatewaysBytes(int index)
The names of gateways and sidecars that should apply these routes.
|
int |
getGatewaysCount()
The names of gateways and sidecars that should apply these routes.
|
com.google.protobuf.ProtocolStringList |
getGatewaysList()
The names of gateways and sidecars that should apply these routes.
|
String |
getHosts(int index)
The destination hosts to which traffic is being sent.
|
com.google.protobuf.ByteString |
getHostsBytes(int index)
The destination hosts to which traffic is being sent.
|
int |
getHostsCount()
The destination hosts to which traffic is being sent.
|
com.google.protobuf.ProtocolStringList |
getHostsList()
The destination hosts to which traffic is being sent.
|
VirtualServiceOuterClass.HTTPRoute |
getHttp(int index)
An ordered list of route rules for HTTP traffic.
|
VirtualServiceOuterClass.HTTPRoute.Builder |
getHttpBuilder(int index)
An ordered list of route rules for HTTP traffic.
|
List<VirtualServiceOuterClass.HTTPRoute.Builder> |
getHttpBuilderList()
An ordered list of route rules for HTTP traffic.
|
int |
getHttpCount()
An ordered list of route rules for HTTP traffic.
|
List<VirtualServiceOuterClass.HTTPRoute> |
getHttpList()
An ordered list of route rules for HTTP traffic.
|
VirtualServiceOuterClass.HTTPRouteOrBuilder |
getHttpOrBuilder(int index)
An ordered list of route rules for HTTP traffic.
|
List<? extends VirtualServiceOuterClass.HTTPRouteOrBuilder> |
getHttpOrBuilderList()
An ordered list of route rules for HTTP traffic.
|
VirtualServiceOuterClass.TCPRoute |
getTcp(int index)
An ordered list of route rules for opaque TCP traffic.
|
VirtualServiceOuterClass.TCPRoute.Builder |
getTcpBuilder(int index)
An ordered list of route rules for opaque TCP traffic.
|
List<VirtualServiceOuterClass.TCPRoute.Builder> |
getTcpBuilderList()
An ordered list of route rules for opaque TCP traffic.
|
int |
getTcpCount()
An ordered list of route rules for opaque TCP traffic.
|
List<VirtualServiceOuterClass.TCPRoute> |
getTcpList()
An ordered list of route rules for opaque TCP traffic.
|
VirtualServiceOuterClass.TCPRouteOrBuilder |
getTcpOrBuilder(int index)
An ordered list of route rules for opaque TCP traffic.
|
List<? extends VirtualServiceOuterClass.TCPRouteOrBuilder> |
getTcpOrBuilderList()
An ordered list of route rules for opaque TCP traffic.
|
VirtualServiceOuterClass.TLSRoute |
getTls(int index)
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
VirtualServiceOuterClass.TLSRoute.Builder |
getTlsBuilder(int index)
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
List<VirtualServiceOuterClass.TLSRoute.Builder> |
getTlsBuilderList()
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
int |
getTlsCount()
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
List<VirtualServiceOuterClass.TLSRoute> |
getTlsList()
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
VirtualServiceOuterClass.TLSRouteOrBuilder |
getTlsOrBuilder(int index)
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
List<? extends VirtualServiceOuterClass.TLSRouteOrBuilder> |
getTlsOrBuilderList()
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
VirtualServiceOuterClass.VirtualService.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VirtualServiceOuterClass.VirtualService.Builder |
mergeFrom(com.google.protobuf.Message other) |
VirtualServiceOuterClass.VirtualService.Builder |
mergeFrom(VirtualServiceOuterClass.VirtualService other) |
VirtualServiceOuterClass.VirtualService.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VirtualServiceOuterClass.VirtualService.Builder |
removeHttp(int index)
An ordered list of route rules for HTTP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
removeTcp(int index)
An ordered list of route rules for opaque TCP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
removeTls(int index)
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
setExportTo(int index,
String value)
A list of namespaces to which this virtual service is exported.
|
VirtualServiceOuterClass.VirtualService.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VirtualServiceOuterClass.VirtualService.Builder |
setGateways(int index,
String value)
The names of gateways and sidecars that should apply these routes.
|
VirtualServiceOuterClass.VirtualService.Builder |
setHosts(int index,
String value)
The destination hosts to which traffic is being sent.
|
VirtualServiceOuterClass.VirtualService.Builder |
setHttp(int index,
VirtualServiceOuterClass.HTTPRoute.Builder builderForValue)
An ordered list of route rules for HTTP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
setHttp(int index,
VirtualServiceOuterClass.HTTPRoute value)
An ordered list of route rules for HTTP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VirtualServiceOuterClass.VirtualService.Builder |
setTcp(int index,
VirtualServiceOuterClass.TCPRoute.Builder builderForValue)
An ordered list of route rules for opaque TCP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
setTcp(int index,
VirtualServiceOuterClass.TCPRoute value)
An ordered list of route rules for opaque TCP traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
setTls(int index,
VirtualServiceOuterClass.TLSRoute.Builder builderForValue)
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
setTls(int index,
VirtualServiceOuterClass.TLSRoute value)
An ordered list of route rule for non-terminated TLS & HTTPS
traffic.
|
VirtualServiceOuterClass.VirtualService.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>public VirtualServiceOuterClass.VirtualService.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>public VirtualServiceOuterClass.VirtualService getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic VirtualServiceOuterClass.VirtualService build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic VirtualServiceOuterClass.VirtualService buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic VirtualServiceOuterClass.VirtualService.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>public VirtualServiceOuterClass.VirtualService.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>public VirtualServiceOuterClass.VirtualService.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>public VirtualServiceOuterClass.VirtualService.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>public VirtualServiceOuterClass.VirtualService.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>public VirtualServiceOuterClass.VirtualService.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>public VirtualServiceOuterClass.VirtualService.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.VirtualService.Builder>public VirtualServiceOuterClass.VirtualService.Builder mergeFrom(VirtualServiceOuterClass.VirtualService other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>public VirtualServiceOuterClass.VirtualService.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.VirtualService.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getHostsList()
The destination hosts to which traffic is being sent. Could be a DNS name with wildcard prefix or an IP address. Depending on the platform, short-names can also be used instead of a FQDN (i.e. has no dots in the name). In such a scenario, the FQDN of the host would be derived based on the underlying platform. A single VirtualService can be used to describe all the traffic properties of the corresponding hosts, including those for multiple HTTP and TCP ports. Alternatively, the traffic properties of a host can be defined using more than one VirtualService, with certain caveats. Refer to the [Operations Guide](https://istio.io/docs/ops/best-practices/traffic-management/#split-virtual-services) for details. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ The hosts field applies to both HTTP and TCP services. Service inside the mesh, i.e., those found in the service registry, must always be referred to using their alphanumeric names. IP addresses are allowed only for services defined via the Gateway. *Note*: It must be empty for a delegate VirtualService.
repeated string hosts = 1;getHostsList 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilderpublic int getHostsCount()
The destination hosts to which traffic is being sent. Could be a DNS name with wildcard prefix or an IP address. Depending on the platform, short-names can also be used instead of a FQDN (i.e. has no dots in the name). In such a scenario, the FQDN of the host would be derived based on the underlying platform. A single VirtualService can be used to describe all the traffic properties of the corresponding hosts, including those for multiple HTTP and TCP ports. Alternatively, the traffic properties of a host can be defined using more than one VirtualService, with certain caveats. Refer to the [Operations Guide](https://istio.io/docs/ops/best-practices/traffic-management/#split-virtual-services) for details. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ The hosts field applies to both HTTP and TCP services. Service inside the mesh, i.e., those found in the service registry, must always be referred to using their alphanumeric names. IP addresses are allowed only for services defined via the Gateway. *Note*: It must be empty for a delegate VirtualService.
repeated string hosts = 1;getHostsCount 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilderpublic String getHosts(int index)
The destination hosts to which traffic is being sent. Could be a DNS name with wildcard prefix or an IP address. Depending on the platform, short-names can also be used instead of a FQDN (i.e. has no dots in the name). In such a scenario, the FQDN of the host would be derived based on the underlying platform. A single VirtualService can be used to describe all the traffic properties of the corresponding hosts, including those for multiple HTTP and TCP ports. Alternatively, the traffic properties of a host can be defined using more than one VirtualService, with certain caveats. Refer to the [Operations Guide](https://istio.io/docs/ops/best-practices/traffic-management/#split-virtual-services) for details. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ The hosts field applies to both HTTP and TCP services. Service inside the mesh, i.e., those found in the service registry, must always be referred to using their alphanumeric names. IP addresses are allowed only for services defined via the Gateway. *Note*: It must be empty for a delegate VirtualService.
repeated string hosts = 1;getHosts 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getHostsBytes(int index)
The destination hosts to which traffic is being sent. Could be a DNS name with wildcard prefix or an IP address. Depending on the platform, short-names can also be used instead of a FQDN (i.e. has no dots in the name). In such a scenario, the FQDN of the host would be derived based on the underlying platform. A single VirtualService can be used to describe all the traffic properties of the corresponding hosts, including those for multiple HTTP and TCP ports. Alternatively, the traffic properties of a host can be defined using more than one VirtualService, with certain caveats. Refer to the [Operations Guide](https://istio.io/docs/ops/best-practices/traffic-management/#split-virtual-services) for details. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ The hosts field applies to both HTTP and TCP services. Service inside the mesh, i.e., those found in the service registry, must always be referred to using their alphanumeric names. IP addresses are allowed only for services defined via the Gateway. *Note*: It must be empty for a delegate VirtualService.
repeated string hosts = 1;getHostsBytes 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilderindex - The index of the value to return.public VirtualServiceOuterClass.VirtualService.Builder setHosts(int index, String value)
The destination hosts to which traffic is being sent. Could be a DNS name with wildcard prefix or an IP address. Depending on the platform, short-names can also be used instead of a FQDN (i.e. has no dots in the name). In such a scenario, the FQDN of the host would be derived based on the underlying platform. A single VirtualService can be used to describe all the traffic properties of the corresponding hosts, including those for multiple HTTP and TCP ports. Alternatively, the traffic properties of a host can be defined using more than one VirtualService, with certain caveats. Refer to the [Operations Guide](https://istio.io/docs/ops/best-practices/traffic-management/#split-virtual-services) for details. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ The hosts field applies to both HTTP and TCP services. Service inside the mesh, i.e., those found in the service registry, must always be referred to using their alphanumeric names. IP addresses are allowed only for services defined via the Gateway. *Note*: It must be empty for a delegate VirtualService.
repeated string hosts = 1;index - The index to set the value at.value - The hosts to set.public VirtualServiceOuterClass.VirtualService.Builder addHosts(String value)
The destination hosts to which traffic is being sent. Could be a DNS name with wildcard prefix or an IP address. Depending on the platform, short-names can also be used instead of a FQDN (i.e. has no dots in the name). In such a scenario, the FQDN of the host would be derived based on the underlying platform. A single VirtualService can be used to describe all the traffic properties of the corresponding hosts, including those for multiple HTTP and TCP ports. Alternatively, the traffic properties of a host can be defined using more than one VirtualService, with certain caveats. Refer to the [Operations Guide](https://istio.io/docs/ops/best-practices/traffic-management/#split-virtual-services) for details. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ The hosts field applies to both HTTP and TCP services. Service inside the mesh, i.e., those found in the service registry, must always be referred to using their alphanumeric names. IP addresses are allowed only for services defined via the Gateway. *Note*: It must be empty for a delegate VirtualService.
repeated string hosts = 1;value - The hosts to add.public VirtualServiceOuterClass.VirtualService.Builder addAllHosts(Iterable<String> values)
The destination hosts to which traffic is being sent. Could be a DNS name with wildcard prefix or an IP address. Depending on the platform, short-names can also be used instead of a FQDN (i.e. has no dots in the name). In such a scenario, the FQDN of the host would be derived based on the underlying platform. A single VirtualService can be used to describe all the traffic properties of the corresponding hosts, including those for multiple HTTP and TCP ports. Alternatively, the traffic properties of a host can be defined using more than one VirtualService, with certain caveats. Refer to the [Operations Guide](https://istio.io/docs/ops/best-practices/traffic-management/#split-virtual-services) for details. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ The hosts field applies to both HTTP and TCP services. Service inside the mesh, i.e., those found in the service registry, must always be referred to using their alphanumeric names. IP addresses are allowed only for services defined via the Gateway. *Note*: It must be empty for a delegate VirtualService.
repeated string hosts = 1;values - The hosts to add.public VirtualServiceOuterClass.VirtualService.Builder clearHosts()
The destination hosts to which traffic is being sent. Could be a DNS name with wildcard prefix or an IP address. Depending on the platform, short-names can also be used instead of a FQDN (i.e. has no dots in the name). In such a scenario, the FQDN of the host would be derived based on the underlying platform. A single VirtualService can be used to describe all the traffic properties of the corresponding hosts, including those for multiple HTTP and TCP ports. Alternatively, the traffic properties of a host can be defined using more than one VirtualService, with certain caveats. Refer to the [Operations Guide](https://istio.io/docs/ops/best-practices/traffic-management/#split-virtual-services) for details. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ The hosts field applies to both HTTP and TCP services. Service inside the mesh, i.e., those found in the service registry, must always be referred to using their alphanumeric names. IP addresses are allowed only for services defined via the Gateway. *Note*: It must be empty for a delegate VirtualService.
repeated string hosts = 1;public VirtualServiceOuterClass.VirtualService.Builder addHostsBytes(com.google.protobuf.ByteString value)
The destination hosts to which traffic is being sent. Could be a DNS name with wildcard prefix or an IP address. Depending on the platform, short-names can also be used instead of a FQDN (i.e. has no dots in the name). In such a scenario, the FQDN of the host would be derived based on the underlying platform. A single VirtualService can be used to describe all the traffic properties of the corresponding hosts, including those for multiple HTTP and TCP ports. Alternatively, the traffic properties of a host can be defined using more than one VirtualService, with certain caveats. Refer to the [Operations Guide](https://istio.io/docs/ops/best-practices/traffic-management/#split-virtual-services) for details. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ The hosts field applies to both HTTP and TCP services. Service inside the mesh, i.e., those found in the service registry, must always be referred to using their alphanumeric names. IP addresses are allowed only for services defined via the Gateway. *Note*: It must be empty for a delegate VirtualService.
repeated string hosts = 1;value - The bytes of the hosts to add.public com.google.protobuf.ProtocolStringList getGatewaysList()
The names of gateways and sidecars that should apply these routes. Gateways in other namespaces may be referred to by `<gateway namespace>/<gateway name>`; specifying a gateway with no namespace qualifier is the same as specifying the VirtualService's namespace. A single VirtualService is used for sidecars inside the mesh as well as for one or more gateways. The selection condition imposed by this field can be overridden using the source field in the match conditions of protocol-specific routes. The reserved word `mesh` is used to imply all the sidecars in the mesh. When this field is omitted, the default gateway (`mesh`) will be used, which would apply the rule to all sidecars in the mesh. If a list of gateway names is provided, the rules will apply only to the gateways. To apply the rules to both gateways and sidecars, specify `mesh` as one of the gateway names.
repeated string gateways = 2;getGatewaysList 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilderpublic int getGatewaysCount()
The names of gateways and sidecars that should apply these routes. Gateways in other namespaces may be referred to by `<gateway namespace>/<gateway name>`; specifying a gateway with no namespace qualifier is the same as specifying the VirtualService's namespace. A single VirtualService is used for sidecars inside the mesh as well as for one or more gateways. The selection condition imposed by this field can be overridden using the source field in the match conditions of protocol-specific routes. The reserved word `mesh` is used to imply all the sidecars in the mesh. When this field is omitted, the default gateway (`mesh`) will be used, which would apply the rule to all sidecars in the mesh. If a list of gateway names is provided, the rules will apply only to the gateways. To apply the rules to both gateways and sidecars, specify `mesh` as one of the gateway names.
repeated string gateways = 2;getGatewaysCount 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilderpublic String getGateways(int index)
The names of gateways and sidecars that should apply these routes. Gateways in other namespaces may be referred to by `<gateway namespace>/<gateway name>`; specifying a gateway with no namespace qualifier is the same as specifying the VirtualService's namespace. A single VirtualService is used for sidecars inside the mesh as well as for one or more gateways. The selection condition imposed by this field can be overridden using the source field in the match conditions of protocol-specific routes. The reserved word `mesh` is used to imply all the sidecars in the mesh. When this field is omitted, the default gateway (`mesh`) will be used, which would apply the rule to all sidecars in the mesh. If a list of gateway names is provided, the rules will apply only to the gateways. To apply the rules to both gateways and sidecars, specify `mesh` as one of the gateway names.
repeated string gateways = 2;getGateways 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getGatewaysBytes(int index)
The names of gateways and sidecars that should apply these routes. Gateways in other namespaces may be referred to by `<gateway namespace>/<gateway name>`; specifying a gateway with no namespace qualifier is the same as specifying the VirtualService's namespace. A single VirtualService is used for sidecars inside the mesh as well as for one or more gateways. The selection condition imposed by this field can be overridden using the source field in the match conditions of protocol-specific routes. The reserved word `mesh` is used to imply all the sidecars in the mesh. When this field is omitted, the default gateway (`mesh`) will be used, which would apply the rule to all sidecars in the mesh. If a list of gateway names is provided, the rules will apply only to the gateways. To apply the rules to both gateways and sidecars, specify `mesh` as one of the gateway names.
repeated string gateways = 2;getGatewaysBytes 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilderindex - The index of the value to return.public VirtualServiceOuterClass.VirtualService.Builder setGateways(int index, String value)
The names of gateways and sidecars that should apply these routes. Gateways in other namespaces may be referred to by `<gateway namespace>/<gateway name>`; specifying a gateway with no namespace qualifier is the same as specifying the VirtualService's namespace. A single VirtualService is used for sidecars inside the mesh as well as for one or more gateways. The selection condition imposed by this field can be overridden using the source field in the match conditions of protocol-specific routes. The reserved word `mesh` is used to imply all the sidecars in the mesh. When this field is omitted, the default gateway (`mesh`) will be used, which would apply the rule to all sidecars in the mesh. If a list of gateway names is provided, the rules will apply only to the gateways. To apply the rules to both gateways and sidecars, specify `mesh` as one of the gateway names.
repeated string gateways = 2;index - The index to set the value at.value - The gateways to set.public VirtualServiceOuterClass.VirtualService.Builder addGateways(String value)
The names of gateways and sidecars that should apply these routes. Gateways in other namespaces may be referred to by `<gateway namespace>/<gateway name>`; specifying a gateway with no namespace qualifier is the same as specifying the VirtualService's namespace. A single VirtualService is used for sidecars inside the mesh as well as for one or more gateways. The selection condition imposed by this field can be overridden using the source field in the match conditions of protocol-specific routes. The reserved word `mesh` is used to imply all the sidecars in the mesh. When this field is omitted, the default gateway (`mesh`) will be used, which would apply the rule to all sidecars in the mesh. If a list of gateway names is provided, the rules will apply only to the gateways. To apply the rules to both gateways and sidecars, specify `mesh` as one of the gateway names.
repeated string gateways = 2;value - The gateways to add.public VirtualServiceOuterClass.VirtualService.Builder addAllGateways(Iterable<String> values)
The names of gateways and sidecars that should apply these routes. Gateways in other namespaces may be referred to by `<gateway namespace>/<gateway name>`; specifying a gateway with no namespace qualifier is the same as specifying the VirtualService's namespace. A single VirtualService is used for sidecars inside the mesh as well as for one or more gateways. The selection condition imposed by this field can be overridden using the source field in the match conditions of protocol-specific routes. The reserved word `mesh` is used to imply all the sidecars in the mesh. When this field is omitted, the default gateway (`mesh`) will be used, which would apply the rule to all sidecars in the mesh. If a list of gateway names is provided, the rules will apply only to the gateways. To apply the rules to both gateways and sidecars, specify `mesh` as one of the gateway names.
repeated string gateways = 2;values - The gateways to add.public VirtualServiceOuterClass.VirtualService.Builder clearGateways()
The names of gateways and sidecars that should apply these routes. Gateways in other namespaces may be referred to by `<gateway namespace>/<gateway name>`; specifying a gateway with no namespace qualifier is the same as specifying the VirtualService's namespace. A single VirtualService is used for sidecars inside the mesh as well as for one or more gateways. The selection condition imposed by this field can be overridden using the source field in the match conditions of protocol-specific routes. The reserved word `mesh` is used to imply all the sidecars in the mesh. When this field is omitted, the default gateway (`mesh`) will be used, which would apply the rule to all sidecars in the mesh. If a list of gateway names is provided, the rules will apply only to the gateways. To apply the rules to both gateways and sidecars, specify `mesh` as one of the gateway names.
repeated string gateways = 2;public VirtualServiceOuterClass.VirtualService.Builder addGatewaysBytes(com.google.protobuf.ByteString value)
The names of gateways and sidecars that should apply these routes. Gateways in other namespaces may be referred to by `<gateway namespace>/<gateway name>`; specifying a gateway with no namespace qualifier is the same as specifying the VirtualService's namespace. A single VirtualService is used for sidecars inside the mesh as well as for one or more gateways. The selection condition imposed by this field can be overridden using the source field in the match conditions of protocol-specific routes. The reserved word `mesh` is used to imply all the sidecars in the mesh. When this field is omitted, the default gateway (`mesh`) will be used, which would apply the rule to all sidecars in the mesh. If a list of gateway names is provided, the rules will apply only to the gateways. To apply the rules to both gateways and sidecars, specify `mesh` as one of the gateway names.
repeated string gateways = 2;value - The bytes of the gateways to add.public List<VirtualServiceOuterClass.HTTPRoute> getHttpList()
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public int getHttpCount()
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public VirtualServiceOuterClass.HTTPRoute getHttp(int index)
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public VirtualServiceOuterClass.VirtualService.Builder setHttp(int index, VirtualServiceOuterClass.HTTPRoute value)
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public VirtualServiceOuterClass.VirtualService.Builder setHttp(int index, VirtualServiceOuterClass.HTTPRoute.Builder builderForValue)
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public VirtualServiceOuterClass.VirtualService.Builder addHttp(VirtualServiceOuterClass.HTTPRoute value)
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public VirtualServiceOuterClass.VirtualService.Builder addHttp(int index, VirtualServiceOuterClass.HTTPRoute value)
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public VirtualServiceOuterClass.VirtualService.Builder addHttp(VirtualServiceOuterClass.HTTPRoute.Builder builderForValue)
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public VirtualServiceOuterClass.VirtualService.Builder addHttp(int index, VirtualServiceOuterClass.HTTPRoute.Builder builderForValue)
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public VirtualServiceOuterClass.VirtualService.Builder addAllHttp(Iterable<? extends VirtualServiceOuterClass.HTTPRoute> values)
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public VirtualServiceOuterClass.VirtualService.Builder clearHttp()
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public VirtualServiceOuterClass.VirtualService.Builder removeHttp(int index)
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public VirtualServiceOuterClass.HTTPRoute.Builder getHttpBuilder(int index)
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public VirtualServiceOuterClass.HTTPRouteOrBuilder getHttpOrBuilder(int index)
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public List<? extends VirtualServiceOuterClass.HTTPRouteOrBuilder> getHttpOrBuilderList()
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public VirtualServiceOuterClass.HTTPRoute.Builder addHttpBuilder()
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public VirtualServiceOuterClass.HTTPRoute.Builder addHttpBuilder(int index)
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public List<VirtualServiceOuterClass.HTTPRoute.Builder> getHttpBuilderList()
An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports named 'http-*'/'http2-*'/'grpc-*', gateway ports with protocol HTTP/HTTP2/GRPC/ TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.HTTPRoute http = 3;public List<VirtualServiceOuterClass.TLSRoute> getTlsList()
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public int getTlsCount()
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public VirtualServiceOuterClass.TLSRoute getTls(int index)
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public VirtualServiceOuterClass.VirtualService.Builder setTls(int index, VirtualServiceOuterClass.TLSRoute value)
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public VirtualServiceOuterClass.VirtualService.Builder setTls(int index, VirtualServiceOuterClass.TLSRoute.Builder builderForValue)
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public VirtualServiceOuterClass.VirtualService.Builder addTls(VirtualServiceOuterClass.TLSRoute value)
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public VirtualServiceOuterClass.VirtualService.Builder addTls(int index, VirtualServiceOuterClass.TLSRoute value)
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public VirtualServiceOuterClass.VirtualService.Builder addTls(VirtualServiceOuterClass.TLSRoute.Builder builderForValue)
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public VirtualServiceOuterClass.VirtualService.Builder addTls(int index, VirtualServiceOuterClass.TLSRoute.Builder builderForValue)
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public VirtualServiceOuterClass.VirtualService.Builder addAllTls(Iterable<? extends VirtualServiceOuterClass.TLSRoute> values)
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public VirtualServiceOuterClass.VirtualService.Builder clearTls()
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public VirtualServiceOuterClass.VirtualService.Builder removeTls(int index)
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public VirtualServiceOuterClass.TLSRoute.Builder getTlsBuilder(int index)
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public VirtualServiceOuterClass.TLSRouteOrBuilder getTlsOrBuilder(int index)
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public List<? extends VirtualServiceOuterClass.TLSRouteOrBuilder> getTlsOrBuilderList()
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public VirtualServiceOuterClass.TLSRoute.Builder addTlsBuilder()
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public VirtualServiceOuterClass.TLSRoute.Builder addTlsBuilder(int index)
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public List<VirtualServiceOuterClass.TLSRoute.Builder> getTlsBuilderList()
An ordered list of route rule for non-terminated TLS & HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with "passthrough" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.
repeated .istio.networking.v1alpha3.TLSRoute tls = 5;public List<VirtualServiceOuterClass.TCPRoute> getTcpList()
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public int getTcpCount()
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public VirtualServiceOuterClass.TCPRoute getTcp(int index)
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public VirtualServiceOuterClass.VirtualService.Builder setTcp(int index, VirtualServiceOuterClass.TCPRoute value)
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public VirtualServiceOuterClass.VirtualService.Builder setTcp(int index, VirtualServiceOuterClass.TCPRoute.Builder builderForValue)
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public VirtualServiceOuterClass.VirtualService.Builder addTcp(VirtualServiceOuterClass.TCPRoute value)
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public VirtualServiceOuterClass.VirtualService.Builder addTcp(int index, VirtualServiceOuterClass.TCPRoute value)
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public VirtualServiceOuterClass.VirtualService.Builder addTcp(VirtualServiceOuterClass.TCPRoute.Builder builderForValue)
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public VirtualServiceOuterClass.VirtualService.Builder addTcp(int index, VirtualServiceOuterClass.TCPRoute.Builder builderForValue)
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public VirtualServiceOuterClass.VirtualService.Builder addAllTcp(Iterable<? extends VirtualServiceOuterClass.TCPRoute> values)
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public VirtualServiceOuterClass.VirtualService.Builder clearTcp()
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public VirtualServiceOuterClass.VirtualService.Builder removeTcp(int index)
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public VirtualServiceOuterClass.TCPRoute.Builder getTcpBuilder(int index)
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public VirtualServiceOuterClass.TCPRouteOrBuilder getTcpOrBuilder(int index)
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public List<? extends VirtualServiceOuterClass.TCPRouteOrBuilder> getTcpOrBuilderList()
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public VirtualServiceOuterClass.TCPRoute.Builder addTcpBuilder()
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public VirtualServiceOuterClass.TCPRoute.Builder addTcpBuilder(int index)
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public List<VirtualServiceOuterClass.TCPRoute.Builder> getTcpBuilderList()
An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.
repeated .istio.networking.v1alpha3.TCPRoute tcp = 4;public com.google.protobuf.ProtocolStringList getExportToList()
A list of namespaces to which this virtual service is exported. Exporting a virtual service allows it to be used by sidecars and gateways defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of virtual services across namespace boundaries. If no namespaces are specified then the virtual service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the virtual service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 6;getExportToList 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilderpublic int getExportToCount()
A list of namespaces to which this virtual service is exported. Exporting a virtual service allows it to be used by sidecars and gateways defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of virtual services across namespace boundaries. If no namespaces are specified then the virtual service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the virtual service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 6;getExportToCount 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilderpublic String getExportTo(int index)
A list of namespaces to which this virtual service is exported. Exporting a virtual service allows it to be used by sidecars and gateways defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of virtual services across namespace boundaries. If no namespaces are specified then the virtual service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the virtual service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 6;getExportTo 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExportToBytes(int index)
A list of namespaces to which this virtual service is exported. Exporting a virtual service allows it to be used by sidecars and gateways defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of virtual services across namespace boundaries. If no namespaces are specified then the virtual service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the virtual service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 6;getExportToBytes 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilderindex - The index of the value to return.public VirtualServiceOuterClass.VirtualService.Builder setExportTo(int index, String value)
A list of namespaces to which this virtual service is exported. Exporting a virtual service allows it to be used by sidecars and gateways defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of virtual services across namespace boundaries. If no namespaces are specified then the virtual service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the virtual service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 6;index - The index to set the value at.value - The exportTo to set.public VirtualServiceOuterClass.VirtualService.Builder addExportTo(String value)
A list of namespaces to which this virtual service is exported. Exporting a virtual service allows it to be used by sidecars and gateways defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of virtual services across namespace boundaries. If no namespaces are specified then the virtual service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the virtual service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 6;value - The exportTo to add.public VirtualServiceOuterClass.VirtualService.Builder addAllExportTo(Iterable<String> values)
A list of namespaces to which this virtual service is exported. Exporting a virtual service allows it to be used by sidecars and gateways defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of virtual services across namespace boundaries. If no namespaces are specified then the virtual service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the virtual service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 6;values - The exportTo to add.public VirtualServiceOuterClass.VirtualService.Builder clearExportTo()
A list of namespaces to which this virtual service is exported. Exporting a virtual service allows it to be used by sidecars and gateways defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of virtual services across namespace boundaries. If no namespaces are specified then the virtual service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the virtual service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 6;public VirtualServiceOuterClass.VirtualService.Builder addExportToBytes(com.google.protobuf.ByteString value)
A list of namespaces to which this virtual service is exported. Exporting a virtual service allows it to be used by sidecars and gateways defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of virtual services across namespace boundaries. If no namespaces are specified then the virtual service is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the virtual service is declared in. Similarly the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 6;value - The bytes of the exportTo to add.public final VirtualServiceOuterClass.VirtualService.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>public final VirtualServiceOuterClass.VirtualService.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>Copyright © 2018–2023 Alibaba Group. All rights reserved.