类 VirtualServiceOuterClass.VirtualService

  • 所有已实现的接口:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, VirtualServiceOuterClass.VirtualServiceOrBuilder, java.io.Serializable
    封闭类:
    VirtualServiceOuterClass

    public static final class VirtualServiceOuterClass.VirtualService
    extends com.google.protobuf.GeneratedMessageV3
    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
    另请参阅:
    序列化表格
    • 构造器详细资料

      • VirtualService

        private VirtualService​(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
      • VirtualService

        private VirtualService()
    • 方法详细资料

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        覆盖:
        newInstance 在类中 com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        指定者:
        getUnknownFields 在接口中 com.google.protobuf.MessageOrBuilder
        覆盖:
        getUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        指定者:
        internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3
      • 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.
      • 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.
      • 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;
        指定者:
        getHttpList 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilder
      • 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;
        指定者:
        getHttpOrBuilderList 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilder
      • 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;
        指定者:
        getHttpCount 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilder
      • 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;
        指定者:
        getHttp 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilder
      • 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;
        指定者:
        getHttpOrBuilder 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilder
      • 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;
        指定者:
        getTlsList 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilder
      • 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;
        指定者:
        getTlsOrBuilderList 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilder
      • 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;
        指定者:
        getTlsCount 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilder
      • 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;
        指定者:
        getTls 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilder
      • 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;
        指定者:
        getTlsOrBuilder 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilder
      • 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;
        指定者:
        getTcpCount 在接口中 VirtualServiceOuterClass.VirtualServiceOrBuilder
      • 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.
      • isInitialized

        public final boolean isInitialized()
        指定者:
        isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
        覆盖:
        isInitialized 在类中 com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        指定者:
        writeTo 在接口中 com.google.protobuf.MessageLite
        覆盖:
        writeTo 在类中 com.google.protobuf.GeneratedMessageV3
        抛出:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        指定者:
        getSerializedSize 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        指定者:
        equals 在接口中 com.google.protobuf.Message
        覆盖:
        equals 在类中 com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        指定者:
        hashCode 在接口中 com.google.protobuf.Message
        覆盖:
        hashCode 在类中 com.google.protobuf.AbstractMessage
      • parseFrom

        public static VirtualServiceOuterClass.VirtualService parseFrom​(java.nio.ByteBuffer data)
                                                                 throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VirtualServiceOuterClass.VirtualService parseFrom​(java.nio.ByteBuffer data,
                                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                 throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VirtualServiceOuterClass.VirtualService parseFrom​(com.google.protobuf.ByteString data)
                                                                 throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VirtualServiceOuterClass.VirtualService parseFrom​(com.google.protobuf.ByteString data,
                                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                 throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VirtualServiceOuterClass.VirtualService parseFrom​(byte[] data)
                                                                 throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VirtualServiceOuterClass.VirtualService parseFrom​(byte[] data,
                                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                 throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VirtualServiceOuterClass.VirtualService parseFrom​(java.io.InputStream input,
                                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                 throws java.io.IOException
        抛出:
        java.io.IOException
      • parseDelimitedFrom

        public static VirtualServiceOuterClass.VirtualService parseDelimitedFrom​(java.io.InputStream input,
                                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                          throws java.io.IOException
        抛出:
        java.io.IOException
      • parseFrom

        public static VirtualServiceOuterClass.VirtualService parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                 throws java.io.IOException
        抛出:
        java.io.IOException
      • newBuilderForType

        public VirtualServiceOuterClass.VirtualService.Builder newBuilderForType()
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.Message
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.MessageLite
      • newBuilderForType

        protected VirtualServiceOuterClass.VirtualService.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        指定者:
        newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<VirtualServiceOuterClass.VirtualService> getParserForType()
        指定者:
        getParserForType 在接口中 com.google.protobuf.Message
        指定者:
        getParserForType 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public VirtualServiceOuterClass.VirtualService getDefaultInstanceForType()
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder