类 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- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static final classMetadata information that all resources within the Mesh Configuration Protocol must have.从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter 从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
字段概要
字段修饰符和类型字段说明static final intstatic final intstatic final intstatic final intstatic final int从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型方法说明booleanMap of string keys and values that can be used by source and sink to communicate arbitrary metadata about this resource.booleancontainsLabels(String key) Map of string keys and values that can be used to organize and categorize resources within a collection.boolean已过时。intMap 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.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 of string keys and values that can be used by source and sink to communicate arbitrary metadata about this resource.com.google.protobuf.TimestampThe creation timestamp of the resource.com.google.protobuf.TimestampOrBuilderThe creation timestamp of the resource.static MetadataOuterClass.Metadatastatic final com.google.protobuf.Descriptors.Descriptor已过时。intMap 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.getLabelsOrThrow(String key) Map of string keys and values that can be used to organize and categorize resources within a collection.getName()Fully qualified name of the resource.com.google.protobuf.ByteStringFully qualified name of the resource.com.google.protobuf.Parser<MetadataOuterClass.Metadata> intResource version.com.google.protobuf.ByteStringResource version.booleanThe creation timestamp of the resource.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(MetadataOuterClass.Metadata prototype) protected MetadataOuterClass.Metadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static MetadataOuterClass.MetadataparseDelimitedFrom(InputStream input) static MetadataOuterClass.MetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetadataOuterClass.MetadataparseFrom(byte[] data) static MetadataOuterClass.MetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetadataOuterClass.MetadataparseFrom(com.google.protobuf.ByteString data) static MetadataOuterClass.MetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetadataOuterClass.MetadataparseFrom(com.google.protobuf.CodedInputStream input) static MetadataOuterClass.MetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetadataOuterClass.MetadataparseFrom(InputStream input) static MetadataOuterClass.MetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetadataOuterClass.MetadataparseFrom(ByteBuffer data) static MetadataOuterClass.MetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MetadataOuterClass.Metadata> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) 从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTag从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString从类继承的方法 com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
字段详细资料
-
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
- 覆盖:
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
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; -
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.MetadataOrBuilderMap of string keys and values that can be used to organize and categorize resources within a collection.
map<string, string> labels = 4; -
containsLabels
Map of string keys and values that can be used to organize and categorize resources within a collection.
map<string, string> labels = 4; -
getLabels
已过时。UsegetLabelsMap()instead. -
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
Map of string keys and values that can be used to organize and categorize resources within a collection.
map<string, string> labels = 4; -
getLabelsOrThrow
Map of string keys and values that can be used to organize and categorize resources within a collection.
map<string, string> labels = 4; -
getAnnotationsCount
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; -
containsAnnotations
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
已过时。UsegetAnnotationsMap()instead. -
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
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
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; -
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
- 指定者:
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
- 指定者:
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
- 抛出:
IOException
-
parseFrom
public static MetadataOuterClass.Metadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
- 抛出:
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
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
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
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-