类 DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- istio.networking.v1alpha3.DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy
-
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder,java.io.Serializable
public static final class DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy extends com.google.protobuf.GeneratedMessageV3 implements DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder
Traffic policies that apply to specific ports of the service
Protobuf typeistio.networking.v1alpha3.TrafficPolicy.PortTrafficPolicy- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classDestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.BuilderTraffic policies that apply to specific ports of the service-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
字段概要
字段 修饰符和类型 字段 说明 static intCONNECTION_POOL_FIELD_NUMBERprivate DestinationRuleOuterClass.ConnectionPoolSettingsconnectionPool_private static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyDEFAULT_INSTANCEstatic intLOAD_BALANCER_FIELD_NUMBERprivate DestinationRuleOuterClass.LoadBalancerSettingsloadBalancer_private bytememoizedIsInitializedstatic intOUTLIER_DETECTION_FIELD_NUMBERprivate DestinationRuleOuterClass.OutlierDetectionoutlierDetection_private static com.google.protobuf.Parser<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy>PARSERprivate VirtualServiceOuterClass.PortSelectorport_static intPORT_FIELD_NUMBERprivate static longserialVersionUIDprivate DestinationRuleOuterClass.ClientTLSSettingstls_static intTLS_FIELD_NUMBER
-
构造器概要
构造器 限定符 构造器 说明 privatePortTrafficPolicy()privatePortTrafficPolicy(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(java.lang.Object obj)DestinationRuleOuterClass.ConnectionPoolSettingsgetConnectionPool()Settings controlling the volume of connections to an upstream serviceDestinationRuleOuterClass.ConnectionPoolSettingsOrBuildergetConnectionPoolOrBuilder()Settings controlling the volume of connections to an upstream servicestatic DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicygetDefaultInstance()DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DestinationRuleOuterClass.LoadBalancerSettingsgetLoadBalancer()Settings controlling the load balancer algorithms.DestinationRuleOuterClass.LoadBalancerSettingsOrBuildergetLoadBalancerOrBuilder()Settings controlling the load balancer algorithms.DestinationRuleOuterClass.OutlierDetectiongetOutlierDetection()Settings controlling eviction of unhealthy hosts from the load balancing poolDestinationRuleOuterClass.OutlierDetectionOrBuildergetOutlierDetectionOrBuilder()Settings controlling eviction of unhealthy hosts from the load balancing poolcom.google.protobuf.Parser<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy>getParserForType()VirtualServiceOuterClass.PortSelectorgetPort()Specifies the number of a port on the destination service on which this policy is being applied.VirtualServiceOuterClass.PortSelectorOrBuildergetPortOrBuilder()Specifies the number of a port on the destination service on which this policy is being applied.intgetSerializedSize()DestinationRuleOuterClass.ClientTLSSettingsgetTls()TLS related settings for connections to the upstream service.DestinationRuleOuterClass.ClientTLSSettingsOrBuildergetTlsOrBuilder()TLS related settings for connections to the upstream service.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasConnectionPool()Settings controlling the volume of connections to an upstream serviceinthashCode()booleanhasLoadBalancer()Settings controlling the load balancer algorithms.booleanhasOutlierDetection()Settings 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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.BuildernewBuilder()static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.BuildernewBuilder(DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy prototype)DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.BuildernewBuilderForType()protected DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyparseDelimitedFrom(java.io.InputStream input)static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyparseFrom(byte[] data)static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyparseFrom(com.google.protobuf.ByteString data)static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyparseFrom(com.google.protobuf.CodedInputStream input)static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyparseFrom(java.io.InputStream input)static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyparseFrom(java.nio.ByteBuffer data)static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy>parser()DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID
- 另请参阅:
- 常量字段值
-
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
port_
private VirtualServiceOuterClass.PortSelector port_
-
LOAD_BALANCER_FIELD_NUMBER
public static final int LOAD_BALANCER_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
loadBalancer_
private DestinationRuleOuterClass.LoadBalancerSettings loadBalancer_
-
CONNECTION_POOL_FIELD_NUMBER
public static final int CONNECTION_POOL_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
connectionPool_
private DestinationRuleOuterClass.ConnectionPoolSettings connectionPool_
-
OUTLIER_DETECTION_FIELD_NUMBER
public static final int OUTLIER_DETECTION_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
outlierDetection_
private DestinationRuleOuterClass.OutlierDetection outlierDetection_
-
TLS_FIELD_NUMBER
public static final int TLS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
tls_
private DestinationRuleOuterClass.ClientTLSSettings tls_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy> PARSER
-
-
方法详细资料
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
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
public VirtualServiceOuterClass.PortSelector 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.
-
getPortOrBuilder
public VirtualServiceOuterClass.PortSelectorOrBuilder 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
public DestinationRuleOuterClass.LoadBalancerSettings getLoadBalancer()
Settings controlling the load balancer algorithms.
.istio.networking.v1alpha3.LoadBalancerSettings load_balancer = 2;- 指定者:
getLoadBalancer在接口中DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder- 返回:
- The loadBalancer.
-
getLoadBalancerOrBuilder
public DestinationRuleOuterClass.LoadBalancerSettingsOrBuilder 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
public DestinationRuleOuterClass.ConnectionPoolSettings getConnectionPool()
Settings controlling the volume of connections to an upstream service
.istio.networking.v1alpha3.ConnectionPoolSettings connection_pool = 3;- 指定者:
getConnectionPool在接口中DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder- 返回:
- The connectionPool.
-
getConnectionPoolOrBuilder
public DestinationRuleOuterClass.ConnectionPoolSettingsOrBuilder 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
public DestinationRuleOuterClass.OutlierDetection 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.
-
getOutlierDetectionOrBuilder
public DestinationRuleOuterClass.OutlierDetectionOrBuilder 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
public DestinationRuleOuterClass.ClientTLSSettings getTls()
TLS related settings for connections to the upstream service.
.istio.networking.v1alpha3.ClientTLSSettings tls = 5;- 指定者:
getTls在接口中DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicyOrBuilder- 返回:
- The tls.
-
getTlsOrBuilder
public DestinationRuleOuterClass.ClientTLSSettingsOrBuilder getTlsOrBuilder()
TLS related settings for connections to the upstream service.
.istio.networking.v1alpha3.ClientTLSSettings tls = 5;
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy parseFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
newBuilderForType
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder newBuilder()
-
newBuilder
public static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder newBuilder(DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy prototype)
-
toBuilder
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy> parser()
-
getParserForType
public com.google.protobuf.Parser<DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DestinationRuleOuterClass.TrafficPolicy.PortTrafficPolicy getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-