类 VirtualServiceOuterClass.TLSMatchAttributes

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

public static final class VirtualServiceOuterClass.TLSMatchAttributes extends com.google.protobuf.GeneratedMessageV3 implements VirtualServiceOuterClass.TLSMatchAttributesOrBuilder
 TLS connection match attributes.
 
Protobuf type istio.networking.v1alpha3.TLSMatchAttributes
另请参阅:
  • 字段详细资料

    • SNI_HOSTS_FIELD_NUMBER

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

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

      public static final int PORT_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
    • 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

      public String getSniHosts(int index)
       SNI (server name indicator) to match on. Wildcard prefixes
       can be used in the SNI value, e.g., *.com will match foo.example.com
       as well as example.com. An SNI value must be a subset (i.e., fall
       within the domain) of the corresponding virtual serivce's hosts.
       
      repeated string sni_hosts = 1 [(.google.api.field_behavior) = REQUIRED];
      指定者:
      getSniHosts 在接口中 VirtualServiceOuterClass.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.
    • 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

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

      @Deprecated public Map<String,String> getSourceLabels()
      已过时。
      指定者:
      getSourceLabels 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilder
    • 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 = 5;
      指定者:
      getSourceLabelsMap 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilder
    • 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 = 5;
      指定者:
      getSourceLabelsOrDefault 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilder
    • 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 = 5;
      指定者:
      getSourceLabelsOrThrow 在接口中 VirtualServiceOuterClass.TLSMatchAttributesOrBuilder
    • 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

      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 = 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.
    • 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 = 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.
    • 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.TLSMatchAttributes parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      抛出:
      IOException
    • parseFrom

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

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

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

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

      public static VirtualServiceOuterClass.TLSMatchAttributes 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.TLSMatchAttributes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      指定者:
      newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static VirtualServiceOuterClass.TLSMatchAttributes getDefaultInstance()
    • parser

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

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

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