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 class |
VirtualServiceOuterClass.L4MatchAttributes.Builder
L4 connection match attributes.
|
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 int |
DESTINATION_SUBNETS_FIELD_NUMBER |
static int |
GATEWAYS_FIELD_NUMBER |
static int |
PORT_FIELD_NUMBER |
static int |
SOURCE_LABELS_FIELD_NUMBER |
static int |
SOURCE_NAMESPACE_FIELD_NUMBER |
static int |
SOURCE_SUBNET_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsSourceLabels(String key)
One or more labels that constrain the applicability of a rule to
workloads with the given labels.
|
boolean |
equals(Object obj) |
static VirtualServiceOuterClass.L4MatchAttributes |
getDefaultInstance() |
VirtualServiceOuterClass.L4MatchAttributes |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDestinationSubnets(int index)
IPv4 or IPv6 ip addresses of destination with optional subnet.
|
com.google.protobuf.ByteString |
getDestinationSubnetsBytes(int index)
IPv4 or IPv6 ip addresses of destination with optional subnet.
|
int |
getDestinationSubnetsCount()
IPv4 or IPv6 ip addresses of destination with optional subnet.
|
com.google.protobuf.ProtocolStringList |
getDestinationSubnetsList()
IPv4 or IPv6 ip addresses of destination with optional subnet.
|
String |
getGateways(int index)
Names of gateways where the rule should be applied.
|
com.google.protobuf.ByteString |
getGatewaysBytes(int index)
Names of gateways where the rule should be applied.
|
int |
getGatewaysCount()
Names of gateways where the rule should be applied.
|
com.google.protobuf.ProtocolStringList |
getGatewaysList()
Names of gateways where the rule should be applied.
|
com.google.protobuf.Parser<VirtualServiceOuterClass.L4MatchAttributes> |
getParserForType() |
int |
getPort()
Specifies the port on the host that is being addressed.
|
int |
getSerializedSize() |
Map<String,String> |
getSourceLabels()
已过时。
|
int |
getSourceLabelsCount()
One or more labels that constrain the applicability of a rule to
workloads with the given labels.
|
Map<String,String> |
getSourceLabelsMap()
One or more labels that constrain the applicability of a rule to
workloads with the given labels.
|
String |
getSourceLabelsOrDefault(String key,
String defaultValue)
One or more labels that constrain the applicability of a rule to
workloads with the given labels.
|
String |
getSourceLabelsOrThrow(String key)
One or more labels that constrain the applicability of a rule to
workloads with the given labels.
|
String |
getSourceNamespace()
Source namespace constraining the applicability of a rule to workloads in that namespace.
|
com.google.protobuf.ByteString |
getSourceNamespaceBytes()
Source namespace constraining the applicability of a rule to workloads in that namespace.
|
String |
getSourceSubnet()
IPv4 or IPv6 ip address of source with optional subnet.
|
com.google.protobuf.ByteString |
getSourceSubnetBytes()
IPv4 or IPv6 ip address of source with optional subnet.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static VirtualServiceOuterClass.L4MatchAttributes.Builder |
newBuilder() |
static VirtualServiceOuterClass.L4MatchAttributes.Builder |
newBuilder(VirtualServiceOuterClass.L4MatchAttributes prototype) |
VirtualServiceOuterClass.L4MatchAttributes.Builder |
newBuilderForType() |
protected VirtualServiceOuterClass.L4MatchAttributes.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static VirtualServiceOuterClass.L4MatchAttributes |
parseDelimitedFrom(InputStream input) |
static VirtualServiceOuterClass.L4MatchAttributes |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualServiceOuterClass.L4MatchAttributes |
parseFrom(byte[] data) |
static VirtualServiceOuterClass.L4MatchAttributes |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualServiceOuterClass.L4MatchAttributes |
parseFrom(ByteBuffer data) |
static VirtualServiceOuterClass.L4MatchAttributes |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualServiceOuterClass.L4MatchAttributes |
parseFrom(com.google.protobuf.ByteString data) |
static VirtualServiceOuterClass.L4MatchAttributes |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualServiceOuterClass.L4MatchAttributes |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VirtualServiceOuterClass.L4MatchAttributes |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualServiceOuterClass.L4MatchAttributes |
parseFrom(InputStream input) |
static VirtualServiceOuterClass.L4MatchAttributes |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VirtualServiceOuterClass.L4MatchAttributes> |
parser() |
VirtualServiceOuterClass.L4MatchAttributes.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int DESTINATION_SUBNETS_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
public static final int SOURCE_SUBNET_FIELD_NUMBER
public static final int SOURCE_LABELS_FIELD_NUMBER
public static final int GATEWAYS_FIELD_NUMBER
public static final int SOURCE_NAMESPACE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public 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.L4MatchAttributesOrBuilderpublic 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.L4MatchAttributesOrBuilderpublic String getDestinationSubnets(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;getDestinationSubnets 在接口中 VirtualServiceOuterClass.L4MatchAttributesOrBuilderindex - The index of the element to return.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.L4MatchAttributesOrBuilderindex - The index of the value to return.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.L4MatchAttributesOrBuilderpublic String 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.L4MatchAttributesOrBuilderpublic 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.L4MatchAttributesOrBuilderpublic 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;public boolean containsSourceLabels(String key)
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;@Deprecated public Map<String,String> getSourceLabels()
getSourceLabelsMap() instead.public Map<String,String> 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;public String getSourceLabelsOrDefault(String key, String defaultValue)
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;public String getSourceLabelsOrThrow(String key)
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;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.L4MatchAttributesOrBuilderpublic 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.L4MatchAttributesOrBuilderpublic String getGateways(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;getGateways 在接口中 VirtualServiceOuterClass.L4MatchAttributesOrBuilderindex - The index of the element to return.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.L4MatchAttributesOrBuilderindex - The index of the value to return.public String 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.L4MatchAttributesOrBuilderpublic 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.L4MatchAttributesOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static VirtualServiceOuterClass.L4MatchAttributes parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.L4MatchAttributes parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.L4MatchAttributes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.L4MatchAttributes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.L4MatchAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.L4MatchAttributes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.L4MatchAttributes parseFrom(InputStream input) throws IOException
IOExceptionpublic static VirtualServiceOuterClass.L4MatchAttributes parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VirtualServiceOuterClass.L4MatchAttributes parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VirtualServiceOuterClass.L4MatchAttributes parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VirtualServiceOuterClass.L4MatchAttributes parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VirtualServiceOuterClass.L4MatchAttributes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VirtualServiceOuterClass.L4MatchAttributes.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static VirtualServiceOuterClass.L4MatchAttributes.Builder newBuilder()
public static VirtualServiceOuterClass.L4MatchAttributes.Builder newBuilder(VirtualServiceOuterClass.L4MatchAttributes prototype)
public VirtualServiceOuterClass.L4MatchAttributes.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected VirtualServiceOuterClass.L4MatchAttributes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static VirtualServiceOuterClass.L4MatchAttributes getDefaultInstance()
public static com.google.protobuf.Parser<VirtualServiceOuterClass.L4MatchAttributes> parser()
public com.google.protobuf.Parser<VirtualServiceOuterClass.L4MatchAttributes> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public VirtualServiceOuterClass.L4MatchAttributes getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018–2023 Alibaba Group. All rights reserved.