类 GatewayOuterClass.Gateway.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.Gateway.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder>
istio.networking.v1alpha3.GatewayOuterClass.Gateway.Builder
所有已实现的接口:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GatewayOuterClass.GatewayOrBuilder, Cloneable
封闭类:
GatewayOuterClass.Gateway

public static final class GatewayOuterClass.Gateway.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder> 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
  • 方法详细资料

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      覆盖:
      internalGetMapFieldReflection 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      覆盖:
      internalGetMutableMapFieldReflection 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      指定者:
      internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder>
    • clear

      指定者:
      clear 在接口中 com.google.protobuf.Message.Builder
      指定者:
      clear 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      clear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      指定者:
      getDescriptorForType 在接口中 com.google.protobuf.Message.Builder
      指定者:
      getDescriptorForType 在接口中 com.google.protobuf.MessageOrBuilder
      覆盖:
      getDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder>
    • getDefaultInstanceForType

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

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

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

      指定者:
      clone 在接口中 com.google.protobuf.Message.Builder
      指定者:
      clone 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      clone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder>
    • setField

      public GatewayOuterClass.Gateway.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      指定者:
      setField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder>
    • clearField

      public GatewayOuterClass.Gateway.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      指定者:
      clearField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      clearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder>
    • clearOneof

      public GatewayOuterClass.Gateway.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      指定者:
      clearOneof 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      clearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder>
    • setRepeatedField

      public GatewayOuterClass.Gateway.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      指定者:
      setRepeatedField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder>
    • addRepeatedField

      public GatewayOuterClass.Gateway.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      指定者:
      addRepeatedField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      addRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder>
    • mergeFrom

      public GatewayOuterClass.Gateway.Builder mergeFrom(com.google.protobuf.Message other)
      指定者:
      mergeFrom 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.Gateway.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      指定者:
      isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
      覆盖:
      isInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder>
    • mergeFrom

      public GatewayOuterClass.Gateway.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      指定者:
      mergeFrom 在接口中 com.google.protobuf.Message.Builder
      指定者:
      mergeFrom 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.Gateway.Builder>
      抛出:
      IOException
    • 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
    • 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
    • setServers

      public GatewayOuterClass.Gateway.Builder setServers(int index, GatewayOuterClass.Server value)
       A list of server specifications.
       
      repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
    • setServers

      public GatewayOuterClass.Gateway.Builder setServers(int index, GatewayOuterClass.Server.Builder builderForValue)
       A list of server specifications.
       
      repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
    • addServers

       A list of server specifications.
       
      repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
    • addServers

      public GatewayOuterClass.Gateway.Builder addServers(int index, GatewayOuterClass.Server value)
       A list of server specifications.
       
      repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
    • addServers

       A list of server specifications.
       
      repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
    • addServers

      public GatewayOuterClass.Gateway.Builder addServers(int index, GatewayOuterClass.Server.Builder builderForValue)
       A list of server specifications.
       
      repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAllServers

      public GatewayOuterClass.Gateway.Builder addAllServers(Iterable<? extends GatewayOuterClass.Server> values)
       A list of server specifications.
       
      repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearServers

      public GatewayOuterClass.Gateway.Builder clearServers()
       A list of server specifications.
       
      repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
    • removeServers

      public GatewayOuterClass.Gateway.Builder removeServers(int index)
       A list of server specifications.
       
      repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
    • getServersBuilder

      public GatewayOuterClass.Server.Builder getServersBuilder(int index)
       A list of server specifications.
       
      repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
    • 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
    • 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
    • addServersBuilder

      public GatewayOuterClass.Server.Builder addServersBuilder()
       A list of server specifications.
       
      repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
    • addServersBuilder

      public GatewayOuterClass.Server.Builder addServersBuilder(int index)
       A list of server specifications.
       
      repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
    • getServersBuilderList

      public List<GatewayOuterClass.Server.Builder> getServersBuilderList()
       A list of server specifications.
       
      repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
    • 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
    • clearSelector

      public GatewayOuterClass.Gateway.Builder clearSelector()
    • removeSelector

      public GatewayOuterClass.Gateway.Builder removeSelector(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];
    • getMutableSelector

      @Deprecated public Map<String,String> getMutableSelector()
      已过时。
      Use alternate mutation accessors instead.
    • putSelector

      public GatewayOuterClass.Gateway.Builder putSelector(String key, String value)
       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];
    • putAllSelector

      public GatewayOuterClass.Gateway.Builder putAllSelector(Map<String,String> values)
       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];
    • setUnknownFields

      public final GatewayOuterClass.Gateway.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      指定者:
      setUnknownFields 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder>
    • mergeUnknownFields

      public final GatewayOuterClass.Gateway.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      指定者:
      mergeUnknownFields 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      mergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Gateway.Builder>