public static final class DestinationRuleOuterClass.DestinationRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder> implements DestinationRuleOuterClass.DestinationRuleOrBuilder
DestinationRule defines policies that apply to traffic intended for a service after routing has occurred. <!-- crd generation tags +cue-gen:DestinationRule:groupName:networking.istio.io +cue-gen:DestinationRule:version:v1alpha3 +cue-gen:DestinationRule:storageVersion +cue-gen:DestinationRule:annotations:helm.sh/resource-policy=keep +cue-gen:DestinationRule:labels:app=istio-pilot,chart=istio,heritage=Tiller,release=istio +cue-gen:DestinationRule:subresource:status +cue-gen:DestinationRule:scope:Namespaced +cue-gen:DestinationRule:resource:categories=istio-io,networking-istio-io,shortNames=dr +cue-gen:DestinationRule:printerColumn:name=Host,type=string,JSONPath=.spec.host,description="The name of a service from the service registry" +cue-gen:DestinationRule: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:DestinationRule: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.DestinationRule| 限定符和类型 | 方法和说明 |
|---|---|
DestinationRuleOuterClass.DestinationRule.Builder |
addAllExportTo(Iterable<String> values)
A list of namespaces to which this destination rule is exported.
|
DestinationRuleOuterClass.DestinationRule.Builder |
addAllSubsets(Iterable<? extends DestinationRuleOuterClass.Subset> values)
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.DestinationRule.Builder |
addExportTo(String value)
A list of namespaces to which this destination rule is exported.
|
DestinationRuleOuterClass.DestinationRule.Builder |
addExportToBytes(com.google.protobuf.ByteString value)
A list of namespaces to which this destination rule is exported.
|
DestinationRuleOuterClass.DestinationRule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DestinationRuleOuterClass.DestinationRule.Builder |
addSubsets(DestinationRuleOuterClass.Subset.Builder builderForValue)
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.DestinationRule.Builder |
addSubsets(DestinationRuleOuterClass.Subset value)
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.DestinationRule.Builder |
addSubsets(int index,
DestinationRuleOuterClass.Subset.Builder builderForValue)
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.DestinationRule.Builder |
addSubsets(int index,
DestinationRuleOuterClass.Subset value)
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.Subset.Builder |
addSubsetsBuilder()
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.Subset.Builder |
addSubsetsBuilder(int index)
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.DestinationRule |
build() |
DestinationRuleOuterClass.DestinationRule |
buildPartial() |
DestinationRuleOuterClass.DestinationRule.Builder |
clear() |
DestinationRuleOuterClass.DestinationRule.Builder |
clearExportTo()
A list of namespaces to which this destination rule is exported.
|
DestinationRuleOuterClass.DestinationRule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DestinationRuleOuterClass.DestinationRule.Builder |
clearHost()
The name of a service from the service registry.
|
DestinationRuleOuterClass.DestinationRule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DestinationRuleOuterClass.DestinationRule.Builder |
clearSubsets()
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.DestinationRule.Builder |
clearTrafficPolicy()
Traffic policies to apply (load balancing policy, connection pool
sizes, outlier detection).
|
DestinationRuleOuterClass.DestinationRule.Builder |
clone() |
DestinationRuleOuterClass.DestinationRule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExportTo(int index)
A list of namespaces to which this destination rule is exported.
|
com.google.protobuf.ByteString |
getExportToBytes(int index)
A list of namespaces to which this destination rule is exported.
|
int |
getExportToCount()
A list of namespaces to which this destination rule is exported.
|
com.google.protobuf.ProtocolStringList |
getExportToList()
A list of namespaces to which this destination rule is exported.
|
String |
getHost()
The name of a service from the service registry.
|
com.google.protobuf.ByteString |
getHostBytes()
The name of a service from the service registry.
|
DestinationRuleOuterClass.Subset |
getSubsets(int index)
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.Subset.Builder |
getSubsetsBuilder(int index)
One or more named sets that represent individual versions of a
service.
|
List<DestinationRuleOuterClass.Subset.Builder> |
getSubsetsBuilderList()
One or more named sets that represent individual versions of a
service.
|
int |
getSubsetsCount()
One or more named sets that represent individual versions of a
service.
|
List<DestinationRuleOuterClass.Subset> |
getSubsetsList()
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.SubsetOrBuilder |
getSubsetsOrBuilder(int index)
One or more named sets that represent individual versions of a
service.
|
List<? extends DestinationRuleOuterClass.SubsetOrBuilder> |
getSubsetsOrBuilderList()
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.TrafficPolicy |
getTrafficPolicy()
Traffic policies to apply (load balancing policy, connection pool
sizes, outlier detection).
|
DestinationRuleOuterClass.TrafficPolicy.Builder |
getTrafficPolicyBuilder()
Traffic policies to apply (load balancing policy, connection pool
sizes, outlier detection).
|
DestinationRuleOuterClass.TrafficPolicyOrBuilder |
getTrafficPolicyOrBuilder()
Traffic policies to apply (load balancing policy, connection pool
sizes, outlier detection).
|
boolean |
hasTrafficPolicy()
Traffic policies to apply (load balancing policy, connection pool
sizes, outlier detection).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DestinationRuleOuterClass.DestinationRule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DestinationRuleOuterClass.DestinationRule.Builder |
mergeFrom(DestinationRuleOuterClass.DestinationRule other) |
DestinationRuleOuterClass.DestinationRule.Builder |
mergeFrom(com.google.protobuf.Message other) |
DestinationRuleOuterClass.DestinationRule.Builder |
mergeTrafficPolicy(DestinationRuleOuterClass.TrafficPolicy value)
Traffic policies to apply (load balancing policy, connection pool
sizes, outlier detection).
|
DestinationRuleOuterClass.DestinationRule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DestinationRuleOuterClass.DestinationRule.Builder |
removeSubsets(int index)
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.DestinationRule.Builder |
setExportTo(int index,
String value)
A list of namespaces to which this destination rule is exported.
|
DestinationRuleOuterClass.DestinationRule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DestinationRuleOuterClass.DestinationRule.Builder |
setHost(String value)
The name of a service from the service registry.
|
DestinationRuleOuterClass.DestinationRule.Builder |
setHostBytes(com.google.protobuf.ByteString value)
The name of a service from the service registry.
|
DestinationRuleOuterClass.DestinationRule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DestinationRuleOuterClass.DestinationRule.Builder |
setSubsets(int index,
DestinationRuleOuterClass.Subset.Builder builderForValue)
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.DestinationRule.Builder |
setSubsets(int index,
DestinationRuleOuterClass.Subset value)
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.DestinationRule.Builder |
setTrafficPolicy(DestinationRuleOuterClass.TrafficPolicy.Builder builderForValue)
Traffic policies to apply (load balancing policy, connection pool
sizes, outlier detection).
|
DestinationRuleOuterClass.DestinationRule.Builder |
setTrafficPolicy(DestinationRuleOuterClass.TrafficPolicy value)
Traffic policies to apply (load balancing policy, connection pool
sizes, outlier detection).
|
DestinationRuleOuterClass.DestinationRule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<DestinationRuleOuterClass.DestinationRule.Builder>public DestinationRuleOuterClass.DestinationRule.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>public DestinationRuleOuterClass.DestinationRule getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic DestinationRuleOuterClass.DestinationRule build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic DestinationRuleOuterClass.DestinationRule buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic DestinationRuleOuterClass.DestinationRule.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>public DestinationRuleOuterClass.DestinationRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>public DestinationRuleOuterClass.DestinationRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>public DestinationRuleOuterClass.DestinationRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>public DestinationRuleOuterClass.DestinationRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>public DestinationRuleOuterClass.DestinationRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>public DestinationRuleOuterClass.DestinationRule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<DestinationRuleOuterClass.DestinationRule.Builder>public DestinationRuleOuterClass.DestinationRule.Builder mergeFrom(DestinationRuleOuterClass.DestinationRule other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>public DestinationRuleOuterClass.DestinationRule.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<DestinationRuleOuterClass.DestinationRule.Builder>IOExceptionpublic String getHost()
The name of a service from the service registry. Service names are looked up from the platform's service registry (e.g., Kubernetes services, Consul services, etc.) and from the hosts declared by [ServiceEntries](https://istio.io/docs/reference/config/networking/service-entry/#ServiceEntry). Rules defined for services that do not exist in the service registry will be ignored. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ Note that the host field applies to both HTTP and TCP services.
string host = 1 [(.google.api.field_behavior) = REQUIRED];getHost 在接口中 DestinationRuleOuterClass.DestinationRuleOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
The name of a service from the service registry. Service names are looked up from the platform's service registry (e.g., Kubernetes services, Consul services, etc.) and from the hosts declared by [ServiceEntries](https://istio.io/docs/reference/config/networking/service-entry/#ServiceEntry). Rules defined for services that do not exist in the service registry will be ignored. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ Note that the host field applies to both HTTP and TCP services.
string host = 1 [(.google.api.field_behavior) = REQUIRED];getHostBytes 在接口中 DestinationRuleOuterClass.DestinationRuleOrBuilderpublic DestinationRuleOuterClass.DestinationRule.Builder setHost(String value)
The name of a service from the service registry. Service names are looked up from the platform's service registry (e.g., Kubernetes services, Consul services, etc.) and from the hosts declared by [ServiceEntries](https://istio.io/docs/reference/config/networking/service-entry/#ServiceEntry). Rules defined for services that do not exist in the service registry will be ignored. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ Note that the host field applies to both HTTP and TCP services.
string host = 1 [(.google.api.field_behavior) = REQUIRED];value - The host to set.public DestinationRuleOuterClass.DestinationRule.Builder clearHost()
The name of a service from the service registry. Service names are looked up from the platform's service registry (e.g., Kubernetes services, Consul services, etc.) and from the hosts declared by [ServiceEntries](https://istio.io/docs/reference/config/networking/service-entry/#ServiceEntry). Rules defined for services that do not exist in the service registry will be ignored. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ Note that the host field applies to both HTTP and TCP services.
string host = 1 [(.google.api.field_behavior) = REQUIRED];public DestinationRuleOuterClass.DestinationRule.Builder setHostBytes(com.google.protobuf.ByteString value)
The name of a service from the service registry. Service names are looked up from the platform's service registry (e.g., Kubernetes services, Consul services, etc.) and from the hosts declared by [ServiceEntries](https://istio.io/docs/reference/config/networking/service-entry/#ServiceEntry). Rules defined for services that do not exist in the service registry will be ignored. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ Note that the host field applies to both HTTP and TCP services.
string host = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for host to set.public boolean hasTrafficPolicy()
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;hasTrafficPolicy 在接口中 DestinationRuleOuterClass.DestinationRuleOrBuilderpublic DestinationRuleOuterClass.TrafficPolicy getTrafficPolicy()
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;getTrafficPolicy 在接口中 DestinationRuleOuterClass.DestinationRuleOrBuilderpublic DestinationRuleOuterClass.DestinationRule.Builder setTrafficPolicy(DestinationRuleOuterClass.TrafficPolicy value)
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;public DestinationRuleOuterClass.DestinationRule.Builder setTrafficPolicy(DestinationRuleOuterClass.TrafficPolicy.Builder builderForValue)
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;public DestinationRuleOuterClass.DestinationRule.Builder mergeTrafficPolicy(DestinationRuleOuterClass.TrafficPolicy value)
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;public DestinationRuleOuterClass.DestinationRule.Builder clearTrafficPolicy()
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;public DestinationRuleOuterClass.TrafficPolicy.Builder getTrafficPolicyBuilder()
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;public DestinationRuleOuterClass.TrafficPolicyOrBuilder getTrafficPolicyOrBuilder()
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;public List<DestinationRuleOuterClass.Subset> getSubsetsList()
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public int getSubsetsCount()
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public DestinationRuleOuterClass.Subset getSubsets(int index)
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public DestinationRuleOuterClass.DestinationRule.Builder setSubsets(int index, DestinationRuleOuterClass.Subset value)
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public DestinationRuleOuterClass.DestinationRule.Builder setSubsets(int index, DestinationRuleOuterClass.Subset.Builder builderForValue)
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public DestinationRuleOuterClass.DestinationRule.Builder addSubsets(DestinationRuleOuterClass.Subset value)
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public DestinationRuleOuterClass.DestinationRule.Builder addSubsets(int index, DestinationRuleOuterClass.Subset value)
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public DestinationRuleOuterClass.DestinationRule.Builder addSubsets(DestinationRuleOuterClass.Subset.Builder builderForValue)
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public DestinationRuleOuterClass.DestinationRule.Builder addSubsets(int index, DestinationRuleOuterClass.Subset.Builder builderForValue)
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public DestinationRuleOuterClass.DestinationRule.Builder addAllSubsets(Iterable<? extends DestinationRuleOuterClass.Subset> values)
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public DestinationRuleOuterClass.DestinationRule.Builder clearSubsets()
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public DestinationRuleOuterClass.DestinationRule.Builder removeSubsets(int index)
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public DestinationRuleOuterClass.Subset.Builder getSubsetsBuilder(int index)
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public DestinationRuleOuterClass.SubsetOrBuilder getSubsetsOrBuilder(int index)
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public List<? extends DestinationRuleOuterClass.SubsetOrBuilder> getSubsetsOrBuilderList()
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public DestinationRuleOuterClass.Subset.Builder addSubsetsBuilder()
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public DestinationRuleOuterClass.Subset.Builder addSubsetsBuilder(int index)
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public List<DestinationRuleOuterClass.Subset.Builder> getSubsetsBuilderList()
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;public com.google.protobuf.ProtocolStringList getExportToList()
A list of namespaces to which this destination rule is exported. The resolution of a destination rule to apply to a service occurs in the context of a hierarchy of namespaces. Exporting a destination rule allows it to be included in the resolution hierarchy for services in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of destination rules across namespace boundaries. If no namespaces are specified then the destination rule is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the destination rule is declared in. Similarly, the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 4;getExportToList 在接口中 DestinationRuleOuterClass.DestinationRuleOrBuilderpublic int getExportToCount()
A list of namespaces to which this destination rule is exported. The resolution of a destination rule to apply to a service occurs in the context of a hierarchy of namespaces. Exporting a destination rule allows it to be included in the resolution hierarchy for services in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of destination rules across namespace boundaries. If no namespaces are specified then the destination rule is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the destination rule is declared in. Similarly, the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 4;getExportToCount 在接口中 DestinationRuleOuterClass.DestinationRuleOrBuilderpublic String getExportTo(int index)
A list of namespaces to which this destination rule is exported. The resolution of a destination rule to apply to a service occurs in the context of a hierarchy of namespaces. Exporting a destination rule allows it to be included in the resolution hierarchy for services in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of destination rules across namespace boundaries. If no namespaces are specified then the destination rule is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the destination rule is declared in. Similarly, the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 4;getExportTo 在接口中 DestinationRuleOuterClass.DestinationRuleOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExportToBytes(int index)
A list of namespaces to which this destination rule is exported. The resolution of a destination rule to apply to a service occurs in the context of a hierarchy of namespaces. Exporting a destination rule allows it to be included in the resolution hierarchy for services in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of destination rules across namespace boundaries. If no namespaces are specified then the destination rule is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the destination rule is declared in. Similarly, the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 4;getExportToBytes 在接口中 DestinationRuleOuterClass.DestinationRuleOrBuilderindex - The index of the value to return.public DestinationRuleOuterClass.DestinationRule.Builder setExportTo(int index, String value)
A list of namespaces to which this destination rule is exported. The resolution of a destination rule to apply to a service occurs in the context of a hierarchy of namespaces. Exporting a destination rule allows it to be included in the resolution hierarchy for services in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of destination rules across namespace boundaries. If no namespaces are specified then the destination rule is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the destination rule is declared in. Similarly, the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 4;index - The index to set the value at.value - The exportTo to set.public DestinationRuleOuterClass.DestinationRule.Builder addExportTo(String value)
A list of namespaces to which this destination rule is exported. The resolution of a destination rule to apply to a service occurs in the context of a hierarchy of namespaces. Exporting a destination rule allows it to be included in the resolution hierarchy for services in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of destination rules across namespace boundaries. If no namespaces are specified then the destination rule is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the destination rule is declared in. Similarly, the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 4;value - The exportTo to add.public DestinationRuleOuterClass.DestinationRule.Builder addAllExportTo(Iterable<String> values)
A list of namespaces to which this destination rule is exported. The resolution of a destination rule to apply to a service occurs in the context of a hierarchy of namespaces. Exporting a destination rule allows it to be included in the resolution hierarchy for services in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of destination rules across namespace boundaries. If no namespaces are specified then the destination rule is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the destination rule is declared in. Similarly, the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 4;values - The exportTo to add.public DestinationRuleOuterClass.DestinationRule.Builder clearExportTo()
A list of namespaces to which this destination rule is exported. The resolution of a destination rule to apply to a service occurs in the context of a hierarchy of namespaces. Exporting a destination rule allows it to be included in the resolution hierarchy for services in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of destination rules across namespace boundaries. If no namespaces are specified then the destination rule is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the destination rule is declared in. Similarly, the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 4;public DestinationRuleOuterClass.DestinationRule.Builder addExportToBytes(com.google.protobuf.ByteString value)
A list of namespaces to which this destination rule is exported. The resolution of a destination rule to apply to a service occurs in the context of a hierarchy of namespaces. Exporting a destination rule allows it to be included in the resolution hierarchy for services in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of destination rules across namespace boundaries. If no namespaces are specified then the destination rule is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the destination rule is declared in. Similarly, the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 4;value - The bytes of the exportTo to add.public final DestinationRuleOuterClass.DestinationRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>public final DestinationRuleOuterClass.DestinationRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>Copyright © 2018–2023 Alibaba Group. All rights reserved.