类 VirtualServiceOuterClass.TLSMatchAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
istio.networking.v1alpha3.VirtualServiceOuterClass.TLSMatchAttributes.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,VirtualServiceOuterClass.TLSMatchAttributesOrBuilder,Cloneable
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-
方法概要
修饰符和类型方法说明addAllDestinationSubnets(Iterable<String> values) IPv4 or IPv6 ip addresses of destination with optional subnet.addAllGateways(Iterable<String> values) Names of gateways where the rule should be applied.addAllSniHosts(Iterable<String> values) SNI (server name indicator) to match on.addDestinationSubnets(String value) IPv4 or IPv6 ip addresses of destination with optional subnet.addDestinationSubnetsBytes(com.google.protobuf.ByteString value) IPv4 or IPv6 ip addresses of destination with optional subnet.addGateways(String value) Names of gateways where the rule should be applied.addGatewaysBytes(com.google.protobuf.ByteString value) Names of gateways where the rule should be applied.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSniHosts(String value) SNI (server name indicator) to match on.addSniHostsBytes(com.google.protobuf.ByteString value) SNI (server name indicator) to match on.build()clear()IPv4 or IPv6 ip addresses of destination with optional subnet.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Names of gateways where the rule should be applied.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specifies the port on the host that is being addressed.SNI (server name indicator) to match on.Source namespace constraining the applicability of a rule to workloads in that namespace.clone()booleanOne or more labels that constrain the applicability of a rule to workloads with the given labels.static final com.google.protobuf.Descriptors.Descriptorcom.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.已过时。intgetPort()Specifies the port on the host that is being addressed.getSniHosts(int index) SNI (server name indicator) to match on.com.google.protobuf.ByteStringgetSniHostsBytes(int index) SNI (server name indicator) to match on.intSNI (server name indicator) to match on.com.google.protobuf.ProtocolStringListSNI (server name indicator) to match on.已过时。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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllSourceLabels(Map<String, String> values) One or more labels that constrain the applicability of a rule to workloads with the given labels.putSourceLabels(String key, String value) One or more labels that constrain the applicability of a rule to workloads with the given labels.removeSourceLabels(String key) One or more labels that constrain the applicability of a rule to workloads with the given labels.setDestinationSubnets(int index, String value) IPv4 or IPv6 ip addresses of destination with optional subnet.setGateways(int index, String value) Names of gateways where the rule should be applied.setPort(int value) Specifies the port on the host that is being addressed.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSniHosts(int index, String value) SNI (server name indicator) to match on.setSourceNamespace(String value) Source namespace constraining the applicability of a rule to workloads in that namespace.setSourceNamespaceBytes(com.google.protobuf.ByteString value) Source namespace constraining the applicability of a rule to workloads in that namespace.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException从接口继承的方法 com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom从接口继承的方法 com.google.protobuf.MessageLite.Builder
mergeFrom从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - 覆盖:
internalGetMapFieldReflection在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - 覆盖:
internalGetMutableMapFieldReflection在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
-
setField
public VirtualServiceOuterClass.TLSMatchAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
-
clearField
public VirtualServiceOuterClass.TLSMatchAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
-
clearOneof
public VirtualServiceOuterClass.TLSMatchAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
-
setRepeatedField
public VirtualServiceOuterClass.TLSMatchAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
-
addRepeatedField
public VirtualServiceOuterClass.TLSMatchAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
-
mergeFrom
public VirtualServiceOuterClass.TLSMatchAttributes.Builder mergeFrom(com.google.protobuf.Message other) - 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
-
mergeFrom
public VirtualServiceOuterClass.TLSMatchAttributes.Builder mergeFrom(VirtualServiceOuterClass.TLSMatchAttributes other) -
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
-
mergeFrom
public VirtualServiceOuterClass.TLSMatchAttributes.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>- 抛出:
IOException
-
getSniHostsList
public 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.TLSMatchAttributesOrBuilder- 返回:
- A list containing the sniHosts.
-
getSniHostsCount
public 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.TLSMatchAttributesOrBuilder- 返回:
- The count of sniHosts.
-
getSniHosts
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.TLSMatchAttributesOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The sniHosts at the given index.
-
getSniHostsBytes
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.TLSMatchAttributesOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the sniHosts at the given index.
-
setSniHosts
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.- 返回:
- This builder for chaining.
-
addSniHosts
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.- 返回:
- This builder for chaining.
-
addAllSniHosts
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.- 返回:
- This builder for chaining.
-
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];- 返回:
- This builder for chaining.
-
addSniHostsBytes
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.- 返回:
- This builder for chaining.
-
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 = 2;- 指定者:
getDestinationSubnetsList在接口中VirtualServiceOuterClass.TLSMatchAttributesOrBuilder- 返回:
- 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 = 2;- 指定者:
getDestinationSubnetsCount在接口中VirtualServiceOuterClass.TLSMatchAttributesOrBuilder- 返回:
- 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 = 2;- 指定者:
getDestinationSubnets在接口中VirtualServiceOuterClass.TLSMatchAttributesOrBuilder- 参数:
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 = 2;- 指定者:
getDestinationSubnetsBytes在接口中VirtualServiceOuterClass.TLSMatchAttributesOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the destinationSubnets at the given index.
-
setDestinationSubnets
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.- 返回:
- This builder for chaining.
-
addDestinationSubnets
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.- 返回:
- This builder for chaining.
-
addAllDestinationSubnets
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.- 返回:
- This builder for chaining.
-
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;- 返回:
- This builder for chaining.
-
addDestinationSubnetsBytes
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.- 返回:
- This builder for chaining.
-
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 = 3;- 指定者:
getPort在接口中VirtualServiceOuterClass.TLSMatchAttributesOrBuilder- 返回:
- The port.
-
setPort
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.- 返回:
- This builder for chaining.
-
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;- 返回:
- This builder for chaining.
-
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 = 5; -
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 = 5; -
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 = 5; -
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 = 5; -
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 = 5; -
clearSourceLabels
-
removeSourceLabels
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; -
getMutableSourceLabels
已过时。Use alternate mutation accessors instead. -
putSourceLabels
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; -
putAllSourceLabels
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; -
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 = 6;- 指定者:
getGatewaysList在接口中VirtualServiceOuterClass.TLSMatchAttributesOrBuilder- 返回:
- 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 = 6;- 指定者:
getGatewaysCount在接口中VirtualServiceOuterClass.TLSMatchAttributesOrBuilder- 返回:
- 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 = 6;- 指定者:
getGateways在接口中VirtualServiceOuterClass.TLSMatchAttributesOrBuilder- 参数:
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 = 6;- 指定者:
getGatewaysBytes在接口中VirtualServiceOuterClass.TLSMatchAttributesOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the gateways at the given index.
-
setGateways
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.- 返回:
- This builder for chaining.
-
addGateways
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.- 返回:
- This builder for chaining.
-
addAllGateways
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.- 返回:
- This builder for chaining.
-
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;- 返回:
- This builder for chaining.
-
addGatewaysBytes
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.- 返回:
- This builder for chaining.
-
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.TLSMatchAttributesOrBuilder- 返回:
- 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 = 7;- 指定者:
getSourceNamespaceBytes在接口中VirtualServiceOuterClass.TLSMatchAttributesOrBuilder- 返回:
- The bytes for sourceNamespace.
-
setSourceNamespace
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.- 返回:
- This builder for chaining.
-
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;- 返回:
- This builder for chaining.
-
setSourceNamespaceBytes
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.- 返回:
- This builder for chaining.
-
setUnknownFields
public final VirtualServiceOuterClass.TLSMatchAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
-
mergeUnknownFields
public final VirtualServiceOuterClass.TLSMatchAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TLSMatchAttributes.Builder>
-