类 ServiceEntryOuterClass.ServiceEntry.Builder

  • 所有已实现的接口:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ServiceEntryOuterClass.ServiceEntryOrBuilder, java.lang.Cloneable
    封闭类:
    ServiceEntryOuterClass.ServiceEntry

    public static final class ServiceEntryOuterClass.ServiceEntry.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
    implements ServiceEntryOuterClass.ServiceEntryOrBuilder
     ServiceEntry enables adding additional entries into Istio's internal
     service registry.
     <!-- crd generation tags
     +cue-gen:ServiceEntry:groupName:networking.istio.io
     +cue-gen:ServiceEntry:version:v1alpha3
     +cue-gen:ServiceEntry:storageVersion
     +cue-gen:ServiceEntry:annotations:helm.sh/resource-policy=keep
     +cue-gen:ServiceEntry:labels:app=istio-pilot,chart=istio,heritage=Tiller,release=istio
     +cue-gen:ServiceEntry:subresource:status
     +cue-gen:ServiceEntry:scope:Namespaced
     +cue-gen:ServiceEntry:resource:categories=istio-io,networking-istio-io,shortNames=se,plural=serviceentries
     +cue-gen:ServiceEntry:printerColumn:name=Hosts,type=string,JSONPath=.spec.hosts,description="The hosts associated with the ServiceEntry"
     +cue-gen:ServiceEntry:printerColumn:name=Location,type=string,JSONPath=.spec.location,description="Whether the service is external to the
     mesh or part of the mesh (MESH_EXTERNAL or MESH_INTERNAL)"
     +cue-gen:ServiceEntry:printerColumn:name=Resolution,type=string,JSONPath=.spec.resolution,description="Service discovery mode for the hosts
     (NONE, STATIC, or DNS)"
     +cue-gen:ServiceEntry: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:ServiceEntry: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.ServiceEntry
    • 构造器详细资料

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
    • 方法详细资料

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        指定者:
        internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • 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<ServiceEntryOuterClass.ServiceEntry.Builder>
      • getDefaultInstanceForType

        public ServiceEntryOuterClass.ServiceEntry getDefaultInstanceForType()
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder
      • build

        public ServiceEntryOuterClass.ServiceEntry build()
        指定者:
        build 在接口中 com.google.protobuf.Message.Builder
        指定者:
        build 在接口中 com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ServiceEntryOuterClass.ServiceEntry buildPartial()
        指定者:
        buildPartial 在接口中 com.google.protobuf.Message.Builder
        指定者:
        buildPartial 在接口中 com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        指定者:
        isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
        覆盖:
        isInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>
      • mergeFrom

        public ServiceEntryOuterClass.ServiceEntry.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<ServiceEntryOuterClass.ServiceEntry.Builder>
        抛出:
        java.io.IOException
      • ensureHostsIsMutable

        private void ensureHostsIsMutable()
      • getHostsList

        public com.google.protobuf.ProtocolStringList getHostsList()
         The hosts associated with the ServiceEntry. Could be a DNS
         name with wildcard prefix.
         1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules.
         2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field.
         3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value
         will be matched against the hosts field.
         **NOTE 1:** When resolution is set to type DNS and no endpoints
         are specified, the host field will be used as the DNS name of the
         endpoint to route traffic to.
         **NOTE 2:** If the hostname matches with the name of a service
         from another service registry such as Kubernetes that also
         supplies its own set of endpoints, the ServiceEntry will be
         treated as a decorator of the existing Kubernetes
         service. Properties in the service entry will be added to the
         Kubernetes service if applicable. Currently, the only the
         following additional properties will be considered by `istiod`:
         1. subjectAltNames: In addition to verifying the SANs of the
            service accounts associated with the pods of the service, the
            SANs specified here will also be verified.
         
        repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getHostsList 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • getHostsCount

        public int getHostsCount()
         The hosts associated with the ServiceEntry. Could be a DNS
         name with wildcard prefix.
         1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules.
         2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field.
         3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value
         will be matched against the hosts field.
         **NOTE 1:** When resolution is set to type DNS and no endpoints
         are specified, the host field will be used as the DNS name of the
         endpoint to route traffic to.
         **NOTE 2:** If the hostname matches with the name of a service
         from another service registry such as Kubernetes that also
         supplies its own set of endpoints, the ServiceEntry will be
         treated as a decorator of the existing Kubernetes
         service. Properties in the service entry will be added to the
         Kubernetes service if applicable. Currently, the only the
         following additional properties will be considered by `istiod`:
         1. subjectAltNames: In addition to verifying the SANs of the
            service accounts associated with the pods of the service, the
            SANs specified here will also be verified.
         
        repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getHostsCount 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • getHosts

        public java.lang.String getHosts​(int index)
         The hosts associated with the ServiceEntry. Could be a DNS
         name with wildcard prefix.
         1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules.
         2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field.
         3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value
         will be matched against the hosts field.
         **NOTE 1:** When resolution is set to type DNS and no endpoints
         are specified, the host field will be used as the DNS name of the
         endpoint to route traffic to.
         **NOTE 2:** If the hostname matches with the name of a service
         from another service registry such as Kubernetes that also
         supplies its own set of endpoints, the ServiceEntry will be
         treated as a decorator of the existing Kubernetes
         service. Properties in the service entry will be added to the
         Kubernetes service if applicable. Currently, the only the
         following additional properties will be considered by `istiod`:
         1. subjectAltNames: In addition to verifying the SANs of the
            service accounts associated with the pods of the service, the
            SANs specified here will also be verified.
         
        repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getHosts 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • getHostsBytes

        public com.google.protobuf.ByteString getHostsBytes​(int index)
         The hosts associated with the ServiceEntry. Could be a DNS
         name with wildcard prefix.
         1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules.
         2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field.
         3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value
         will be matched against the hosts field.
         **NOTE 1:** When resolution is set to type DNS and no endpoints
         are specified, the host field will be used as the DNS name of the
         endpoint to route traffic to.
         **NOTE 2:** If the hostname matches with the name of a service
         from another service registry such as Kubernetes that also
         supplies its own set of endpoints, the ServiceEntry will be
         treated as a decorator of the existing Kubernetes
         service. Properties in the service entry will be added to the
         Kubernetes service if applicable. Currently, the only the
         following additional properties will be considered by `istiod`:
         1. subjectAltNames: In addition to verifying the SANs of the
            service accounts associated with the pods of the service, the
            SANs specified here will also be verified.
         
        repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getHostsBytes 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • setHosts

        public ServiceEntryOuterClass.ServiceEntry.Builder setHosts​(int index,
                                                                    java.lang.String value)
         The hosts associated with the ServiceEntry. Could be a DNS
         name with wildcard prefix.
         1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules.
         2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field.
         3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value
         will be matched against the hosts field.
         **NOTE 1:** When resolution is set to type DNS and no endpoints
         are specified, the host field will be used as the DNS name of the
         endpoint to route traffic to.
         **NOTE 2:** If the hostname matches with the name of a service
         from another service registry such as Kubernetes that also
         supplies its own set of endpoints, the ServiceEntry will be
         treated as a decorator of the existing Kubernetes
         service. Properties in the service entry will be added to the
         Kubernetes service if applicable. Currently, the only the
         following additional properties will be considered by `istiod`:
         1. subjectAltNames: In addition to verifying the SANs of the
            service accounts associated with the pods of the service, the
            SANs specified here will also be verified.
         
        repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];
      • addHosts

        public ServiceEntryOuterClass.ServiceEntry.Builder addHosts​(java.lang.String value)
         The hosts associated with the ServiceEntry. Could be a DNS
         name with wildcard prefix.
         1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules.
         2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field.
         3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value
         will be matched against the hosts field.
         **NOTE 1:** When resolution is set to type DNS and no endpoints
         are specified, the host field will be used as the DNS name of the
         endpoint to route traffic to.
         **NOTE 2:** If the hostname matches with the name of a service
         from another service registry such as Kubernetes that also
         supplies its own set of endpoints, the ServiceEntry will be
         treated as a decorator of the existing Kubernetes
         service. Properties in the service entry will be added to the
         Kubernetes service if applicable. Currently, the only the
         following additional properties will be considered by `istiod`:
         1. subjectAltNames: In addition to verifying the SANs of the
            service accounts associated with the pods of the service, the
            SANs specified here will also be verified.
         
        repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];
      • addAllHosts

        public ServiceEntryOuterClass.ServiceEntry.Builder addAllHosts​(java.lang.Iterable<java.lang.String> values)
         The hosts associated with the ServiceEntry. Could be a DNS
         name with wildcard prefix.
         1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules.
         2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field.
         3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value
         will be matched against the hosts field.
         **NOTE 1:** When resolution is set to type DNS and no endpoints
         are specified, the host field will be used as the DNS name of the
         endpoint to route traffic to.
         **NOTE 2:** If the hostname matches with the name of a service
         from another service registry such as Kubernetes that also
         supplies its own set of endpoints, the ServiceEntry will be
         treated as a decorator of the existing Kubernetes
         service. Properties in the service entry will be added to the
         Kubernetes service if applicable. Currently, the only the
         following additional properties will be considered by `istiod`:
         1. subjectAltNames: In addition to verifying the SANs of the
            service accounts associated with the pods of the service, the
            SANs specified here will also be verified.
         
        repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearHosts

        public ServiceEntryOuterClass.ServiceEntry.Builder clearHosts()
         The hosts associated with the ServiceEntry. Could be a DNS
         name with wildcard prefix.
         1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules.
         2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field.
         3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value
         will be matched against the hosts field.
         **NOTE 1:** When resolution is set to type DNS and no endpoints
         are specified, the host field will be used as the DNS name of the
         endpoint to route traffic to.
         **NOTE 2:** If the hostname matches with the name of a service
         from another service registry such as Kubernetes that also
         supplies its own set of endpoints, the ServiceEntry will be
         treated as a decorator of the existing Kubernetes
         service. Properties in the service entry will be added to the
         Kubernetes service if applicable. Currently, the only the
         following additional properties will be considered by `istiod`:
         1. subjectAltNames: In addition to verifying the SANs of the
            service accounts associated with the pods of the service, the
            SANs specified here will also be verified.
         
        repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];
      • addHostsBytes

        public ServiceEntryOuterClass.ServiceEntry.Builder addHostsBytes​(com.google.protobuf.ByteString value)
         The hosts associated with the ServiceEntry. Could be a DNS
         name with wildcard prefix.
         1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules.
         2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field.
         3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value
         will be matched against the hosts field.
         **NOTE 1:** When resolution is set to type DNS and no endpoints
         are specified, the host field will be used as the DNS name of the
         endpoint to route traffic to.
         **NOTE 2:** If the hostname matches with the name of a service
         from another service registry such as Kubernetes that also
         supplies its own set of endpoints, the ServiceEntry will be
         treated as a decorator of the existing Kubernetes
         service. Properties in the service entry will be added to the
         Kubernetes service if applicable. Currently, the only the
         following additional properties will be considered by `istiod`:
         1. subjectAltNames: In addition to verifying the SANs of the
            service accounts associated with the pods of the service, the
            SANs specified here will also be verified.
         
        repeated string hosts = 1 [(.google.api.field_behavior) = REQUIRED];
      • ensureAddressesIsMutable

        private void ensureAddressesIsMutable()
      • getAddressesList

        public com.google.protobuf.ProtocolStringList getAddressesList()
         The virtual IP addresses associated with the service. Could be CIDR
         prefix. For HTTP traffic, generated route configurations will include http route
         domains for both the `addresses` and `hosts` field values and the destination will
         be identified based on the HTTP Host/Authority header.
         If one or more IP addresses are specified,
         the incoming traffic will be identified as belonging to this service
         if the destination IP matches the IP/CIDRs specified in the addresses
         field. If the Addresses field is empty, traffic will be identified
         solely based on the destination port. In such scenarios, the port on
         which the service is being accessed must not be shared by any other
         service in the mesh. In other words, the sidecar will behave as a
         simple TCP proxy, forwarding incoming traffic on a specified port to
         the specified destination endpoint IP/host. Unix domain socket
         addresses are not supported in this field.
         
        repeated string addresses = 2;
        指定者:
        getAddressesList 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • getAddressesCount

        public int getAddressesCount()
         The virtual IP addresses associated with the service. Could be CIDR
         prefix. For HTTP traffic, generated route configurations will include http route
         domains for both the `addresses` and `hosts` field values and the destination will
         be identified based on the HTTP Host/Authority header.
         If one or more IP addresses are specified,
         the incoming traffic will be identified as belonging to this service
         if the destination IP matches the IP/CIDRs specified in the addresses
         field. If the Addresses field is empty, traffic will be identified
         solely based on the destination port. In such scenarios, the port on
         which the service is being accessed must not be shared by any other
         service in the mesh. In other words, the sidecar will behave as a
         simple TCP proxy, forwarding incoming traffic on a specified port to
         the specified destination endpoint IP/host. Unix domain socket
         addresses are not supported in this field.
         
        repeated string addresses = 2;
        指定者:
        getAddressesCount 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • getAddresses

        public java.lang.String getAddresses​(int index)
         The virtual IP addresses associated with the service. Could be CIDR
         prefix. For HTTP traffic, generated route configurations will include http route
         domains for both the `addresses` and `hosts` field values and the destination will
         be identified based on the HTTP Host/Authority header.
         If one or more IP addresses are specified,
         the incoming traffic will be identified as belonging to this service
         if the destination IP matches the IP/CIDRs specified in the addresses
         field. If the Addresses field is empty, traffic will be identified
         solely based on the destination port. In such scenarios, the port on
         which the service is being accessed must not be shared by any other
         service in the mesh. In other words, the sidecar will behave as a
         simple TCP proxy, forwarding incoming traffic on a specified port to
         the specified destination endpoint IP/host. Unix domain socket
         addresses are not supported in this field.
         
        repeated string addresses = 2;
        指定者:
        getAddresses 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • getAddressesBytes

        public com.google.protobuf.ByteString getAddressesBytes​(int index)
         The virtual IP addresses associated with the service. Could be CIDR
         prefix. For HTTP traffic, generated route configurations will include http route
         domains for both the `addresses` and `hosts` field values and the destination will
         be identified based on the HTTP Host/Authority header.
         If one or more IP addresses are specified,
         the incoming traffic will be identified as belonging to this service
         if the destination IP matches the IP/CIDRs specified in the addresses
         field. If the Addresses field is empty, traffic will be identified
         solely based on the destination port. In such scenarios, the port on
         which the service is being accessed must not be shared by any other
         service in the mesh. In other words, the sidecar will behave as a
         simple TCP proxy, forwarding incoming traffic on a specified port to
         the specified destination endpoint IP/host. Unix domain socket
         addresses are not supported in this field.
         
        repeated string addresses = 2;
        指定者:
        getAddressesBytes 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • setAddresses

        public ServiceEntryOuterClass.ServiceEntry.Builder setAddresses​(int index,
                                                                        java.lang.String value)
         The virtual IP addresses associated with the service. Could be CIDR
         prefix. For HTTP traffic, generated route configurations will include http route
         domains for both the `addresses` and `hosts` field values and the destination will
         be identified based on the HTTP Host/Authority header.
         If one or more IP addresses are specified,
         the incoming traffic will be identified as belonging to this service
         if the destination IP matches the IP/CIDRs specified in the addresses
         field. If the Addresses field is empty, traffic will be identified
         solely based on the destination port. In such scenarios, the port on
         which the service is being accessed must not be shared by any other
         service in the mesh. In other words, the sidecar will behave as a
         simple TCP proxy, forwarding incoming traffic on a specified port to
         the specified destination endpoint IP/host. Unix domain socket
         addresses are not supported in this field.
         
        repeated string addresses = 2;
      • addAddresses

        public ServiceEntryOuterClass.ServiceEntry.Builder addAddresses​(java.lang.String value)
         The virtual IP addresses associated with the service. Could be CIDR
         prefix. For HTTP traffic, generated route configurations will include http route
         domains for both the `addresses` and `hosts` field values and the destination will
         be identified based on the HTTP Host/Authority header.
         If one or more IP addresses are specified,
         the incoming traffic will be identified as belonging to this service
         if the destination IP matches the IP/CIDRs specified in the addresses
         field. If the Addresses field is empty, traffic will be identified
         solely based on the destination port. In such scenarios, the port on
         which the service is being accessed must not be shared by any other
         service in the mesh. In other words, the sidecar will behave as a
         simple TCP proxy, forwarding incoming traffic on a specified port to
         the specified destination endpoint IP/host. Unix domain socket
         addresses are not supported in this field.
         
        repeated string addresses = 2;
      • addAllAddresses

        public ServiceEntryOuterClass.ServiceEntry.Builder addAllAddresses​(java.lang.Iterable<java.lang.String> values)
         The virtual IP addresses associated with the service. Could be CIDR
         prefix. For HTTP traffic, generated route configurations will include http route
         domains for both the `addresses` and `hosts` field values and the destination will
         be identified based on the HTTP Host/Authority header.
         If one or more IP addresses are specified,
         the incoming traffic will be identified as belonging to this service
         if the destination IP matches the IP/CIDRs specified in the addresses
         field. If the Addresses field is empty, traffic will be identified
         solely based on the destination port. In such scenarios, the port on
         which the service is being accessed must not be shared by any other
         service in the mesh. In other words, the sidecar will behave as a
         simple TCP proxy, forwarding incoming traffic on a specified port to
         the specified destination endpoint IP/host. Unix domain socket
         addresses are not supported in this field.
         
        repeated string addresses = 2;
      • clearAddresses

        public ServiceEntryOuterClass.ServiceEntry.Builder clearAddresses()
         The virtual IP addresses associated with the service. Could be CIDR
         prefix. For HTTP traffic, generated route configurations will include http route
         domains for both the `addresses` and `hosts` field values and the destination will
         be identified based on the HTTP Host/Authority header.
         If one or more IP addresses are specified,
         the incoming traffic will be identified as belonging to this service
         if the destination IP matches the IP/CIDRs specified in the addresses
         field. If the Addresses field is empty, traffic will be identified
         solely based on the destination port. In such scenarios, the port on
         which the service is being accessed must not be shared by any other
         service in the mesh. In other words, the sidecar will behave as a
         simple TCP proxy, forwarding incoming traffic on a specified port to
         the specified destination endpoint IP/host. Unix domain socket
         addresses are not supported in this field.
         
        repeated string addresses = 2;
      • addAddressesBytes

        public ServiceEntryOuterClass.ServiceEntry.Builder addAddressesBytes​(com.google.protobuf.ByteString value)
         The virtual IP addresses associated with the service. Could be CIDR
         prefix. For HTTP traffic, generated route configurations will include http route
         domains for both the `addresses` and `hosts` field values and the destination will
         be identified based on the HTTP Host/Authority header.
         If one or more IP addresses are specified,
         the incoming traffic will be identified as belonging to this service
         if the destination IP matches the IP/CIDRs specified in the addresses
         field. If the Addresses field is empty, traffic will be identified
         solely based on the destination port. In such scenarios, the port on
         which the service is being accessed must not be shared by any other
         service in the mesh. In other words, the sidecar will behave as a
         simple TCP proxy, forwarding incoming traffic on a specified port to
         the specified destination endpoint IP/host. Unix domain socket
         addresses are not supported in this field.
         
        repeated string addresses = 2;
      • ensurePortsIsMutable

        private void ensurePortsIsMutable()
      • getPortsCount

        public int getPortsCount()
         The ports associated with the external service. If the
         Endpoints are Unix domain socket addresses, there must be exactly one
         port.
         
        repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getPortsCount 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • getPorts

        public GatewayOuterClass.Port getPorts​(int index)
         The ports associated with the external service. If the
         Endpoints are Unix domain socket addresses, there must be exactly one
         port.
         
        repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getPorts 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • setPorts

        public ServiceEntryOuterClass.ServiceEntry.Builder setPorts​(int index,
                                                                    GatewayOuterClass.Port value)
         The ports associated with the external service. If the
         Endpoints are Unix domain socket addresses, there must be exactly one
         port.
         
        repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
      • addPorts

        public ServiceEntryOuterClass.ServiceEntry.Builder addPorts​(GatewayOuterClass.Port value)
         The ports associated with the external service. If the
         Endpoints are Unix domain socket addresses, there must be exactly one
         port.
         
        repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
      • addPorts

        public ServiceEntryOuterClass.ServiceEntry.Builder addPorts​(int index,
                                                                    GatewayOuterClass.Port value)
         The ports associated with the external service. If the
         Endpoints are Unix domain socket addresses, there must be exactly one
         port.
         
        repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
      • addAllPorts

        public ServiceEntryOuterClass.ServiceEntry.Builder addAllPorts​(java.lang.Iterable<? extends GatewayOuterClass.Port> values)
         The ports associated with the external service. If the
         Endpoints are Unix domain socket addresses, there must be exactly one
         port.
         
        repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearPorts

        public ServiceEntryOuterClass.ServiceEntry.Builder clearPorts()
         The ports associated with the external service. If the
         Endpoints are Unix domain socket addresses, there must be exactly one
         port.
         
        repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
      • removePorts

        public ServiceEntryOuterClass.ServiceEntry.Builder removePorts​(int index)
         The ports associated with the external service. If the
         Endpoints are Unix domain socket addresses, there must be exactly one
         port.
         
        repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
      • getPortsBuilder

        public GatewayOuterClass.Port.Builder getPortsBuilder​(int index)
         The ports associated with the external service. If the
         Endpoints are Unix domain socket addresses, there must be exactly one
         port.
         
        repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
      • addPortsBuilder

        public GatewayOuterClass.Port.Builder addPortsBuilder()
         The ports associated with the external service. If the
         Endpoints are Unix domain socket addresses, there must be exactly one
         port.
         
        repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
      • addPortsBuilder

        public GatewayOuterClass.Port.Builder addPortsBuilder​(int index)
         The ports associated with the external service. If the
         Endpoints are Unix domain socket addresses, there must be exactly one
         port.
         
        repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
      • getPortsBuilderList

        public java.util.List<GatewayOuterClass.Port.Builder> getPortsBuilderList()
         The ports associated with the external service. If the
         Endpoints are Unix domain socket addresses, there must be exactly one
         port.
         
        repeated .istio.networking.v1alpha3.Port ports = 3 [(.google.api.field_behavior) = REQUIRED];
      • setLocationValue

        public ServiceEntryOuterClass.ServiceEntry.Builder setLocationValue​(int value)
         Specify whether the service should be considered external to the mesh
         or part of the mesh.
         
        .istio.networking.v1alpha3.ServiceEntry.Location location = 4;
      • clearLocation

        public ServiceEntryOuterClass.ServiceEntry.Builder clearLocation()
         Specify whether the service should be considered external to the mesh
         or part of the mesh.
         
        .istio.networking.v1alpha3.ServiceEntry.Location location = 4;
      • getResolutionValue

        public int getResolutionValue()
         Service discovery mode for the hosts. Care must be taken
         when setting the resolution mode to NONE for a TCP port without
         accompanying IP addresses. In such cases, traffic to any IP on
         said port will be allowed (i.e. `0.0.0.0:<port>`).
         
        .istio.networking.v1alpha3.ServiceEntry.Resolution resolution = 5 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getResolutionValue 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • setResolutionValue

        public ServiceEntryOuterClass.ServiceEntry.Builder setResolutionValue​(int value)
         Service discovery mode for the hosts. Care must be taken
         when setting the resolution mode to NONE for a TCP port without
         accompanying IP addresses. In such cases, traffic to any IP on
         said port will be allowed (i.e. `0.0.0.0:<port>`).
         
        .istio.networking.v1alpha3.ServiceEntry.Resolution resolution = 5 [(.google.api.field_behavior) = REQUIRED];
      • getResolution

        public ServiceEntryOuterClass.ServiceEntry.Resolution getResolution()
         Service discovery mode for the hosts. Care must be taken
         when setting the resolution mode to NONE for a TCP port without
         accompanying IP addresses. In such cases, traffic to any IP on
         said port will be allowed (i.e. `0.0.0.0:<port>`).
         
        .istio.networking.v1alpha3.ServiceEntry.Resolution resolution = 5 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getResolution 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • setResolution

        public ServiceEntryOuterClass.ServiceEntry.Builder setResolution​(ServiceEntryOuterClass.ServiceEntry.Resolution value)
         Service discovery mode for the hosts. Care must be taken
         when setting the resolution mode to NONE for a TCP port without
         accompanying IP addresses. In such cases, traffic to any IP on
         said port will be allowed (i.e. `0.0.0.0:<port>`).
         
        .istio.networking.v1alpha3.ServiceEntry.Resolution resolution = 5 [(.google.api.field_behavior) = REQUIRED];
      • clearResolution

        public ServiceEntryOuterClass.ServiceEntry.Builder clearResolution()
         Service discovery mode for the hosts. Care must be taken
         when setting the resolution mode to NONE for a TCP port without
         accompanying IP addresses. In such cases, traffic to any IP on
         said port will be allowed (i.e. `0.0.0.0:<port>`).
         
        .istio.networking.v1alpha3.ServiceEntry.Resolution resolution = 5 [(.google.api.field_behavior) = REQUIRED];
      • ensureEndpointsIsMutable

        private void ensureEndpointsIsMutable()
      • getEndpointsCount

        public int getEndpointsCount()
         One or more endpoints associated with the service. Only one of
         `endpoints` or `workloadSelector` can be specified.
         
        repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
        指定者:
        getEndpointsCount 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • clearEndpoints

        public ServiceEntryOuterClass.ServiceEntry.Builder clearEndpoints()
         One or more endpoints associated with the service. Only one of
         `endpoints` or `workloadSelector` can be specified.
         
        repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
      • removeEndpoints

        public ServiceEntryOuterClass.ServiceEntry.Builder removeEndpoints​(int index)
         One or more endpoints associated with the service. Only one of
         `endpoints` or `workloadSelector` can be specified.
         
        repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
      • getEndpointsBuilder

        public WorkloadEntryOuterClass.WorkloadEntry.Builder getEndpointsBuilder​(int index)
         One or more endpoints associated with the service. Only one of
         `endpoints` or `workloadSelector` can be specified.
         
        repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
      • addEndpointsBuilder

        public WorkloadEntryOuterClass.WorkloadEntry.Builder addEndpointsBuilder()
         One or more endpoints associated with the service. Only one of
         `endpoints` or `workloadSelector` can be specified.
         
        repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
      • addEndpointsBuilder

        public WorkloadEntryOuterClass.WorkloadEntry.Builder addEndpointsBuilder​(int index)
         One or more endpoints associated with the service. Only one of
         `endpoints` or `workloadSelector` can be specified.
         
        repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
      • getEndpointsBuilderList

        public java.util.List<WorkloadEntryOuterClass.WorkloadEntry.Builder> getEndpointsBuilderList()
         One or more endpoints associated with the service. Only one of
         `endpoints` or `workloadSelector` can be specified.
         
        repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;
      • hasWorkloadSelector

        public boolean hasWorkloadSelector()
         Applicable only for MESH_INTERNAL services. Only one of
         `endpoints` or `workloadSelector` can be specified. Selects one
         or more Kubernetes pods or VM workloads (specified using
         `WorkloadEntry`) based on their labels. The `WorkloadEntry` object
         representing the VMs should be defined in the same namespace as
         the ServiceEntry.
         
        .istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
        指定者:
        hasWorkloadSelector 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • getWorkloadSelector

        public SidecarOuterClass.WorkloadSelector getWorkloadSelector()
         Applicable only for MESH_INTERNAL services. Only one of
         `endpoints` or `workloadSelector` can be specified. Selects one
         or more Kubernetes pods or VM workloads (specified using
         `WorkloadEntry`) based on their labels. The `WorkloadEntry` object
         representing the VMs should be defined in the same namespace as
         the ServiceEntry.
         
        .istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
        指定者:
        getWorkloadSelector 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • setWorkloadSelector

        public ServiceEntryOuterClass.ServiceEntry.Builder setWorkloadSelector​(SidecarOuterClass.WorkloadSelector value)
         Applicable only for MESH_INTERNAL services. Only one of
         `endpoints` or `workloadSelector` can be specified. Selects one
         or more Kubernetes pods or VM workloads (specified using
         `WorkloadEntry`) based on their labels. The `WorkloadEntry` object
         representing the VMs should be defined in the same namespace as
         the ServiceEntry.
         
        .istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
      • setWorkloadSelector

        public ServiceEntryOuterClass.ServiceEntry.Builder setWorkloadSelector​(SidecarOuterClass.WorkloadSelector.Builder builderForValue)
         Applicable only for MESH_INTERNAL services. Only one of
         `endpoints` or `workloadSelector` can be specified. Selects one
         or more Kubernetes pods or VM workloads (specified using
         `WorkloadEntry`) based on their labels. The `WorkloadEntry` object
         representing the VMs should be defined in the same namespace as
         the ServiceEntry.
         
        .istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
      • mergeWorkloadSelector

        public ServiceEntryOuterClass.ServiceEntry.Builder mergeWorkloadSelector​(SidecarOuterClass.WorkloadSelector value)
         Applicable only for MESH_INTERNAL services. Only one of
         `endpoints` or `workloadSelector` can be specified. Selects one
         or more Kubernetes pods or VM workloads (specified using
         `WorkloadEntry`) based on their labels. The `WorkloadEntry` object
         representing the VMs should be defined in the same namespace as
         the ServiceEntry.
         
        .istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
      • clearWorkloadSelector

        public ServiceEntryOuterClass.ServiceEntry.Builder clearWorkloadSelector()
         Applicable only for MESH_INTERNAL services. Only one of
         `endpoints` or `workloadSelector` can be specified. Selects one
         or more Kubernetes pods or VM workloads (specified using
         `WorkloadEntry`) based on their labels. The `WorkloadEntry` object
         representing the VMs should be defined in the same namespace as
         the ServiceEntry.
         
        .istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
      • getWorkloadSelectorBuilder

        public SidecarOuterClass.WorkloadSelector.Builder getWorkloadSelectorBuilder()
         Applicable only for MESH_INTERNAL services. Only one of
         `endpoints` or `workloadSelector` can be specified. Selects one
         or more Kubernetes pods or VM workloads (specified using
         `WorkloadEntry`) based on their labels. The `WorkloadEntry` object
         representing the VMs should be defined in the same namespace as
         the ServiceEntry.
         
        .istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
      • getWorkloadSelectorOrBuilder

        public SidecarOuterClass.WorkloadSelectorOrBuilder getWorkloadSelectorOrBuilder()
         Applicable only for MESH_INTERNAL services. Only one of
         `endpoints` or `workloadSelector` can be specified. Selects one
         or more Kubernetes pods or VM workloads (specified using
         `WorkloadEntry`) based on their labels. The `WorkloadEntry` object
         representing the VMs should be defined in the same namespace as
         the ServiceEntry.
         
        .istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
        指定者:
        getWorkloadSelectorOrBuilder 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • getWorkloadSelectorFieldBuilder

        private com.google.protobuf.SingleFieldBuilderV3<SidecarOuterClass.WorkloadSelector,​SidecarOuterClass.WorkloadSelector.Builder,​SidecarOuterClass.WorkloadSelectorOrBuilder> getWorkloadSelectorFieldBuilder()
         Applicable only for MESH_INTERNAL services. Only one of
         `endpoints` or `workloadSelector` can be specified. Selects one
         or more Kubernetes pods or VM workloads (specified using
         `WorkloadEntry`) based on their labels. The `WorkloadEntry` object
         representing the VMs should be defined in the same namespace as
         the ServiceEntry.
         
        .istio.networking.v1alpha3.WorkloadSelector workload_selector = 9;
      • ensureExportToIsMutable

        private void ensureExportToIsMutable()
      • getExportToList

        public com.google.protobuf.ProtocolStringList getExportToList()
         A list of namespaces to which this service is exported. Exporting a service
         allows it to be used by sidecars, gateways and virtual services defined in
         other namespaces. This feature provides a mechanism for service owners
         and mesh administrators to control the visibility of services across
         namespace boundaries.
         If no namespaces are specified then the service is exported to all
         namespaces by default.
         The value "." is reserved and defines an export to the same namespace that
         the service is declared in. Similarly the value "*" is reserved and
         defines an export to all namespaces.
         For a Kubernetes Service, the equivalent effect can be achieved by setting
         the annotation "networking.istio.io/exportTo" to a comma-separated list
         of namespace names.
         NOTE: in the current release, the `exportTo` value is restricted to
         "." or "*" (i.e., the current namespace or all namespaces).
         
        repeated string export_to = 7;
        指定者:
        getExportToList 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • getExportToCount

        public int getExportToCount()
         A list of namespaces to which this service is exported. Exporting a service
         allows it to be used by sidecars, gateways and virtual services defined in
         other namespaces. This feature provides a mechanism for service owners
         and mesh administrators to control the visibility of services across
         namespace boundaries.
         If no namespaces are specified then the service is exported to all
         namespaces by default.
         The value "." is reserved and defines an export to the same namespace that
         the service is declared in. Similarly the value "*" is reserved and
         defines an export to all namespaces.
         For a Kubernetes Service, the equivalent effect can be achieved by setting
         the annotation "networking.istio.io/exportTo" to a comma-separated list
         of namespace names.
         NOTE: in the current release, the `exportTo` value is restricted to
         "." or "*" (i.e., the current namespace or all namespaces).
         
        repeated string export_to = 7;
        指定者:
        getExportToCount 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • getExportTo

        public java.lang.String getExportTo​(int index)
         A list of namespaces to which this service is exported. Exporting a service
         allows it to be used by sidecars, gateways and virtual services defined in
         other namespaces. This feature provides a mechanism for service owners
         and mesh administrators to control the visibility of services across
         namespace boundaries.
         If no namespaces are specified then the service is exported to all
         namespaces by default.
         The value "." is reserved and defines an export to the same namespace that
         the service is declared in. Similarly the value "*" is reserved and
         defines an export to all namespaces.
         For a Kubernetes Service, the equivalent effect can be achieved by setting
         the annotation "networking.istio.io/exportTo" to a comma-separated list
         of namespace names.
         NOTE: in the current release, the `exportTo` value is restricted to
         "." or "*" (i.e., the current namespace or all namespaces).
         
        repeated string export_to = 7;
        指定者:
        getExportTo 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • getExportToBytes

        public com.google.protobuf.ByteString getExportToBytes​(int index)
         A list of namespaces to which this service is exported. Exporting a service
         allows it to be used by sidecars, gateways and virtual services defined in
         other namespaces. This feature provides a mechanism for service owners
         and mesh administrators to control the visibility of services across
         namespace boundaries.
         If no namespaces are specified then the service is exported to all
         namespaces by default.
         The value "." is reserved and defines an export to the same namespace that
         the service is declared in. Similarly the value "*" is reserved and
         defines an export to all namespaces.
         For a Kubernetes Service, the equivalent effect can be achieved by setting
         the annotation "networking.istio.io/exportTo" to a comma-separated list
         of namespace names.
         NOTE: in the current release, the `exportTo` value is restricted to
         "." or "*" (i.e., the current namespace or all namespaces).
         
        repeated string export_to = 7;
        指定者:
        getExportToBytes 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • setExportTo

        public ServiceEntryOuterClass.ServiceEntry.Builder setExportTo​(int index,
                                                                       java.lang.String value)
         A list of namespaces to which this service is exported. Exporting a service
         allows it to be used by sidecars, gateways and virtual services defined in
         other namespaces. This feature provides a mechanism for service owners
         and mesh administrators to control the visibility of services across
         namespace boundaries.
         If no namespaces are specified then the service is exported to all
         namespaces by default.
         The value "." is reserved and defines an export to the same namespace that
         the service is declared in. Similarly the value "*" is reserved and
         defines an export to all namespaces.
         For a Kubernetes Service, the equivalent effect can be achieved by setting
         the annotation "networking.istio.io/exportTo" to a comma-separated list
         of namespace names.
         NOTE: in the current release, the `exportTo` value is restricted to
         "." or "*" (i.e., the current namespace or all namespaces).
         
        repeated string export_to = 7;
      • addExportTo

        public ServiceEntryOuterClass.ServiceEntry.Builder addExportTo​(java.lang.String value)
         A list of namespaces to which this service is exported. Exporting a service
         allows it to be used by sidecars, gateways and virtual services defined in
         other namespaces. This feature provides a mechanism for service owners
         and mesh administrators to control the visibility of services across
         namespace boundaries.
         If no namespaces are specified then the service is exported to all
         namespaces by default.
         The value "." is reserved and defines an export to the same namespace that
         the service is declared in. Similarly the value "*" is reserved and
         defines an export to all namespaces.
         For a Kubernetes Service, the equivalent effect can be achieved by setting
         the annotation "networking.istio.io/exportTo" to a comma-separated list
         of namespace names.
         NOTE: in the current release, the `exportTo` value is restricted to
         "." or "*" (i.e., the current namespace or all namespaces).
         
        repeated string export_to = 7;
      • addAllExportTo

        public ServiceEntryOuterClass.ServiceEntry.Builder addAllExportTo​(java.lang.Iterable<java.lang.String> values)
         A list of namespaces to which this service is exported. Exporting a service
         allows it to be used by sidecars, gateways and virtual services defined in
         other namespaces. This feature provides a mechanism for service owners
         and mesh administrators to control the visibility of services across
         namespace boundaries.
         If no namespaces are specified then the service is exported to all
         namespaces by default.
         The value "." is reserved and defines an export to the same namespace that
         the service is declared in. Similarly the value "*" is reserved and
         defines an export to all namespaces.
         For a Kubernetes Service, the equivalent effect can be achieved by setting
         the annotation "networking.istio.io/exportTo" to a comma-separated list
         of namespace names.
         NOTE: in the current release, the `exportTo` value is restricted to
         "." or "*" (i.e., the current namespace or all namespaces).
         
        repeated string export_to = 7;
      • clearExportTo

        public ServiceEntryOuterClass.ServiceEntry.Builder clearExportTo()
         A list of namespaces to which this service is exported. Exporting a service
         allows it to be used by sidecars, gateways and virtual services defined in
         other namespaces. This feature provides a mechanism for service owners
         and mesh administrators to control the visibility of services across
         namespace boundaries.
         If no namespaces are specified then the service is exported to all
         namespaces by default.
         The value "." is reserved and defines an export to the same namespace that
         the service is declared in. Similarly the value "*" is reserved and
         defines an export to all namespaces.
         For a Kubernetes Service, the equivalent effect can be achieved by setting
         the annotation "networking.istio.io/exportTo" to a comma-separated list
         of namespace names.
         NOTE: in the current release, the `exportTo` value is restricted to
         "." or "*" (i.e., the current namespace or all namespaces).
         
        repeated string export_to = 7;
      • addExportToBytes

        public ServiceEntryOuterClass.ServiceEntry.Builder addExportToBytes​(com.google.protobuf.ByteString value)
         A list of namespaces to which this service is exported. Exporting a service
         allows it to be used by sidecars, gateways and virtual services defined in
         other namespaces. This feature provides a mechanism for service owners
         and mesh administrators to control the visibility of services across
         namespace boundaries.
         If no namespaces are specified then the service is exported to all
         namespaces by default.
         The value "." is reserved and defines an export to the same namespace that
         the service is declared in. Similarly the value "*" is reserved and
         defines an export to all namespaces.
         For a Kubernetes Service, the equivalent effect can be achieved by setting
         the annotation "networking.istio.io/exportTo" to a comma-separated list
         of namespace names.
         NOTE: in the current release, the `exportTo` value is restricted to
         "." or "*" (i.e., the current namespace or all namespaces).
         
        repeated string export_to = 7;
      • ensureSubjectAltNamesIsMutable

        private void ensureSubjectAltNamesIsMutable()
      • getSubjectAltNamesList

        public com.google.protobuf.ProtocolStringList getSubjectAltNamesList()
         If specified, the proxy will verify that the server certificate's
         subject alternate name matches one of the specified values.
         NOTE: When using the workloadEntry with workloadSelectors, the
         service account specified in the workloadEntry will also be used
         to derive the additional subject alternate names that should be
         verified.
         
        repeated string subject_alt_names = 8;
        指定者:
        getSubjectAltNamesList 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • getSubjectAltNamesCount

        public int getSubjectAltNamesCount()
         If specified, the proxy will verify that the server certificate's
         subject alternate name matches one of the specified values.
         NOTE: When using the workloadEntry with workloadSelectors, the
         service account specified in the workloadEntry will also be used
         to derive the additional subject alternate names that should be
         verified.
         
        repeated string subject_alt_names = 8;
        指定者:
        getSubjectAltNamesCount 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • getSubjectAltNames

        public java.lang.String getSubjectAltNames​(int index)
         If specified, the proxy will verify that the server certificate's
         subject alternate name matches one of the specified values.
         NOTE: When using the workloadEntry with workloadSelectors, the
         service account specified in the workloadEntry will also be used
         to derive the additional subject alternate names that should be
         verified.
         
        repeated string subject_alt_names = 8;
        指定者:
        getSubjectAltNames 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • getSubjectAltNamesBytes

        public com.google.protobuf.ByteString getSubjectAltNamesBytes​(int index)
         If specified, the proxy will verify that the server certificate's
         subject alternate name matches one of the specified values.
         NOTE: When using the workloadEntry with workloadSelectors, the
         service account specified in the workloadEntry will also be used
         to derive the additional subject alternate names that should be
         verified.
         
        repeated string subject_alt_names = 8;
        指定者:
        getSubjectAltNamesBytes 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilder
      • setSubjectAltNames

        public ServiceEntryOuterClass.ServiceEntry.Builder setSubjectAltNames​(int index,
                                                                              java.lang.String value)
         If specified, the proxy will verify that the server certificate's
         subject alternate name matches one of the specified values.
         NOTE: When using the workloadEntry with workloadSelectors, the
         service account specified in the workloadEntry will also be used
         to derive the additional subject alternate names that should be
         verified.
         
        repeated string subject_alt_names = 8;
      • addSubjectAltNames

        public ServiceEntryOuterClass.ServiceEntry.Builder addSubjectAltNames​(java.lang.String value)
         If specified, the proxy will verify that the server certificate's
         subject alternate name matches one of the specified values.
         NOTE: When using the workloadEntry with workloadSelectors, the
         service account specified in the workloadEntry will also be used
         to derive the additional subject alternate names that should be
         verified.
         
        repeated string subject_alt_names = 8;
      • addAllSubjectAltNames

        public ServiceEntryOuterClass.ServiceEntry.Builder addAllSubjectAltNames​(java.lang.Iterable<java.lang.String> values)
         If specified, the proxy will verify that the server certificate's
         subject alternate name matches one of the specified values.
         NOTE: When using the workloadEntry with workloadSelectors, the
         service account specified in the workloadEntry will also be used
         to derive the additional subject alternate names that should be
         verified.
         
        repeated string subject_alt_names = 8;
      • clearSubjectAltNames

        public ServiceEntryOuterClass.ServiceEntry.Builder clearSubjectAltNames()
         If specified, the proxy will verify that the server certificate's
         subject alternate name matches one of the specified values.
         NOTE: When using the workloadEntry with workloadSelectors, the
         service account specified in the workloadEntry will also be used
         to derive the additional subject alternate names that should be
         verified.
         
        repeated string subject_alt_names = 8;
      • addSubjectAltNamesBytes

        public ServiceEntryOuterClass.ServiceEntry.Builder addSubjectAltNamesBytes​(com.google.protobuf.ByteString value)
         If specified, the proxy will verify that the server certificate's
         subject alternate name matches one of the specified values.
         NOTE: When using the workloadEntry with workloadSelectors, the
         service account specified in the workloadEntry will also be used
         to derive the additional subject alternate names that should be
         verified.
         
        repeated string subject_alt_names = 8;