类 GatewayOuterClass.Gateway

  • 所有已实现的接口:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GatewayOuterClass.GatewayOrBuilder, java.io.Serializable
    封闭类:
    GatewayOuterClass

    public static final class GatewayOuterClass.Gateway
    extends com.google.protobuf.GeneratedMessageV3
    implements GatewayOuterClass.GatewayOrBuilder
     Gateway describes a load balancer operating at the edge of the mesh
     receiving incoming or outgoing HTTP/TCP connections.
     <!-- crd generation tags
     +cue-gen:Gateway:groupName:networking.istio.io
     +cue-gen:Gateway:version:v1alpha3
     +cue-gen:Gateway:storageVersion
     +cue-gen:Gateway:annotations:helm.sh/resource-policy=keep
     +cue-gen:Gateway:labels:app=istio-pilot,chart=istio,heritage=Tiller,release=istio
     +cue-gen:Gateway:subresource:status
     +cue-gen:Gateway:scope:Namespaced
     +cue-gen:Gateway:resource:categories=istio-io,networking-istio-io,shortNames=gw
     +cue-gen:Gateway:preserveUnknownFields:false
     -->
     <!-- go code generation tags
     +kubetype-gen
     +kubetype-gen:groupVersion=networking.istio.io/v1alpha3
     +genclient
     +k8s:deepcopy-gen=true
     -->
     
    Protobuf type istio.networking.v1alpha3.Gateway
    另请参阅:
    序列化表格
    • 字段详细资料

      • serialVersionUID

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

        public static final int SERVERS_FIELD_NUMBER
        另请参阅:
        常量字段值
      • SELECTOR_FIELD_NUMBER

        public static final int SELECTOR_FIELD_NUMBER
        另请参阅:
        常量字段值
      • selector_

        private com.google.protobuf.MapField<java.lang.String,​java.lang.String> selector_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • 构造器详细资料

      • Gateway

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

        private Gateway()
    • 方法详细资料

      • 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
      • getServersCount

        public int getServersCount()
         A list of server specifications.
         
        repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getServersCount 在接口中 GatewayOuterClass.GatewayOrBuilder
      • internalGetSelector

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

        public int getSelectorCount()
        从接口复制的说明: GatewayOuterClass.GatewayOrBuilder
         One or more labels that indicate a specific set of pods/VMs
         on which this gateway configuration should be applied.
         By default workloads are searched across all namespaces based on label selectors.
         This implies that a gateway resource in the namespace "foo" can select pods in
         the namespace "bar" based on labels.
         This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE`
         environment variable in istiod. If this variable is set
         to true, the scope of label search is restricted to the configuration
         namespace in which the the resource is present. In other words, the Gateway
         resource must reside in the same namespace as the gateway workload
         instance.
         If selector is nil, the Gateway will be applied to all workloads.
         
        map<string, string> selector = 2 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getSelectorCount 在接口中 GatewayOuterClass.GatewayOrBuilder
      • containsSelector

        public boolean containsSelector​(java.lang.String key)
         One or more labels that indicate a specific set of pods/VMs
         on which this gateway configuration should be applied.
         By default workloads are searched across all namespaces based on label selectors.
         This implies that a gateway resource in the namespace "foo" can select pods in
         the namespace "bar" based on labels.
         This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE`
         environment variable in istiod. If this variable is set
         to true, the scope of label search is restricted to the configuration
         namespace in which the the resource is present. In other words, the Gateway
         resource must reside in the same namespace as the gateway workload
         instance.
         If selector is nil, the Gateway will be applied to all workloads.
         
        map<string, string> selector = 2 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        containsSelector 在接口中 GatewayOuterClass.GatewayOrBuilder
      • getSelectorMap

        public java.util.Map<java.lang.String,​java.lang.String> getSelectorMap()
         One or more labels that indicate a specific set of pods/VMs
         on which this gateway configuration should be applied.
         By default workloads are searched across all namespaces based on label selectors.
         This implies that a gateway resource in the namespace "foo" can select pods in
         the namespace "bar" based on labels.
         This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE`
         environment variable in istiod. If this variable is set
         to true, the scope of label search is restricted to the configuration
         namespace in which the the resource is present. In other words, the Gateway
         resource must reside in the same namespace as the gateway workload
         instance.
         If selector is nil, the Gateway will be applied to all workloads.
         
        map<string, string> selector = 2 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getSelectorMap 在接口中 GatewayOuterClass.GatewayOrBuilder
      • getSelectorOrDefault

        public java.lang.String getSelectorOrDefault​(java.lang.String key,
                                                     java.lang.String defaultValue)
         One or more labels that indicate a specific set of pods/VMs
         on which this gateway configuration should be applied.
         By default workloads are searched across all namespaces based on label selectors.
         This implies that a gateway resource in the namespace "foo" can select pods in
         the namespace "bar" based on labels.
         This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE`
         environment variable in istiod. If this variable is set
         to true, the scope of label search is restricted to the configuration
         namespace in which the the resource is present. In other words, the Gateway
         resource must reside in the same namespace as the gateway workload
         instance.
         If selector is nil, the Gateway will be applied to all workloads.
         
        map<string, string> selector = 2 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getSelectorOrDefault 在接口中 GatewayOuterClass.GatewayOrBuilder
      • getSelectorOrThrow

        public java.lang.String getSelectorOrThrow​(java.lang.String key)
         One or more labels that indicate a specific set of pods/VMs
         on which this gateway configuration should be applied.
         By default workloads are searched across all namespaces based on label selectors.
         This implies that a gateway resource in the namespace "foo" can select pods in
         the namespace "bar" based on labels.
         This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE`
         environment variable in istiod. If this variable is set
         to true, the scope of label search is restricted to the configuration
         namespace in which the the resource is present. In other words, the Gateway
         resource must reside in the same namespace as the gateway workload
         instance.
         If selector is nil, the Gateway will be applied to all workloads.
         
        map<string, string> selector = 2 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getSelectorOrThrow 在接口中 GatewayOuterClass.GatewayOrBuilder
      • 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 GatewayOuterClass.Gateway parseFrom​(java.nio.ByteBuffer data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GatewayOuterClass.Gateway parseFrom​(java.nio.ByteBuffer data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GatewayOuterClass.Gateway parseFrom​(com.google.protobuf.ByteString data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

        public static GatewayOuterClass.Gateway parseFrom​(byte[] data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

        public static GatewayOuterClass.Gateway parseFrom​(java.io.InputStream input)
                                                   throws java.io.IOException
        抛出:
        java.io.IOException
      • parseFrom

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

        public static GatewayOuterClass.Gateway parseDelimitedFrom​(java.io.InputStream input)
                                                            throws java.io.IOException
        抛出:
        java.io.IOException
      • parseDelimitedFrom

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

        public static GatewayOuterClass.Gateway parseFrom​(com.google.protobuf.CodedInputStream input)
                                                   throws java.io.IOException
        抛出:
        java.io.IOException
      • parseFrom

        public static GatewayOuterClass.Gateway parseFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws java.io.IOException
        抛出:
        java.io.IOException
      • newBuilderForType

        public GatewayOuterClass.Gateway.Builder newBuilderForType()
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.Message
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.MessageLite
      • toBuilder

        public GatewayOuterClass.Gateway.Builder toBuilder()
        指定者:
        toBuilder 在接口中 com.google.protobuf.Message
        指定者:
        toBuilder 在接口中 com.google.protobuf.MessageLite
      • newBuilderForType

        protected GatewayOuterClass.Gateway.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        指定者:
        newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getParserForType

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

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