public static interface MetadataOuterClass.MetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
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> |
getAnnotations()
已过时。
|
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> |
getAnnotationsMap()
Map of string keys and values that can be used by source and sink to communicate
arbitrary metadata about this resource.
|
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.
|
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.
|
com.google.protobuf.Timestamp |
getCreateTime()
The creation timestamp of the resource.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The creation timestamp of the resource.
|
Map<String,String> |
getLabels()
已过时。
|
int |
getLabelsCount()
Map of string keys and values that can be used to organize and categorize
resources within a collection.
|
Map<String,String> |
getLabelsMap()
Map of string keys and values that can be used to organize and categorize
resources within a collection.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Map of string keys and values that can be used to organize and categorize
resources within a collection.
|
String |
getLabelsOrThrow(String key)
Map of string keys and values that can be used to organize and categorize
resources within a collection.
|
String |
getName()
Fully qualified name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Fully qualified name of the resource.
|
String |
getVersion()
Resource version.
|
com.google.protobuf.ByteString |
getVersionBytes()
Resource version.
|
boolean |
hasCreateTime()
The creation timestamp of the resource.
|
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;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;boolean hasCreateTime()
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;com.google.protobuf.Timestamp getCreateTime()
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;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;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;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;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;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.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;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;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;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;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;@Deprecated Map<String,String> getAnnotations()
getAnnotationsMap() instead.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;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;Copyright © 2018–2023 Alibaba Group. All rights reserved.