接口 MetadataOuterClass.MetadataOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
MetadataOuterClass.Metadata, MetadataOuterClass.Metadata.Builder
封闭类:
MetadataOuterClass

public static interface MetadataOuterClass.MetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    Map of string keys and values that can be used by source and sink to communicate arbitrary metadata about this resource.
    boolean
    Map of string keys and values that can be used to organize and categorize resources within a collection.
    已过时。
    int
    Map of string keys and values that can be used by source and sink to communicate arbitrary metadata about this resource.
    Map of string keys and values that can be used by source and sink to communicate arbitrary metadata about this resource.
    Map of string keys and values that can be used by source and sink to communicate arbitrary metadata about this resource.
    Map of string keys and values that can be used by source and sink to communicate arbitrary metadata about this resource.
    com.google.protobuf.Timestamp
    The creation timestamp of the resource.
    com.google.protobuf.TimestampOrBuilder
    The creation timestamp of the resource.
    已过时。
    int
    Map of string keys and values that can be used to organize and categorize resources within a collection.
    Map of string keys and values that can be used to organize and categorize resources within a collection.
    getLabelsOrDefault(String key, String defaultValue)
    Map of string keys and values that can be used to organize and categorize resources within a collection.
    Map of string keys and values that can be used to organize and categorize resources within a collection.
    Fully qualified name of the resource.
    com.google.protobuf.ByteString
    Fully qualified name of the resource.
    Resource version.
    com.google.protobuf.ByteString
    Resource version.
    boolean
    The creation timestamp of the resource.

    从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    从接口继承的方法 com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 方法详细资料

    • getName

      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;
      返回:
      The name.
    • getNameBytes

      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;
      返回:
      The bytes for name.
    • hasCreateTime

      boolean hasCreateTime()
       The creation timestamp of the resource.
       
      .google.protobuf.Timestamp create_time = 2;
      返回:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       The creation timestamp of the resource.
       
      .google.protobuf.Timestamp create_time = 2;
      返回:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       The creation timestamp of the resource.
       
      .google.protobuf.Timestamp create_time = 2;
    • getVersion

      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;
      返回:
      The version.
    • getVersionBytes

      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;
      返回:
      The bytes for version.
    • getLabelsCount

      int getLabelsCount()
       Map of string keys and values that can be used to organize and categorize
       resources within a collection.
       
      map<string, string> labels = 4;
    • containsLabels

      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;
    • getLabels

      已过时。
      Use getLabelsMap() instead.
    • getLabelsMap

      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;
    • getLabelsOrDefault

      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;
    • getLabelsOrThrow

      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;
    • getAnnotationsCount

      int getAnnotationsCount()
       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

      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;
    • getAnnotations

      @Deprecated Map<String,String> getAnnotations()
      已过时。
      Use getAnnotationsMap() instead.
    • getAnnotationsMap

      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;
    • getAnnotationsOrDefault

      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;
    • getAnnotationsOrThrow

      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;