类 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,java.io.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 typeistio.mcp.v1alpha1.Metadata- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 private static classMetadataOuterClass.Metadata.AnnotationsDefaultEntryHolderstatic classMetadataOuterClass.Metadata.BuilderMetadata information that all resources within the Mesh Configuration Protocol must have.private static classMetadataOuterClass.Metadata.LabelsDefaultEntryHolder-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
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
-
-
字段概要
字段 修饰符和类型 字段 说明 private com.google.protobuf.MapField<java.lang.String,java.lang.String>annotations_static intANNOTATIONS_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERprivate com.google.protobuf.TimestampcreateTime_private static MetadataOuterClass.MetadataDEFAULT_INSTANCEprivate com.google.protobuf.MapField<java.lang.String,java.lang.String>labels_static intLABELS_FIELD_NUMBERprivate bytememoizedIsInitializedprivate java.lang.Objectname_static intNAME_FIELD_NUMBERprivate static com.google.protobuf.Parser<MetadataOuterClass.Metadata>PARSERprivate static longserialVersionUIDprivate java.lang.Objectversion_static intVERSION_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsAnnotations(java.lang.String key)Map of string keys and values that can be used by source and sink to communicate arbitrary metadata about this resource.booleancontainsLabels(java.lang.String key)Map of string keys and values that can be used to organize and categorize resources within a collection.booleanequals(java.lang.Object obj)java.util.Map<java.lang.String,java.lang.String>getAnnotations()已过时。intgetAnnotationsCount()Map of string keys and values that can be used by source and sink to communicate arbitrary metadata about this resource.java.util.Map<java.lang.String,java.lang.String>getAnnotationsMap()Map of string keys and values that can be used by source and sink to communicate arbitrary metadata about this resource.java.lang.StringgetAnnotationsOrDefault(java.lang.String key, java.lang.String defaultValue)Map of string keys and values that can be used by source and sink to communicate arbitrary metadata about this resource.java.lang.StringgetAnnotationsOrThrow(java.lang.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.TimestampgetCreateTime()The creation timestamp of the resource.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The creation timestamp of the resource.static MetadataOuterClass.MetadatagetDefaultInstance()MetadataOuterClass.MetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.util.Map<java.lang.String,java.lang.String>getLabels()已过时。intgetLabelsCount()Map of string keys and values that can be used to organize and categorize resources within a collection.java.util.Map<java.lang.String,java.lang.String>getLabelsMap()Map of string keys and values that can be used to organize and categorize resources within a collection.java.lang.StringgetLabelsOrDefault(java.lang.String key, java.lang.String defaultValue)Map of string keys and values that can be used to organize and categorize resources within a collection.java.lang.StringgetLabelsOrThrow(java.lang.String key)Map of string keys and values that can be used to organize and categorize resources within a collection.java.lang.StringgetName()Fully qualified name of the resource.com.google.protobuf.ByteStringgetNameBytes()Fully qualified name of the resource.com.google.protobuf.Parser<MetadataOuterClass.Metadata>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()java.lang.StringgetVersion()Resource version.com.google.protobuf.ByteStringgetVersionBytes()Resource version.booleanhasCreateTime()The creation timestamp of the resource.inthashCode()private com.google.protobuf.MapField<java.lang.String,java.lang.String>internalGetAnnotations()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()private com.google.protobuf.MapField<java.lang.String,java.lang.String>internalGetLabels()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static MetadataOuterClass.Metadata.BuildernewBuilder()static MetadataOuterClass.Metadata.BuildernewBuilder(MetadataOuterClass.Metadata prototype)MetadataOuterClass.Metadata.BuildernewBuilderForType()protected MetadataOuterClass.Metadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MetadataOuterClass.MetadataparseDelimitedFrom(java.io.InputStream input)static MetadataOuterClass.MetadataparseDelimitedFrom(java.io.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(java.io.InputStream input)static MetadataOuterClass.MetadataparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MetadataOuterClass.MetadataparseFrom(java.nio.ByteBuffer data)static MetadataOuterClass.MetadataparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MetadataOuterClass.Metadata>parser()MetadataOuterClass.Metadata.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
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, writeStringNoTag
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID
- 另请参阅:
- 常量字段值
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
name_
private volatile java.lang.Object name_
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
createTime_
private com.google.protobuf.Timestamp createTime_
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
version_
private volatile java.lang.Object version_
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
labels_
private com.google.protobuf.MapField<java.lang.String,java.lang.String> labels_
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
annotations_
private com.google.protobuf.MapField<java.lang.String,java.lang.String> annotations_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final MetadataOuterClass.Metadata DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<MetadataOuterClass.Metadata> PARSER
-
-
方法详细资料
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- 覆盖:
internalGetMapField在类中com.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getName
public java.lang.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;
-
getVersion
public java.lang.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.
-
internalGetLabels
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetLabels()
-
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
public boolean containsLabels(java.lang.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
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getLabels()
已过时。UsegetLabelsMap()instead.
-
getLabelsMap
public java.util.Map<java.lang.String,java.lang.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
public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.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
public java.lang.String getLabelsOrThrow(java.lang.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;
-
internalGetAnnotations
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetAnnotations()
-
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
public boolean containsAnnotations(java.lang.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 public java.util.Map<java.lang.String,java.lang.String> getAnnotations()
已过时。UsegetAnnotationsMap()instead.
-
getAnnotationsMap
public java.util.Map<java.lang.String,java.lang.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
public java.lang.String getAnnotationsOrDefault(java.lang.String key, java.lang.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
public java.lang.String getAnnotationsOrThrow(java.lang.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;
-
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 java.io.IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetadataOuterClass.Metadata parseFrom(java.nio.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(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static MetadataOuterClass.Metadata parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static MetadataOuterClass.Metadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static MetadataOuterClass.Metadata parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static MetadataOuterClass.Metadata parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static MetadataOuterClass.Metadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.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
public static MetadataOuterClass.Metadata.Builder newBuilder(MetadataOuterClass.Metadata prototype)
-
toBuilder
public MetadataOuterClass.Metadata.Builder 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
-
-