类 VirtualServiceOuterClass.TLSMatchAttributes

    • 字段详细资料

      • serialVersionUID

        private static final long serialVersionUID
        另请参阅:
        常量字段值
      • SNI_HOSTS_FIELD_NUMBER

        public static final int SNI_HOSTS_FIELD_NUMBER
        另请参阅:
        常量字段值
      • sniHosts_

        private com.google.protobuf.LazyStringList sniHosts_
      • DESTINATION_SUBNETS_FIELD_NUMBER

        public static final int DESTINATION_SUBNETS_FIELD_NUMBER
        另请参阅:
        常量字段值
      • destinationSubnets_

        private com.google.protobuf.LazyStringList destinationSubnets_
      • PORT_FIELD_NUMBER

        public static final int PORT_FIELD_NUMBER
        另请参阅:
        常量字段值
      • port_

        private int port_
      • SOURCE_LABELS_FIELD_NUMBER

        public static final int SOURCE_LABELS_FIELD_NUMBER
        另请参阅:
        常量字段值
      • sourceLabels_

        private com.google.protobuf.MapField<java.lang.String,​java.lang.String> sourceLabels_
      • GATEWAYS_FIELD_NUMBER

        public static final int GATEWAYS_FIELD_NUMBER
        另请参阅:
        常量字段值
      • gateways_

        private com.google.protobuf.LazyStringList gateways_
      • SOURCE_NAMESPACE_FIELD_NUMBER

        public static final int SOURCE_NAMESPACE_FIELD_NUMBER
        另请参阅:
        常量字段值
      • sourceNamespace_

        private volatile java.lang.Object sourceNamespace_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • 构造器详细资料

      • TLSMatchAttributes

        private TLSMatchAttributes​(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
      • TLSMatchAttributes

        private TLSMatchAttributes()
    • 方法详细资料

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        覆盖:
        newInstance 在类中 com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        指定者:
        getUnknownFields 在接口中 com.google.protobuf.MessageOrBuilder
        覆盖:
        getUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        覆盖:
        internalGetMapField 在类中 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 java.lang.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.
      • getDestinationSubnets

        public java.lang.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.
      • internalGetSourceLabels

        private com.google.protobuf.MapField<java.lang.String,​java.lang.String> internalGetSourceLabels()
      • containsSourceLabels

        public boolean containsSourceLabels​(java.lang.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
      • getSourceLabelsMap

        public java.util.Map<java.lang.String,​java.lang.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 java.lang.String getSourceLabelsOrDefault​(java.lang.String key,
                                                         java.lang.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 java.lang.String getSourceLabelsOrThrow​(java.lang.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 java.lang.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 java.lang.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 java.io.IOException
        指定者:
        writeTo 在接口中 com.google.protobuf.MessageLite
        覆盖:
        writeTo 在类中 com.google.protobuf.GeneratedMessageV3
        抛出:
        java.io.IOException
      • getSerializedSize

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

        public boolean equals​(java.lang.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​(java.nio.ByteBuffer data)
                                                                     throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VirtualServiceOuterClass.TLSMatchAttributes parseFrom​(java.nio.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

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

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

        public static VirtualServiceOuterClass.TLSMatchAttributes parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                     throws java.io.IOException
        抛出:
        java.io.IOException
      • 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