类 GatewayOuterClass.Gateway

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
istio.networking.v1alpha3.GatewayOuterClass.Gateway
所有已实现的接口:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GatewayOuterClass.GatewayOrBuilder, 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
另请参阅:
  • 字段详细资料

    • SERVERS_FIELD_NUMBER

      public static final int SERVERS_FIELD_NUMBER
      另请参阅:
    • SELECTOR_FIELD_NUMBER

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

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

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

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

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

      public GatewayOuterClass.ServerOrBuilder getServersOrBuilder(int index)
       A list of server specifications.
       
      repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
      指定者:
      getServersOrBuilder 在接口中 GatewayOuterClass.GatewayOrBuilder
    • 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(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
    • getSelector

      @Deprecated public Map<String,String> getSelector()
      已过时。
      Use getSelectorMap() instead.
      指定者:
      getSelector 在接口中 GatewayOuterClass.GatewayOrBuilder
    • getSelectorMap

      public Map<String,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 String getSelectorOrDefault(String key, 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 String getSelectorOrThrow(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 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 GatewayOuterClass.Gateway parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GatewayOuterClass.Gateway parseFrom(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(InputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

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

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

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

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

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

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

      public static GatewayOuterClass.Gateway.Builder newBuilder()
    • newBuilder

      public static GatewayOuterClass.Gateway.Builder newBuilder(GatewayOuterClass.Gateway prototype)
    • 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
    • getDefaultInstance

      public static GatewayOuterClass.Gateway getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GatewayOuterClass.Gateway> parser()
    • 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