public static final class VirtualServiceOuterClass.L4MatchAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder> implements VirtualServiceOuterClass.L4MatchAttributesOrBuilder
L4 connection match attributes. Note that L4 connection matching support is incomplete.Protobuf type
istio.networking.v1alpha3.L4MatchAttributes| 限定符和类型 | 方法和说明 |
|---|---|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
addAllDestinationSubnets(Iterable<String> values)
IPv4 or IPv6 ip addresses of destination with optional subnet.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
addAllGateways(Iterable<String> values)
Names of gateways where the rule should be applied.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
addDestinationSubnets(String value)
IPv4 or IPv6 ip addresses of destination with optional subnet.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
addDestinationSubnetsBytes(com.google.protobuf.ByteString value)
IPv4 or IPv6 ip addresses of destination with optional subnet.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
addGateways(String value)
Names of gateways where the rule should be applied.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
addGatewaysBytes(com.google.protobuf.ByteString value)
Names of gateways where the rule should be applied.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VirtualServiceOuterClass.L4MatchAttributes |
build() |
VirtualServiceOuterClass.L4MatchAttributes |
buildPartial() |
VirtualServiceOuterClass.L4MatchAttributes.Builder |
clear() |
VirtualServiceOuterClass.L4MatchAttributes.Builder |
clearDestinationSubnets()
IPv4 or IPv6 ip addresses of destination with optional subnet.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
VirtualServiceOuterClass.L4MatchAttributes.Builder |
clearGateways()
Names of gateways where the rule should be applied.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VirtualServiceOuterClass.L4MatchAttributes.Builder |
clearPort()
Specifies the port on the host that is being addressed.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
clearSourceLabels() |
VirtualServiceOuterClass.L4MatchAttributes.Builder |
clearSourceNamespace()
Source namespace constraining the applicability of a rule to workloads in that namespace.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
clearSourceSubnet()
IPv4 or IPv6 ip address of source with optional subnet.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
clone() |
boolean |
containsSourceLabels(String key)
One or more labels that constrain the applicability of a rule to
workloads with the given labels.
|
VirtualServiceOuterClass.L4MatchAttributes |
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.
|
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.
|
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.L4MatchAttributes.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VirtualServiceOuterClass.L4MatchAttributes.Builder |
mergeFrom(com.google.protobuf.Message other) |
VirtualServiceOuterClass.L4MatchAttributes.Builder |
mergeFrom(VirtualServiceOuterClass.L4MatchAttributes other) |
VirtualServiceOuterClass.L4MatchAttributes.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VirtualServiceOuterClass.L4MatchAttributes.Builder |
putAllSourceLabels(Map<String,String> values)
One or more labels that constrain the applicability of a rule to
workloads with the given labels.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
putSourceLabels(String key,
String value)
One or more labels that constrain the applicability of a rule to
workloads with the given labels.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
removeSourceLabels(String key)
One or more labels that constrain the applicability of a rule to
workloads with the given labels.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
setDestinationSubnets(int index,
String value)
IPv4 or IPv6 ip addresses of destination with optional subnet.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VirtualServiceOuterClass.L4MatchAttributes.Builder |
setGateways(int index,
String value)
Names of gateways where the rule should be applied.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
setPort(int value)
Specifies the port on the host that is being addressed.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VirtualServiceOuterClass.L4MatchAttributes.Builder |
setSourceNamespace(String value)
Source namespace constraining the applicability of a rule to workloads in that namespace.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
setSourceNamespaceBytes(com.google.protobuf.ByteString value)
Source namespace constraining the applicability of a rule to workloads in that namespace.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
setSourceSubnet(String value)
IPv4 or IPv6 ip address of source with optional subnet.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
setSourceSubnetBytes(com.google.protobuf.ByteString value)
IPv4 or IPv6 ip address of source with optional subnet.
|
VirtualServiceOuterClass.L4MatchAttributes.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.L4MatchAttributes.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>public VirtualServiceOuterClass.L4MatchAttributes.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>public VirtualServiceOuterClass.L4MatchAttributes getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic VirtualServiceOuterClass.L4MatchAttributes build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic VirtualServiceOuterClass.L4MatchAttributes buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic VirtualServiceOuterClass.L4MatchAttributes.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>public VirtualServiceOuterClass.L4MatchAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>public VirtualServiceOuterClass.L4MatchAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>public VirtualServiceOuterClass.L4MatchAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>public VirtualServiceOuterClass.L4MatchAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>public VirtualServiceOuterClass.L4MatchAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>public VirtualServiceOuterClass.L4MatchAttributes.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>public VirtualServiceOuterClass.L4MatchAttributes.Builder mergeFrom(VirtualServiceOuterClass.L4MatchAttributes other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>public VirtualServiceOuterClass.L4MatchAttributes.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.L4MatchAttributes.Builder>IOExceptionpublic 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 VirtualServiceOuterClass.L4MatchAttributes.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 = 1;index - The index to set the value at.value - The destinationSubnets to set.public VirtualServiceOuterClass.L4MatchAttributes.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 = 1;value - The destinationSubnets to add.public VirtualServiceOuterClass.L4MatchAttributes.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 = 1;values - The destinationSubnets to add.public VirtualServiceOuterClass.L4MatchAttributes.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 = 1;public VirtualServiceOuterClass.L4MatchAttributes.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 = 1;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 = 2;getPort 在接口中 VirtualServiceOuterClass.L4MatchAttributesOrBuilderpublic VirtualServiceOuterClass.L4MatchAttributes.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 = 2;value - The port to set.public VirtualServiceOuterClass.L4MatchAttributes.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 = 2;public 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 VirtualServiceOuterClass.L4MatchAttributes.Builder setSourceSubnet(String value)
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;value - The sourceSubnet to set.public VirtualServiceOuterClass.L4MatchAttributes.Builder clearSourceSubnet()
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;public VirtualServiceOuterClass.L4MatchAttributes.Builder setSourceSubnetBytes(com.google.protobuf.ByteString value)
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;value - The bytes for sourceSubnet to set.public int getSourceLabelsCount()
One or more labels that constrain the applicability of a rule to workloads with the given labels. If the VirtualService has a list of gateways specified in the top-level `gateways` field, it should include the reserved gateway `mesh` in order for this field to be applicable.
map<string, string> source_labels = 4;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 VirtualServiceOuterClass.L4MatchAttributes.Builder clearSourceLabels()
public VirtualServiceOuterClass.L4MatchAttributes.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 = 4;@Deprecated public Map<String,String> getMutableSourceLabels()
public VirtualServiceOuterClass.L4MatchAttributes.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 = 4;public VirtualServiceOuterClass.L4MatchAttributes.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 = 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 VirtualServiceOuterClass.L4MatchAttributes.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 = 5;index - The index to set the value at.value - The gateways to set.public VirtualServiceOuterClass.L4MatchAttributes.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 = 5;value - The gateways to add.public VirtualServiceOuterClass.L4MatchAttributes.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 = 5;values - The gateways to add.public VirtualServiceOuterClass.L4MatchAttributes.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 = 5;public VirtualServiceOuterClass.L4MatchAttributes.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 = 5;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 = 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 VirtualServiceOuterClass.L4MatchAttributes.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 = 6;value - The sourceNamespace to set.public VirtualServiceOuterClass.L4MatchAttributes.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 = 6;public VirtualServiceOuterClass.L4MatchAttributes.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 = 6;value - The bytes for sourceNamespace to set.public final VirtualServiceOuterClass.L4MatchAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>public final VirtualServiceOuterClass.L4MatchAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>Copyright © 2018–2023 Alibaba Group. All rights reserved.