public final class ServiceEntry extends com.google.protobuf.GeneratedMessageV3 implements ServiceEntryOrBuilder
ServiceEntry enables adding additional entries into Istio's internal service registry. <!-- go code generation tags +kubetype-gen +kubetype-gen:groupVersion=networking.istio.io/v1alpha3 +genclient +k8s:deepcopy-gen=true -->Protobuf type
istio.networking.v1alpha3.ServiceEntry| 限定符和类型 | 类和说明 |
|---|---|
static class |
ServiceEntry.Builder
ServiceEntry enables adding additional entries into Istio's internal
service registry.
|
static class |
ServiceEntry.Endpoint
Endpoint defines a network address (IP or hostname) associated with
the mesh service.
|
static interface |
ServiceEntry.EndpointOrBuilder |
static class |
ServiceEntry.Location
Location specifies whether the service is part of Istio mesh or
outside the mesh.
|
static class |
ServiceEntry.Resolution
Resolution determines how the proxy will resolve the IP addresses of
the network endpoints associated with the service, so that it can
route to one of them.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
private com.google.protobuf.LazyStringList |
addresses_ |
static int |
ADDRESSES_FIELD_NUMBER |
private static ServiceEntry |
DEFAULT_INSTANCE |
private java.util.List<ServiceEntry.Endpoint> |
endpoints_ |
static int |
ENDPOINTS_FIELD_NUMBER |
static int |
EXPORT_TO_FIELD_NUMBER |
private com.google.protobuf.LazyStringList |
exportTo_ |
private com.google.protobuf.LazyStringList |
hosts_ |
static int |
HOSTS_FIELD_NUMBER |
private int |
location_ |
static int |
LOCATION_FIELD_NUMBER |
private byte |
memoizedIsInitialized |
private static com.google.protobuf.Parser<ServiceEntry> |
PARSER |
private java.util.List<Port> |
ports_ |
static int |
PORTS_FIELD_NUMBER |
private int |
resolution_ |
static int |
RESOLUTION_FIELD_NUMBER |
private static long |
serialVersionUID |
static int |
SUBJECT_ALT_NAMES_FIELD_NUMBER |
private com.google.protobuf.LazyStringList |
subjectAltNames_ |
| 限定符 | 构造器和说明 |
|---|---|
private |
ServiceEntry() |
private |
ServiceEntry(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
private |
ServiceEntry(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
static ServiceEntry |
getDefaultInstance() |
ServiceEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ServiceEntry.Endpoint |
getEndpoints(int index)
One or more endpoints associated with the service.
|
int |
getEndpointsCount()
One or more endpoints associated with the service.
|
java.util.List<ServiceEntry.Endpoint> |
getEndpointsList()
One or more endpoints associated with the service.
|
ServiceEntry.EndpointOrBuilder |
getEndpointsOrBuilder(int index)
One or more endpoints associated with the service.
|
java.util.List<? extends ServiceEntry.EndpointOrBuilder> |
getEndpointsOrBuilderList()
One or more endpoints associated with the service.
|
java.lang.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.
|
java.lang.String |
getHosts(int index)
REQUIRED.
|
com.google.protobuf.ByteString |
getHostsBytes(int index)
REQUIRED.
|
int |
getHostsCount()
REQUIRED.
|
com.google.protobuf.ProtocolStringList |
getHostsList()
REQUIRED.
|
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.
|
com.google.protobuf.Parser<ServiceEntry> |
getParserForType() |
Port |
getPorts(int index)
REQUIRED.
|
int |
getPortsCount()
REQUIRED.
|
java.util.List<Port> |
getPortsList()
REQUIRED.
|
PortOrBuilder |
getPortsOrBuilder(int index)
REQUIRED.
|
java.util.List<? extends PortOrBuilder> |
getPortsOrBuilderList()
REQUIRED.
|
ServiceEntry.Resolution |
getResolution()
REQUIRED: Service discovery mode for the hosts.
|
int |
getResolutionValue()
REQUIRED: Service discovery mode for the hosts.
|
int |
getSerializedSize() |
java.lang.String |
getSubjectAltNames(int index)
The list of subject alternate names allowed for workload instances that
implement this service.
|
com.google.protobuf.ByteString |
getSubjectAltNamesBytes(int index)
The list of subject alternate names allowed for workload instances that
implement this service.
|
int |
getSubjectAltNamesCount()
The list of subject alternate names allowed for workload instances that
implement this service.
|
com.google.protobuf.ProtocolStringList |
getSubjectAltNamesList()
The list of subject alternate names allowed for workload instances that
implement this service.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ServiceEntry.Builder |
newBuilder() |
static ServiceEntry.Builder |
newBuilder(ServiceEntry prototype) |
ServiceEntry.Builder |
newBuilderForType() |
protected ServiceEntry.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ServiceEntry |
parseDelimitedFrom(java.io.InputStream input) |
static ServiceEntry |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServiceEntry |
parseFrom(byte[] data) |
static ServiceEntry |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServiceEntry |
parseFrom(java.nio.ByteBuffer data) |
static ServiceEntry |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServiceEntry |
parseFrom(com.google.protobuf.ByteString data) |
static ServiceEntry |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServiceEntry |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ServiceEntry |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServiceEntry |
parseFrom(java.io.InputStream input) |
static ServiceEntry |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ServiceEntry> |
parser() |
ServiceEntry.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternalprivate static final long serialVersionUID
public static final int HOSTS_FIELD_NUMBER
private com.google.protobuf.LazyStringList hosts_
public static final int ADDRESSES_FIELD_NUMBER
private com.google.protobuf.LazyStringList addresses_
public static final int PORTS_FIELD_NUMBER
private java.util.List<Port> ports_
public static final int LOCATION_FIELD_NUMBER
private int location_
public static final int RESOLUTION_FIELD_NUMBER
private int resolution_
public static final int ENDPOINTS_FIELD_NUMBER
private java.util.List<ServiceEntry.Endpoint> endpoints_
public static final int EXPORT_TO_FIELD_NUMBER
private com.google.protobuf.LazyStringList exportTo_
public static final int SUBJECT_ALT_NAMES_FIELD_NUMBER
private com.google.protobuf.LazyStringList subjectAltNames_
private byte memoizedIsInitialized
private static final ServiceEntry DEFAULT_INSTANCE
private static final com.google.protobuf.Parser<ServiceEntry> PARSER
private ServiceEntry(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
private ServiceEntry()
private ServiceEntry(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionprotected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ProtocolStringList getHostsList()
REQUIRED. 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 that 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.
repeated string hosts = 1;getHostsList 在接口中 ServiceEntryOrBuilderpublic int getHostsCount()
REQUIRED. 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 that 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.
repeated string hosts = 1;getHostsCount 在接口中 ServiceEntryOrBuilderpublic java.lang.String getHosts(int index)
REQUIRED. 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 that 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.
repeated string hosts = 1;getHosts 在接口中 ServiceEntryOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getHostsBytes(int index)
REQUIRED. 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 that 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.
repeated string hosts = 1;getHostsBytes 在接口中 ServiceEntryOrBuilderindex - The index of the value to return.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 在接口中 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 在接口中 ServiceEntryOrBuilderpublic 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 在接口中 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 在接口中 ServiceEntryOrBuilderindex - The index of the value to return.public java.util.List<Port> getPortsList()
REQUIRED. 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;getPortsList 在接口中 ServiceEntryOrBuilderpublic java.util.List<? extends PortOrBuilder> getPortsOrBuilderList()
REQUIRED. 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;getPortsOrBuilderList 在接口中 ServiceEntryOrBuilderpublic int getPortsCount()
REQUIRED. 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;getPortsCount 在接口中 ServiceEntryOrBuilderpublic Port getPorts(int index)
REQUIRED. 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;getPorts 在接口中 ServiceEntryOrBuilderpublic PortOrBuilder getPortsOrBuilder(int index)
REQUIRED. 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;getPortsOrBuilder 在接口中 ServiceEntryOrBuilderpublic 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 在接口中 ServiceEntryOrBuilderpublic 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 在接口中 ServiceEntryOrBuilderpublic int getResolutionValue()
REQUIRED: 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;getResolutionValue 在接口中 ServiceEntryOrBuilderpublic ServiceEntry.Resolution getResolution()
REQUIRED: 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;getResolution 在接口中 ServiceEntryOrBuilderpublic java.util.List<ServiceEntry.Endpoint> getEndpointsList()
One or more endpoints associated with the service.
repeated .istio.networking.v1alpha3.ServiceEntry.Endpoint endpoints = 6;getEndpointsList 在接口中 ServiceEntryOrBuilderpublic java.util.List<? extends ServiceEntry.EndpointOrBuilder> getEndpointsOrBuilderList()
One or more endpoints associated with the service.
repeated .istio.networking.v1alpha3.ServiceEntry.Endpoint endpoints = 6;public int getEndpointsCount()
One or more endpoints associated with the service.
repeated .istio.networking.v1alpha3.ServiceEntry.Endpoint endpoints = 6;getEndpointsCount 在接口中 ServiceEntryOrBuilderpublic ServiceEntry.Endpoint getEndpoints(int index)
One or more endpoints associated with the service.
repeated .istio.networking.v1alpha3.ServiceEntry.Endpoint endpoints = 6;getEndpoints 在接口中 ServiceEntryOrBuilderpublic ServiceEntry.EndpointOrBuilder getEndpointsOrBuilder(int index)
One or more endpoints associated with the service.
repeated .istio.networking.v1alpha3.ServiceEntry.Endpoint endpoints = 6;getEndpointsOrBuilder 在接口中 ServiceEntryOrBuilderpublic 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 在接口中 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 在接口中 ServiceEntryOrBuilderpublic 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 在接口中 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 在接口中 ServiceEntryOrBuilderindex - The index of the value to return.public com.google.protobuf.ProtocolStringList getSubjectAltNamesList()
The list of subject alternate names allowed for workload instances that implement this service. This information is used to enforce [secure-naming](https://istio.io/docs/concepts/security/#secure-naming). If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.
repeated string subject_alt_names = 8;getSubjectAltNamesList 在接口中 ServiceEntryOrBuilderpublic int getSubjectAltNamesCount()
The list of subject alternate names allowed for workload instances that implement this service. This information is used to enforce [secure-naming](https://istio.io/docs/concepts/security/#secure-naming). If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.
repeated string subject_alt_names = 8;getSubjectAltNamesCount 在接口中 ServiceEntryOrBuilderpublic java.lang.String getSubjectAltNames(int index)
The list of subject alternate names allowed for workload instances that implement this service. This information is used to enforce [secure-naming](https://istio.io/docs/concepts/security/#secure-naming). If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.
repeated string subject_alt_names = 8;getSubjectAltNames 在接口中 ServiceEntryOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSubjectAltNamesBytes(int index)
The list of subject alternate names allowed for workload instances that implement this service. This information is used to enforce [secure-naming](https://istio.io/docs/concepts/security/#secure-naming). If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.
repeated string subject_alt_names = 8;getSubjectAltNamesBytes 在接口中 ServiceEntryOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static ServiceEntry parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceEntry parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceEntry parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ServiceEntry parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ServiceEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ServiceEntry parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ServiceEntry parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ServiceEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ServiceEntry.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ServiceEntry.Builder newBuilder()
public static ServiceEntry.Builder newBuilder(ServiceEntry prototype)
public ServiceEntry.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected ServiceEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static ServiceEntry getDefaultInstance()
public static com.google.protobuf.Parser<ServiceEntry> parser()
public com.google.protobuf.Parser<ServiceEntry> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public ServiceEntry getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018–2020 Alibaba Group. All rights reserved.