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| 限定符和类型 | 方法和说明 |
|---|---|
ServiceEntryOuterClass.ServiceEntry.Builder |
addAddresses(String value)
The virtual IP addresses associated with the service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addAddressesBytes(com.google.protobuf.ByteString value)
The virtual IP addresses associated with the service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addAllAddresses(Iterable<String> values)
The virtual IP addresses associated with the service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addAllEndpoints(Iterable<? extends WorkloadEntryOuterClass.WorkloadEntry> values)
One or more endpoints associated with the service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addAllExportTo(Iterable<String> values)
A list of namespaces to which this service is exported.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addAllHosts(Iterable<String> values)
The hosts associated with the ServiceEntry.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addAllPorts(Iterable<? extends GatewayOuterClass.Port> values)
The ports associated with the external service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addAllSubjectAltNames(Iterable<String> values)
If specified, the proxy will verify that the server certificate's
subject alternate name matches one of the specified values.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addEndpoints(int index,
WorkloadEntryOuterClass.WorkloadEntry.Builder builderForValue)
One or more endpoints associated with the service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addEndpoints(int index,
WorkloadEntryOuterClass.WorkloadEntry value)
One or more endpoints associated with the service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addEndpoints(WorkloadEntryOuterClass.WorkloadEntry.Builder builderForValue)
One or more endpoints associated with the service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addEndpoints(WorkloadEntryOuterClass.WorkloadEntry value)
One or more endpoints associated with the service.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
addEndpointsBuilder()
One or more endpoints associated with the service.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
addEndpointsBuilder(int index)
One or more endpoints associated with the service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addExportTo(String value)
A list of namespaces to which this service is exported.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addExportToBytes(com.google.protobuf.ByteString value)
A list of namespaces to which this service is exported.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addHosts(String value)
The hosts associated with the ServiceEntry.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addHostsBytes(com.google.protobuf.ByteString value)
The hosts associated with the ServiceEntry.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addPorts(GatewayOuterClass.Port.Builder builderForValue)
The ports associated with the external service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addPorts(GatewayOuterClass.Port value)
The ports associated with the external service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addPorts(int index,
GatewayOuterClass.Port.Builder builderForValue)
The ports associated with the external service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addPorts(int index,
GatewayOuterClass.Port value)
The ports associated with the external service.
|
GatewayOuterClass.Port.Builder |
addPortsBuilder()
The ports associated with the external service.
|
GatewayOuterClass.Port.Builder |
addPortsBuilder(int index)
The ports associated with the external service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceEntryOuterClass.ServiceEntry.Builder |
addSubjectAltNames(String value)
If specified, the proxy will verify that the server certificate's
subject alternate name matches one of the specified values.
|
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.
|
ServiceEntryOuterClass.ServiceEntry |
build() |
ServiceEntryOuterClass.ServiceEntry |
buildPartial() |
ServiceEntryOuterClass.ServiceEntry.Builder |
clear() |
ServiceEntryOuterClass.ServiceEntry.Builder |
clearAddresses()
The virtual IP addresses associated with the service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
clearEndpoints()
One or more endpoints associated with the service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
clearExportTo()
A list of namespaces to which this service is exported.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ServiceEntryOuterClass.ServiceEntry.Builder |
clearHosts()
The hosts associated with the ServiceEntry.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
clearLocation()
Specify whether the service should be considered external to the mesh
or part of the mesh.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ServiceEntryOuterClass.ServiceEntry.Builder |
clearPorts()
The ports associated with the external service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
clearResolution()
Service discovery mode for the hosts.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
clearSubjectAltNames()
If specified, the proxy will verify that the server certificate's
subject alternate name matches one of the specified values.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
clearWorkloadSelector()
Applicable only for MESH_INTERNAL services.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
clone() |
String |
getAddresses(int index)
The virtual IP addresses associated with the service.
|
com.google.protobuf.ByteString |
getAddressesBytes(int index)
The virtual IP addresses associated with the service.
|
int |
getAddressesCount()
The virtual IP addresses associated with the service.
|
com.google.protobuf.ProtocolStringList |
getAddressesList()
The virtual IP addresses associated with the service.
|
ServiceEntryOuterClass.ServiceEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
WorkloadEntryOuterClass.WorkloadEntry |
getEndpoints(int index)
One or more endpoints associated with the service.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
getEndpointsBuilder(int index)
One or more endpoints associated with the service.
|
List<WorkloadEntryOuterClass.WorkloadEntry.Builder> |
getEndpointsBuilderList()
One or more endpoints associated with the service.
|
int |
getEndpointsCount()
One or more endpoints associated with the service.
|
List<WorkloadEntryOuterClass.WorkloadEntry> |
getEndpointsList()
One or more endpoints associated with the service.
|
WorkloadEntryOuterClass.WorkloadEntryOrBuilder |
getEndpointsOrBuilder(int index)
One or more endpoints associated with the service.
|
List<? extends WorkloadEntryOuterClass.WorkloadEntryOrBuilder> |
getEndpointsOrBuilderList()
One or more endpoints associated with the service.
|
String |
getExportTo(int index)
A list of namespaces to which this service is exported.
|
com.google.protobuf.ByteString |
getExportToBytes(int index)
A list of namespaces to which this service is exported.
|
int |
getExportToCount()
A list of namespaces to which this service is exported.
|
com.google.protobuf.ProtocolStringList |
getExportToList()
A list of namespaces to which this service is exported.
|
String |
getHosts(int index)
The hosts associated with the ServiceEntry.
|
com.google.protobuf.ByteString |
getHostsBytes(int index)
The hosts associated with the ServiceEntry.
|
int |
getHostsCount()
The hosts associated with the ServiceEntry.
|
com.google.protobuf.ProtocolStringList |
getHostsList()
The hosts associated with the ServiceEntry.
|
ServiceEntryOuterClass.ServiceEntry.Location |
getLocation()
Specify whether the service should be considered external to the mesh
or part of the mesh.
|
int |
getLocationValue()
Specify whether the service should be considered external to the mesh
or part of the mesh.
|
GatewayOuterClass.Port |
getPorts(int index)
The ports associated with the external service.
|
GatewayOuterClass.Port.Builder |
getPortsBuilder(int index)
The ports associated with the external service.
|
List<GatewayOuterClass.Port.Builder> |
getPortsBuilderList()
The ports associated with the external service.
|
int |
getPortsCount()
The ports associated with the external service.
|
List<GatewayOuterClass.Port> |
getPortsList()
The ports associated with the external service.
|
GatewayOuterClass.PortOrBuilder |
getPortsOrBuilder(int index)
The ports associated with the external service.
|
List<? extends GatewayOuterClass.PortOrBuilder> |
getPortsOrBuilderList()
The ports associated with the external service.
|
ServiceEntryOuterClass.ServiceEntry.Resolution |
getResolution()
Service discovery mode for the hosts.
|
int |
getResolutionValue()
Service discovery mode for the hosts.
|
String |
getSubjectAltNames(int index)
If specified, the proxy will verify that the server certificate's
subject alternate name matches one of the specified values.
|
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.
|
int |
getSubjectAltNamesCount()
If specified, the proxy will verify that the server certificate's
subject alternate name matches one of the specified values.
|
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.
|
SidecarOuterClass.WorkloadSelector |
getWorkloadSelector()
Applicable only for MESH_INTERNAL services.
|
SidecarOuterClass.WorkloadSelector.Builder |
getWorkloadSelectorBuilder()
Applicable only for MESH_INTERNAL services.
|
SidecarOuterClass.WorkloadSelectorOrBuilder |
getWorkloadSelectorOrBuilder()
Applicable only for MESH_INTERNAL services.
|
boolean |
hasWorkloadSelector()
Applicable only for MESH_INTERNAL services.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ServiceEntryOuterClass.ServiceEntry.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceEntryOuterClass.ServiceEntry.Builder |
mergeFrom(com.google.protobuf.Message other) |
ServiceEntryOuterClass.ServiceEntry.Builder |
mergeFrom(ServiceEntryOuterClass.ServiceEntry other) |
ServiceEntryOuterClass.ServiceEntry.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ServiceEntryOuterClass.ServiceEntry.Builder |
mergeWorkloadSelector(SidecarOuterClass.WorkloadSelector value)
Applicable only for MESH_INTERNAL services.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
removeEndpoints(int index)
One or more endpoints associated with the service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
removePorts(int index)
The ports associated with the external service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
setAddresses(int index,
String value)
The virtual IP addresses associated with the service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
setEndpoints(int index,
WorkloadEntryOuterClass.WorkloadEntry.Builder builderForValue)
One or more endpoints associated with the service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
setEndpoints(int index,
WorkloadEntryOuterClass.WorkloadEntry value)
One or more endpoints associated with the service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
setExportTo(int index,
String value)
A list of namespaces to which this service is exported.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceEntryOuterClass.ServiceEntry.Builder |
setHosts(int index,
String value)
The hosts associated with the ServiceEntry.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
setLocation(ServiceEntryOuterClass.ServiceEntry.Location value)
Specify whether the service should be considered external to the mesh
or part of the mesh.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
setLocationValue(int value)
Specify whether the service should be considered external to the mesh
or part of the mesh.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
setPorts(int index,
GatewayOuterClass.Port.Builder builderForValue)
The ports associated with the external service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
setPorts(int index,
GatewayOuterClass.Port value)
The ports associated with the external service.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ServiceEntryOuterClass.ServiceEntry.Builder |
setResolution(ServiceEntryOuterClass.ServiceEntry.Resolution value)
Service discovery mode for the hosts.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
setResolutionValue(int value)
Service discovery mode for the hosts.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
setSubjectAltNames(int index,
String value)
If specified, the proxy will verify that the server certificate's
subject alternate name matches one of the specified values.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ServiceEntryOuterClass.ServiceEntry.Builder |
setWorkloadSelector(SidecarOuterClass.WorkloadSelector.Builder builderForValue)
Applicable only for MESH_INTERNAL services.
|
ServiceEntryOuterClass.ServiceEntry.Builder |
setWorkloadSelector(SidecarOuterClass.WorkloadSelector value)
Applicable only for MESH_INTERNAL services.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>public ServiceEntryOuterClass.ServiceEntry.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>public ServiceEntryOuterClass.ServiceEntry getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic ServiceEntryOuterClass.ServiceEntry build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic ServiceEntryOuterClass.ServiceEntry buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic ServiceEntryOuterClass.ServiceEntry.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>public ServiceEntryOuterClass.ServiceEntry.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>public ServiceEntryOuterClass.ServiceEntry.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>public ServiceEntryOuterClass.ServiceEntry.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>public ServiceEntryOuterClass.ServiceEntry.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>public ServiceEntryOuterClass.ServiceEntry.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>public ServiceEntryOuterClass.ServiceEntry.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>public ServiceEntryOuterClass.ServiceEntry.Builder mergeFrom(ServiceEntryOuterClass.ServiceEntry other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>public ServiceEntryOuterClass.ServiceEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>IOExceptionpublic 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.ServiceEntryOrBuilderpublic 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.ServiceEntryOrBuilderpublic 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.ServiceEntryOrBuilderindex - The index of the element to return.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.ServiceEntryOrBuilderindex - The index of the value to return.public ServiceEntryOuterClass.ServiceEntry.Builder setHosts(int index, 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];index - The index to set the value at.value - The hosts to set.public ServiceEntryOuterClass.ServiceEntry.Builder addHosts(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];value - The hosts to add.public ServiceEntryOuterClass.ServiceEntry.Builder addAllHosts(Iterable<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];values - The hosts to add.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];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];value - The bytes of the hosts to add.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.ServiceEntryOrBuilderpublic 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.ServiceEntryOrBuilderpublic 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.ServiceEntryOrBuilderindex - The index of the element to return.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.ServiceEntryOrBuilderindex - The index of the value to return.public ServiceEntryOuterClass.ServiceEntry.Builder setAddresses(int index, 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;index - The index to set the value at.value - The addresses to set.public ServiceEntryOuterClass.ServiceEntry.Builder addAddresses(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;value - The addresses to add.public ServiceEntryOuterClass.ServiceEntry.Builder addAllAddresses(Iterable<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;values - The addresses to add.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;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;value - The bytes of the addresses to add.public List<GatewayOuterClass.Port> getPortsList()
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];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];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];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];public ServiceEntryOuterClass.ServiceEntry.Builder setPorts(int index, GatewayOuterClass.Port.Builder builderForValue)
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];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];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];public ServiceEntryOuterClass.ServiceEntry.Builder addPorts(GatewayOuterClass.Port.Builder builderForValue)
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];public ServiceEntryOuterClass.ServiceEntry.Builder addPorts(int index, GatewayOuterClass.Port.Builder builderForValue)
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];public ServiceEntryOuterClass.ServiceEntry.Builder addAllPorts(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];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];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];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];public GatewayOuterClass.PortOrBuilder getPortsOrBuilder(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];public List<? extends GatewayOuterClass.PortOrBuilder> getPortsOrBuilderList()
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];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];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];public 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];public int getLocationValue()
Specify whether the service should be considered external to the mesh or part of the mesh.
.istio.networking.v1alpha3.ServiceEntry.Location location = 4;getLocationValue 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilderpublic 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;value - The enum numeric value on the wire for location to set.public ServiceEntryOuterClass.ServiceEntry.Location getLocation()
Specify whether the service should be considered external to the mesh or part of the mesh.
.istio.networking.v1alpha3.ServiceEntry.Location location = 4;getLocation 在接口中 ServiceEntryOuterClass.ServiceEntryOrBuilderpublic ServiceEntryOuterClass.ServiceEntry.Builder setLocation(ServiceEntryOuterClass.ServiceEntry.Location value)
Specify whether the service should be considered external to the mesh or part of the mesh.
.istio.networking.v1alpha3.ServiceEntry.Location location = 4;value - The location to set.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;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.ServiceEntryOrBuilderpublic 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];value - The enum numeric value on the wire for resolution to set.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.ServiceEntryOrBuilderpublic 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];value - The resolution to set.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];public List<WorkloadEntryOuterClass.WorkloadEntry> getEndpointsList()
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;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;public WorkloadEntryOuterClass.WorkloadEntry getEndpoints(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;public ServiceEntryOuterClass.ServiceEntry.Builder setEndpoints(int index, WorkloadEntryOuterClass.WorkloadEntry value)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;public ServiceEntryOuterClass.ServiceEntry.Builder setEndpoints(int index, WorkloadEntryOuterClass.WorkloadEntry.Builder builderForValue)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;public ServiceEntryOuterClass.ServiceEntry.Builder addEndpoints(WorkloadEntryOuterClass.WorkloadEntry value)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;public ServiceEntryOuterClass.ServiceEntry.Builder addEndpoints(int index, WorkloadEntryOuterClass.WorkloadEntry value)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;public ServiceEntryOuterClass.ServiceEntry.Builder addEndpoints(WorkloadEntryOuterClass.WorkloadEntry.Builder builderForValue)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;public ServiceEntryOuterClass.ServiceEntry.Builder addEndpoints(int index, WorkloadEntryOuterClass.WorkloadEntry.Builder builderForValue)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;public ServiceEntryOuterClass.ServiceEntry.Builder addAllEndpoints(Iterable<? extends WorkloadEntryOuterClass.WorkloadEntry> values)
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;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;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;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;public WorkloadEntryOuterClass.WorkloadEntryOrBuilder getEndpointsOrBuilder(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;public List<? extends WorkloadEntryOuterClass.WorkloadEntryOrBuilder> getEndpointsOrBuilderList()
One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.
repeated .istio.networking.v1alpha3.WorkloadEntry endpoints = 6;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;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;public 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;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.ServiceEntryOrBuilderpublic 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.ServiceEntryOrBuilderpublic 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;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;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;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;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;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;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.ServiceEntryOrBuilderpublic 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.ServiceEntryOrBuilderpublic 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.ServiceEntryOrBuilderindex - The index of the element to return.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.ServiceEntryOrBuilderindex - The index of the value to return.public ServiceEntryOuterClass.ServiceEntry.Builder setExportTo(int index, 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;index - The index to set the value at.value - The exportTo to set.public ServiceEntryOuterClass.ServiceEntry.Builder addExportTo(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;value - The exportTo to add.public ServiceEntryOuterClass.ServiceEntry.Builder addAllExportTo(Iterable<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;values - The exportTo to add.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;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;value - The bytes of the exportTo to add.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.ServiceEntryOrBuilderpublic 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.ServiceEntryOrBuilderpublic 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.ServiceEntryOrBuilderindex - The index of the element to return.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.ServiceEntryOrBuilderindex - The index of the value to return.public ServiceEntryOuterClass.ServiceEntry.Builder setSubjectAltNames(int index, 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;index - The index to set the value at.value - The subjectAltNames to set.public ServiceEntryOuterClass.ServiceEntry.Builder addSubjectAltNames(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;value - The subjectAltNames to add.public ServiceEntryOuterClass.ServiceEntry.Builder addAllSubjectAltNames(Iterable<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;values - The subjectAltNames to add.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;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;value - The bytes of the subjectAltNames to add.public final ServiceEntryOuterClass.ServiceEntry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>public final ServiceEntryOuterClass.ServiceEntry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServiceEntryOuterClass.ServiceEntry.Builder>Copyright © 2018–2023 Alibaba Group. All rights reserved.