类 SidecarOuterClass.WorkloadSelector

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

public static final class SidecarOuterClass.WorkloadSelector extends com.google.protobuf.GeneratedMessageV3 implements SidecarOuterClass.WorkloadSelectorOrBuilder
 `WorkloadSelector` specifies the criteria used to determine if the
 `Gateway`, `Sidecar`, or `EnvoyFilter` or `ServiceEntry`
 configuration can be applied to a proxy. The matching criteria
 includes the metadata associated with a proxy, workload instance
 info such as labels attached to the pod/VM, or any other info that
 the proxy provides to Istio during the initial handshake. If
 multiple conditions are specified, all conditions need to match in
 order for the workload instance to be selected. Currently, only
 label based selection mechanism is supported.
 
Protobuf type istio.networking.v1alpha3.WorkloadSelector
另请参阅:
  • 字段详细资料

    • LABELS_FIELD_NUMBER

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

      public int getLabelsCount()
       One or more labels that indicate a specific set of pods/VMs
       on which the configuration should be applied. The scope of
       label search is restricted to the configuration namespace in which the
       the resource is present.
       
      map<string, string> labels = 1 [(.google.api.field_behavior) = REQUIRED];
      指定者:
      getLabelsCount 在接口中 SidecarOuterClass.WorkloadSelectorOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       One or more labels that indicate a specific set of pods/VMs
       on which the configuration should be applied. The scope of
       label search is restricted to the configuration namespace in which the
       the resource is present.
       
      map<string, string> labels = 1 [(.google.api.field_behavior) = REQUIRED];
      指定者:
      containsLabels 在接口中 SidecarOuterClass.WorkloadSelectorOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      已过时。
      Use getLabelsMap() instead.
      指定者:
      getLabels 在接口中 SidecarOuterClass.WorkloadSelectorOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       One or more labels that indicate a specific set of pods/VMs
       on which the configuration should be applied. The scope of
       label search is restricted to the configuration namespace in which the
       the resource is present.
       
      map<string, string> labels = 1 [(.google.api.field_behavior) = REQUIRED];
      指定者:
      getLabelsMap 在接口中 SidecarOuterClass.WorkloadSelectorOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       One or more labels that indicate a specific set of pods/VMs
       on which the configuration should be applied. The scope of
       label search is restricted to the configuration namespace in which the
       the resource is present.
       
      map<string, string> labels = 1 [(.google.api.field_behavior) = REQUIRED];
      指定者:
      getLabelsOrDefault 在接口中 SidecarOuterClass.WorkloadSelectorOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       One or more labels that indicate a specific set of pods/VMs
       on which the configuration should be applied. The scope of
       label search is restricted to the configuration namespace in which the
       the resource is present.
       
      map<string, string> labels = 1 [(.google.api.field_behavior) = REQUIRED];
      指定者:
      getLabelsOrThrow 在接口中 SidecarOuterClass.WorkloadSelectorOrBuilder
    • 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 SidecarOuterClass.WorkloadSelector parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static SidecarOuterClass.WorkloadSelector parseFrom(InputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

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

      public static SidecarOuterClass.WorkloadSelector parseDelimitedFrom(InputStream input) throws IOException
      抛出:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static SidecarOuterClass.WorkloadSelector.Builder newBuilder()
    • newBuilder

    • toBuilder

      指定者:
      toBuilder 在接口中 com.google.protobuf.Message
      指定者:
      toBuilder 在接口中 com.google.protobuf.MessageLite
    • newBuilderForType

      protected SidecarOuterClass.WorkloadSelector.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      指定者:
      newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static SidecarOuterClass.WorkloadSelector getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SidecarOuterClass.WorkloadSelector> parser()
    • getParserForType

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

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