public static final class VirtualServiceOuterClass.TLSMatchAttributes extends com.google.protobuf.GeneratedMessageV3 implements VirtualServiceOuterClass.TLSMatchAttributesOrBuilder
TLS connection match attributes.Protobuf type
istio.networking.v1alpha3.TLSMatchAttributes| 限定符和类型 | 类和说明 |
|---|---|
static class |
VirtualServiceOuterClass.TLSMatchAttributes.Builder
TLS 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 |
SNI_HOSTS_FIELD_NUMBER |
static int |
SOURCE_LABELS_FIELD_NUMBER |
static int |
SOURCE_NAMESPACE_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.TLSMatchAttributes |
getDefaultInstance() |
VirtualServiceOuterClass.TLSMatchAttributes |
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.TLSMatchAttributes> |
getParserForType() |
int |
getPort()
Specifies the port on the host that is being addressed.
|
int |
getSerializedSize() |
String |
getSniHosts(int index)
SNI (server name indicator) to match on.
|
com.google.protobuf.ByteString |
getSniHostsBytes(int index)
SNI (server name indicator) to match on.
|
int |
getSniHostsCount()
SNI (server name indicator) to match on.
|
com.google.protobuf.ProtocolStringList |
getSniHostsList()
SNI (server name indicator) to match on.
|
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.
|
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.TLSMatchAttributes.Builder |
newBuilder() |
static VirtualServiceOuterClass.TLSMatchAttributes.Builder |
newBuilder(VirtualServiceOuterClass.TLSMatchAttributes prototype) |
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
newBuilderForType() |
protected VirtualServiceOuterClass.TLSMatchAttributes.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static VirtualServiceOuterClass.TLSMatchAttributes |
parseDelimitedFrom(InputStream input) |
static VirtualServiceOuterClass.TLSMatchAttributes |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualServiceOuterClass.TLSMatchAttributes |
parseFrom(byte[] data) |
static VirtualServiceOuterClass.TLSMatchAttributes |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualServiceOuterClass.TLSMatchAttributes |
parseFrom(ByteBuffer data) |
static VirtualServiceOuterClass.TLSMatchAttributes |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualServiceOuterClass.TLSMatchAttributes |
parseFrom(com.google.protobuf.ByteString data) |
static VirtualServiceOuterClass.TLSMatchAttributes |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualServiceOuterClass.TLSMatchAttributes |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VirtualServiceOuterClass.TLSMatchAttributes |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualServiceOuterClass.TLSMatchAttributes |
parseFrom(InputStream input) |
static VirtualServiceOuterClass.TLSMatchAttributes |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VirtualServiceOuterClass.TLSMatchAttributes> |
parser() |
VirtualServiceOuterClass.TLSMatchAttributes.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 SNI_HOSTS_FIELD_NUMBER
public static final int DESTINATION_SUBNETS_FIELD_NUMBER
public static final int PORT_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 getSniHostsList()
SNI (server name indicator) to match on. Wildcard prefixes can be used in the SNI value, e.g., *.com will match foo.example.com as well as example.com. An SNI value must be a subset (i.e., fall within the domain) of the corresponding virtual serivce's hosts.
repeated string sni_hosts = 1 [(.google.api.field_behavior) = REQUIRED];getSniHostsList 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilderpublic int getSniHostsCount()
SNI (server name indicator) to match on. Wildcard prefixes can be used in the SNI value, e.g., *.com will match foo.example.com as well as example.com. An SNI value must be a subset (i.e., fall within the domain) of the corresponding virtual serivce's hosts.
repeated string sni_hosts = 1 [(.google.api.field_behavior) = REQUIRED];getSniHostsCount 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilderpublic String getSniHosts(int index)
SNI (server name indicator) to match on. Wildcard prefixes can be used in the SNI value, e.g., *.com will match foo.example.com as well as example.com. An SNI value must be a subset (i.e., fall within the domain) of the corresponding virtual serivce's hosts.
repeated string sni_hosts = 1 [(.google.api.field_behavior) = REQUIRED];getSniHosts 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSniHostsBytes(int index)
SNI (server name indicator) to match on. Wildcard prefixes can be used in the SNI value, e.g., *.com will match foo.example.com as well as example.com. An SNI value must be a subset (i.e., fall within the domain) of the corresponding virtual serivce's hosts.
repeated string sni_hosts = 1 [(.google.api.field_behavior) = REQUIRED];getSniHostsBytes 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilderindex - The index of the value to return.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 = 2;getDestinationSubnetsList 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilderpublic 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 = 2;getDestinationSubnetsCount 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilderpublic 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 = 2;getDestinationSubnets 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilderindex - 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 = 2;getDestinationSubnetsBytes 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilderindex - 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 = 3;getPort 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilderpublic 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 = 5;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 = 5;@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 = 5;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 = 5;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 = 5;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 = 6;getGatewaysList 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilderpublic 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 = 6;getGatewaysCount 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilderpublic 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 = 6;getGateways 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilderindex - 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 = 6;getGatewaysBytes 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilderindex - 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 = 7;getSourceNamespace 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilderpublic 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 = 7;getSourceNamespaceBytes 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilderpublic 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.TLSMatchAttributes parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.TLSMatchAttributes parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.TLSMatchAttributes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.TLSMatchAttributes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.TLSMatchAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.TLSMatchAttributes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualServiceOuterClass.TLSMatchAttributes parseFrom(InputStream input) throws IOException
IOExceptionpublic static VirtualServiceOuterClass.TLSMatchAttributes parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VirtualServiceOuterClass.TLSMatchAttributes parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VirtualServiceOuterClass.TLSMatchAttributes parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VirtualServiceOuterClass.TLSMatchAttributes parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VirtualServiceOuterClass.TLSMatchAttributes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VirtualServiceOuterClass.TLSMatchAttributes.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static VirtualServiceOuterClass.TLSMatchAttributes.Builder newBuilder()
public static VirtualServiceOuterClass.TLSMatchAttributes.Builder newBuilder(VirtualServiceOuterClass.TLSMatchAttributes prototype)
public VirtualServiceOuterClass.TLSMatchAttributes.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected VirtualServiceOuterClass.TLSMatchAttributes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static VirtualServiceOuterClass.TLSMatchAttributes getDefaultInstance()
public static com.google.protobuf.Parser<VirtualServiceOuterClass.TLSMatchAttributes> parser()
public com.google.protobuf.Parser<VirtualServiceOuterClass.TLSMatchAttributes> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public VirtualServiceOuterClass.TLSMatchAttributes getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018–2023 Alibaba Group. All rights reserved.