类 VirtualServiceOuterClass.L4MatchAttributes
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
istio.networking.v1alpha3.VirtualServiceOuterClass.L4MatchAttributes
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,VirtualServiceOuterClass.L4MatchAttributesOrBuilder,Serializable
public static final class VirtualServiceOuterClass.L4MatchAttributes
extends com.google.protobuf.GeneratedMessageV3
implements VirtualServiceOuterClass.L4MatchAttributesOrBuilder
L4 connection match attributes. Note that L4 connection matching support is incomplete.Protobuf type
istio.networking.v1alpha3.L4MatchAttributes- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static final classL4 connection match attributes.从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter 从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
字段概要
字段修饰符和类型字段说明static final intstatic final intstatic final intstatic final intstatic final intstatic final int从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型方法说明booleanOne or more labels that constrain the applicability of a rule to workloads with the given labels.booleanstatic final com.google.protobuf.Descriptors.DescriptorgetDestinationSubnets(int index) IPv4 or IPv6 ip addresses of destination with optional subnet.com.google.protobuf.ByteStringgetDestinationSubnetsBytes(int index) IPv4 or IPv6 ip addresses of destination with optional subnet.intIPv4 or IPv6 ip addresses of destination with optional subnet.com.google.protobuf.ProtocolStringListIPv4 or IPv6 ip addresses of destination with optional subnet.getGateways(int index) Names of gateways where the rule should be applied.com.google.protobuf.ByteStringgetGatewaysBytes(int index) Names of gateways where the rule should be applied.intNames of gateways where the rule should be applied.com.google.protobuf.ProtocolStringListNames of gateways where the rule should be applied.com.google.protobuf.Parser<VirtualServiceOuterClass.L4MatchAttributes> intgetPort()Specifies the port on the host that is being addressed.int已过时。intOne or more labels that constrain the applicability of a rule to workloads with the given labels.One or more labels that constrain the applicability of a rule to workloads with the given labels.getSourceLabelsOrDefault(String key, String defaultValue) One or more labels that constrain the applicability of a rule to workloads with the given labels.One or more labels that constrain the applicability of a rule to workloads with the given labels.Source namespace constraining the applicability of a rule to workloads in that namespace.com.google.protobuf.ByteStringSource namespace constraining the applicability of a rule to workloads in that namespace.IPv4 or IPv6 ip address of source with optional subnet.com.google.protobuf.ByteStringIPv4 or IPv6 ip address of source with optional subnet.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<VirtualServiceOuterClass.L4MatchAttributes> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) 从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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从类继承的方法 com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
字段详细资料
-
DESTINATION_SUBNETS_FIELD_NUMBER
public static final int DESTINATION_SUBNETS_FIELD_NUMBER- 另请参阅:
-
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER- 另请参阅:
-
SOURCE_SUBNET_FIELD_NUMBER
public static final int SOURCE_SUBNET_FIELD_NUMBER- 另请参阅:
-
SOURCE_LABELS_FIELD_NUMBER
public static final int SOURCE_LABELS_FIELD_NUMBER- 另请参阅:
-
GATEWAYS_FIELD_NUMBER
public static final int GATEWAYS_FIELD_NUMBER- 另请参阅:
-
SOURCE_NAMESPACE_FIELD_NUMBER
public static final int SOURCE_NAMESPACE_FIELD_NUMBER- 另请参阅:
-
-
方法详细资料
-
newInstance
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - 覆盖:
internalGetMapFieldReflection在类中com.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getDestinationSubnetsList
public com.google.protobuf.ProtocolStringList getDestinationSubnetsList()IPv4 or IPv6 ip addresses of destination with optional subnet. E.g., a.b.c.d/xx form or just a.b.c.d.
repeated string destination_subnets = 1;- 指定者:
getDestinationSubnetsList在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- A list containing the destinationSubnets.
-
getDestinationSubnetsCount
public int getDestinationSubnetsCount()IPv4 or IPv6 ip addresses of destination with optional subnet. E.g., a.b.c.d/xx form or just a.b.c.d.
repeated string destination_subnets = 1;- 指定者:
getDestinationSubnetsCount在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- The count of destinationSubnets.
-
getDestinationSubnets
IPv4 or IPv6 ip addresses of destination with optional subnet. E.g., a.b.c.d/xx form or just a.b.c.d.
repeated string destination_subnets = 1;- 指定者:
getDestinationSubnets在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The destinationSubnets at the given index.
-
getDestinationSubnetsBytes
public com.google.protobuf.ByteString getDestinationSubnetsBytes(int index) IPv4 or IPv6 ip addresses of destination with optional subnet. E.g., a.b.c.d/xx form or just a.b.c.d.
repeated string destination_subnets = 1;- 指定者:
getDestinationSubnetsBytes在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the destinationSubnets at the given index.
-
getPort
public int getPort()Specifies the port on the host that is being addressed. Many services only expose a single port or label ports with the protocols they support, in these cases it is not required to explicitly select the port.
uint32 port = 2;- 指定者:
getPort在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- The port.
-
getSourceSubnet
IPv4 or IPv6 ip address of source with optional subnet. E.g., a.b.c.d/xx form or just a.b.c.d $hide_from_docs
string source_subnet = 3;- 指定者:
getSourceSubnet在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- The sourceSubnet.
-
getSourceSubnetBytes
public com.google.protobuf.ByteString getSourceSubnetBytes()IPv4 or IPv6 ip address of source with optional subnet. E.g., a.b.c.d/xx form or just a.b.c.d $hide_from_docs
string source_subnet = 3;- 指定者:
getSourceSubnetBytes在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- The bytes for sourceSubnet.
-
getSourceLabelsCount
public int getSourceLabelsCount()One or more labels that constrain the applicability of a rule to workloads with the given labels. If the VirtualService has a list of gateways specified in the top-level `gateways` field, it should include the reserved gateway `mesh` in order for this field to be applicable.
map<string, string> source_labels = 4; -
containsSourceLabels
One or more labels that constrain the applicability of a rule to workloads with the given labels. If the VirtualService has a list of gateways specified in the top-level `gateways` field, it should include the reserved gateway `mesh` in order for this field to be applicable.
map<string, string> source_labels = 4; -
getSourceLabels
已过时。UsegetSourceLabelsMap()instead. -
getSourceLabelsMap
One or more labels that constrain the applicability of a rule to workloads with the given labels. If the VirtualService has a list of gateways specified in the top-level `gateways` field, it should include the reserved gateway `mesh` in order for this field to be applicable.
map<string, string> source_labels = 4; -
getSourceLabelsOrDefault
One or more labels that constrain the applicability of a rule to workloads with the given labels. If the VirtualService has a list of gateways specified in the top-level `gateways` field, it should include the reserved gateway `mesh` in order for this field to be applicable.
map<string, string> source_labels = 4; -
getSourceLabelsOrThrow
One or more labels that constrain the applicability of a rule to workloads with the given labels. If the VirtualService has a list of gateways specified in the top-level `gateways` field, it should include the reserved gateway `mesh` in order for this field to be applicable.
map<string, string> source_labels = 4; -
getGatewaysList
public com.google.protobuf.ProtocolStringList getGatewaysList()Names of gateways where the rule should be applied. Gateway names in the top-level `gateways` field of the VirtualService (if any) are overridden. The gateway match is independent of sourceLabels.
repeated string gateways = 5;- 指定者:
getGatewaysList在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- A list containing the gateways.
-
getGatewaysCount
public int getGatewaysCount()Names of gateways where the rule should be applied. Gateway names in the top-level `gateways` field of the VirtualService (if any) are overridden. The gateway match is independent of sourceLabels.
repeated string gateways = 5;- 指定者:
getGatewaysCount在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- The count of gateways.
-
getGateways
Names of gateways where the rule should be applied. Gateway names in the top-level `gateways` field of the VirtualService (if any) are overridden. The gateway match is independent of sourceLabels.
repeated string gateways = 5;- 指定者:
getGateways在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The gateways at the given index.
-
getGatewaysBytes
public com.google.protobuf.ByteString getGatewaysBytes(int index) Names of gateways where the rule should be applied. Gateway names in the top-level `gateways` field of the VirtualService (if any) are overridden. The gateway match is independent of sourceLabels.
repeated string gateways = 5;- 指定者:
getGatewaysBytes在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the gateways at the given index.
-
getSourceNamespace
Source namespace constraining the applicability of a rule to workloads in that namespace. If the VirtualService has a list of gateways specified in the top-level `gateways` field, it must include the reserved gateway `mesh` for this field to be applicable.
string source_namespace = 6;- 指定者:
getSourceNamespace在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- The sourceNamespace.
-
getSourceNamespaceBytes
public com.google.protobuf.ByteString getSourceNamespaceBytes()Source namespace constraining the applicability of a rule to workloads in that namespace. If the VirtualService has a list of gateways specified in the top-level `gateways` field, it must include the reserved gateway `mesh` for this field to be applicable.
string source_namespace = 6;- 指定者:
getSourceNamespaceBytes在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- The bytes for sourceNamespace.
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
- 指定者:
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 VirtualServiceOuterClass.L4MatchAttributes parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(InputStream input) throws IOException - 抛出:
IOException
-
parseFrom
public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
public static VirtualServiceOuterClass.L4MatchAttributes parseDelimitedFrom(InputStream input) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
public static VirtualServiceOuterClass.L4MatchAttributes parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseFrom
public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - 抛出:
IOException
-
parseFrom
public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
newBuilderForType
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static VirtualServiceOuterClass.L4MatchAttributes.Builder newBuilder(VirtualServiceOuterClass.L4MatchAttributes prototype) -
toBuilder
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected VirtualServiceOuterClass.L4MatchAttributes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-