- 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 AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder extends GeneratedMessageV3.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder> implements AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder
The Google Cloud resources governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
Protobuf type
google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllEffectiveTags(Iterable<? extends EffectiveTagDetails> values)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder addAllEffectiveTags(Iterable<? extends EffectiveTagDetails> values)
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.asset.v1.EffectiveTagDetails> |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
addAllFolders(Iterable<String> values)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder addAllFolders(Iterable<String> values)
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The folders to add. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
addEffectiveTags(EffectiveTagDetails value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder addEffectiveTags(EffectiveTagDetails value)
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Parameter | |
---|---|
Name | Description |
value |
EffectiveTagDetails |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
addEffectiveTags(EffectiveTagDetails.Builder builderForValue)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder addEffectiveTags(EffectiveTagDetails.Builder builderForValue)
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Parameter | |
---|---|
Name | Description |
builderForValue |
EffectiveTagDetails.Builder |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
addEffectiveTags(int index, EffectiveTagDetails value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder addEffectiveTags(int index, EffectiveTagDetails value)
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
EffectiveTagDetails |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
addEffectiveTags(int index, EffectiveTagDetails.Builder builderForValue)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder addEffectiveTags(int index, EffectiveTagDetails.Builder builderForValue)
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
EffectiveTagDetails.Builder |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
addEffectiveTagsBuilder()
public EffectiveTagDetails.Builder addEffectiveTagsBuilder()
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Returns | |
---|---|
Type | Description |
EffectiveTagDetails.Builder |
addEffectiveTagsBuilder(int index)
public EffectiveTagDetails.Builder addEffectiveTagsBuilder(int index)
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
EffectiveTagDetails.Builder |
addFolders(String value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder addFolders(String value)
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Parameter | |
---|---|
Name | Description |
value |
String The folders to add. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
addFoldersBytes(ByteString value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder addFoldersBytes(ByteString value)
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the folders to add. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
build()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource build()
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource |
buildPartial()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource buildPartial()
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource |
clear()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder clear()
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
clearAssetType()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder clearAssetType()
The asset type of the
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name
Example:
cloudresourcemanager.googleapis.com/Project
See Cloud Asset Inventory Supported Asset
Types
for all supported asset types.
string asset_type = 8;
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
clearEffectiveTags()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder clearEffectiveTags()
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
clearField(Descriptors.FieldDescriptor field)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
clearFolders()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder clearFolders()
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
clearFullResourceName()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder clearFullResourceName()
The full resource name of the Google Cloud resource.
string full_resource_name = 1;
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
clearOrganization()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder clearOrganization()
The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.
string organization = 7;
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
clearParent()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder clearParent()
The full resource name of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name.
string parent = 2;
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
clearProject()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder clearProject()
The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.
string project = 5;
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
clone()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder clone()
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
getAssetType()
public String getAssetType()
The asset type of the
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name
Example:
cloudresourcemanager.googleapis.com/Project
See Cloud Asset Inventory Supported Asset
Types
for all supported asset types.
string asset_type = 8;
Returns | |
---|---|
Type | Description |
String |
The assetType. |
getAssetTypeBytes()
public ByteString getAssetTypeBytes()
The asset type of the
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name
Example:
cloudresourcemanager.googleapis.com/Project
See Cloud Asset Inventory Supported Asset
Types
for all supported asset types.
string asset_type = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for assetType. |
getDefaultInstanceForType()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEffectiveTags(int index)
public EffectiveTagDetails getEffectiveTags(int index)
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
EffectiveTagDetails |
getEffectiveTagsBuilder(int index)
public EffectiveTagDetails.Builder getEffectiveTagsBuilder(int index)
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
EffectiveTagDetails.Builder |
getEffectiveTagsBuilderList()
public List<EffectiveTagDetails.Builder> getEffectiveTagsBuilderList()
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Returns | |
---|---|
Type | Description |
List<Builder> |
getEffectiveTagsCount()
public int getEffectiveTagsCount()
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Returns | |
---|---|
Type | Description |
int |
getEffectiveTagsList()
public List<EffectiveTagDetails> getEffectiveTagsList()
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Returns | |
---|---|
Type | Description |
List<EffectiveTagDetails> |
getEffectiveTagsOrBuilder(int index)
public EffectiveTagDetailsOrBuilder getEffectiveTagsOrBuilder(int index)
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
EffectiveTagDetailsOrBuilder |
getEffectiveTagsOrBuilderList()
public List<? extends EffectiveTagDetailsOrBuilder> getEffectiveTagsOrBuilderList()
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder> |
getFolders(int index)
public String getFolders(int index)
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The folders at the given index. |
getFoldersBytes(int index)
public ByteString getFoldersBytes(int index)
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the folders at the given index. |
getFoldersCount()
public int getFoldersCount()
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Returns | |
---|---|
Type | Description |
int |
The count of folders. |
getFoldersList()
public ProtocolStringList getFoldersList()
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the folders. |
getFullResourceName()
public String getFullResourceName()
The full resource name of the Google Cloud resource.
string full_resource_name = 1;
Returns | |
---|---|
Type | Description |
String |
The fullResourceName. |
getFullResourceNameBytes()
public ByteString getFullResourceNameBytes()
The full resource name of the Google Cloud resource.
string full_resource_name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for fullResourceName. |
getOrganization()
public String getOrganization()
The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.
string organization = 7;
Returns | |
---|---|
Type | Description |
String |
The organization. |
getOrganizationBytes()
public ByteString getOrganizationBytes()
The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.
string organization = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for organization. |
getParent()
public String getParent()
The full resource name of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name.
string parent = 2;
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
The full resource name of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name.
string parent = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getProject()
public String getProject()
The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.
string project = 5;
Returns | |
---|---|
Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()
The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.
string project = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for project. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource other)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder mergeFrom(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource other)
Parameter | |
---|---|
Name | Description |
other |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
removeEffectiveTags(int index)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder removeEffectiveTags(int index)
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
setAssetType(String value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setAssetType(String value)
The asset type of the
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name
Example:
cloudresourcemanager.googleapis.com/Project
See Cloud Asset Inventory Supported Asset
Types
for all supported asset types.
string asset_type = 8;
Parameter | |
---|---|
Name | Description |
value |
String The assetType to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
setAssetTypeBytes(ByteString value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setAssetTypeBytes(ByteString value)
The asset type of the
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name
Example:
cloudresourcemanager.googleapis.com/Project
See Cloud Asset Inventory Supported Asset
Types
for all supported asset types.
string asset_type = 8;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for assetType to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
setEffectiveTags(int index, EffectiveTagDetails value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setEffectiveTags(int index, EffectiveTagDetails value)
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
EffectiveTagDetails |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
setEffectiveTags(int index, EffectiveTagDetails.Builder builderForValue)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setEffectiveTags(int index, EffectiveTagDetails.Builder builderForValue)
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
EffectiveTagDetails.Builder |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
setFolders(int index, String value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setFolders(int index, String value)
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The folders to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
setFullResourceName(String value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setFullResourceName(String value)
The full resource name of the Google Cloud resource.
string full_resource_name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The fullResourceName to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
setFullResourceNameBytes(ByteString value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setFullResourceNameBytes(ByteString value)
The full resource name of the Google Cloud resource.
string full_resource_name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for fullResourceName to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
setOrganization(String value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setOrganization(String value)
The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.
string organization = 7;
Parameter | |
---|---|
Name | Description |
value |
String The organization to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
setOrganizationBytes(ByteString value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setOrganizationBytes(ByteString value)
The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.
string organization = 7;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for organization to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
setParent(String value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setParent(String value)
The full resource name of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name.
string parent = 2;
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setParentBytes(ByteString value)
The full resource name of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name.
string parent = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
setProject(String value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setProject(String value)
The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.
string project = 5;
Parameter | |
---|---|
Name | Description |
value |
String The project to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setProjectBytes(ByteString value)
The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.
string project = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for project to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder |