类 VirtualServiceOuterClass.VirtualService.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>
-
- istio.networking.v1alpha3.VirtualServiceOuterClass.VirtualService.Builder
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,VirtualServiceOuterClass.VirtualServiceOrBuilder,java.lang.Cloneable
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 typeistio.networking.v1alpha3.VirtualService
-
-
字段概要
字段 修饰符和类型 字段 说明 private intbitField0_private com.google.protobuf.LazyStringListexportTo_private com.google.protobuf.LazyStringListgateways_private com.google.protobuf.LazyStringListhosts_private java.util.List<VirtualServiceOuterClass.HTTPRoute>http_private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.HTTPRoute,VirtualServiceOuterClass.HTTPRoute.Builder,VirtualServiceOuterClass.HTTPRouteOrBuilder>httpBuilder_private java.util.List<VirtualServiceOuterClass.TCPRoute>tcp_private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.TCPRoute,VirtualServiceOuterClass.TCPRoute.Builder,VirtualServiceOuterClass.TCPRouteOrBuilder>tcpBuilder_private java.util.List<VirtualServiceOuterClass.TLSRoute>tls_private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.TLSRoute,VirtualServiceOuterClass.TLSRoute.Builder,VirtualServiceOuterClass.TLSRouteOrBuilder>tlsBuilder_
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 VirtualServiceOuterClass.VirtualService.BuilderaddAllExportTo(java.lang.Iterable<java.lang.String> values)A list of namespaces to which this virtual service is exported.VirtualServiceOuterClass.VirtualService.BuilderaddAllGateways(java.lang.Iterable<java.lang.String> values)The names of gateways and sidecars that should apply these routes.VirtualServiceOuterClass.VirtualService.BuilderaddAllHosts(java.lang.Iterable<java.lang.String> values)The destination hosts to which traffic is being sent.VirtualServiceOuterClass.VirtualService.BuilderaddAllHttp(java.lang.Iterable<? extends VirtualServiceOuterClass.HTTPRoute> values)An ordered list of route rules for HTTP traffic.VirtualServiceOuterClass.VirtualService.BuilderaddAllTcp(java.lang.Iterable<? extends VirtualServiceOuterClass.TCPRoute> values)An ordered list of route rules for opaque TCP traffic.VirtualServiceOuterClass.VirtualService.BuilderaddAllTls(java.lang.Iterable<? extends VirtualServiceOuterClass.TLSRoute> values)An ordered list of route rule for non-terminated TLS & HTTPS traffic.VirtualServiceOuterClass.VirtualService.BuilderaddExportTo(java.lang.String value)A list of namespaces to which this virtual service is exported.VirtualServiceOuterClass.VirtualService.BuilderaddExportToBytes(com.google.protobuf.ByteString value)A list of namespaces to which this virtual service is exported.VirtualServiceOuterClass.VirtualService.BuilderaddGateways(java.lang.String value)The names of gateways and sidecars that should apply these routes.VirtualServiceOuterClass.VirtualService.BuilderaddGatewaysBytes(com.google.protobuf.ByteString value)The names of gateways and sidecars that should apply these routes.VirtualServiceOuterClass.VirtualService.BuilderaddHosts(java.lang.String value)The destination hosts to which traffic is being sent.VirtualServiceOuterClass.VirtualService.BuilderaddHostsBytes(com.google.protobuf.ByteString value)The destination hosts to which traffic is being sent.VirtualServiceOuterClass.VirtualService.BuilderaddHttp(int index, VirtualServiceOuterClass.HTTPRoute value)An ordered list of route rules for HTTP traffic.VirtualServiceOuterClass.VirtualService.BuilderaddHttp(int index, VirtualServiceOuterClass.HTTPRoute.Builder builderForValue)An ordered list of route rules for HTTP traffic.VirtualServiceOuterClass.VirtualService.BuilderaddHttp(VirtualServiceOuterClass.HTTPRoute value)An ordered list of route rules for HTTP traffic.VirtualServiceOuterClass.VirtualService.BuilderaddHttp(VirtualServiceOuterClass.HTTPRoute.Builder builderForValue)An ordered list of route rules for HTTP traffic.VirtualServiceOuterClass.HTTPRoute.BuilderaddHttpBuilder()An ordered list of route rules for HTTP traffic.VirtualServiceOuterClass.HTTPRoute.BuilderaddHttpBuilder(int index)An ordered list of route rules for HTTP traffic.VirtualServiceOuterClass.VirtualService.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)VirtualServiceOuterClass.VirtualService.BuilderaddTcp(int index, VirtualServiceOuterClass.TCPRoute value)An ordered list of route rules for opaque TCP traffic.VirtualServiceOuterClass.VirtualService.BuilderaddTcp(int index, VirtualServiceOuterClass.TCPRoute.Builder builderForValue)An ordered list of route rules for opaque TCP traffic.VirtualServiceOuterClass.VirtualService.BuilderaddTcp(VirtualServiceOuterClass.TCPRoute value)An ordered list of route rules for opaque TCP traffic.VirtualServiceOuterClass.VirtualService.BuilderaddTcp(VirtualServiceOuterClass.TCPRoute.Builder builderForValue)An ordered list of route rules for opaque TCP traffic.VirtualServiceOuterClass.TCPRoute.BuilderaddTcpBuilder()An ordered list of route rules for opaque TCP traffic.VirtualServiceOuterClass.TCPRoute.BuilderaddTcpBuilder(int index)An ordered list of route rules for opaque TCP traffic.VirtualServiceOuterClass.VirtualService.BuilderaddTls(int index, VirtualServiceOuterClass.TLSRoute value)An ordered list of route rule for non-terminated TLS & HTTPS traffic.VirtualServiceOuterClass.VirtualService.BuilderaddTls(int index, VirtualServiceOuterClass.TLSRoute.Builder builderForValue)An ordered list of route rule for non-terminated TLS & HTTPS traffic.VirtualServiceOuterClass.VirtualService.BuilderaddTls(VirtualServiceOuterClass.TLSRoute value)An ordered list of route rule for non-terminated TLS & HTTPS traffic.VirtualServiceOuterClass.VirtualService.BuilderaddTls(VirtualServiceOuterClass.TLSRoute.Builder builderForValue)An ordered list of route rule for non-terminated TLS & HTTPS traffic.VirtualServiceOuterClass.TLSRoute.BuilderaddTlsBuilder()An ordered list of route rule for non-terminated TLS & HTTPS traffic.VirtualServiceOuterClass.TLSRoute.BuilderaddTlsBuilder(int index)An ordered list of route rule for non-terminated TLS & HTTPS traffic.VirtualServiceOuterClass.VirtualServicebuild()VirtualServiceOuterClass.VirtualServicebuildPartial()VirtualServiceOuterClass.VirtualService.Builderclear()VirtualServiceOuterClass.VirtualService.BuilderclearExportTo()A list of namespaces to which this virtual service is exported.VirtualServiceOuterClass.VirtualService.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)VirtualServiceOuterClass.VirtualService.BuilderclearGateways()The names of gateways and sidecars that should apply these routes.VirtualServiceOuterClass.VirtualService.BuilderclearHosts()The destination hosts to which traffic is being sent.VirtualServiceOuterClass.VirtualService.BuilderclearHttp()An ordered list of route rules for HTTP traffic.VirtualServiceOuterClass.VirtualService.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)VirtualServiceOuterClass.VirtualService.BuilderclearTcp()An ordered list of route rules for opaque TCP traffic.VirtualServiceOuterClass.VirtualService.BuilderclearTls()An ordered list of route rule for non-terminated TLS & HTTPS traffic.VirtualServiceOuterClass.VirtualService.Builderclone()private voidensureExportToIsMutable()private voidensureGatewaysIsMutable()private voidensureHostsIsMutable()private voidensureHttpIsMutable()private voidensureTcpIsMutable()private voidensureTlsIsMutable()VirtualServiceOuterClass.VirtualServicegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetExportTo(int index)A list of namespaces to which this virtual service is exported.com.google.protobuf.ByteStringgetExportToBytes(int index)A list of namespaces to which this virtual service is exported.intgetExportToCount()A list of namespaces to which this virtual service is exported.com.google.protobuf.ProtocolStringListgetExportToList()A list of namespaces to which this virtual service is exported.java.lang.StringgetGateways(int index)The names of gateways and sidecars that should apply these routes.com.google.protobuf.ByteStringgetGatewaysBytes(int index)The names of gateways and sidecars that should apply these routes.intgetGatewaysCount()The names of gateways and sidecars that should apply these routes.com.google.protobuf.ProtocolStringListgetGatewaysList()The names of gateways and sidecars that should apply these routes.java.lang.StringgetHosts(int index)The destination hosts to which traffic is being sent.com.google.protobuf.ByteStringgetHostsBytes(int index)The destination hosts to which traffic is being sent.intgetHostsCount()The destination hosts to which traffic is being sent.com.google.protobuf.ProtocolStringListgetHostsList()The destination hosts to which traffic is being sent.VirtualServiceOuterClass.HTTPRoutegetHttp(int index)An ordered list of route rules for HTTP traffic.VirtualServiceOuterClass.HTTPRoute.BuildergetHttpBuilder(int index)An ordered list of route rules for HTTP traffic.java.util.List<VirtualServiceOuterClass.HTTPRoute.Builder>getHttpBuilderList()An ordered list of route rules for HTTP traffic.intgetHttpCount()An ordered list of route rules for HTTP traffic.private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.HTTPRoute,VirtualServiceOuterClass.HTTPRoute.Builder,VirtualServiceOuterClass.HTTPRouteOrBuilder>getHttpFieldBuilder()java.util.List<VirtualServiceOuterClass.HTTPRoute>getHttpList()An ordered list of route rules for HTTP traffic.VirtualServiceOuterClass.HTTPRouteOrBuildergetHttpOrBuilder(int index)An ordered list of route rules for HTTP traffic.java.util.List<? extends VirtualServiceOuterClass.HTTPRouteOrBuilder>getHttpOrBuilderList()An ordered list of route rules for HTTP traffic.VirtualServiceOuterClass.TCPRoutegetTcp(int index)An ordered list of route rules for opaque TCP traffic.VirtualServiceOuterClass.TCPRoute.BuildergetTcpBuilder(int index)An ordered list of route rules for opaque TCP traffic.java.util.List<VirtualServiceOuterClass.TCPRoute.Builder>getTcpBuilderList()An ordered list of route rules for opaque TCP traffic.intgetTcpCount()An ordered list of route rules for opaque TCP traffic.private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.TCPRoute,VirtualServiceOuterClass.TCPRoute.Builder,VirtualServiceOuterClass.TCPRouteOrBuilder>getTcpFieldBuilder()java.util.List<VirtualServiceOuterClass.TCPRoute>getTcpList()An ordered list of route rules for opaque TCP traffic.VirtualServiceOuterClass.TCPRouteOrBuildergetTcpOrBuilder(int index)An ordered list of route rules for opaque TCP traffic.java.util.List<? extends VirtualServiceOuterClass.TCPRouteOrBuilder>getTcpOrBuilderList()An ordered list of route rules for opaque TCP traffic.VirtualServiceOuterClass.TLSRoutegetTls(int index)An ordered list of route rule for non-terminated TLS & HTTPS traffic.VirtualServiceOuterClass.TLSRoute.BuildergetTlsBuilder(int index)An ordered list of route rule for non-terminated TLS & HTTPS traffic.java.util.List<VirtualServiceOuterClass.TLSRoute.Builder>getTlsBuilderList()An ordered list of route rule for non-terminated TLS & HTTPS traffic.intgetTlsCount()An ordered list of route rule for non-terminated TLS & HTTPS traffic.private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.TLSRoute,VirtualServiceOuterClass.TLSRoute.Builder,VirtualServiceOuterClass.TLSRouteOrBuilder>getTlsFieldBuilder()java.util.List<VirtualServiceOuterClass.TLSRoute>getTlsList()An ordered list of route rule for non-terminated TLS & HTTPS traffic.VirtualServiceOuterClass.TLSRouteOrBuildergetTlsOrBuilder(int index)An ordered list of route rule for non-terminated TLS & HTTPS traffic.java.util.List<? extends VirtualServiceOuterClass.TLSRouteOrBuilder>getTlsOrBuilderList()An ordered list of route rule for non-terminated TLS & HTTPS traffic.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()VirtualServiceOuterClass.VirtualService.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)VirtualServiceOuterClass.VirtualService.BuildermergeFrom(com.google.protobuf.Message other)VirtualServiceOuterClass.VirtualService.BuildermergeFrom(VirtualServiceOuterClass.VirtualService other)VirtualServiceOuterClass.VirtualService.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VirtualServiceOuterClass.VirtualService.BuilderremoveHttp(int index)An ordered list of route rules for HTTP traffic.VirtualServiceOuterClass.VirtualService.BuilderremoveTcp(int index)An ordered list of route rules for opaque TCP traffic.VirtualServiceOuterClass.VirtualService.BuilderremoveTls(int index)An ordered list of route rule for non-terminated TLS & HTTPS traffic.VirtualServiceOuterClass.VirtualService.BuildersetExportTo(int index, java.lang.String value)A list of namespaces to which this virtual service is exported.VirtualServiceOuterClass.VirtualService.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)VirtualServiceOuterClass.VirtualService.BuildersetGateways(int index, java.lang.String value)The names of gateways and sidecars that should apply these routes.VirtualServiceOuterClass.VirtualService.BuildersetHosts(int index, java.lang.String value)The destination hosts to which traffic is being sent.VirtualServiceOuterClass.VirtualService.BuildersetHttp(int index, VirtualServiceOuterClass.HTTPRoute value)An ordered list of route rules for HTTP traffic.VirtualServiceOuterClass.VirtualService.BuildersetHttp(int index, VirtualServiceOuterClass.HTTPRoute.Builder builderForValue)An ordered list of route rules for HTTP traffic.VirtualServiceOuterClass.VirtualService.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)VirtualServiceOuterClass.VirtualService.BuildersetTcp(int index, VirtualServiceOuterClass.TCPRoute value)An ordered list of route rules for opaque TCP traffic.VirtualServiceOuterClass.VirtualService.BuildersetTcp(int index, VirtualServiceOuterClass.TCPRoute.Builder builderForValue)An ordered list of route rules for opaque TCP traffic.VirtualServiceOuterClass.VirtualService.BuildersetTls(int index, VirtualServiceOuterClass.TLSRoute value)An ordered list of route rule for non-terminated TLS & HTTPS traffic.VirtualServiceOuterClass.VirtualService.BuildersetTls(int index, VirtualServiceOuterClass.TLSRoute.Builder builderForValue)An ordered list of route rule for non-terminated TLS & HTTPS traffic.VirtualServiceOuterClass.VirtualService.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
-
-
-
字段详细资料
-
bitField0_
private int bitField0_
-
hosts_
private com.google.protobuf.LazyStringList hosts_
-
gateways_
private com.google.protobuf.LazyStringList gateways_
-
http_
private java.util.List<VirtualServiceOuterClass.HTTPRoute> http_
-
httpBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.HTTPRoute,VirtualServiceOuterClass.HTTPRoute.Builder,VirtualServiceOuterClass.HTTPRouteOrBuilder> httpBuilder_
-
tls_
private java.util.List<VirtualServiceOuterClass.TLSRoute> tls_
-
tlsBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.TLSRoute,VirtualServiceOuterClass.TLSRoute.Builder,VirtualServiceOuterClass.TLSRouteOrBuilder> tlsBuilder_
-
tcp_
private java.util.List<VirtualServiceOuterClass.TCPRoute> tcp_
-
tcpBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.TCPRoute,VirtualServiceOuterClass.TCPRoute.Builder,VirtualServiceOuterClass.TCPRouteOrBuilder> tcpBuilder_
-
exportTo_
private com.google.protobuf.LazyStringList exportTo_
-
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>
-
clear
public VirtualServiceOuterClass.VirtualService.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>
-
getDefaultInstanceForType
public VirtualServiceOuterClass.VirtualService getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public VirtualServiceOuterClass.VirtualService build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public VirtualServiceOuterClass.VirtualService buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public VirtualServiceOuterClass.VirtualService.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>
-
setField
public VirtualServiceOuterClass.VirtualService.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>
-
clearField
public VirtualServiceOuterClass.VirtualService.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>
-
clearOneof
public VirtualServiceOuterClass.VirtualService.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>
-
setRepeatedField
public VirtualServiceOuterClass.VirtualService.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>
-
addRepeatedField
public VirtualServiceOuterClass.VirtualService.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>
-
mergeFrom
public VirtualServiceOuterClass.VirtualService.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.VirtualService.Builder>
-
mergeFrom
public VirtualServiceOuterClass.VirtualService.Builder mergeFrom(VirtualServiceOuterClass.VirtualService other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>
-
mergeFrom
public VirtualServiceOuterClass.VirtualService.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.VirtualService.Builder>- 抛出:
java.io.IOException
-
ensureHostsIsMutable
private void ensureHostsIsMutable()
-
getHostsList
public 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.VirtualServiceOrBuilder- 返回:
- A list containing the hosts.
-
getHostsCount
public 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.VirtualServiceOrBuilder- 返回:
- The count of hosts.
-
getHosts
public java.lang.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.VirtualServiceOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The hosts at the given index.
-
getHostsBytes
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.VirtualServiceOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the hosts at the given index.
-
setHosts
public VirtualServiceOuterClass.VirtualService.Builder setHosts(int index, java.lang.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.- 返回:
- This builder for chaining.
-
addHosts
public VirtualServiceOuterClass.VirtualService.Builder addHosts(java.lang.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.- 返回:
- This builder for chaining.
-
addAllHosts
public VirtualServiceOuterClass.VirtualService.Builder addAllHosts(java.lang.Iterable<java.lang.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.- 返回:
- This builder for chaining.
-
clearHosts
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;- 返回:
- This builder for chaining.
-
addHostsBytes
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.- 返回:
- This builder for chaining.
-
ensureGatewaysIsMutable
private void ensureGatewaysIsMutable()
-
getGatewaysList
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.VirtualServiceOrBuilder- 返回:
- A list containing the gateways.
-
getGatewaysCount
public 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.VirtualServiceOrBuilder- 返回:
- The count of gateways.
-
getGateways
public java.lang.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.VirtualServiceOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The gateways at the given index.
-
getGatewaysBytes
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.VirtualServiceOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the gateways at the given index.
-
setGateways
public VirtualServiceOuterClass.VirtualService.Builder setGateways(int index, java.lang.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.- 返回:
- This builder for chaining.
-
addGateways
public VirtualServiceOuterClass.VirtualService.Builder addGateways(java.lang.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.- 返回:
- This builder for chaining.
-
addAllGateways
public VirtualServiceOuterClass.VirtualService.Builder addAllGateways(java.lang.Iterable<java.lang.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.- 返回:
- This builder for chaining.
-
clearGateways
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;- 返回:
- This builder for chaining.
-
addGatewaysBytes
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.- 返回:
- This builder for chaining.
-
ensureHttpIsMutable
private void ensureHttpIsMutable()
-
getHttpList
public java.util.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;
-
getHttpCount
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;
-
getHttp
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;
-
setHttp
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;
-
setHttp
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;
-
addHttp
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;
-
addHttp
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;
-
addHttp
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;
-
addHttp
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;
-
addAllHttp
public VirtualServiceOuterClass.VirtualService.Builder addAllHttp(java.lang.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;
-
clearHttp
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;
-
removeHttp
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;
-
getHttpBuilder
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;
-
getHttpOrBuilder
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;
-
getHttpOrBuilderList
public java.util.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;
-
addHttpBuilder
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;
-
addHttpBuilder
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;
-
getHttpBuilderList
public java.util.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;
-
getHttpFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.HTTPRoute,VirtualServiceOuterClass.HTTPRoute.Builder,VirtualServiceOuterClass.HTTPRouteOrBuilder> getHttpFieldBuilder()
-
ensureTlsIsMutable
private void ensureTlsIsMutable()
-
getTlsList
public java.util.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;
-
getTlsCount
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;
-
getTls
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;
-
setTls
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;
-
setTls
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;
-
addTls
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;
-
addTls
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;
-
addTls
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;
-
addTls
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;
-
addAllTls
public VirtualServiceOuterClass.VirtualService.Builder addAllTls(java.lang.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;
-
clearTls
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;
-
removeTls
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;
-
getTlsBuilder
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;
-
getTlsOrBuilder
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;
-
getTlsOrBuilderList
public java.util.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;
-
addTlsBuilder
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;
-
addTlsBuilder
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;
-
getTlsBuilderList
public java.util.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;
-
getTlsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.TLSRoute,VirtualServiceOuterClass.TLSRoute.Builder,VirtualServiceOuterClass.TLSRouteOrBuilder> getTlsFieldBuilder()
-
ensureTcpIsMutable
private void ensureTcpIsMutable()
-
getTcpList
public java.util.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;
-
getTcpCount
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;
-
getTcp
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;
-
setTcp
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;
-
setTcp
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;
-
addTcp
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;
-
addTcp
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;
-
addTcp
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;
-
addTcp
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;
-
addAllTcp
public VirtualServiceOuterClass.VirtualService.Builder addAllTcp(java.lang.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;
-
clearTcp
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;
-
removeTcp
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;
-
getTcpBuilder
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;
-
getTcpOrBuilder
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;
-
getTcpOrBuilderList
public java.util.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;
-
addTcpBuilder
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;
-
addTcpBuilder
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;
-
getTcpBuilderList
public java.util.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;
-
getTcpFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.TCPRoute,VirtualServiceOuterClass.TCPRoute.Builder,VirtualServiceOuterClass.TCPRouteOrBuilder> getTcpFieldBuilder()
-
ensureExportToIsMutable
private void ensureExportToIsMutable()
-
getExportToList
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.VirtualServiceOrBuilder- 返回:
- A list containing the exportTo.
-
getExportToCount
public 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.VirtualServiceOrBuilder- 返回:
- The count of exportTo.
-
getExportTo
public java.lang.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.VirtualServiceOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The exportTo at the given index.
-
getExportToBytes
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.VirtualServiceOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the exportTo at the given index.
-
setExportTo
public VirtualServiceOuterClass.VirtualService.Builder setExportTo(int index, java.lang.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.- 返回:
- This builder for chaining.
-
addExportTo
public VirtualServiceOuterClass.VirtualService.Builder addExportTo(java.lang.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.- 返回:
- This builder for chaining.
-
addAllExportTo
public VirtualServiceOuterClass.VirtualService.Builder addAllExportTo(java.lang.Iterable<java.lang.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.- 返回:
- This builder for chaining.
-
clearExportTo
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;- 返回:
- This builder for chaining.
-
addExportToBytes
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.- 返回:
- This builder for chaining.
-
setUnknownFields
public final VirtualServiceOuterClass.VirtualService.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>
-
mergeUnknownFields
public final VirtualServiceOuterClass.VirtualService.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.VirtualService.Builder>
-
-