public static final class StandardResourceMetadata.Builder extends GeneratedMessageV3.Builder<StandardResourceMetadata.Builder> implements StandardResourceMetadataOrBuilder
The standard metadata of a cloud resource.Protobuf type
google.cloud.asset.v1p1beta1.StandardResourceMetadata
Modifier and Type | Method and Description |
---|---|
StandardResourceMetadata.Builder |
addAdditionalAttributes(String value)
Additional searchable attributes of this resource.
|
StandardResourceMetadata.Builder |
addAdditionalAttributesBytes(ByteString value)
Additional searchable attributes of this resource.
|
StandardResourceMetadata.Builder |
addAllAdditionalAttributes(Iterable<String> values)
Additional searchable attributes of this resource.
|
StandardResourceMetadata.Builder |
addAllNetworkTags(Iterable<String> values)
Network tags associated with this resource.
|
StandardResourceMetadata.Builder |
addNetworkTags(String value)
Network tags associated with this resource.
|
StandardResourceMetadata.Builder |
addNetworkTagsBytes(ByteString value)
Network tags associated with this resource.
|
StandardResourceMetadata.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
StandardResourceMetadata |
build() |
StandardResourceMetadata |
buildPartial() |
StandardResourceMetadata.Builder |
clear() |
StandardResourceMetadata.Builder |
clearAdditionalAttributes()
Additional searchable attributes of this resource.
|
StandardResourceMetadata.Builder |
clearAssetType()
The type of this resource.
|
StandardResourceMetadata.Builder |
clearDescription()
One or more paragraphs of text description of this resource.
|
StandardResourceMetadata.Builder |
clearDisplayName()
The display name of this resource.
|
StandardResourceMetadata.Builder |
clearField(Descriptors.FieldDescriptor field) |
StandardResourceMetadata.Builder |
clearLabels() |
StandardResourceMetadata.Builder |
clearLocation()
Location can be "global", regional like "us-east1", or zonal like
"us-west1-b".
|
StandardResourceMetadata.Builder |
clearName()
The full resource name.
|
StandardResourceMetadata.Builder |
clearNetworkTags()
Network tags associated with this resource.
|
StandardResourceMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
StandardResourceMetadata.Builder |
clearProject()
The project that this resource belongs to, in the form of
`projects/{project_number}`.
|
StandardResourceMetadata.Builder |
clone() |
boolean |
containsLabels(String key)
Labels associated with this resource.
|
String |
getAdditionalAttributes(int index)
Additional searchable attributes of this resource.
|
ByteString |
getAdditionalAttributesBytes(int index)
Additional searchable attributes of this resource.
|
int |
getAdditionalAttributesCount()
Additional searchable attributes of this resource.
|
ProtocolStringList |
getAdditionalAttributesList()
Additional searchable attributes of this resource.
|
String |
getAssetType()
The type of this resource.
|
ByteString |
getAssetTypeBytes()
The type of this resource.
|
StandardResourceMetadata |
getDefaultInstanceForType() |
String |
getDescription()
One or more paragraphs of text description of this resource.
|
ByteString |
getDescriptionBytes()
One or more paragraphs of text description of this resource.
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
The display name of this resource.
|
ByteString |
getDisplayNameBytes()
The display name of this resource.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with this resource.
|
Map<String,String> |
getLabelsMap()
Labels associated with this resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with this resource.
|
String |
getLabelsOrThrow(String key)
Labels associated with this resource.
|
String |
getLocation()
Location can be "global", regional like "us-east1", or zonal like
"us-west1-b".
|
ByteString |
getLocationBytes()
Location can be "global", regional like "us-east1", or zonal like
"us-west1-b".
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
The full resource name.
|
ByteString |
getNameBytes()
The full resource name.
|
String |
getNetworkTags(int index)
Network tags associated with this resource.
|
ByteString |
getNetworkTagsBytes(int index)
Network tags associated with this resource.
|
int |
getNetworkTagsCount()
Network tags associated with this resource.
|
ProtocolStringList |
getNetworkTagsList()
Network tags associated with this resource.
|
String |
getProject()
The project that this resource belongs to, in the form of
`projects/{project_number}`.
|
ByteString |
getProjectBytes()
The project that this resource belongs to, in the form of
`projects/{project_number}`.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
protected MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
StandardResourceMetadata.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
StandardResourceMetadata.Builder |
mergeFrom(Message other) |
StandardResourceMetadata.Builder |
mergeFrom(StandardResourceMetadata other) |
StandardResourceMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
StandardResourceMetadata.Builder |
putAllLabels(Map<String,String> values)
Labels associated with this resource.
|
StandardResourceMetadata.Builder |
putLabels(String key,
String value)
Labels associated with this resource.
|
StandardResourceMetadata.Builder |
removeLabels(String key)
Labels associated with this resource.
|
StandardResourceMetadata.Builder |
setAdditionalAttributes(int index,
String value)
Additional searchable attributes of this resource.
|
StandardResourceMetadata.Builder |
setAssetType(String value)
The type of this resource.
|
StandardResourceMetadata.Builder |
setAssetTypeBytes(ByteString value)
The type of this resource.
|
StandardResourceMetadata.Builder |
setDescription(String value)
One or more paragraphs of text description of this resource.
|
StandardResourceMetadata.Builder |
setDescriptionBytes(ByteString value)
One or more paragraphs of text description of this resource.
|
StandardResourceMetadata.Builder |
setDisplayName(String value)
The display name of this resource.
|
StandardResourceMetadata.Builder |
setDisplayNameBytes(ByteString value)
The display name of this resource.
|
StandardResourceMetadata.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
StandardResourceMetadata.Builder |
setLocation(String value)
Location can be "global", regional like "us-east1", or zonal like
"us-west1-b".
|
StandardResourceMetadata.Builder |
setLocationBytes(ByteString value)
Location can be "global", regional like "us-east1", or zonal like
"us-west1-b".
|
StandardResourceMetadata.Builder |
setName(String value)
The full resource name.
|
StandardResourceMetadata.Builder |
setNameBytes(ByteString value)
The full resource name.
|
StandardResourceMetadata.Builder |
setNetworkTags(int index,
String value)
Network tags associated with this resource.
|
StandardResourceMetadata.Builder |
setProject(String value)
The project that this resource belongs to, in the form of
`projects/{project_number}`.
|
StandardResourceMetadata.Builder |
setProjectBytes(ByteString value)
The project that this resource belongs to, in the form of
`projects/{project_number}`.
|
StandardResourceMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
StandardResourceMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<StandardResourceMetadata.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<StandardResourceMetadata.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<StandardResourceMetadata.Builder>
public StandardResourceMetadata.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<StandardResourceMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<StandardResourceMetadata.Builder>
public StandardResourceMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public StandardResourceMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public StandardResourceMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public StandardResourceMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<StandardResourceMetadata.Builder>
public StandardResourceMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<StandardResourceMetadata.Builder>
public StandardResourceMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<StandardResourceMetadata.Builder>
public StandardResourceMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<StandardResourceMetadata.Builder>
public StandardResourceMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<StandardResourceMetadata.Builder>
public StandardResourceMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<StandardResourceMetadata.Builder>
public StandardResourceMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<StandardResourceMetadata.Builder>
public StandardResourceMetadata.Builder mergeFrom(StandardResourceMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<StandardResourceMetadata.Builder>
public StandardResourceMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<StandardResourceMetadata.Builder>
IOException
public String getName()
The full resource name. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;
getName
in interface StandardResourceMetadataOrBuilder
public ByteString getNameBytes()
The full resource name. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;
getNameBytes
in interface StandardResourceMetadataOrBuilder
public StandardResourceMetadata.Builder setName(String value)
The full resource name. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;
value
- The name to set.public StandardResourceMetadata.Builder clearName()
The full resource name. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;
public StandardResourceMetadata.Builder setNameBytes(ByteString value)
The full resource name. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;
value
- The bytes for name to set.public String getAssetType()
The type of this resource. For example: "compute.googleapis.com/Disk".
string asset_type = 2;
getAssetType
in interface StandardResourceMetadataOrBuilder
public ByteString getAssetTypeBytes()
The type of this resource. For example: "compute.googleapis.com/Disk".
string asset_type = 2;
getAssetTypeBytes
in interface StandardResourceMetadataOrBuilder
public StandardResourceMetadata.Builder setAssetType(String value)
The type of this resource. For example: "compute.googleapis.com/Disk".
string asset_type = 2;
value
- The assetType to set.public StandardResourceMetadata.Builder clearAssetType()
The type of this resource. For example: "compute.googleapis.com/Disk".
string asset_type = 2;
public StandardResourceMetadata.Builder setAssetTypeBytes(ByteString value)
The type of this resource. For example: "compute.googleapis.com/Disk".
string asset_type = 2;
value
- The bytes for assetType to set.public String getProject()
The project that this resource belongs to, in the form of `projects/{project_number}`.
string project = 3;
getProject
in interface StandardResourceMetadataOrBuilder
public ByteString getProjectBytes()
The project that this resource belongs to, in the form of `projects/{project_number}`.
string project = 3;
getProjectBytes
in interface StandardResourceMetadataOrBuilder
public StandardResourceMetadata.Builder setProject(String value)
The project that this resource belongs to, in the form of `projects/{project_number}`.
string project = 3;
value
- The project to set.public StandardResourceMetadata.Builder clearProject()
The project that this resource belongs to, in the form of `projects/{project_number}`.
string project = 3;
public StandardResourceMetadata.Builder setProjectBytes(ByteString value)
The project that this resource belongs to, in the form of `projects/{project_number}`.
string project = 3;
value
- The bytes for project to set.public String getDisplayName()
The display name of this resource.
string display_name = 4;
getDisplayName
in interface StandardResourceMetadataOrBuilder
public ByteString getDisplayNameBytes()
The display name of this resource.
string display_name = 4;
getDisplayNameBytes
in interface StandardResourceMetadataOrBuilder
public StandardResourceMetadata.Builder setDisplayName(String value)
The display name of this resource.
string display_name = 4;
value
- The displayName to set.public StandardResourceMetadata.Builder clearDisplayName()
The display name of this resource.
string display_name = 4;
public StandardResourceMetadata.Builder setDisplayNameBytes(ByteString value)
The display name of this resource.
string display_name = 4;
value
- The bytes for displayName to set.public String getDescription()
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes.
string description = 5;
getDescription
in interface StandardResourceMetadataOrBuilder
public ByteString getDescriptionBytes()
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes.
string description = 5;
getDescriptionBytes
in interface StandardResourceMetadataOrBuilder
public StandardResourceMetadata.Builder setDescription(String value)
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes.
string description = 5;
value
- The description to set.public StandardResourceMetadata.Builder clearDescription()
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes.
string description = 5;
public StandardResourceMetadata.Builder setDescriptionBytes(ByteString value)
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes.
string description = 5;
value
- The bytes for description to set.public ProtocolStringList getAdditionalAttributesList()
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
repeated string additional_attributes = 10;
getAdditionalAttributesList
in interface StandardResourceMetadataOrBuilder
public int getAdditionalAttributesCount()
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
repeated string additional_attributes = 10;
getAdditionalAttributesCount
in interface StandardResourceMetadataOrBuilder
public String getAdditionalAttributes(int index)
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
repeated string additional_attributes = 10;
getAdditionalAttributes
in interface StandardResourceMetadataOrBuilder
index
- The index of the element to return.public ByteString getAdditionalAttributesBytes(int index)
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
repeated string additional_attributes = 10;
getAdditionalAttributesBytes
in interface StandardResourceMetadataOrBuilder
index
- The index of the value to return.public StandardResourceMetadata.Builder setAdditionalAttributes(int index, String value)
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
repeated string additional_attributes = 10;
index
- The index to set the value at.value
- The additionalAttributes to set.public StandardResourceMetadata.Builder addAdditionalAttributes(String value)
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
repeated string additional_attributes = 10;
value
- The additionalAttributes to add.public StandardResourceMetadata.Builder addAllAdditionalAttributes(Iterable<String> values)
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
repeated string additional_attributes = 10;
values
- The additionalAttributes to add.public StandardResourceMetadata.Builder clearAdditionalAttributes()
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
repeated string additional_attributes = 10;
public StandardResourceMetadata.Builder addAdditionalAttributesBytes(ByteString value)
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
repeated string additional_attributes = 10;
value
- The bytes of the additionalAttributes to add.public String getLocation()
Location can be "global", regional like "us-east1", or zonal like "us-west1-b".
string location = 11;
getLocation
in interface StandardResourceMetadataOrBuilder
public ByteString getLocationBytes()
Location can be "global", regional like "us-east1", or zonal like "us-west1-b".
string location = 11;
getLocationBytes
in interface StandardResourceMetadataOrBuilder
public StandardResourceMetadata.Builder setLocation(String value)
Location can be "global", regional like "us-east1", or zonal like "us-west1-b".
string location = 11;
value
- The location to set.public StandardResourceMetadata.Builder clearLocation()
Location can be "global", regional like "us-east1", or zonal like "us-west1-b".
string location = 11;
public StandardResourceMetadata.Builder setLocationBytes(ByteString value)
Location can be "global", regional like "us-east1", or zonal like "us-west1-b".
string location = 11;
value
- The bytes for location to set.public int getLabelsCount()
StandardResourceMetadataOrBuilder
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
map<string, string> labels = 12;
getLabelsCount
in interface StandardResourceMetadataOrBuilder
public boolean containsLabels(String key)
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
map<string, string> labels = 12;
containsLabels
in interface StandardResourceMetadataOrBuilder
@Deprecated public Map<String,String> getLabels()
getLabelsMap()
instead.getLabels
in interface StandardResourceMetadataOrBuilder
public Map<String,String> getLabelsMap()
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
map<string, string> labels = 12;
getLabelsMap
in interface StandardResourceMetadataOrBuilder
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
map<string, string> labels = 12;
getLabelsOrDefault
in interface StandardResourceMetadataOrBuilder
public String getLabelsOrThrow(String key)
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
map<string, string> labels = 12;
getLabelsOrThrow
in interface StandardResourceMetadataOrBuilder
public StandardResourceMetadata.Builder clearLabels()
public StandardResourceMetadata.Builder removeLabels(String key)
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
map<string, string> labels = 12;
@Deprecated public Map<String,String> getMutableLabels()
public StandardResourceMetadata.Builder putLabels(String key, String value)
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
map<string, string> labels = 12;
public StandardResourceMetadata.Builder putAllLabels(Map<String,String> values)
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
map<string, string> labels = 12;
public ProtocolStringList getNetworkTagsList()
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](lhttps://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
repeated string network_tags = 13;
getNetworkTagsList
in interface StandardResourceMetadataOrBuilder
public int getNetworkTagsCount()
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](lhttps://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
repeated string network_tags = 13;
getNetworkTagsCount
in interface StandardResourceMetadataOrBuilder
public String getNetworkTags(int index)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](lhttps://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
repeated string network_tags = 13;
getNetworkTags
in interface StandardResourceMetadataOrBuilder
index
- The index of the element to return.public ByteString getNetworkTagsBytes(int index)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](lhttps://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
repeated string network_tags = 13;
getNetworkTagsBytes
in interface StandardResourceMetadataOrBuilder
index
- The index of the value to return.public StandardResourceMetadata.Builder setNetworkTags(int index, String value)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](lhttps://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
repeated string network_tags = 13;
index
- The index to set the value at.value
- The networkTags to set.public StandardResourceMetadata.Builder addNetworkTags(String value)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](lhttps://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
repeated string network_tags = 13;
value
- The networkTags to add.public StandardResourceMetadata.Builder addAllNetworkTags(Iterable<String> values)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](lhttps://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
repeated string network_tags = 13;
values
- The networkTags to add.public StandardResourceMetadata.Builder clearNetworkTags()
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](lhttps://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
repeated string network_tags = 13;
public StandardResourceMetadata.Builder addNetworkTagsBytes(ByteString value)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](lhttps://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.
repeated string network_tags = 13;
value
- The bytes of the networkTags to add.public final StandardResourceMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<StandardResourceMetadata.Builder>
public final StandardResourceMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<StandardResourceMetadata.Builder>
Copyright © 2022 Google LLC. All rights reserved.