类 DestinationRuleOuterClass.DestinationRule.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>
-
- istio.networking.v1alpha3.DestinationRuleOuterClass.DestinationRule.Builder
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DestinationRuleOuterClass.DestinationRuleOrBuilder,java.lang.Cloneable
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 typeistio.networking.v1alpha3.DestinationRule
-
-
字段概要
字段 修饰符和类型 字段 说明 private intbitField0_private com.google.protobuf.LazyStringListexportTo_private java.lang.Objecthost_private java.util.List<DestinationRuleOuterClass.Subset>subsets_private com.google.protobuf.RepeatedFieldBuilderV3<DestinationRuleOuterClass.Subset,DestinationRuleOuterClass.Subset.Builder,DestinationRuleOuterClass.SubsetOrBuilder>subsetsBuilder_private DestinationRuleOuterClass.TrafficPolicytrafficPolicy_private com.google.protobuf.SingleFieldBuilderV3<DestinationRuleOuterClass.TrafficPolicy,DestinationRuleOuterClass.TrafficPolicy.Builder,DestinationRuleOuterClass.TrafficPolicyOrBuilder>trafficPolicyBuilder_
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 DestinationRuleOuterClass.DestinationRule.BuilderaddAllExportTo(java.lang.Iterable<java.lang.String> values)A list of namespaces to which this destination rule is exported.DestinationRuleOuterClass.DestinationRule.BuilderaddAllSubsets(java.lang.Iterable<? extends DestinationRuleOuterClass.Subset> values)One or more named sets that represent individual versions of a service.DestinationRuleOuterClass.DestinationRule.BuilderaddExportTo(java.lang.String value)A list of namespaces to which this destination rule is exported.DestinationRuleOuterClass.DestinationRule.BuilderaddExportToBytes(com.google.protobuf.ByteString value)A list of namespaces to which this destination rule is exported.DestinationRuleOuterClass.DestinationRule.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DestinationRuleOuterClass.DestinationRule.BuilderaddSubsets(int index, DestinationRuleOuterClass.Subset value)One or more named sets that represent individual versions of a service.DestinationRuleOuterClass.DestinationRule.BuilderaddSubsets(int index, DestinationRuleOuterClass.Subset.Builder builderForValue)One or more named sets that represent individual versions of a service.DestinationRuleOuterClass.DestinationRule.BuilderaddSubsets(DestinationRuleOuterClass.Subset value)One or more named sets that represent individual versions of a service.DestinationRuleOuterClass.DestinationRule.BuilderaddSubsets(DestinationRuleOuterClass.Subset.Builder builderForValue)One or more named sets that represent individual versions of a service.DestinationRuleOuterClass.Subset.BuilderaddSubsetsBuilder()One or more named sets that represent individual versions of a service.DestinationRuleOuterClass.Subset.BuilderaddSubsetsBuilder(int index)One or more named sets that represent individual versions of a service.DestinationRuleOuterClass.DestinationRulebuild()DestinationRuleOuterClass.DestinationRulebuildPartial()DestinationRuleOuterClass.DestinationRule.Builderclear()DestinationRuleOuterClass.DestinationRule.BuilderclearExportTo()A list of namespaces to which this destination rule is exported.DestinationRuleOuterClass.DestinationRule.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DestinationRuleOuterClass.DestinationRule.BuilderclearHost()The name of a service from the service registry.DestinationRuleOuterClass.DestinationRule.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DestinationRuleOuterClass.DestinationRule.BuilderclearSubsets()One or more named sets that represent individual versions of a service.DestinationRuleOuterClass.DestinationRule.BuilderclearTrafficPolicy()Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).DestinationRuleOuterClass.DestinationRule.Builderclone()private voidensureExportToIsMutable()private voidensureSubsetsIsMutable()DestinationRuleOuterClass.DestinationRulegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetExportTo(int index)A list of namespaces to which this destination rule is exported.com.google.protobuf.ByteStringgetExportToBytes(int index)A list of namespaces to which this destination rule is exported.intgetExportToCount()A list of namespaces to which this destination rule is exported.com.google.protobuf.ProtocolStringListgetExportToList()A list of namespaces to which this destination rule is exported.java.lang.StringgetHost()The name of a service from the service registry.com.google.protobuf.ByteStringgetHostBytes()The name of a service from the service registry.DestinationRuleOuterClass.SubsetgetSubsets(int index)One or more named sets that represent individual versions of a service.DestinationRuleOuterClass.Subset.BuildergetSubsetsBuilder(int index)One or more named sets that represent individual versions of a service.java.util.List<DestinationRuleOuterClass.Subset.Builder>getSubsetsBuilderList()One or more named sets that represent individual versions of a service.intgetSubsetsCount()One or more named sets that represent individual versions of a service.private com.google.protobuf.RepeatedFieldBuilderV3<DestinationRuleOuterClass.Subset,DestinationRuleOuterClass.Subset.Builder,DestinationRuleOuterClass.SubsetOrBuilder>getSubsetsFieldBuilder()java.util.List<DestinationRuleOuterClass.Subset>getSubsetsList()One or more named sets that represent individual versions of a service.DestinationRuleOuterClass.SubsetOrBuildergetSubsetsOrBuilder(int index)One or more named sets that represent individual versions of a service.java.util.List<? extends DestinationRuleOuterClass.SubsetOrBuilder>getSubsetsOrBuilderList()One or more named sets that represent individual versions of a service.DestinationRuleOuterClass.TrafficPolicygetTrafficPolicy()Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).DestinationRuleOuterClass.TrafficPolicy.BuildergetTrafficPolicyBuilder()Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).private com.google.protobuf.SingleFieldBuilderV3<DestinationRuleOuterClass.TrafficPolicy,DestinationRuleOuterClass.TrafficPolicy.Builder,DestinationRuleOuterClass.TrafficPolicyOrBuilder>getTrafficPolicyFieldBuilder()Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).DestinationRuleOuterClass.TrafficPolicyOrBuildergetTrafficPolicyOrBuilder()Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).booleanhasTrafficPolicy()Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DestinationRuleOuterClass.DestinationRule.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DestinationRuleOuterClass.DestinationRule.BuildermergeFrom(com.google.protobuf.Message other)DestinationRuleOuterClass.DestinationRule.BuildermergeFrom(DestinationRuleOuterClass.DestinationRule other)DestinationRuleOuterClass.DestinationRule.BuildermergeTrafficPolicy(DestinationRuleOuterClass.TrafficPolicy value)Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).DestinationRuleOuterClass.DestinationRule.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DestinationRuleOuterClass.DestinationRule.BuilderremoveSubsets(int index)One or more named sets that represent individual versions of a service.DestinationRuleOuterClass.DestinationRule.BuildersetExportTo(int index, java.lang.String value)A list of namespaces to which this destination rule is exported.DestinationRuleOuterClass.DestinationRule.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DestinationRuleOuterClass.DestinationRule.BuildersetHost(java.lang.String value)The name of a service from the service registry.DestinationRuleOuterClass.DestinationRule.BuildersetHostBytes(com.google.protobuf.ByteString value)The name of a service from the service registry.DestinationRuleOuterClass.DestinationRule.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)DestinationRuleOuterClass.DestinationRule.BuildersetSubsets(int index, DestinationRuleOuterClass.Subset value)One or more named sets that represent individual versions of a service.DestinationRuleOuterClass.DestinationRule.BuildersetSubsets(int index, DestinationRuleOuterClass.Subset.Builder builderForValue)One or more named sets that represent individual versions of a service.DestinationRuleOuterClass.DestinationRule.BuildersetTrafficPolicy(DestinationRuleOuterClass.TrafficPolicy value)Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).DestinationRuleOuterClass.DestinationRule.BuildersetTrafficPolicy(DestinationRuleOuterClass.TrafficPolicy.Builder builderForValue)Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).DestinationRuleOuterClass.DestinationRule.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
-
-
-
字段详细资料
-
bitField0_
private int bitField0_
-
host_
private java.lang.Object host_
-
trafficPolicy_
private DestinationRuleOuterClass.TrafficPolicy trafficPolicy_
-
trafficPolicyBuilder_
private com.google.protobuf.SingleFieldBuilderV3<DestinationRuleOuterClass.TrafficPolicy,DestinationRuleOuterClass.TrafficPolicy.Builder,DestinationRuleOuterClass.TrafficPolicyOrBuilder> trafficPolicyBuilder_
-
subsets_
private java.util.List<DestinationRuleOuterClass.Subset> subsets_
-
subsetsBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<DestinationRuleOuterClass.Subset,DestinationRuleOuterClass.Subset.Builder,DestinationRuleOuterClass.SubsetOrBuilder> subsetsBuilder_
-
exportTo_
private com.google.protobuf.LazyStringList exportTo_
-
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>
-
clear
public DestinationRuleOuterClass.DestinationRule.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>
-
getDefaultInstanceForType
public DestinationRuleOuterClass.DestinationRule getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public DestinationRuleOuterClass.DestinationRule build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public DestinationRuleOuterClass.DestinationRule buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public DestinationRuleOuterClass.DestinationRule.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>
-
setField
public DestinationRuleOuterClass.DestinationRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>
-
clearField
public DestinationRuleOuterClass.DestinationRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>
-
clearOneof
public DestinationRuleOuterClass.DestinationRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>
-
setRepeatedField
public DestinationRuleOuterClass.DestinationRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>
-
addRepeatedField
public DestinationRuleOuterClass.DestinationRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>
-
mergeFrom
public DestinationRuleOuterClass.DestinationRule.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<DestinationRuleOuterClass.DestinationRule.Builder>
-
mergeFrom
public DestinationRuleOuterClass.DestinationRule.Builder mergeFrom(DestinationRuleOuterClass.DestinationRule other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>
-
mergeFrom
public DestinationRuleOuterClass.DestinationRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<DestinationRuleOuterClass.DestinationRule.Builder>- 抛出:
java.io.IOException
-
getHost
public java.lang.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.DestinationRuleOrBuilder- 返回:
- The host.
-
getHostBytes
public 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.DestinationRuleOrBuilder- 返回:
- The bytes for host.
-
setHost
public DestinationRuleOuterClass.DestinationRule.Builder setHost(java.lang.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.- 返回:
- This builder for chaining.
-
clearHost
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];- 返回:
- This builder for chaining.
-
setHostBytes
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.- 返回:
- This builder for chaining.
-
hasTrafficPolicy
public boolean hasTrafficPolicy()
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;- 指定者:
hasTrafficPolicy在接口中DestinationRuleOuterClass.DestinationRuleOrBuilder- 返回:
- Whether the trafficPolicy field is set.
-
getTrafficPolicy
public DestinationRuleOuterClass.TrafficPolicy getTrafficPolicy()
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;- 指定者:
getTrafficPolicy在接口中DestinationRuleOuterClass.DestinationRuleOrBuilder- 返回:
- The trafficPolicy.
-
setTrafficPolicy
public 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;
-
setTrafficPolicy
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;
-
mergeTrafficPolicy
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;
-
clearTrafficPolicy
public DestinationRuleOuterClass.DestinationRule.Builder clearTrafficPolicy()
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;
-
getTrafficPolicyBuilder
public DestinationRuleOuterClass.TrafficPolicy.Builder getTrafficPolicyBuilder()
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;
-
getTrafficPolicyOrBuilder
public DestinationRuleOuterClass.TrafficPolicyOrBuilder getTrafficPolicyOrBuilder()
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;
-
getTrafficPolicyFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<DestinationRuleOuterClass.TrafficPolicy,DestinationRuleOuterClass.TrafficPolicy.Builder,DestinationRuleOuterClass.TrafficPolicyOrBuilder> getTrafficPolicyFieldBuilder()
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;
-
ensureSubsetsIsMutable
private void ensureSubsetsIsMutable()
-
getSubsetsList
public java.util.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;
-
getSubsetsCount
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;
-
getSubsets
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;
-
setSubsets
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;
-
setSubsets
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;
-
addSubsets
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;
-
addSubsets
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;
-
addSubsets
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;
-
addSubsets
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;
-
addAllSubsets
public DestinationRuleOuterClass.DestinationRule.Builder addAllSubsets(java.lang.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;
-
clearSubsets
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;
-
removeSubsets
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;
-
getSubsetsBuilder
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;
-
getSubsetsOrBuilder
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;
-
getSubsetsOrBuilderList
public java.util.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;
-
addSubsetsBuilder
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;
-
addSubsetsBuilder
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;
-
getSubsetsBuilderList
public java.util.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;
-
getSubsetsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<DestinationRuleOuterClass.Subset,DestinationRuleOuterClass.Subset.Builder,DestinationRuleOuterClass.SubsetOrBuilder> getSubsetsFieldBuilder()
-
ensureExportToIsMutable
private void ensureExportToIsMutable()
-
getExportToList
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.DestinationRuleOrBuilder- 返回:
- A list containing the exportTo.
-
getExportToCount
public 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.DestinationRuleOrBuilder- 返回:
- The count of exportTo.
-
getExportTo
public java.lang.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.DestinationRuleOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The exportTo at the given index.
-
getExportToBytes
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.DestinationRuleOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the exportTo at the given index.
-
setExportTo
public DestinationRuleOuterClass.DestinationRule.Builder setExportTo(int index, java.lang.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.- 返回:
- This builder for chaining.
-
addExportTo
public DestinationRuleOuterClass.DestinationRule.Builder addExportTo(java.lang.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.- 返回:
- This builder for chaining.
-
addAllExportTo
public DestinationRuleOuterClass.DestinationRule.Builder addAllExportTo(java.lang.Iterable<java.lang.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.- 返回:
- This builder for chaining.
-
clearExportTo
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;- 返回:
- This builder for chaining.
-
addExportToBytes
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.- 返回:
- This builder for chaining.
-
setUnknownFields
public final DestinationRuleOuterClass.DestinationRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>
-
mergeUnknownFields
public final DestinationRuleOuterClass.DestinationRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.DestinationRule.Builder>
-
-