类 VirtualServiceOuterClass.L4MatchAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>
istio.networking.v1alpha3.VirtualServiceOuterClass.L4MatchAttributes.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,VirtualServiceOuterClass.L4MatchAttributesOrBuilder,Cloneable
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-
方法概要
修饰符和类型方法说明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.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) 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.Source namespace constraining the applicability of a rule to workloads in that namespace.IPv4 or IPv6 ip address of source with optional subnet.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.已过时。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.IPv4 or IPv6 ip address of source with optional subnet.com.google.protobuf.ByteStringIPv4 or IPv6 ip address of source with optional subnet.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) 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.setSourceSubnet(String value) IPv4 or IPv6 ip address of source with optional subnet.setSourceSubnetBytes(com.google.protobuf.ByteString value) IPv4 or IPv6 ip address of source with optional subnet.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.L4MatchAttributes.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - 覆盖:
internalGetMutableMapFieldReflection在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.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.L4MatchAttributes.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.L4MatchAttributes.Builder>
-
setField
public VirtualServiceOuterClass.L4MatchAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>
-
clearField
public VirtualServiceOuterClass.L4MatchAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>
-
clearOneof
public VirtualServiceOuterClass.L4MatchAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>
-
setRepeatedField
public VirtualServiceOuterClass.L4MatchAttributes.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.L4MatchAttributes.Builder>
-
addRepeatedField
public VirtualServiceOuterClass.L4MatchAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>
-
mergeFrom
public VirtualServiceOuterClass.L4MatchAttributes.Builder mergeFrom(com.google.protobuf.Message other) - 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>
-
mergeFrom
public VirtualServiceOuterClass.L4MatchAttributes.Builder mergeFrom(VirtualServiceOuterClass.L4MatchAttributes other) -
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>
-
mergeFrom
public VirtualServiceOuterClass.L4MatchAttributes.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.L4MatchAttributes.Builder>- 抛出:
IOException
-
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 = 1;- 指定者:
getDestinationSubnetsList在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- 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 = 1;- 指定者:
getDestinationSubnetsCount在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- 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 = 1;- 指定者:
getDestinationSubnets在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 参数:
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 = 1;- 指定者:
getDestinationSubnetsBytes在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the destinationSubnets at the given index.
-
setDestinationSubnets
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.- 返回:
- 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 = 1;- 参数:
value- The destinationSubnets to add.- 返回:
- This builder for chaining.
-
addAllDestinationSubnets
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.- 返回:
- 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 = 1;- 返回:
- This builder for chaining.
-
addDestinationSubnetsBytes
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.- 返回:
- 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 = 2;- 指定者:
getPort在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- 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 = 2;- 参数:
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 = 2;- 返回:
- This builder for chaining.
-
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.L4MatchAttributesOrBuilder- 返回:
- The sourceSubnet.
-
getSourceSubnetBytes
public 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.L4MatchAttributesOrBuilder- 返回:
- The bytes for sourceSubnet.
-
setSourceSubnet
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.- 返回:
- This builder for chaining.
-
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;- 返回:
- This builder for chaining.
-
setSourceSubnetBytes
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.- 返回:
- 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 = 4; -
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 = 4; -
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 = 4; -
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 = 4; -
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 = 4; -
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 = 4; -
getMutableSourceLabels
已过时。Use alternate mutation accessors instead. -
putSourceLabels
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; -
putAllSourceLabels
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; -
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 = 5;- 指定者:
getGatewaysList在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- 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 = 5;- 指定者:
getGatewaysCount在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- 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 = 5;- 指定者:
getGateways在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 参数:
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 = 5;- 指定者:
getGatewaysBytes在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 参数:
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 = 5;- 参数:
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 = 5;- 参数:
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 = 5;- 参数:
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 = 5;- 返回:
- This builder for chaining.
-
addGatewaysBytes
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.- 返回:
- 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 = 6;- 指定者:
getSourceNamespace在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- 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 = 6;- 指定者:
getSourceNamespaceBytes在接口中VirtualServiceOuterClass.L4MatchAttributesOrBuilder- 返回:
- 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 = 6;- 参数:
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 = 6;- 返回:
- This builder for chaining.
-
setSourceNamespaceBytes
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.- 返回:
- This builder for chaining.
-
setUnknownFields
public final VirtualServiceOuterClass.L4MatchAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>
-
mergeUnknownFields
public final VirtualServiceOuterClass.L4MatchAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.L4MatchAttributes.Builder>
-