类 MetadataOuterClass.Metadata

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

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      另请参阅:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      另请参阅:
    • VERSION_FIELD_NUMBER

      public static final int VERSION_FIELD_NUMBER
      另请参阅:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      另请参阅:
    • ANNOTATIONS_FIELD_NUMBER

      public static final int ANNOTATIONS_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
    • getName

      public 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.
    • getCreateTimeOrBuilder

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

      public 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.
    • getLabelsCount

      public int getLabelsCount()
      从接口复制的说明: MetadataOuterClass.MetadataOrBuilder
       Map of string keys and values that can be used to organize and categorize
       resources within a collection.
       
      map<string, string> labels = 4;
      指定者:
      getLabelsCount 在接口中 MetadataOuterClass.MetadataOrBuilder
    • containsLabels

      public boolean containsLabels(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
    • getLabels

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

      public Map<String,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 String getLabelsOrDefault(String key, 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 String getLabelsOrThrow(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
    • getAnnotationsCount

      public int getAnnotationsCount()
      从接口复制的说明: MetadataOuterClass.MetadataOrBuilder
       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;
      指定者:
      getAnnotationsCount 在接口中 MetadataOuterClass.MetadataOrBuilder
    • containsAnnotations

      public boolean containsAnnotations(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
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      已过时。
      Use getAnnotationsMap() instead.
      指定者:
      getAnnotations 在接口中 MetadataOuterClass.MetadataOrBuilder
    • getAnnotationsMap

      public Map<String,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 String getAnnotationsOrDefault(String key, 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 String getAnnotationsOrThrow(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 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 MetadataOuterClass.Metadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

      public static MetadataOuterClass.Metadata.Builder newBuilder()
    • newBuilder

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

      public static MetadataOuterClass.Metadata getDefaultInstance()
    • parser

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