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.
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/monitored_resource.proto
package org.apache.rocketmq.shaded.com.google.api;
/**
*
*
*
* Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object.
* [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to
* uniquely identify a monitored resource instance. There is some other useful
* auxiliary metadata. Monitoring and Logging use an ingestion
* pipeline to extract metadata for cloud resources of all types, and store
* the metadata in this message.
*
*
* Protobuf type {@code google.api.MonitoredResourceMetadata}
*/
public final class MonitoredResourceMetadata extends org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.api.MonitoredResourceMetadata)
MonitoredResourceMetadataOrBuilder {
private static final long serialVersionUID = 0L;
// Use MonitoredResourceMetadata.newBuilder() to construct.
private MonitoredResourceMetadata(org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private MonitoredResourceMetadata() {}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new MonitoredResourceMetadata();
}
@java.lang.Override
public final org.apache.rocketmq.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private MonitoredResourceMetadata(
org.apache.rocketmq.shaded.com.google.protobuf.CodedInputStream input,
org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.apache.rocketmq.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.apache.rocketmq.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10:
{
org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder subBuilder = null;
if (systemLabels_ != null) {
subBuilder = systemLabels_.toBuilder();
}
systemLabels_ =
input.readMessage(org.apache.rocketmq.shaded.com.google.protobuf.Struct.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(systemLabels_);
systemLabels_ = subBuilder.buildPartial();
}
break;
}
case 18:
{
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
userLabels_ =
org.apache.rocketmq.shaded.com.google.protobuf.MapField.newMapField(
UserLabelsDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000001;
}
org.apache.rocketmq.shaded.com.google.protobuf.MapEntry userLabels__ =
input.readMessage(
UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
extensionRegistry);
userLabels_.getMutableMap().put(userLabels__.getKey(), userLabels__.getValue());
break;
}
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (org.apache.rocketmq.shaded.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return org.apache.rocketmq.shaded.com.google.api.MonitoredResourceProto
.internal_static_google_api_MonitoredResourceMetadata_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected org.apache.rocketmq.shaded.com.google.protobuf.MapField internalGetMapField(int number) {
switch (number) {
case 2:
return internalGetUserLabels();
default:
throw new RuntimeException("Invalid map field number: " + number);
}
}
@java.lang.Override
protected org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.rocketmq.shaded.com.google.api.MonitoredResourceProto
.internal_static_google_api_MonitoredResourceMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata.class,
org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata.Builder.class);
}
public static final int SYSTEM_LABELS_FIELD_NUMBER = 1;
private org.apache.rocketmq.shaded.com.google.protobuf.Struct systemLabels_;
/**
*
*
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google, including
* "machine_image", "vpc", "subnet_id",
* "security_group", "name", etc.
* System label values can be only strings, Boolean values, or a list of
* strings. For example:
* { "name": "my-test-instance",
* "security_group": ["a", "b", "c"],
* "spot_instance": false }
*
*
* .google.protobuf.Struct system_labels = 1;
*
* @return Whether the systemLabels field is set.
*/
@java.lang.Override
public boolean hasSystemLabels() {
return systemLabels_ != null;
}
/**
*
*
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google, including
* "machine_image", "vpc", "subnet_id",
* "security_group", "name", etc.
* System label values can be only strings, Boolean values, or a list of
* strings. For example:
* { "name": "my-test-instance",
* "security_group": ["a", "b", "c"],
* "spot_instance": false }
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google, including
* "machine_image", "vpc", "subnet_id",
* "security_group", "name", etc.
* System label values can be only strings, Boolean values, or a list of
* strings. For example:
* { "name": "my-test-instance",
* "security_group": ["a", "b", "c"],
* "spot_instance": false }
*
*
* .google.protobuf.Struct system_labels = 1;
*/
@java.lang.Override
public org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder getSystemLabelsOrBuilder() {
return getSystemLabels();
}
public static final int USER_LABELS_FIELD_NUMBER = 2;
private static final class UserLabelsDefaultEntryHolder {
static final org.apache.rocketmq.shaded.com.google.protobuf.MapEntry defaultEntry =
org.apache.rocketmq.shaded.com.google.protobuf.MapEntry.newDefaultInstance(
org.apache.rocketmq.shaded.com.google.api.MonitoredResourceProto
.internal_static_google_api_MonitoredResourceMetadata_UserLabelsEntry_descriptor,
org.apache.rocketmq.shaded.com.google.protobuf.WireFormat.FieldType.STRING,
"",
org.apache.rocketmq.shaded.com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
private org.apache.rocketmq.shaded.com.google.protobuf.MapField userLabels_;
private org.apache.rocketmq.shaded.com.google.protobuf.MapField internalGetUserLabels() {
if (userLabels_ == null) {
return org.apache.rocketmq.shaded.com.google.protobuf.MapField.emptyMapField(UserLabelsDefaultEntryHolder.defaultEntry);
}
return userLabels_;
}
public int getUserLabelsCount() {
return internalGetUserLabels().getMap().size();
}
/**
*
*
*
* Output only. A map of user-defined metadata labels.
*
*
* map<string, string> user_labels = 2;
*/
@java.lang.Override
public boolean containsUserLabels(java.lang.String key) {
if (key == null) {
throw new NullPointerException("map key");
}
return internalGetUserLabels().getMap().containsKey(key);
}
/** Use {@link #getUserLabelsMap()} instead. */
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getUserLabels() {
return getUserLabelsMap();
}
/**
*
*
*
* Output only. A map of user-defined metadata labels.
*
* Output only. A map of user-defined metadata labels.
*
*
* map<string, string> user_labels = 2;
*/
@java.lang.Override
public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
if (key == null) {
throw new NullPointerException("map key");
}
java.util.Map map = internalGetUserLabels().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.rocketmq.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (systemLabels_ != null) {
output.writeMessage(1, getSystemLabels());
}
org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
output, internalGetUserLabels(), UserLabelsDefaultEntryHolder.defaultEntry, 2);
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (systemLabels_ != null) {
size += org.apache.rocketmq.shaded.com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSystemLabels());
}
for (java.util.Map.Entry entry :
internalGetUserLabels().getMap().entrySet()) {
org.apache.rocketmq.shaded.com.google.protobuf.MapEntry userLabels__ =
UserLabelsDefaultEntryHolder.defaultEntry
.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += org.apache.rocketmq.shaded.com.google.protobuf.CodedOutputStream.computeMessageSize(2, userLabels__);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata)) {
return super.equals(obj);
}
org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata other = (org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata) obj;
if (hasSystemLabels() != other.hasSystemLabels()) return false;
if (hasSystemLabels()) {
if (!getSystemLabels().equals(other.getSystemLabels())) return false;
}
if (!internalGetUserLabels().equals(other.internalGetUserLabels())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSystemLabels()) {
hash = (37 * hash) + SYSTEM_LABELS_FIELD_NUMBER;
hash = (53 * hash) + getSystemLabels().hashCode();
}
if (!internalGetUserLabels().getMap().isEmpty()) {
hash = (37 * hash) + USER_LABELS_FIELD_NUMBER;
hash = (53 * hash) + internalGetUserLabels().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata parseFrom(java.nio.ByteBuffer data)
throws org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata parseFrom(
java.nio.ByteBuffer data, org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata parseFrom(
org.apache.rocketmq.shaded.com.google.protobuf.ByteString data)
throws org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata parseFrom(
org.apache.rocketmq.shaded.com.google.protobuf.ByteString data,
org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata parseFrom(byte[] data)
throws org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata parseFrom(
byte[] data, org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata parseFrom(
java.io.InputStream input, org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
return org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata parseDelimitedFrom(
java.io.InputStream input, org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata parseFrom(
org.apache.rocketmq.shaded.com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata parseFrom(
org.apache.rocketmq.shaded.com.google.protobuf.CodedInputStream input,
org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
*
*
* Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object.
* [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to
* uniquely identify a monitored resource instance. There is some other useful
* auxiliary metadata. Monitoring and Logging use an ingestion
* pipeline to extract metadata for cloud resources of all types, and store
* the metadata in this message.
*
*
* Protobuf type {@code google.api.MonitoredResourceMetadata}
*/
public static final class Builder extends org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.Builder
implements
// @@protoc_insertion_point(builder_implements:google.api.MonitoredResourceMetadata)
org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadataOrBuilder {
public static final org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return org.apache.rocketmq.shaded.com.google.api.MonitoredResourceProto
.internal_static_google_api_MonitoredResourceMetadata_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected org.apache.rocketmq.shaded.com.google.protobuf.MapField internalGetMapField(int number) {
switch (number) {
case 2:
return internalGetUserLabels();
default:
throw new RuntimeException("Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected org.apache.rocketmq.shaded.com.google.protobuf.MapField internalGetMutableMapField(int number) {
switch (number) {
case 2:
return internalGetMutableUserLabels();
default:
throw new RuntimeException("Invalid map field number: " + number);
}
}
@java.lang.Override
protected org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.rocketmq.shaded.com.google.api.MonitoredResourceProto
.internal_static_google_api_MonitoredResourceMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata.class,
org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata.Builder.class);
}
// Construct using org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (systemLabelsBuilder_ == null) {
systemLabels_ = null;
} else {
systemLabels_ = null;
systemLabelsBuilder_ = null;
}
internalGetMutableUserLabels().clear();
return this;
}
@java.lang.Override
public org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return org.apache.rocketmq.shaded.com.google.api.MonitoredResourceProto
.internal_static_google_api_MonitoredResourceMetadata_descriptor;
}
@java.lang.Override
public org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata getDefaultInstanceForType() {
return org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata.getDefaultInstance();
}
@java.lang.Override
public org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata build() {
org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata buildPartial() {
org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata result =
new org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata(this);
int from_bitField0_ = bitField0_;
if (systemLabelsBuilder_ == null) {
result.systemLabels_ = systemLabels_;
} else {
result.systemLabels_ = systemLabelsBuilder_.build();
}
result.userLabels_ = internalGetUserLabels();
result.userLabels_.makeImmutable();
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.rocketmq.shaded.com.google.protobuf.Message other) {
if (other instanceof org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata) {
return mergeFrom((org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata other) {
if (other == org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata.getDefaultInstance()) return this;
if (other.hasSystemLabels()) {
mergeSystemLabels(other.getSystemLabels());
}
internalGetMutableUserLabels().mergeFrom(other.internalGetUserLabels());
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.rocketmq.shaded.com.google.protobuf.CodedInputStream input,
org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.rocketmq.shaded.com.google.api.MonitoredResourceMetadata) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.apache.rocketmq.shaded.com.google.protobuf.Struct systemLabels_;
private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.apache.rocketmq.shaded.com.google.protobuf.Struct,
org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder,
org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder>
systemLabelsBuilder_;
/**
*
*
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google, including
* "machine_image", "vpc", "subnet_id",
* "security_group", "name", etc.
* System label values can be only strings, Boolean values, or a list of
* strings. For example:
* { "name": "my-test-instance",
* "security_group": ["a", "b", "c"],
* "spot_instance": false }
*
*
* .google.protobuf.Struct system_labels = 1;
*
* @return Whether the systemLabels field is set.
*/
public boolean hasSystemLabels() {
return systemLabelsBuilder_ != null || systemLabels_ != null;
}
/**
*
*
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google, including
* "machine_image", "vpc", "subnet_id",
* "security_group", "name", etc.
* System label values can be only strings, Boolean values, or a list of
* strings. For example:
* { "name": "my-test-instance",
* "security_group": ["a", "b", "c"],
* "spot_instance": false }
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google, including
* "machine_image", "vpc", "subnet_id",
* "security_group", "name", etc.
* System label values can be only strings, Boolean values, or a list of
* strings. For example:
* { "name": "my-test-instance",
* "security_group": ["a", "b", "c"],
* "spot_instance": false }
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google, including
* "machine_image", "vpc", "subnet_id",
* "security_group", "name", etc.
* System label values can be only strings, Boolean values, or a list of
* strings. For example:
* { "name": "my-test-instance",
* "security_group": ["a", "b", "c"],
* "spot_instance": false }
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google, including
* "machine_image", "vpc", "subnet_id",
* "security_group", "name", etc.
* System label values can be only strings, Boolean values, or a list of
* strings. For example:
* { "name": "my-test-instance",
* "security_group": ["a", "b", "c"],
* "spot_instance": false }
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google, including
* "machine_image", "vpc", "subnet_id",
* "security_group", "name", etc.
* System label values can be only strings, Boolean values, or a list of
* strings. For example:
* { "name": "my-test-instance",
* "security_group": ["a", "b", "c"],
* "spot_instance": false }
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google, including
* "machine_image", "vpc", "subnet_id",
* "security_group", "name", etc.
* System label values can be only strings, Boolean values, or a list of
* strings. For example:
* { "name": "my-test-instance",
* "security_group": ["a", "b", "c"],
* "spot_instance": false }
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google, including
* "machine_image", "vpc", "subnet_id",
* "security_group", "name", etc.
* System label values can be only strings, Boolean values, or a list of
* strings. For example:
* { "name": "my-test-instance",
* "security_group": ["a", "b", "c"],
* "spot_instance": false }
*
* Output only. Values for predefined system metadata labels.
* System labels are a kind of metadata extracted by Google, including
* "machine_image", "vpc", "subnet_id",
* "security_group", "name", etc.
* System label values can be only strings, Boolean values, or a list of
* strings. For example:
* { "name": "my-test-instance",
* "security_group": ["a", "b", "c"],
* "spot_instance": false }
*