类 VirtualServiceOuterClass.L4MatchAttributes

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
istio.networking.v1alpha3.VirtualServiceOuterClass.L4MatchAttributes
所有已实现的接口:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, VirtualServiceOuterClass.L4MatchAttributesOrBuilder, Serializable
封闭类:
VirtualServiceOuterClass

public static final class VirtualServiceOuterClass.L4MatchAttributes extends com.google.protobuf.GeneratedMessageV3 implements VirtualServiceOuterClass.L4MatchAttributesOrBuilder
 L4 connection match attributes. Note that L4 connection matching support
 is incomplete.
 
Protobuf type istio.networking.v1alpha3.L4MatchAttributes
另请参阅:
  • 字段详细资料

    • DESTINATION_SUBNETS_FIELD_NUMBER

      public static final int DESTINATION_SUBNETS_FIELD_NUMBER
      另请参阅:
    • PORT_FIELD_NUMBER

      public static final int PORT_FIELD_NUMBER
      另请参阅:
    • SOURCE_SUBNET_FIELD_NUMBER

      public static final int SOURCE_SUBNET_FIELD_NUMBER
      另请参阅:
    • SOURCE_LABELS_FIELD_NUMBER

      public static final int SOURCE_LABELS_FIELD_NUMBER
      另请参阅:
    • GATEWAYS_FIELD_NUMBER

      public static final int GATEWAYS_FIELD_NUMBER
      另请参阅:
    • SOURCE_NAMESPACE_FIELD_NUMBER

      public static final int SOURCE_NAMESPACE_FIELD_NUMBER
      另请参阅:
  • 方法详细资料

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      覆盖:
      newInstance 在类中 com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      覆盖:
      internalGetMapFieldReflection 在类中 com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      指定者:
      internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3
    • 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

      public 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.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.
    • 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.
    • getSourceSubnet

      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.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.
    • 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;
      指定者:
      getSourceLabelsCount 在接口中 VirtualServiceOuterClass.L4MatchAttributesOrBuilder
    • containsSourceLabels

      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;
      指定者:
      containsSourceLabels 在接口中 VirtualServiceOuterClass.L4MatchAttributesOrBuilder
    • getSourceLabels

      @Deprecated public Map<String,String> getSourceLabels()
      已过时。
      指定者:
      getSourceLabels 在接口中 VirtualServiceOuterClass.L4MatchAttributesOrBuilder
    • getSourceLabelsMap

      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;
      指定者:
      getSourceLabelsMap 在接口中 VirtualServiceOuterClass.L4MatchAttributesOrBuilder
    • getSourceLabelsOrDefault

      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;
      指定者:
      getSourceLabelsOrDefault 在接口中 VirtualServiceOuterClass.L4MatchAttributesOrBuilder
    • getSourceLabelsOrThrow

      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;
      指定者:
      getSourceLabelsOrThrow 在接口中 VirtualServiceOuterClass.L4MatchAttributesOrBuilder
    • 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

      public 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.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.
    • getSourceNamespace

      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.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.
    • isInitialized

      public final boolean isInitialized()
      指定者:
      isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
      覆盖:
      isInitialized 在类中 com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      指定者:
      writeTo 在接口中 com.google.protobuf.MessageLite
      覆盖:
      writeTo 在类中 com.google.protobuf.GeneratedMessageV3
      抛出:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      指定者:
      getSerializedSize 在接口中 com.google.protobuf.MessageLite
      覆盖:
      getSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      指定者:
      equals 在接口中 com.google.protobuf.Message
      覆盖:
      equals 在类中 com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      指定者:
      hashCode 在接口中 com.google.protobuf.Message
      覆盖:
      hashCode 在类中 com.google.protobuf.AbstractMessage
    • parseFrom

      public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(InputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

      public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • parseDelimitedFrom

      public static VirtualServiceOuterClass.L4MatchAttributes parseDelimitedFrom(InputStream input) throws IOException
      抛出:
      IOException
    • parseDelimitedFrom

      public static VirtualServiceOuterClass.L4MatchAttributes parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • parseFrom

      public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

      public static VirtualServiceOuterClass.L4MatchAttributes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • newBuilderForType

      指定者:
      newBuilderForType 在接口中 com.google.protobuf.Message
      指定者:
      newBuilderForType 在接口中 com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      指定者:
      toBuilder 在接口中 com.google.protobuf.Message
      指定者:
      toBuilder 在接口中 com.google.protobuf.MessageLite
    • newBuilderForType

      protected VirtualServiceOuterClass.L4MatchAttributes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      指定者:
      newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static VirtualServiceOuterClass.L4MatchAttributes getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<VirtualServiceOuterClass.L4MatchAttributes> parser()
    • getParserForType

      public com.google.protobuf.Parser<VirtualServiceOuterClass.L4MatchAttributes> getParserForType()
      指定者:
      getParserForType 在接口中 com.google.protobuf.Message
      指定者:
      getParserForType 在接口中 com.google.protobuf.MessageLite
      覆盖:
      getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public VirtualServiceOuterClass.L4MatchAttributes getDefaultInstanceForType()
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder