类 MetadataOuterClass.Metadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
-
- istio.mcp.v1alpha1.MetadataOuterClass.Metadata.Builder
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MetadataOuterClass.MetadataOrBuilder,java.lang.Cloneable
public static final class MetadataOuterClass.Metadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder> implements MetadataOuterClass.MetadataOrBuilder
Metadata information that all resources within the Mesh Configuration Protocol must have.
Protobuf typeistio.mcp.v1alpha1.Metadata
-
-
字段概要
字段 修饰符和类型 字段 说明 private com.google.protobuf.MapField<java.lang.String,java.lang.String>annotations_private intbitField0_private com.google.protobuf.TimestampcreateTime_private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>createTimeBuilder_private com.google.protobuf.MapField<java.lang.String,java.lang.String>labels_private java.lang.Objectname_private java.lang.Objectversion_
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 MetadataOuterClass.Metadata.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)MetadataOuterClass.Metadatabuild()MetadataOuterClass.MetadatabuildPartial()MetadataOuterClass.Metadata.Builderclear()MetadataOuterClass.Metadata.BuilderclearAnnotations()MetadataOuterClass.Metadata.BuilderclearCreateTime()The creation timestamp of the resource.MetadataOuterClass.Metadata.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MetadataOuterClass.Metadata.BuilderclearLabels()MetadataOuterClass.Metadata.BuilderclearName()Fully qualified name of the resource.MetadataOuterClass.Metadata.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MetadataOuterClass.Metadata.BuilderclearVersion()Resource version.MetadataOuterClass.Metadata.Builderclone()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.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.Timestamp.BuildergetCreateTimeBuilder()The creation timestamp of the resource.private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>getCreateTimeFieldBuilder()The creation timestamp of the resource.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The creation timestamp of the resource.MetadataOuterClass.MetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.util.Map<java.lang.String,java.lang.String>getMutableAnnotations()已过时。java.util.Map<java.lang.String,java.lang.String>getMutableLabels()已过时。java.lang.StringgetName()Fully qualified name of the resource.com.google.protobuf.ByteStringgetNameBytes()Fully qualified name of the resource.java.lang.StringgetVersion()Resource version.com.google.protobuf.ByteStringgetVersionBytes()Resource version.booleanhasCreateTime()The creation timestamp of the resource.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)private com.google.protobuf.MapField<java.lang.String,java.lang.String>internalGetMutableAnnotations()private com.google.protobuf.MapField<java.lang.String,java.lang.String>internalGetMutableLabels()protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()MetadataOuterClass.Metadata.BuildermergeCreateTime(com.google.protobuf.Timestamp value)The creation timestamp of the resource.MetadataOuterClass.Metadata.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MetadataOuterClass.Metadata.BuildermergeFrom(com.google.protobuf.Message other)MetadataOuterClass.Metadata.BuildermergeFrom(MetadataOuterClass.Metadata other)MetadataOuterClass.Metadata.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MetadataOuterClass.Metadata.BuilderputAllAnnotations(java.util.Map<java.lang.String,java.lang.String> values)Map of string keys and values that can be used by source and sink to communicate arbitrary metadata about this resource.MetadataOuterClass.Metadata.BuilderputAllLabels(java.util.Map<java.lang.String,java.lang.String> values)Map of string keys and values that can be used to organize and categorize resources within a collection.MetadataOuterClass.Metadata.BuilderputAnnotations(java.lang.String key, java.lang.String value)Map of string keys and values that can be used by source and sink to communicate arbitrary metadata about this resource.MetadataOuterClass.Metadata.BuilderputLabels(java.lang.String key, java.lang.String value)Map of string keys and values that can be used to organize and categorize resources within a collection.MetadataOuterClass.Metadata.BuilderremoveAnnotations(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.MetadataOuterClass.Metadata.BuilderremoveLabels(java.lang.String key)Map of string keys and values that can be used to organize and categorize resources within a collection.MetadataOuterClass.Metadata.BuildersetCreateTime(com.google.protobuf.Timestamp value)The creation timestamp of the resource.MetadataOuterClass.Metadata.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)The creation timestamp of the resource.MetadataOuterClass.Metadata.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)MetadataOuterClass.Metadata.BuildersetName(java.lang.String value)Fully qualified name of the resource.MetadataOuterClass.Metadata.BuildersetNameBytes(com.google.protobuf.ByteString value)Fully qualified name of the resource.MetadataOuterClass.Metadata.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)MetadataOuterClass.Metadata.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MetadataOuterClass.Metadata.BuildersetVersion(java.lang.String value)Resource version.MetadataOuterClass.Metadata.BuildersetVersionBytes(com.google.protobuf.ByteString value)Resource version.-
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
-
-
-
字段详细资料
-
bitField0_
private int bitField0_
-
name_
private java.lang.Object name_
-
createTime_
private com.google.protobuf.Timestamp createTime_
-
createTimeBuilder_
private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> createTimeBuilder_
-
version_
private java.lang.Object version_
-
labels_
private com.google.protobuf.MapField<java.lang.String,java.lang.String> labels_
-
annotations_
private com.google.protobuf.MapField<java.lang.String,java.lang.String> annotations_
-
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- 覆盖:
internalGetMapField在类中com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- 覆盖:
internalGetMutableMapField在类中com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
-
clear
public MetadataOuterClass.Metadata.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
-
getDefaultInstanceForType
public MetadataOuterClass.Metadata getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public MetadataOuterClass.Metadata build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public MetadataOuterClass.Metadata buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public MetadataOuterClass.Metadata.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
-
setField
public MetadataOuterClass.Metadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
-
clearField
public MetadataOuterClass.Metadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
-
clearOneof
public MetadataOuterClass.Metadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
-
setRepeatedField
public MetadataOuterClass.Metadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
-
addRepeatedField
public MetadataOuterClass.Metadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
-
mergeFrom
public MetadataOuterClass.Metadata.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<MetadataOuterClass.Metadata.Builder>
-
mergeFrom
public MetadataOuterClass.Metadata.Builder mergeFrom(MetadataOuterClass.Metadata other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
-
mergeFrom
public MetadataOuterClass.Metadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<MetadataOuterClass.Metadata.Builder>- 抛出:
java.io.IOException
-
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.
-
setName
public MetadataOuterClass.Metadata.Builder setName(java.lang.String value)
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;- 参数:
value- The name to set.- 返回:
- This builder for chaining.
-
clearName
public MetadataOuterClass.Metadata.Builder clearName()
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;- 返回:
- This builder for chaining.
-
setNameBytes
public MetadataOuterClass.Metadata.Builder setNameBytes(com.google.protobuf.ByteString value)
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;- 参数:
value- The bytes for name to set.- 返回:
- This builder for chaining.
-
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.
-
setCreateTime
public MetadataOuterClass.Metadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;
-
setCreateTime
public MetadataOuterClass.Metadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;
-
mergeCreateTime
public MetadataOuterClass.Metadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;
-
clearCreateTime
public MetadataOuterClass.Metadata.Builder clearCreateTime()
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;
-
getCreateTimeFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder()
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.
-
setVersion
public MetadataOuterClass.Metadata.Builder setVersion(java.lang.String value)
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;- 参数:
value- The version to set.- 返回:
- This builder for chaining.
-
clearVersion
public MetadataOuterClass.Metadata.Builder clearVersion()
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;- 返回:
- This builder for chaining.
-
setVersionBytes
public MetadataOuterClass.Metadata.Builder setVersionBytes(com.google.protobuf.ByteString value)
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;- 参数:
value- The bytes for version to set.- 返回:
- This builder for chaining.
-
internalGetLabels
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetLabels()
-
internalGetMutableLabels
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetMutableLabels()
-
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;
-
clearLabels
public MetadataOuterClass.Metadata.Builder clearLabels()
-
removeLabels
public MetadataOuterClass.Metadata.Builder removeLabels(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;
-
getMutableLabels
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableLabels()
已过时。Use alternate mutation accessors instead.
-
putLabels
public MetadataOuterClass.Metadata.Builder putLabels(java.lang.String key, java.lang.String value)
Map of string keys and values that can be used to organize and categorize resources within a collection.
map<string, string> labels = 4;
-
putAllLabels
public MetadataOuterClass.Metadata.Builder putAllLabels(java.util.Map<java.lang.String,java.lang.String> values)
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()
-
internalGetMutableAnnotations
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetMutableAnnotations()
-
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;
-
clearAnnotations
public MetadataOuterClass.Metadata.Builder clearAnnotations()
-
removeAnnotations
public MetadataOuterClass.Metadata.Builder removeAnnotations(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;
-
getMutableAnnotations
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableAnnotations()
已过时。Use alternate mutation accessors instead.
-
putAnnotations
public MetadataOuterClass.Metadata.Builder putAnnotations(java.lang.String key, java.lang.String value)
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;
-
putAllAnnotations
public MetadataOuterClass.Metadata.Builder putAllAnnotations(java.util.Map<java.lang.String,java.lang.String> values)
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;
-
setUnknownFields
public final MetadataOuterClass.Metadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
-
mergeUnknownFields
public final MetadataOuterClass.Metadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
-
-