- 3.55.0 (latest)
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.2-SNAPSHOT
- 3.6.0
- 3.4.1
- 3.3.1
- 3.2.17
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StandardResourceMetadata.BuilderImplements
StandardResourceMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAdditionalAttributes(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The additionalAttributes to add. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
addAdditionalAttributesBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the additionalAttributes to add. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
addAllAdditionalAttributes(Iterable<String> values)
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The additionalAttributes to add. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
addAllNetworkTags(Iterable<String> values)
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 Google Cloud resources. See Labelling Google Cloud resources for more information.
repeated string network_tags = 13;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The networkTags to add. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
addNetworkTags(String value)
public StandardResourceMetadata.Builder addNetworkTags(String value)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group Google Cloud resources. See Labelling Google Cloud resources for more information.
repeated string network_tags = 13;
Parameter | |
---|---|
Name | Description |
value |
String The networkTags to add. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
addNetworkTagsBytes(ByteString value)
public StandardResourceMetadata.Builder addNetworkTagsBytes(ByteString value)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group Google Cloud resources. See Labelling Google Cloud resources for more information.
repeated string network_tags = 13;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the networkTags to add. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StandardResourceMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
build()
public StandardResourceMetadata build()
Returns | |
---|---|
Type | Description |
StandardResourceMetadata |
buildPartial()
public StandardResourceMetadata buildPartial()
Returns | |
---|---|
Type | Description |
StandardResourceMetadata |
clear()
public StandardResourceMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
clearAdditionalAttributes()
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;
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
clearAssetType()
public StandardResourceMetadata.Builder clearAssetType()
The type of this resource. For example: "compute.googleapis.com/Disk".
string asset_type = 2;
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
clearDescription()
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;
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
clearDisplayName()
public StandardResourceMetadata.Builder clearDisplayName()
The display name of this resource.
string display_name = 4;
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public StandardResourceMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
clearLabels()
public StandardResourceMetadata.Builder clearLabels()
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
clearLocation()
public StandardResourceMetadata.Builder clearLocation()
Location can be "global", regional like "us-east1", or zonal like "us-west1-b".
string location = 11;
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
clearName()
public StandardResourceMetadata.Builder clearName()
The full resource name. For example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
.
See Resource
Names
for more information.
string name = 1;
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
clearNetworkTags()
public StandardResourceMetadata.Builder clearNetworkTags()
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group Google Cloud resources. See Labelling Google Cloud resources for more information.
repeated string network_tags = 13;
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public StandardResourceMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
clearProject()
public StandardResourceMetadata.Builder clearProject()
The project that this resource belongs to, in the form of
projects/{project_number}
.
string project = 3;
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
clone()
public StandardResourceMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Labels associated with this resource. See Labelling and grouping Google Cloud resources for more information.
map<string, string> labels = 12;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getAdditionalAttributes(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The additionalAttributes at the given index. |
getAdditionalAttributesBytes(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the additionalAttributes at the given index. |
getAdditionalAttributesCount()
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;
Returns | |
---|---|
Type | Description |
int |
The count of additionalAttributes. |
getAdditionalAttributesList()
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the additionalAttributes. |
getAssetType()
public String getAssetType()
The type of this resource. For example: "compute.googleapis.com/Disk".
string asset_type = 2;
Returns | |
---|---|
Type | Description |
String |
The assetType. |
getAssetTypeBytes()
public ByteString getAssetTypeBytes()
The type of this resource. For example: "compute.googleapis.com/Disk".
string asset_type = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for assetType. |
getDefaultInstanceForType()
public StandardResourceMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StandardResourceMetadata |
getDescription()
public String getDescription()
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes.
string description = 5;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes.
string description = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The display name of this resource.
string display_name = 4;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The display name of this resource.
string display_name = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels associated with this resource. See Labelling and grouping Google Cloud resources for more information.
map<string, string> labels = 12;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels associated with this resource. See Labelling and grouping Google Cloud resources for more information.
map<string, string> labels = 12;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource. See Labelling and grouping Google Cloud resources for more information.
map<string, string> labels = 12;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels associated with this resource. See Labelling and grouping Google Cloud resources for more information.
map<string, string> labels = 12;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getLocation()
public String getLocation()
Location can be "global", regional like "us-east1", or zonal like "us-west1-b".
string location = 11;
Returns | |
---|---|
Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()
Location can be "global", regional like "us-east1", or zonal like "us-west1-b".
string location = 11;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for location. |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
The full resource name. For example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
.
See Resource
Names
for more information.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
The full resource name. For example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
.
See Resource
Names
for more information.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getNetworkTags(int index)
public String getNetworkTags(int index)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group Google Cloud resources. See Labelling Google Cloud resources for more information.
repeated string network_tags = 13;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The networkTags at the given index. |
getNetworkTagsBytes(int index)
public ByteString getNetworkTagsBytes(int index)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group Google Cloud resources. See Labelling Google Cloud resources for more information.
repeated string network_tags = 13;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the networkTags at the given index. |
getNetworkTagsCount()
public int getNetworkTagsCount()
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group Google Cloud resources. See Labelling Google Cloud resources for more information.
repeated string network_tags = 13;
Returns | |
---|---|
Type | Description |
int |
The count of networkTags. |
getNetworkTagsList()
public ProtocolStringList getNetworkTagsList()
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group Google Cloud resources. See Labelling Google Cloud resources for more information.
repeated string network_tags = 13;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the networkTags. |
getProject()
public String getProject()
The project that this resource belongs to, in the form of
projects/{project_number}
.
string project = 3;
Returns | |
---|---|
Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()
The project that this resource belongs to, in the form of
projects/{project_number}
.
string project = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for project. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(StandardResourceMetadata other)
public StandardResourceMetadata.Builder mergeFrom(StandardResourceMetadata other)
Parameter | |
---|---|
Name | Description |
other |
StandardResourceMetadata |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StandardResourceMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public StandardResourceMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StandardResourceMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
putAllLabels(Map<String,String> values)
public StandardResourceMetadata.Builder putAllLabels(Map<String,String> values)
Labels associated with this resource. See Labelling and grouping Google Cloud resources for more information.
map<string, string> labels = 12;
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
putLabels(String key, String value)
public StandardResourceMetadata.Builder putLabels(String key, String value)
Labels associated with this resource. See Labelling and grouping Google Cloud resources for more information.
map<string, string> labels = 12;
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
removeLabels(String key)
public StandardResourceMetadata.Builder removeLabels(String key)
Labels associated with this resource. See Labelling and grouping Google Cloud resources for more information.
map<string, string> labels = 12;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
setAdditionalAttributes(int index, String value)
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;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The additionalAttributes to set. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
setAssetType(String value)
public StandardResourceMetadata.Builder setAssetType(String value)
The type of this resource. For example: "compute.googleapis.com/Disk".
string asset_type = 2;
Parameter | |
---|---|
Name | Description |
value |
String The assetType to set. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
setAssetTypeBytes(ByteString value)
public StandardResourceMetadata.Builder setAssetTypeBytes(ByteString value)
The type of this resource. For example: "compute.googleapis.com/Disk".
string asset_type = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for assetType to set. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
setDescription(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
setDisplayName(String value)
public StandardResourceMetadata.Builder setDisplayName(String value)
The display name of this resource.
string display_name = 4;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public StandardResourceMetadata.Builder setDisplayNameBytes(ByteString value)
The display name of this resource.
string display_name = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public StandardResourceMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
setLocation(String value)
public StandardResourceMetadata.Builder setLocation(String value)
Location can be "global", regional like "us-east1", or zonal like "us-west1-b".
string location = 11;
Parameter | |
---|---|
Name | Description |
value |
String The location to set. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public StandardResourceMetadata.Builder setLocationBytes(ByteString value)
Location can be "global", regional like "us-east1", or zonal like "us-west1-b".
string location = 11;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for location to set. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
setName(String value)
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
for more information.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
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
for more information.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
setNetworkTags(int index, String value)
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 Google Cloud resources. See Labelling Google Cloud resources for more information.
repeated string network_tags = 13;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The networkTags to set. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
setProject(String value)
public StandardResourceMetadata.Builder setProject(String value)
The project that this resource belongs to, in the form of
projects/{project_number}
.
string project = 3;
Parameter | |
---|---|
Name | Description |
value |
String The project to set. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public StandardResourceMetadata.Builder setProjectBytes(ByteString value)
The project that this resource belongs to, in the form of
projects/{project_number}
.
string project = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for project to set. |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StandardResourceMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StandardResourceMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StandardResourceMetadata.Builder |