public static final class Metadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder> implements MetadataOrBuilder
Metadata information that all resources within the Mesh Configuration Protocol must have.Protobuf type
istio.mcp.v1alpha1.Metadata| 限定符和类型 | 字段和说明 |
|---|---|
private com.google.protobuf.MapField<java.lang.String,java.lang.String> |
annotations_ |
private int |
bitField0_ |
private com.google.protobuf.Timestamp |
createTime_ |
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.Object |
name_ |
private java.lang.Object |
version_ |
| 限定符 | 构造器和说明 |
|---|---|
private |
Builder() |
private |
Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
| 限定符和类型 | 方法和说明 |
|---|---|
Metadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Metadata |
build() |
Metadata |
buildPartial() |
Metadata.Builder |
clear() |
Metadata.Builder |
clearAnnotations() |
Metadata.Builder |
clearCreateTime()
The creation timestamp of the resource.
|
Metadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Metadata.Builder |
clearLabels() |
Metadata.Builder |
clearName()
Fully qualified name of the resource.
|
Metadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Metadata.Builder |
clearVersion()
Resource version.
|
Metadata.Builder |
clone() |
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.
|
boolean |
containsLabels(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()
已过时。
|
int |
getAnnotationsCount()
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.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.
|
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.
|
com.google.protobuf.Timestamp |
getCreateTime()
The creation timestamp of the resource.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
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.TimestampOrBuilder |
getCreateTimeOrBuilder()
The creation timestamp of the resource.
|
Metadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.util.Map<java.lang.String,java.lang.String> |
getLabels()
已过时。
|
int |
getLabelsCount()
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.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.
|
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.
|
java.util.Map<java.lang.String,java.lang.String> |
getMutableAnnotations()
已过时。
|
java.util.Map<java.lang.String,java.lang.String> |
getMutableLabels()
已过时。
|
java.lang.String |
getName()
Fully qualified name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Fully qualified name of the resource.
|
java.lang.String |
getVersion()
Resource version.
|
com.google.protobuf.ByteString |
getVersionBytes()
Resource version.
|
boolean |
hasCreateTime()
The creation timestamp of the resource.
|
private com.google.protobuf.MapField<java.lang.String,java.lang.String> |
internalGetAnnotations() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
private com.google.protobuf.MapField<java.lang.String,java.lang.String> |
internalGetLabels() |
protected com.google.protobuf.MapField |
internalGetMapField(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.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
private void |
maybeForceBuilderInitialization() |
Metadata.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
The creation timestamp of the resource.
|
Metadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Metadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
Metadata.Builder |
mergeFrom(Metadata other) |
Metadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
Metadata.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The creation timestamp of the resource.
|
Metadata.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
The creation timestamp of the resource.
|
Metadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Metadata.Builder |
setName(java.lang.String value)
Fully qualified name of the resource.
|
Metadata.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Fully qualified name of the resource.
|
Metadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Metadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Metadata.Builder |
setVersion(java.lang.String value)
Resource version.
|
Metadata.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
Resource version.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionprivate int bitField0_
private java.lang.Object name_
private com.google.protobuf.Timestamp createTime_
private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> createTimeBuilder_
private java.lang.Object version_
private com.google.protobuf.MapField<java.lang.String,java.lang.String> labels_
private com.google.protobuf.MapField<java.lang.String,java.lang.String> annotations_
private Builder()
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>private void maybeForceBuilderInitialization()
public Metadata.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic Metadata build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic Metadata buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic Metadata.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Metadata.Builder>public Metadata.Builder mergeFrom(Metadata other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Metadata.Builder>java.io.IOExceptionpublic 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 在接口中 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 在接口中 MetadataOrBuilderpublic 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.public 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;public 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.public boolean hasCreateTime()
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;hasCreateTime 在接口中 MetadataOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;getCreateTime 在接口中 MetadataOrBuilderpublic Metadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;public Metadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;public Metadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;public Metadata.Builder clearCreateTime()
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The creation timestamp of the resource.
.google.protobuf.Timestamp create_time = 2;getCreateTimeOrBuilder 在接口中 MetadataOrBuilderprivate 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;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 在接口中 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 在接口中 MetadataOrBuilderpublic 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.public 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;public 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.private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetLabels()
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetMutableLabels()
public int getLabelsCount()
MetadataOrBuilderMap of string keys and values that can be used to organize and categorize resources within a collection.
map<string, string> labels = 4;getLabelsCount 在接口中 MetadataOrBuilderpublic 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;containsLabels 在接口中 MetadataOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getLabels()
getLabelsMap() instead.getLabels 在接口中 MetadataOrBuilderpublic 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;getLabelsMap 在接口中 MetadataOrBuilderpublic 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;getLabelsOrDefault 在接口中 MetadataOrBuilderpublic 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;getLabelsOrThrow 在接口中 MetadataOrBuilderpublic Metadata.Builder clearLabels()
public 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;@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableLabels()
public 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;public 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;private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetAnnotations()
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetMutableAnnotations()
public int getAnnotationsCount()
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;getAnnotationsCount 在接口中 MetadataOrBuilderpublic 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;containsAnnotations 在接口中 MetadataOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getAnnotations()
getAnnotationsMap() instead.getAnnotations 在接口中 MetadataOrBuilderpublic 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;getAnnotationsMap 在接口中 MetadataOrBuilderpublic 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;getAnnotationsOrDefault 在接口中 MetadataOrBuilderpublic 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;getAnnotationsOrThrow 在接口中 MetadataOrBuilderpublic Metadata.Builder clearAnnotations()
public 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;@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableAnnotations()
public 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;public 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;public final Metadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public final Metadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>Copyright © 2018–2020 Alibaba Group. All rights reserved.