public static final class WorkloadEntryOuterClass.WorkloadEntry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder> implements WorkloadEntryOuterClass.WorkloadEntryOrBuilder
WorkloadEntry enables specifying the properties of a single non-Kubernetes workload such a VM or a bare metal services that can be referred to by service entries. <!-- crd generation tags +cue-gen:WorkloadEntry:groupName:networking.istio.io +cue-gen:WorkloadEntry:version:v1alpha3 +cue-gen:WorkloadEntry:storageVersion +cue-gen:WorkloadEntry:annotations:helm.sh/resource-policy=keep +cue-gen:WorkloadEntry:labels:app=istio-pilot,chart=istio,heritage=Tiller,release=istio +cue-gen:WorkloadEntry:subresource:status +cue-gen:WorkloadEntry:scope:Namespaced +cue-gen:WorkloadEntry:resource:categories=istio-io,networking-istio-io,shortNames=we,plural=workloadentries +cue-gen:WorkloadEntry: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:WorkloadEntry:printerColumn:name=Address,type=string,JSONPath=.spec.address,description="Address associated with the network endpoint." +cue-gen:WorkloadEntry: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.WorkloadEntry| 限定符和类型 | 方法和说明 |
|---|---|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WorkloadEntryOuterClass.WorkloadEntry |
build() |
WorkloadEntryOuterClass.WorkloadEntry |
buildPartial() |
WorkloadEntryOuterClass.WorkloadEntry.Builder |
clear() |
WorkloadEntryOuterClass.WorkloadEntry.Builder |
clearAddress()
Address associated with the network endpoint without the
port.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
WorkloadEntryOuterClass.WorkloadEntry.Builder |
clearLabels() |
WorkloadEntryOuterClass.WorkloadEntry.Builder |
clearLocality()
The locality associated with the endpoint.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
clearNetwork()
Network enables Istio to group endpoints resident in the same L3
domain/network.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WorkloadEntryOuterClass.WorkloadEntry.Builder |
clearPorts() |
WorkloadEntryOuterClass.WorkloadEntry.Builder |
clearServiceAccount()
The service account associated with the workload if a sidecar
is present in the workload.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
clearWeight()
The load balancing weight associated with the endpoint.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
clone() |
boolean |
containsLabels(String key)
One or more labels associated with the endpoint.
|
boolean |
containsPorts(String key)
Set of ports associated with the endpoint.
|
String |
getAddress()
Address associated with the network endpoint without the
port.
|
com.google.protobuf.ByteString |
getAddressBytes()
Address associated with the network endpoint without the
port.
|
WorkloadEntryOuterClass.WorkloadEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getLabels()
已过时。
|
int |
getLabelsCount()
One or more labels associated with the endpoint.
|
Map<String,String> |
getLabelsMap()
One or more labels associated with the endpoint.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
One or more labels associated with the endpoint.
|
String |
getLabelsOrThrow(String key)
One or more labels associated with the endpoint.
|
String |
getLocality()
The locality associated with the endpoint.
|
com.google.protobuf.ByteString |
getLocalityBytes()
The locality associated with the endpoint.
|
Map<String,String> |
getMutableLabels()
已过时。
|
Map<String,Integer> |
getMutablePorts()
已过时。
|
String |
getNetwork()
Network enables Istio to group endpoints resident in the same L3
domain/network.
|
com.google.protobuf.ByteString |
getNetworkBytes()
Network enables Istio to group endpoints resident in the same L3
domain/network.
|
Map<String,Integer> |
getPorts()
已过时。
|
int |
getPortsCount()
Set of ports associated with the endpoint.
|
Map<String,Integer> |
getPortsMap()
Set of ports associated with the endpoint.
|
int |
getPortsOrDefault(String key,
int defaultValue)
Set of ports associated with the endpoint.
|
int |
getPortsOrThrow(String key)
Set of ports associated with the endpoint.
|
String |
getServiceAccount()
The service account associated with the workload if a sidecar
is present in the workload.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
The service account associated with the workload if a sidecar
is present in the workload.
|
int |
getWeight()
The load balancing weight associated with the endpoint.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
WorkloadEntryOuterClass.WorkloadEntry.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WorkloadEntryOuterClass.WorkloadEntry.Builder |
mergeFrom(com.google.protobuf.Message other) |
WorkloadEntryOuterClass.WorkloadEntry.Builder |
mergeFrom(WorkloadEntryOuterClass.WorkloadEntry other) |
WorkloadEntryOuterClass.WorkloadEntry.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WorkloadEntryOuterClass.WorkloadEntry.Builder |
putAllLabels(Map<String,String> values)
One or more labels associated with the endpoint.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
putAllPorts(Map<String,Integer> values)
Set of ports associated with the endpoint.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
putLabels(String key,
String value)
One or more labels associated with the endpoint.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
putPorts(String key,
int value)
Set of ports associated with the endpoint.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
removeLabels(String key)
One or more labels associated with the endpoint.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
removePorts(String key)
Set of ports associated with the endpoint.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
setAddress(String value)
Address associated with the network endpoint without the
port.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
setAddressBytes(com.google.protobuf.ByteString value)
Address associated with the network endpoint without the
port.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WorkloadEntryOuterClass.WorkloadEntry.Builder |
setLocality(String value)
The locality associated with the endpoint.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
setLocalityBytes(com.google.protobuf.ByteString value)
The locality associated with the endpoint.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
setNetwork(String value)
Network enables Istio to group endpoints resident in the same L3
domain/network.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
Network enables Istio to group endpoints resident in the same L3
domain/network.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
WorkloadEntryOuterClass.WorkloadEntry.Builder |
setServiceAccount(String value)
The service account associated with the workload if a sidecar
is present in the workload.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
setServiceAccountBytes(com.google.protobuf.ByteString value)
The service account associated with the workload if a sidecar
is present in the workload.
|
WorkloadEntryOuterClass.WorkloadEntry.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WorkloadEntryOuterClass.WorkloadEntry.Builder |
setWeight(int value)
The load balancing weight associated with the endpoint.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, 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.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder>public WorkloadEntryOuterClass.WorkloadEntry.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder>public WorkloadEntryOuterClass.WorkloadEntry getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic WorkloadEntryOuterClass.WorkloadEntry build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic WorkloadEntryOuterClass.WorkloadEntry buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic WorkloadEntryOuterClass.WorkloadEntry.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder>public WorkloadEntryOuterClass.WorkloadEntry.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder>public WorkloadEntryOuterClass.WorkloadEntry.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder>public WorkloadEntryOuterClass.WorkloadEntry.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder>public WorkloadEntryOuterClass.WorkloadEntry.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder>public WorkloadEntryOuterClass.WorkloadEntry.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder>public WorkloadEntryOuterClass.WorkloadEntry.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder>public WorkloadEntryOuterClass.WorkloadEntry.Builder mergeFrom(WorkloadEntryOuterClass.WorkloadEntry other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder>public WorkloadEntryOuterClass.WorkloadEntry.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<WorkloadEntryOuterClass.WorkloadEntry.Builder>IOExceptionpublic String getAddress()
Address associated with the network endpoint without the port. Domain names can be used if and only if the resolution is set to DNS, and must be fully-qualified without wildcards. Use the form unix:///absolute/path/to/socket for Unix domain socket endpoints.
string address = 1 [(.google.api.field_behavior) = REQUIRED];getAddress 在接口中 WorkloadEntryOuterClass.WorkloadEntryOrBuilderpublic com.google.protobuf.ByteString getAddressBytes()
Address associated with the network endpoint without the port. Domain names can be used if and only if the resolution is set to DNS, and must be fully-qualified without wildcards. Use the form unix:///absolute/path/to/socket for Unix domain socket endpoints.
string address = 1 [(.google.api.field_behavior) = REQUIRED];getAddressBytes 在接口中 WorkloadEntryOuterClass.WorkloadEntryOrBuilderpublic WorkloadEntryOuterClass.WorkloadEntry.Builder setAddress(String value)
Address associated with the network endpoint without the port. Domain names can be used if and only if the resolution is set to DNS, and must be fully-qualified without wildcards. Use the form unix:///absolute/path/to/socket for Unix domain socket endpoints.
string address = 1 [(.google.api.field_behavior) = REQUIRED];value - The address to set.public WorkloadEntryOuterClass.WorkloadEntry.Builder clearAddress()
Address associated with the network endpoint without the port. Domain names can be used if and only if the resolution is set to DNS, and must be fully-qualified without wildcards. Use the form unix:///absolute/path/to/socket for Unix domain socket endpoints.
string address = 1 [(.google.api.field_behavior) = REQUIRED];public WorkloadEntryOuterClass.WorkloadEntry.Builder setAddressBytes(com.google.protobuf.ByteString value)
Address associated with the network endpoint without the port. Domain names can be used if and only if the resolution is set to DNS, and must be fully-qualified without wildcards. Use the form unix:///absolute/path/to/socket for Unix domain socket endpoints.
string address = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for address to set.public int getPortsCount()
Set of ports associated with the endpoint. If the port map is specified, it must be a map of servicePortName to this endpoint's port, such that traffic to the service port will be forwarded to the endpoint port that maps to the service's portName. If omitted, and the targetPort is specified as part of the service's port specification, traffic to the service port will be forwarded to one of the endpoints on the specified `targetPort`. If both the targetPort and endpoint's port map are not specified, traffic to a service port will be forwarded to one of the endpoints on the same port. **NOTE 1:** Do not use for `unix://` addresses. **NOTE 2:** endpoint port map takes precedence over targetPort.
map<string, uint32> ports = 2;public boolean containsPorts(String key)
Set of ports associated with the endpoint. If the port map is specified, it must be a map of servicePortName to this endpoint's port, such that traffic to the service port will be forwarded to the endpoint port that maps to the service's portName. If omitted, and the targetPort is specified as part of the service's port specification, traffic to the service port will be forwarded to one of the endpoints on the specified `targetPort`. If both the targetPort and endpoint's port map are not specified, traffic to a service port will be forwarded to one of the endpoints on the same port. **NOTE 1:** Do not use for `unix://` addresses. **NOTE 2:** endpoint port map takes precedence over targetPort.
map<string, uint32> ports = 2;@Deprecated public Map<String,Integer> getPorts()
getPortsMap() instead.public Map<String,Integer> getPortsMap()
Set of ports associated with the endpoint. If the port map is specified, it must be a map of servicePortName to this endpoint's port, such that traffic to the service port will be forwarded to the endpoint port that maps to the service's portName. If omitted, and the targetPort is specified as part of the service's port specification, traffic to the service port will be forwarded to one of the endpoints on the specified `targetPort`. If both the targetPort and endpoint's port map are not specified, traffic to a service port will be forwarded to one of the endpoints on the same port. **NOTE 1:** Do not use for `unix://` addresses. **NOTE 2:** endpoint port map takes precedence over targetPort.
map<string, uint32> ports = 2;public int getPortsOrDefault(String key, int defaultValue)
Set of ports associated with the endpoint. If the port map is specified, it must be a map of servicePortName to this endpoint's port, such that traffic to the service port will be forwarded to the endpoint port that maps to the service's portName. If omitted, and the targetPort is specified as part of the service's port specification, traffic to the service port will be forwarded to one of the endpoints on the specified `targetPort`. If both the targetPort and endpoint's port map are not specified, traffic to a service port will be forwarded to one of the endpoints on the same port. **NOTE 1:** Do not use for `unix://` addresses. **NOTE 2:** endpoint port map takes precedence over targetPort.
map<string, uint32> ports = 2;public int getPortsOrThrow(String key)
Set of ports associated with the endpoint. If the port map is specified, it must be a map of servicePortName to this endpoint's port, such that traffic to the service port will be forwarded to the endpoint port that maps to the service's portName. If omitted, and the targetPort is specified as part of the service's port specification, traffic to the service port will be forwarded to one of the endpoints on the specified `targetPort`. If both the targetPort and endpoint's port map are not specified, traffic to a service port will be forwarded to one of the endpoints on the same port. **NOTE 1:** Do not use for `unix://` addresses. **NOTE 2:** endpoint port map takes precedence over targetPort.
map<string, uint32> ports = 2;public WorkloadEntryOuterClass.WorkloadEntry.Builder clearPorts()
public WorkloadEntryOuterClass.WorkloadEntry.Builder removePorts(String key)
Set of ports associated with the endpoint. If the port map is specified, it must be a map of servicePortName to this endpoint's port, such that traffic to the service port will be forwarded to the endpoint port that maps to the service's portName. If omitted, and the targetPort is specified as part of the service's port specification, traffic to the service port will be forwarded to one of the endpoints on the specified `targetPort`. If both the targetPort and endpoint's port map are not specified, traffic to a service port will be forwarded to one of the endpoints on the same port. **NOTE 1:** Do not use for `unix://` addresses. **NOTE 2:** endpoint port map takes precedence over targetPort.
map<string, uint32> ports = 2;@Deprecated public Map<String,Integer> getMutablePorts()
public WorkloadEntryOuterClass.WorkloadEntry.Builder putPorts(String key, int value)
Set of ports associated with the endpoint. If the port map is specified, it must be a map of servicePortName to this endpoint's port, such that traffic to the service port will be forwarded to the endpoint port that maps to the service's portName. If omitted, and the targetPort is specified as part of the service's port specification, traffic to the service port will be forwarded to one of the endpoints on the specified `targetPort`. If both the targetPort and endpoint's port map are not specified, traffic to a service port will be forwarded to one of the endpoints on the same port. **NOTE 1:** Do not use for `unix://` addresses. **NOTE 2:** endpoint port map takes precedence over targetPort.
map<string, uint32> ports = 2;public WorkloadEntryOuterClass.WorkloadEntry.Builder putAllPorts(Map<String,Integer> values)
Set of ports associated with the endpoint. If the port map is specified, it must be a map of servicePortName to this endpoint's port, such that traffic to the service port will be forwarded to the endpoint port that maps to the service's portName. If omitted, and the targetPort is specified as part of the service's port specification, traffic to the service port will be forwarded to one of the endpoints on the specified `targetPort`. If both the targetPort and endpoint's port map are not specified, traffic to a service port will be forwarded to one of the endpoints on the same port. **NOTE 1:** Do not use for `unix://` addresses. **NOTE 2:** endpoint port map takes precedence over targetPort.
map<string, uint32> ports = 2;public int getLabelsCount()
One or more labels associated with the endpoint.
map<string, string> labels = 3;public boolean containsLabels(String key)
One or more labels associated with the endpoint.
map<string, string> labels = 3;@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.public Map<String,String> getLabelsMap()
One or more labels associated with the endpoint.
map<string, string> labels = 3;public String getLabelsOrDefault(String key, String defaultValue)
One or more labels associated with the endpoint.
map<string, string> labels = 3;public String getLabelsOrThrow(String key)
One or more labels associated with the endpoint.
map<string, string> labels = 3;public WorkloadEntryOuterClass.WorkloadEntry.Builder clearLabels()
public WorkloadEntryOuterClass.WorkloadEntry.Builder removeLabels(String key)
One or more labels associated with the endpoint.
map<string, string> labels = 3;@Deprecated public Map<String,String> getMutableLabels()
public WorkloadEntryOuterClass.WorkloadEntry.Builder putLabels(String key, String value)
One or more labels associated with the endpoint.
map<string, string> labels = 3;public WorkloadEntryOuterClass.WorkloadEntry.Builder putAllLabels(Map<String,String> values)
One or more labels associated with the endpoint.
map<string, string> labels = 3;public String getNetwork()
Network enables Istio to group endpoints resident in the same L3 domain/network. All endpoints in the same network are assumed to be directly reachable from one another. When endpoints in different networks cannot reach each other directly, an Istio Gateway can be used to establish connectivity (usually using the `AUTO_PASSTHROUGH` mode in a Gateway Server). This is an advanced configuration used typically for spanning an Istio mesh over multiple clusters.
string network = 4;getNetwork 在接口中 WorkloadEntryOuterClass.WorkloadEntryOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
Network enables Istio to group endpoints resident in the same L3 domain/network. All endpoints in the same network are assumed to be directly reachable from one another. When endpoints in different networks cannot reach each other directly, an Istio Gateway can be used to establish connectivity (usually using the `AUTO_PASSTHROUGH` mode in a Gateway Server). This is an advanced configuration used typically for spanning an Istio mesh over multiple clusters.
string network = 4;getNetworkBytes 在接口中 WorkloadEntryOuterClass.WorkloadEntryOrBuilderpublic WorkloadEntryOuterClass.WorkloadEntry.Builder setNetwork(String value)
Network enables Istio to group endpoints resident in the same L3 domain/network. All endpoints in the same network are assumed to be directly reachable from one another. When endpoints in different networks cannot reach each other directly, an Istio Gateway can be used to establish connectivity (usually using the `AUTO_PASSTHROUGH` mode in a Gateway Server). This is an advanced configuration used typically for spanning an Istio mesh over multiple clusters.
string network = 4;value - The network to set.public WorkloadEntryOuterClass.WorkloadEntry.Builder clearNetwork()
Network enables Istio to group endpoints resident in the same L3 domain/network. All endpoints in the same network are assumed to be directly reachable from one another. When endpoints in different networks cannot reach each other directly, an Istio Gateway can be used to establish connectivity (usually using the `AUTO_PASSTHROUGH` mode in a Gateway Server). This is an advanced configuration used typically for spanning an Istio mesh over multiple clusters.
string network = 4;public WorkloadEntryOuterClass.WorkloadEntry.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Network enables Istio to group endpoints resident in the same L3 domain/network. All endpoints in the same network are assumed to be directly reachable from one another. When endpoints in different networks cannot reach each other directly, an Istio Gateway can be used to establish connectivity (usually using the `AUTO_PASSTHROUGH` mode in a Gateway Server). This is an advanced configuration used typically for spanning an Istio mesh over multiple clusters.
string network = 4;value - The bytes for network to set.public String getLocality()
The locality associated with the endpoint. A locality corresponds to a failure domain (e.g., country/region/zone). Arbitrary failure domain hierarchies can be represented by separating each encapsulating failure domain by /. For example, the locality of an an endpoint in US, in US-East-1 region, within availability zone az-1, in data center rack r11 can be represented as us/us-east-1/az-1/r11. Istio will configure the sidecar to route to endpoints within the same locality as the sidecar. If none of the endpoints in the locality are available, endpoints parent locality (but within the same network ID) will be chosen. For example, if there are two endpoints in same network (networkID "n1"), say e1 with locality us/us-east-1/az-1/r11 and e2 with locality us/us-east-1/az-2/r12, a sidecar from us/us-east-1/az-1/r11 locality will prefer e1 from the same locality over e2 from a different locality. Endpoint e2 could be the IP associated with a gateway (that bridges networks n1 and n2), or the IP associated with a standard service endpoint.
string locality = 5;getLocality 在接口中 WorkloadEntryOuterClass.WorkloadEntryOrBuilderpublic com.google.protobuf.ByteString getLocalityBytes()
The locality associated with the endpoint. A locality corresponds to a failure domain (e.g., country/region/zone). Arbitrary failure domain hierarchies can be represented by separating each encapsulating failure domain by /. For example, the locality of an an endpoint in US, in US-East-1 region, within availability zone az-1, in data center rack r11 can be represented as us/us-east-1/az-1/r11. Istio will configure the sidecar to route to endpoints within the same locality as the sidecar. If none of the endpoints in the locality are available, endpoints parent locality (but within the same network ID) will be chosen. For example, if there are two endpoints in same network (networkID "n1"), say e1 with locality us/us-east-1/az-1/r11 and e2 with locality us/us-east-1/az-2/r12, a sidecar from us/us-east-1/az-1/r11 locality will prefer e1 from the same locality over e2 from a different locality. Endpoint e2 could be the IP associated with a gateway (that bridges networks n1 and n2), or the IP associated with a standard service endpoint.
string locality = 5;getLocalityBytes 在接口中 WorkloadEntryOuterClass.WorkloadEntryOrBuilderpublic WorkloadEntryOuterClass.WorkloadEntry.Builder setLocality(String value)
The locality associated with the endpoint. A locality corresponds to a failure domain (e.g., country/region/zone). Arbitrary failure domain hierarchies can be represented by separating each encapsulating failure domain by /. For example, the locality of an an endpoint in US, in US-East-1 region, within availability zone az-1, in data center rack r11 can be represented as us/us-east-1/az-1/r11. Istio will configure the sidecar to route to endpoints within the same locality as the sidecar. If none of the endpoints in the locality are available, endpoints parent locality (but within the same network ID) will be chosen. For example, if there are two endpoints in same network (networkID "n1"), say e1 with locality us/us-east-1/az-1/r11 and e2 with locality us/us-east-1/az-2/r12, a sidecar from us/us-east-1/az-1/r11 locality will prefer e1 from the same locality over e2 from a different locality. Endpoint e2 could be the IP associated with a gateway (that bridges networks n1 and n2), or the IP associated with a standard service endpoint.
string locality = 5;value - The locality to set.public WorkloadEntryOuterClass.WorkloadEntry.Builder clearLocality()
The locality associated with the endpoint. A locality corresponds to a failure domain (e.g., country/region/zone). Arbitrary failure domain hierarchies can be represented by separating each encapsulating failure domain by /. For example, the locality of an an endpoint in US, in US-East-1 region, within availability zone az-1, in data center rack r11 can be represented as us/us-east-1/az-1/r11. Istio will configure the sidecar to route to endpoints within the same locality as the sidecar. If none of the endpoints in the locality are available, endpoints parent locality (but within the same network ID) will be chosen. For example, if there are two endpoints in same network (networkID "n1"), say e1 with locality us/us-east-1/az-1/r11 and e2 with locality us/us-east-1/az-2/r12, a sidecar from us/us-east-1/az-1/r11 locality will prefer e1 from the same locality over e2 from a different locality. Endpoint e2 could be the IP associated with a gateway (that bridges networks n1 and n2), or the IP associated with a standard service endpoint.
string locality = 5;public WorkloadEntryOuterClass.WorkloadEntry.Builder setLocalityBytes(com.google.protobuf.ByteString value)
The locality associated with the endpoint. A locality corresponds to a failure domain (e.g., country/region/zone). Arbitrary failure domain hierarchies can be represented by separating each encapsulating failure domain by /. For example, the locality of an an endpoint in US, in US-East-1 region, within availability zone az-1, in data center rack r11 can be represented as us/us-east-1/az-1/r11. Istio will configure the sidecar to route to endpoints within the same locality as the sidecar. If none of the endpoints in the locality are available, endpoints parent locality (but within the same network ID) will be chosen. For example, if there are two endpoints in same network (networkID "n1"), say e1 with locality us/us-east-1/az-1/r11 and e2 with locality us/us-east-1/az-2/r12, a sidecar from us/us-east-1/az-1/r11 locality will prefer e1 from the same locality over e2 from a different locality. Endpoint e2 could be the IP associated with a gateway (that bridges networks n1 and n2), or the IP associated with a standard service endpoint.
string locality = 5;value - The bytes for locality to set.public int getWeight()
The load balancing weight associated with the endpoint. Endpoints with higher weights will receive proportionally higher traffic.
uint32 weight = 6;getWeight 在接口中 WorkloadEntryOuterClass.WorkloadEntryOrBuilderpublic WorkloadEntryOuterClass.WorkloadEntry.Builder setWeight(int value)
The load balancing weight associated with the endpoint. Endpoints with higher weights will receive proportionally higher traffic.
uint32 weight = 6;value - The weight to set.public WorkloadEntryOuterClass.WorkloadEntry.Builder clearWeight()
The load balancing weight associated with the endpoint. Endpoints with higher weights will receive proportionally higher traffic.
uint32 weight = 6;public String getServiceAccount()
The service account associated with the workload if a sidecar is present in the workload. The service account must be present in the same namespace as the configuration ( WorkloadEntry or a ServiceEntry)
string service_account = 7;getServiceAccount 在接口中 WorkloadEntryOuterClass.WorkloadEntryOrBuilderpublic com.google.protobuf.ByteString getServiceAccountBytes()
The service account associated with the workload if a sidecar is present in the workload. The service account must be present in the same namespace as the configuration ( WorkloadEntry or a ServiceEntry)
string service_account = 7;getServiceAccountBytes 在接口中 WorkloadEntryOuterClass.WorkloadEntryOrBuilderpublic WorkloadEntryOuterClass.WorkloadEntry.Builder setServiceAccount(String value)
The service account associated with the workload if a sidecar is present in the workload. The service account must be present in the same namespace as the configuration ( WorkloadEntry or a ServiceEntry)
string service_account = 7;value - The serviceAccount to set.public WorkloadEntryOuterClass.WorkloadEntry.Builder clearServiceAccount()
The service account associated with the workload if a sidecar is present in the workload. The service account must be present in the same namespace as the configuration ( WorkloadEntry or a ServiceEntry)
string service_account = 7;public WorkloadEntryOuterClass.WorkloadEntry.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
The service account associated with the workload if a sidecar is present in the workload. The service account must be present in the same namespace as the configuration ( WorkloadEntry or a ServiceEntry)
string service_account = 7;value - The bytes for serviceAccount to set.public final WorkloadEntryOuterClass.WorkloadEntry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder>public final WorkloadEntryOuterClass.WorkloadEntry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<WorkloadEntryOuterClass.WorkloadEntry.Builder>Copyright © 2018–2023 Alibaba Group. All rights reserved.