Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: metadata.proto
package com.alibaba.nacos.istio.model.mcp;
/**
*
* Metadata information that all resources within the Mesh Configuration Protocol must have.
*
*
* Protobuf type {@code istio.mcp.v1alpha1.Metadata}
*/
public final class Metadata extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:istio.mcp.v1alpha1.Metadata)
MetadataOrBuilder {
private static final long serialVersionUID = 0L;
// Use Metadata.newBuilder() to construct.
private Metadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Metadata() {
name_ = "";
version_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Metadata();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Metadata(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (createTime_ != null) {
subBuilder = createTime_.toBuilder();
}
createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(createTime_);
createTime_ = subBuilder.buildPartial();
}
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
version_ = s;
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
labels_ = com.google.protobuf.MapField.newMapField(
LabelsDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry
labels__ = input.readMessage(
LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
labels_.getMutableMap().put(
labels__.getKey(), labels__.getValue());
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
annotations_ = com.google.protobuf.MapField.newMapField(
AnnotationsDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000002;
}
com.google.protobuf.MapEntry
annotations__ = input.readMessage(
AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
annotations_.getMutableMap().put(
annotations__.getKey(), annotations__.getValue());
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alibaba.nacos.istio.model.mcp.MetadataOuterClass.internal_static_istio_mcp_v1alpha1_Metadata_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 4:
return internalGetLabels();
case 5:
return internalGetAnnotations();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.nacos.istio.model.mcp.MetadataOuterClass.internal_static_istio_mcp_v1alpha1_Metadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.nacos.istio.model.mcp.Metadata.class, com.alibaba.nacos.istio.model.mcp.Metadata.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
* 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;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* 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;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATE_TIME_FIELD_NUMBER = 2;
private com.google.protobuf.Timestamp createTime_;
/**
*
* The creation timestamp of the resource.
*
*
* .google.protobuf.Timestamp create_time = 2;
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTime_ != null;
}
/**
*
* Metadata information that all resources within the Mesh Configuration Protocol must have.
*
*
* Protobuf type {@code istio.mcp.v1alpha1.Metadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:istio.mcp.v1alpha1.Metadata)
com.alibaba.nacos.istio.model.mcp.MetadataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alibaba.nacos.istio.model.mcp.MetadataOuterClass.internal_static_istio_mcp_v1alpha1_Metadata_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 4:
return internalGetLabels();
case 5:
return internalGetAnnotations();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 4:
return internalGetMutableLabels();
case 5:
return internalGetMutableAnnotations();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.nacos.istio.model.mcp.MetadataOuterClass.internal_static_istio_mcp_v1alpha1_Metadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.nacos.istio.model.mcp.Metadata.class, com.alibaba.nacos.istio.model.mcp.Metadata.Builder.class);
}
// Construct using com.alibaba.nacos.istio.model.mcp.Metadata.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
name_ = "";
if (createTimeBuilder_ == null) {
createTime_ = null;
} else {
createTime_ = null;
createTimeBuilder_ = null;
}
version_ = "";
internalGetMutableLabels().clear();
internalGetMutableAnnotations().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.alibaba.nacos.istio.model.mcp.MetadataOuterClass.internal_static_istio_mcp_v1alpha1_Metadata_descriptor;
}
@java.lang.Override
public com.alibaba.nacos.istio.model.mcp.Metadata getDefaultInstanceForType() {
return com.alibaba.nacos.istio.model.mcp.Metadata.getDefaultInstance();
}
@java.lang.Override
public com.alibaba.nacos.istio.model.mcp.Metadata build() {
com.alibaba.nacos.istio.model.mcp.Metadata result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.alibaba.nacos.istio.model.mcp.Metadata buildPartial() {
com.alibaba.nacos.istio.model.mcp.Metadata result = new com.alibaba.nacos.istio.model.mcp.Metadata(this);
int from_bitField0_ = bitField0_;
result.name_ = name_;
if (createTimeBuilder_ == null) {
result.createTime_ = createTime_;
} else {
result.createTime_ = createTimeBuilder_.build();
}
result.version_ = version_;
result.labels_ = internalGetLabels();
result.labels_.makeImmutable();
result.annotations_ = internalGetAnnotations();
result.annotations_.makeImmutable();
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.alibaba.nacos.istio.model.mcp.Metadata) {
return mergeFrom((com.alibaba.nacos.istio.model.mcp.Metadata)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.alibaba.nacos.istio.model.mcp.Metadata other) {
if (other == com.alibaba.nacos.istio.model.mcp.Metadata.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (other.hasCreateTime()) {
mergeCreateTime(other.getCreateTime());
}
if (!other.getVersion().isEmpty()) {
version_ = other.version_;
onChanged();
}
internalGetMutableLabels().mergeFrom(
other.internalGetLabels());
internalGetMutableAnnotations().mergeFrom(
other.internalGetAnnotations());
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.alibaba.nacos.istio.model.mcp.Metadata parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.alibaba.nacos.istio.model.mcp.Metadata) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
*
* 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;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 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;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 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;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* 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;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* 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;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
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_;
/**
*
* The creation timestamp of the resource.
*
*
* .google.protobuf.Timestamp create_time = 2;
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
}
/**
*
* 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;
* @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
version_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 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;
* @return The bytes for version.
*/
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 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;
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
return this;
}
/**
*
* 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;
* @return This builder for chaining.
*/
public Builder clearVersion() {
version_ = getDefaultInstance().getVersion();
onChanged();
return this;
}
/**
*
* 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;
* @param value The bytes for version to set.
* @return This builder for chaining.
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
version_ = value;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> labels_;
private com.google.protobuf.MapField
internalGetLabels() {
if (labels_ == null) {
return com.google.protobuf.MapField.emptyMapField(
LabelsDefaultEntryHolder.defaultEntry);
}
return labels_;
}
private com.google.protobuf.MapField
internalGetMutableLabels() {
onChanged();;
if (labels_ == null) {
labels_ = com.google.protobuf.MapField.newMapField(
LabelsDefaultEntryHolder.defaultEntry);
}
if (!labels_.isMutable()) {
labels_ = labels_.copy();
}
return labels_;
}
public int getLabelsCount() {
return internalGetLabels().getMap().size();
}
/**
*
* Map of string keys and values that can be used to organize and categorize
* resources within a collection.
*
*
* map<string, string> labels = 4;
*/
public boolean containsLabels(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
return internalGetLabels().getMap().containsKey(key);
}
/**
* Use {@link #getLabelsMap()} instead.
*/
@java.lang.Deprecated
public java.util.Map getLabels() {
return getLabelsMap();
}
/**
*
* Map of string keys and values that can be used to organize and categorize
* resources within a collection.
*