类 SidecarOuterClass.WorkloadSelector

  • 所有已实现的接口:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SidecarOuterClass.WorkloadSelectorOrBuilder, java.io.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
    另请参阅:
    序列化表格
    • 字段详细资料

      • serialVersionUID

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

        public static final int LABELS_FIELD_NUMBER
        另请参阅:
        常量字段值
      • labels_

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

        private byte memoizedIsInitialized
    • 构造器详细资料

      • WorkloadSelector

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

        private WorkloadSelector()
    • 方法详细资料

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

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

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

        public java.util.Map<java.lang.String,​java.lang.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 java.lang.String getLabelsOrDefault​(java.lang.String key,
                                                   java.lang.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 java.lang.String getLabelsOrThrow​(java.lang.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 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 SidecarOuterClass.WorkloadSelector parseFrom​(java.nio.ByteBuffer data)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SidecarOuterClass.WorkloadSelector parseFrom​(java.nio.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​(java.io.InputStream input,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws java.io.IOException
        抛出:
        java.io.IOException
      • parseDelimitedFrom

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

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

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

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

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

        protected SidecarOuterClass.WorkloadSelector.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        指定者:
        newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
      • 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