public static final class VirtualServiceOuterClass.TLSMatchAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder> implements VirtualServiceOuterClass.TLSMatchAttributesOrBuilder
TLS connection match attributes.Protobuf type
istio.networking.v1alpha3.TLSMatchAttributes| 限定符和类型 | 方法和说明 |
|---|---|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
addAllDestinationSubnets(Iterable<String> values)
IPv4 or IPv6 ip addresses of destination with optional subnet.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
addAllGateways(Iterable<String> values)
Names of gateways where the rule should be applied.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
addAllSniHosts(Iterable<String> values)
SNI (server name indicator) to match on.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
addDestinationSubnets(String value)
IPv4 or IPv6 ip addresses of destination with optional subnet.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
addDestinationSubnetsBytes(com.google.protobuf.ByteString value)
IPv4 or IPv6 ip addresses of destination with optional subnet.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
addGateways(String value)
Names of gateways where the rule should be applied.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
addGatewaysBytes(com.google.protobuf.ByteString value)
Names of gateways where the rule should be applied.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
addSniHosts(String value)
SNI (server name indicator) to match on.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
addSniHostsBytes(com.google.protobuf.ByteString value)
SNI (server name indicator) to match on.
|
VirtualServiceOuterClass.TLSMatchAttributes |
build() |
VirtualServiceOuterClass.TLSMatchAttributes |
buildPartial() |
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
clear() |
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
clearDestinationSubnets()
IPv4 or IPv6 ip addresses of destination with optional subnet.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
clearGateways()
Names of gateways where the rule should be applied.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
clearPort()
Specifies the port on the host that is being addressed.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
clearSniHosts()
SNI (server name indicator) to match on.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
clearSourceLabels() |
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
clearSourceNamespace()
Source namespace constraining the applicability of a rule to workloads in that namespace.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
clone() |
boolean |
containsSourceLabels(String key)
One or more labels that constrain the applicability of a rule to
workloads with the given labels.
|
VirtualServiceOuterClass.TLSMatchAttributes |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
Map<String,String> |
getMutableSourceLabels()
已过时。
|
int |
getPort()
Specifies the port on the host that is being addressed.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
mergeFrom(com.google.protobuf.Message other) |
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
mergeFrom(VirtualServiceOuterClass.TLSMatchAttributes other) |
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
putAllSourceLabels(Map<String,String> values)
One or more labels that constrain the applicability of a rule to
workloads with the given labels.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
putSourceLabels(String key,
String value)
One or more labels that constrain the applicability of a rule to
workloads with the given labels.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
removeSourceLabels(String key)
One or more labels that constrain the applicability of a rule to
workloads with the given labels.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
setDestinationSubnets(int index,
String value)
IPv4 or IPv6 ip addresses of destination with optional subnet.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
setGateways(int index,
String value)
Names of gateways where the rule should be applied.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
setPort(int value)
Specifies the port on the host that is being addressed.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
setSniHosts(int index,
String value)
SNI (server name indicator) to match on.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
setSourceNamespace(String value)
Source namespace constraining the applicability of a rule to workloads in that namespace.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
setSourceNamespaceBytes(com.google.protobuf.ByteString value)
Source namespace constraining the applicability of a rule to workloads in that namespace.
|
VirtualServiceOuterClass.TLSMatchAttributes.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>public VirtualServiceOuterClass.TLSMatchAttributes.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>public VirtualServiceOuterClass.TLSMatchAttributes getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic VirtualServiceOuterClass.TLSMatchAttributes build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic VirtualServiceOuterClass.TLSMatchAttributes buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic VirtualServiceOuterClass.TLSMatchAttributes.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>public VirtualServiceOuterClass.TLSMatchAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>public VirtualServiceOuterClass.TLSMatchAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>public VirtualServiceOuterClass.TLSMatchAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>public VirtualServiceOuterClass.TLSMatchAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>public VirtualServiceOuterClass.TLSMatchAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>public VirtualServiceOuterClass.TLSMatchAttributes.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>public VirtualServiceOuterClass.TLSMatchAttributes.Builder mergeFrom(VirtualServiceOuterClass.TLSMatchAttributes other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>public VirtualServiceOuterClass.TLSMatchAttributes.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>IOExceptionpublic 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 VirtualServiceOuterClass.TLSMatchAttributes.Builder setSniHosts(int index, String value)
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];index - The index to set the value at.value - The sniHosts to set.public VirtualServiceOuterClass.TLSMatchAttributes.Builder addSniHosts(String value)
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];value - The sniHosts to add.public VirtualServiceOuterClass.TLSMatchAttributes.Builder addAllSniHosts(Iterable<String> values)
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];values - The sniHosts to add.public VirtualServiceOuterClass.TLSMatchAttributes.Builder clearSniHosts()
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];public VirtualServiceOuterClass.TLSMatchAttributes.Builder addSniHostsBytes(com.google.protobuf.ByteString value)
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];value - The bytes of the sniHosts to add.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 VirtualServiceOuterClass.TLSMatchAttributes.Builder setDestinationSubnets(int index, String value)
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;index - The index to set the value at.value - The destinationSubnets to set.public VirtualServiceOuterClass.TLSMatchAttributes.Builder addDestinationSubnets(String value)
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;value - The destinationSubnets to add.public VirtualServiceOuterClass.TLSMatchAttributes.Builder addAllDestinationSubnets(Iterable<String> values)
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;values - The destinationSubnets to add.public VirtualServiceOuterClass.TLSMatchAttributes.Builder clearDestinationSubnets()
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;public VirtualServiceOuterClass.TLSMatchAttributes.Builder addDestinationSubnetsBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the destinationSubnets to add.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 VirtualServiceOuterClass.TLSMatchAttributes.Builder setPort(int value)
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;value - The port to set.public VirtualServiceOuterClass.TLSMatchAttributes.Builder clearPort()
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;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 = 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 VirtualServiceOuterClass.TLSMatchAttributes.Builder clearSourceLabels()
public VirtualServiceOuterClass.TLSMatchAttributes.Builder removeSourceLabels(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> getMutableSourceLabels()
public VirtualServiceOuterClass.TLSMatchAttributes.Builder putSourceLabels(String key, String value)
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 VirtualServiceOuterClass.TLSMatchAttributes.Builder putAllSourceLabels(Map<String,String> values)
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 VirtualServiceOuterClass.TLSMatchAttributes.Builder setGateways(int index, String value)
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;index - The index to set the value at.value - The gateways to set.public VirtualServiceOuterClass.TLSMatchAttributes.Builder addGateways(String value)
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;value - The gateways to add.public VirtualServiceOuterClass.TLSMatchAttributes.Builder addAllGateways(Iterable<String> values)
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;values - The gateways to add.public VirtualServiceOuterClass.TLSMatchAttributes.Builder clearGateways()
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;public VirtualServiceOuterClass.TLSMatchAttributes.Builder addGatewaysBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the gateways to add.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 VirtualServiceOuterClass.TLSMatchAttributes.Builder setSourceNamespace(String value)
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;value - The sourceNamespace to set.public VirtualServiceOuterClass.TLSMatchAttributes.Builder clearSourceNamespace()
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;public VirtualServiceOuterClass.TLSMatchAttributes.Builder setSourceNamespaceBytes(com.google.protobuf.ByteString value)
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;value - The bytes for sourceNamespace to set.public final VirtualServiceOuterClass.TLSMatchAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>public final VirtualServiceOuterClass.TLSMatchAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>Copyright © 2018–2023 Alibaba Group. All rights reserved.