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| 限定符和类型 | 类和说明 |
|---|---|
static class |
MetadataOuterClass.Metadata.Builder
Metadata information that all resources within the Mesh Configuration Protocol must have.
|
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| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ANNOTATIONS_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
boolean |
equals(Object obj) |
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.
|
static MetadataOuterClass.Metadata |
getDefaultInstance() |
MetadataOuterClass.Metadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<MetadataOuterClass.Metadata> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVersion()
Resource version.
|
com.google.protobuf.ByteString |
getVersionBytes()
Resource version.
|
boolean |
hasCreateTime()
The creation timestamp of the resource.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static MetadataOuterClass.Metadata.Builder |
newBuilder() |
static MetadataOuterClass.Metadata.Builder |
newBuilder(MetadataOuterClass.Metadata prototype) |
MetadataOuterClass.Metadata.Builder |
newBuilderForType() |
protected MetadataOuterClass.Metadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MetadataOuterClass.Metadata |
parseDelimitedFrom(InputStream input) |
static MetadataOuterClass.Metadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetadataOuterClass.Metadata |
parseFrom(byte[] data) |
static MetadataOuterClass.Metadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetadataOuterClass.Metadata |
parseFrom(ByteBuffer data) |
static MetadataOuterClass.Metadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetadataOuterClass.Metadata |
parseFrom(com.google.protobuf.ByteString data) |
static MetadataOuterClass.Metadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetadataOuterClass.Metadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MetadataOuterClass.Metadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetadataOuterClass.Metadata |
parseFrom(InputStream input) |
static MetadataOuterClass.Metadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MetadataOuterClass.Metadata> |
parser() |
MetadataOuterClass.Metadata.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public 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.MetadataOrBuilderpublic 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.MetadataOrBuilderpublic boolean hasCreateTime()
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;hasCreateTime 在接口中 MetadataOuterClass.MetadataOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;getCreateTime 在接口中 MetadataOuterClass.MetadataOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;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.MetadataOrBuilderpublic 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.MetadataOrBuilderpublic int getLabelsCount()
MetadataOuterClass.MetadataOrBuilderMap of string keys and values that can be used to organize and categorize resources within a collection.
map<string, string> labels = 4;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;@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.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;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;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;public int getAnnotationsCount()
MetadataOuterClass.MetadataOrBuilderMap 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;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;@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.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;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;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;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static MetadataOuterClass.Metadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetadataOuterClass.Metadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetadataOuterClass.Metadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetadataOuterClass.Metadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetadataOuterClass.Metadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetadataOuterClass.Metadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetadataOuterClass.Metadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static MetadataOuterClass.Metadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MetadataOuterClass.Metadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MetadataOuterClass.Metadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MetadataOuterClass.Metadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MetadataOuterClass.Metadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MetadataOuterClass.Metadata.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static MetadataOuterClass.Metadata.Builder newBuilder()
public static MetadataOuterClass.Metadata.Builder newBuilder(MetadataOuterClass.Metadata prototype)
public MetadataOuterClass.Metadata.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected MetadataOuterClass.Metadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static MetadataOuterClass.Metadata getDefaultInstance()
public static com.google.protobuf.Parser<MetadataOuterClass.Metadata> parser()
public com.google.protobuf.Parser<MetadataOuterClass.Metadata> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public MetadataOuterClass.Metadata getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018–2023 Alibaba Group. All rights reserved.