类 DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder>
istio.networking.v1alpha3.DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder,Cloneable
public static final class DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder>
implements DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder
Traffic policies that apply to specific ports of the serviceProtobuf type
istio.networking.v1alpha3.TrafficPolicy.PortTrafficPolicy-
方法概要
修饰符和类型方法说明addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Settings controlling the volume of connections to an upstream serviceclearField(com.google.protobuf.Descriptors.FieldDescriptor field) Settings controlling the load balancer algorithms.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Settings controlling eviction of unhealthy hosts from the load balancing poolSpecifies the number of a port on the destination service on which this policy is being applied.clearTls()TLS related settings for connections to the upstream service.clone()Settings controlling the volume of connections to an upstream serviceSettings controlling the volume of connections to an upstream serviceSettings controlling the volume of connections to an upstream servicestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSettings controlling the load balancer algorithms.Settings controlling the load balancer algorithms.Settings controlling the load balancer algorithms.Settings controlling eviction of unhealthy hosts from the load balancing poolSettings controlling eviction of unhealthy hosts from the load balancing poolSettings controlling eviction of unhealthy hosts from the load balancing poolgetPort()Specifies the number of a port on the destination service on which this policy is being applied.Specifies the number of a port on the destination service on which this policy is being applied.Specifies the number of a port on the destination service on which this policy is being applied.getTls()TLS related settings for connections to the upstream service.TLS related settings for connections to the upstream service.TLS related settings for connections to the upstream service.booleanSettings controlling the volume of connections to an upstream servicebooleanSettings controlling the load balancer algorithms.booleanSettings controlling eviction of unhealthy hosts from the load balancing poolbooleanhasPort()Specifies the number of a port on the destination service on which this policy is being applied.booleanhasTls()TLS related settings for connections to the upstream service.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanSettings controlling the volume of connections to an upstream servicemergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Settings controlling the load balancer algorithms.Settings controlling eviction of unhealthy hosts from the load balancing poolSpecifies the number of a port on the destination service on which this policy is being applied.TLS related settings for connections to the upstream service.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Settings controlling the volume of connections to an upstream serviceSettings controlling the volume of connections to an upstream serviceSettings controlling the load balancer algorithms.setLoadBalancer(DestinationRuleOuterClass.LoadBalancerSettings.Builder builderForValue) Settings controlling the load balancer algorithms.Settings controlling eviction of unhealthy hosts from the load balancing poolsetOutlierDetection(DestinationRuleOuterClass.OutlierDetection.Builder builderForValue) Settings controlling eviction of unhealthy hosts from the load balancing poolSpecifies the number of a port on the destination service on which this policy is being applied.setPort(VirtualServiceOuterClass.PortSelector.Builder builderForValue) Specifies the number of a port on the destination service on which this policy is being applied.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) TLS related settings for connections to the upstream service.setTls(DestinationRuleOuterClass.ClientTLSSettings.Builder builderForValue) TLS related settings for connections to the upstream service.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException从接口继承的方法 com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom从接口继承的方法 com.google.protobuf.MessageLite.Builder
mergeFrom从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
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.TrafficPolicy.PortTrafficPolicy.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.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.TrafficPolicy.PortTrafficPolicy.Builder>
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder>
-
setField
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder>
-
clearField
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder>
-
clearOneof
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder>
-
setRepeatedField
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder>
-
addRepeatedField
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder>
-
mergeFrom
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder mergeFrom(com.google.protobuf.Message other) - 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder>
-
mergeFrom
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder>- 抛出:
IOException
-
hasPort
public boolean hasPort()Specifies the number of a port on the destination service on which this policy is being applied.
.istio.networking.v1alpha3.PortSelector port = 1;- 指定者:
hasPort在接口中DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder- 返回:
- Whether the port field is set.
-
getPort
Specifies the number of a port on the destination service on which this policy is being applied.
.istio.networking.v1alpha3.PortSelector port = 1;- 指定者:
getPort在接口中DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder- 返回:
- The port.
-
setPort
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder setPort(VirtualServiceOuterClass.PortSelector value) Specifies the number of a port on the destination service on which this policy is being applied.
.istio.networking.v1alpha3.PortSelector port = 1; -
setPort
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder setPort(VirtualServiceOuterClass.PortSelector.Builder builderForValue) Specifies the number of a port on the destination service on which this policy is being applied.
.istio.networking.v1alpha3.PortSelector port = 1; -
mergePort
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder mergePort(VirtualServiceOuterClass.PortSelector value) Specifies the number of a port on the destination service on which this policy is being applied.
.istio.networking.v1alpha3.PortSelector port = 1; -
clearPort
Specifies the number of a port on the destination service on which this policy is being applied.
.istio.networking.v1alpha3.PortSelector port = 1; -
getPortBuilder
Specifies the number of a port on the destination service on which this policy is being applied.
.istio.networking.v1alpha3.PortSelector port = 1; -
getPortOrBuilder
Specifies the number of a port on the destination service on which this policy is being applied.
.istio.networking.v1alpha3.PortSelector port = 1; -
hasLoadBalancer
public boolean hasLoadBalancer()Settings controlling the load balancer algorithms.
.istio.networking.v1alpha3.LoadBalancerSettings load_balancer = 2;- 指定者:
hasLoadBalancer在接口中DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder- 返回:
- Whether the loadBalancer field is set.
-
getLoadBalancer
Settings controlling the load balancer algorithms.
.istio.networking.v1alpha3.LoadBalancerSettings load_balancer = 2;- 指定者:
getLoadBalancer在接口中DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder- 返回:
- The loadBalancer.
-
setLoadBalancer
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder setLoadBalancer(DestinationRuleOuterClass.LoadBalancerSettings value) Settings controlling the load balancer algorithms.
.istio.networking.v1alpha3.LoadBalancerSettings load_balancer = 2; -
setLoadBalancer
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder setLoadBalancer(DestinationRuleOuterClass.LoadBalancerSettings.Builder builderForValue) Settings controlling the load balancer algorithms.
.istio.networking.v1alpha3.LoadBalancerSettings load_balancer = 2; -
mergeLoadBalancer
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder mergeLoadBalancer(DestinationRuleOuterClass.LoadBalancerSettings value) Settings controlling the load balancer algorithms.
.istio.networking.v1alpha3.LoadBalancerSettings load_balancer = 2; -
clearLoadBalancer
Settings controlling the load balancer algorithms.
.istio.networking.v1alpha3.LoadBalancerSettings load_balancer = 2; -
getLoadBalancerBuilder
Settings controlling the load balancer algorithms.
.istio.networking.v1alpha3.LoadBalancerSettings load_balancer = 2; -
getLoadBalancerOrBuilder
Settings controlling the load balancer algorithms.
.istio.networking.v1alpha3.LoadBalancerSettings load_balancer = 2; -
hasConnectionPool
public boolean hasConnectionPool()Settings controlling the volume of connections to an upstream service
.istio.networking.v1alpha3.ConnectionPoolSettings connection_pool = 3;- 指定者:
hasConnectionPool在接口中DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder- 返回:
- Whether the connectionPool field is set.
-
getConnectionPool
Settings controlling the volume of connections to an upstream service
.istio.networking.v1alpha3.ConnectionPoolSettings connection_pool = 3;- 指定者:
getConnectionPool在接口中DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder- 返回:
- The connectionPool.
-
setConnectionPool
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder setConnectionPool(DestinationRuleOuterClass.ConnectionPoolSettings value) Settings controlling the volume of connections to an upstream service
.istio.networking.v1alpha3.ConnectionPoolSettings connection_pool = 3; -
setConnectionPool
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder setConnectionPool(DestinationRuleOuterClass.ConnectionPoolSettings.Builder builderForValue) Settings controlling the volume of connections to an upstream service
.istio.networking.v1alpha3.ConnectionPoolSettings connection_pool = 3; -
mergeConnectionPool
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder mergeConnectionPool(DestinationRuleOuterClass.ConnectionPoolSettings value) Settings controlling the volume of connections to an upstream service
.istio.networking.v1alpha3.ConnectionPoolSettings connection_pool = 3; -
clearConnectionPool
Settings controlling the volume of connections to an upstream service
.istio.networking.v1alpha3.ConnectionPoolSettings connection_pool = 3; -
getConnectionPoolBuilder
Settings controlling the volume of connections to an upstream service
.istio.networking.v1alpha3.ConnectionPoolSettings connection_pool = 3; -
getConnectionPoolOrBuilder
Settings controlling the volume of connections to an upstream service
.istio.networking.v1alpha3.ConnectionPoolSettings connection_pool = 3; -
hasOutlierDetection
public boolean hasOutlierDetection()Settings controlling eviction of unhealthy hosts from the load balancing pool
.istio.networking.v1alpha3.OutlierDetection outlier_detection = 4;- 指定者:
hasOutlierDetection在接口中DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder- 返回:
- Whether the outlierDetection field is set.
-
getOutlierDetection
Settings controlling eviction of unhealthy hosts from the load balancing pool
.istio.networking.v1alpha3.OutlierDetection outlier_detection = 4;- 指定者:
getOutlierDetection在接口中DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder- 返回:
- The outlierDetection.
-
setOutlierDetection
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder setOutlierDetection(DestinationRuleOuterClass.OutlierDetection value) Settings controlling eviction of unhealthy hosts from the load balancing pool
.istio.networking.v1alpha3.OutlierDetection outlier_detection = 4; -
setOutlierDetection
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder setOutlierDetection(DestinationRuleOuterClass.OutlierDetection.Builder builderForValue) Settings controlling eviction of unhealthy hosts from the load balancing pool
.istio.networking.v1alpha3.OutlierDetection outlier_detection = 4; -
mergeOutlierDetection
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder mergeOutlierDetection(DestinationRuleOuterClass.OutlierDetection value) Settings controlling eviction of unhealthy hosts from the load balancing pool
.istio.networking.v1alpha3.OutlierDetection outlier_detection = 4; -
clearOutlierDetection
Settings controlling eviction of unhealthy hosts from the load balancing pool
.istio.networking.v1alpha3.OutlierDetection outlier_detection = 4; -
getOutlierDetectionBuilder
Settings controlling eviction of unhealthy hosts from the load balancing pool
.istio.networking.v1alpha3.OutlierDetection outlier_detection = 4; -
getOutlierDetectionOrBuilder
Settings controlling eviction of unhealthy hosts from the load balancing pool
.istio.networking.v1alpha3.OutlierDetection outlier_detection = 4; -
hasTls
public boolean hasTls()TLS related settings for connections to the upstream service.
.istio.networking.v1alpha3.ClientTLSSettings tls = 5;- 指定者:
hasTls在接口中DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder- 返回:
- Whether the tls field is set.
-
getTls
TLS related settings for connections to the upstream service.
.istio.networking.v1alpha3.ClientTLSSettings tls = 5;- 指定者:
getTls在接口中DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder- 返回:
- The tls.
-
setTls
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder setTls(DestinationRuleOuterClass.ClientTLSSettings value) TLS related settings for connections to the upstream service.
.istio.networking.v1alpha3.ClientTLSSettings tls = 5; -
setTls
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder setTls(DestinationRuleOuterClass.ClientTLSSettings.Builder builderForValue) TLS related settings for connections to the upstream service.
.istio.networking.v1alpha3.ClientTLSSettings tls = 5; -
mergeTls
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder mergeTls(DestinationRuleOuterClass.ClientTLSSettings value) TLS related settings for connections to the upstream service.
.istio.networking.v1alpha3.ClientTLSSettings tls = 5; -
clearTls
TLS related settings for connections to the upstream service.
.istio.networking.v1alpha3.ClientTLSSettings tls = 5; -
getTlsBuilder
TLS related settings for connections to the upstream service.
.istio.networking.v1alpha3.ClientTLSSettings tls = 5; -
getTlsOrBuilder
TLS related settings for connections to the upstream service.
.istio.networking.v1alpha3.ClientTLSSettings tls = 5; -
setUnknownFields
public final DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder>
-
mergeUnknownFields
public final DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder>
-