类 MetadataOuterClass.Metadata

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

    public static final class MetadataOuterClass.Metadata
    extends com.google.protobuf.GeneratedMessageV3
    implements MetadataOuterClass.MetadataOrBuilder
     Metadata information that all resources within the Mesh Configuration Protocol must have.
     
    Protobuf type istio.mcp.v1alpha1.Metadata
    另请参阅:
    序列化表格
    • 嵌套类概要

      嵌套类 
      修饰符和类型 说明
      private static class  MetadataOuterClass.Metadata.AnnotationsDefaultEntryHolder  
      static class  MetadataOuterClass.Metadata.Builder
      Metadata information that all resources within the Mesh Configuration Protocol must have.
      private static class  MetadataOuterClass.Metadata.LabelsDefaultEntryHolder  
      • 从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,​BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • 从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • 构造器概要

      构造器 
      限定符 构造器 说明
      private Metadata()  
      private Metadata​(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)  
    • 字段详细资料

      • serialVersionUID

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

        public static final int NAME_FIELD_NUMBER
        另请参阅:
        常量字段值
      • name_

        private volatile java.lang.Object name_
      • CREATE_TIME_FIELD_NUMBER

        public static final int CREATE_TIME_FIELD_NUMBER
        另请参阅:
        常量字段值
      • createTime_

        private com.google.protobuf.Timestamp createTime_
      • VERSION_FIELD_NUMBER

        public static final int VERSION_FIELD_NUMBER
        另请参阅:
        常量字段值
      • version_

        private volatile java.lang.Object version_
      • LABELS_FIELD_NUMBER

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

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

        public static final int ANNOTATIONS_FIELD_NUMBER
        另请参阅:
        常量字段值
      • annotations_

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

        private byte memoizedIsInitialized
    • 构造器详细资料

      • Metadata

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

        private Metadata()
    • 方法详细资料

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

        public java.lang.String getName()
         Fully qualified name of the resource. Unique in context of a collection.
         The fully qualified name consists of a directory and basename. The directory identifies
         the resources location in a resource hierarchy. The basename identifies the specific
         resource name within the context of that directory.
         The directory and basename are composed of one or more segments. Segments must be
         valid [DNS labels](https://tools.ietf.org/html/rfc1123). "/" is the delimiter between
         segments
         The rightmost segment is the basename. All segments to the
         left of the basename form the directory. Segments moving towards the left
         represent higher positions in the resource hierarchy, similar to reverse
         DNS notation. e.g.
            /<org>/<team>/<subteam>/<resource basename>
         An empty directory indicates a resource that is located at the root of the
         hierarchy, e.g.
            /<globally scoped resource>
         On Kubernetes the resource hierarchy is two-levels: namespaces and
         cluster-scoped (i.e. global).
         Namespace resources fully qualified name is of the form:
            "<k8s namespace>/<k8s resource name>"
         Cluster scoped resources are located at the root of the hierarchy and are of the form:
            "/<k8s resource name>"
         
        string name = 1;
        指定者:
        getName 在接口中 MetadataOuterClass.MetadataOrBuilder
        返回:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Fully qualified name of the resource. Unique in context of a collection.
         The fully qualified name consists of a directory and basename. The directory identifies
         the resources location in a resource hierarchy. The basename identifies the specific
         resource name within the context of that directory.
         The directory and basename are composed of one or more segments. Segments must be
         valid [DNS labels](https://tools.ietf.org/html/rfc1123). "/" is the delimiter between
         segments
         The rightmost segment is the basename. All segments to the
         left of the basename form the directory. Segments moving towards the left
         represent higher positions in the resource hierarchy, similar to reverse
         DNS notation. e.g.
            /<org>/<team>/<subteam>/<resource basename>
         An empty directory indicates a resource that is located at the root of the
         hierarchy, e.g.
            /<globally scoped resource>
         On Kubernetes the resource hierarchy is two-levels: namespaces and
         cluster-scoped (i.e. global).
         Namespace resources fully qualified name is of the form:
            "<k8s namespace>/<k8s resource name>"
         Cluster scoped resources are located at the root of the hierarchy and are of the form:
            "/<k8s resource name>"
         
        string name = 1;
        指定者:
        getNameBytes 在接口中 MetadataOuterClass.MetadataOrBuilder
        返回:
        The bytes for name.
      • hasCreateTime

        public boolean hasCreateTime()
         The creation timestamp of the resource.
         
        .google.protobuf.Timestamp create_time = 2;
        指定者:
        hasCreateTime 在接口中 MetadataOuterClass.MetadataOrBuilder
        返回:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         The creation timestamp of the resource.
         
        .google.protobuf.Timestamp create_time = 2;
        指定者:
        getCreateTime 在接口中 MetadataOuterClass.MetadataOrBuilder
        返回:
        The createTime.
      • getVersion

        public java.lang.String getVersion()
         Resource version. This is used to determine when resources change across
         resource updates. It should be treated as opaque by consumers/sinks.
         
        string version = 3;
        指定者:
        getVersion 在接口中 MetadataOuterClass.MetadataOrBuilder
        返回:
        The version.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         Resource version. This is used to determine when resources change across
         resource updates. It should be treated as opaque by consumers/sinks.
         
        string version = 3;
        指定者:
        getVersionBytes 在接口中 MetadataOuterClass.MetadataOrBuilder
        返回:
        The bytes for version.
      • internalGetLabels

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

        public boolean containsLabels​(java.lang.String key)
         Map of string keys and values that can be used to organize and categorize
         resources within a collection.
         
        map<string, string> labels = 4;
        指定者:
        containsLabels 在接口中 MetadataOuterClass.MetadataOrBuilder
      • getLabelsMap

        public java.util.Map<java.lang.String,​java.lang.String> getLabelsMap()
         Map of string keys and values that can be used to organize and categorize
         resources within a collection.
         
        map<string, string> labels = 4;
        指定者:
        getLabelsMap 在接口中 MetadataOuterClass.MetadataOrBuilder
      • getLabelsOrDefault

        public java.lang.String getLabelsOrDefault​(java.lang.String key,
                                                   java.lang.String defaultValue)
         Map of string keys and values that can be used to organize and categorize
         resources within a collection.
         
        map<string, string> labels = 4;
        指定者:
        getLabelsOrDefault 在接口中 MetadataOuterClass.MetadataOrBuilder
      • getLabelsOrThrow

        public java.lang.String getLabelsOrThrow​(java.lang.String key)
         Map of string keys and values that can be used to organize and categorize
         resources within a collection.
         
        map<string, string> labels = 4;
        指定者:
        getLabelsOrThrow 在接口中 MetadataOuterClass.MetadataOrBuilder
      • internalGetAnnotations

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

        public boolean containsAnnotations​(java.lang.String key)
         Map of string keys and values that can be used by source and sink to communicate
         arbitrary metadata about this resource.
         
        map<string, string> annotations = 5;
        指定者:
        containsAnnotations 在接口中 MetadataOuterClass.MetadataOrBuilder
      • getAnnotationsMap

        public java.util.Map<java.lang.String,​java.lang.String> getAnnotationsMap()
         Map of string keys and values that can be used by source and sink to communicate
         arbitrary metadata about this resource.
         
        map<string, string> annotations = 5;
        指定者:
        getAnnotationsMap 在接口中 MetadataOuterClass.MetadataOrBuilder
      • getAnnotationsOrDefault

        public java.lang.String getAnnotationsOrDefault​(java.lang.String key,
                                                        java.lang.String defaultValue)
         Map of string keys and values that can be used by source and sink to communicate
         arbitrary metadata about this resource.
         
        map<string, string> annotations = 5;
        指定者:
        getAnnotationsOrDefault 在接口中 MetadataOuterClass.MetadataOrBuilder
      • getAnnotationsOrThrow

        public java.lang.String getAnnotationsOrThrow​(java.lang.String key)
         Map of string keys and values that can be used by source and sink to communicate
         arbitrary metadata about this resource.
         
        map<string, string> annotations = 5;
        指定者:
        getAnnotationsOrThrow 在接口中 MetadataOuterClass.MetadataOrBuilder
      • 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 MetadataOuterClass.Metadata parseFrom​(java.nio.ByteBuffer data)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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