public static final class ProtectedResourcesSummary.Builder extends GeneratedMessage.Builder<ProtectedResourcesSummary.Builder> implements ProtectedResourcesSummaryOrBuilderAggregate information about the resources protected by a Cloud KMS key in the same Cloud organization/project as the key.
Protobuf type google.cloud.kms.inventory.v1.ProtectedResourcesSummary
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProtectedResourcesSummary.BuilderImplements
ProtectedResourcesSummaryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllWarnings(Iterable<? extends Warning> values)
public ProtectedResourcesSummary.Builder addAllWarnings(Iterable<? extends Warning> values)Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.kms.inventory.v1.Warning> |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
addWarnings(Warning value)
public ProtectedResourcesSummary.Builder addWarnings(Warning value)Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
Warning |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
addWarnings(Warning.Builder builderForValue)
public ProtectedResourcesSummary.Builder addWarnings(Warning.Builder builderForValue)Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Warning.Builder |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
addWarnings(int index, Warning value)
public ProtectedResourcesSummary.Builder addWarnings(int index, Warning value)Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Warning |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
addWarnings(int index, Warning.Builder builderForValue)
public ProtectedResourcesSummary.Builder addWarnings(int index, Warning.Builder builderForValue)Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Warning.Builder |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
addWarningsBuilder()
public Warning.Builder addWarningsBuilder()Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
|
addWarningsBuilder(int index)
public Warning.Builder addWarningsBuilder(int index)Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
|
build()
public ProtectedResourcesSummary build()| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary |
|
buildPartial()
public ProtectedResourcesSummary buildPartial()| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary |
|
clear()
public ProtectedResourcesSummary.Builder clear()| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
clearCloudProducts()
public ProtectedResourcesSummary.Builder clearCloudProducts()| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
clearLocations()
public ProtectedResourcesSummary.Builder clearLocations()| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
clearName()
public ProtectedResourcesSummary.Builder clearName()The full name of the ProtectedResourcesSummary resource. Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary
string name = 5;
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
This builder for chaining. |
clearProjectCount()
public ProtectedResourcesSummary.Builder clearProjectCount()The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key.
int32 project_count = 2;
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
This builder for chaining. |
clearResourceCount()
public ProtectedResourcesSummary.Builder clearResourceCount()The total number of protected resources in the same Cloud organization as the key.
int64 resource_count = 1;
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
This builder for chaining. |
clearResourceTypes()
public ProtectedResourcesSummary.Builder clearResourceTypes()| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
clearWarnings()
public ProtectedResourcesSummary.Builder clearWarnings()Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
containsCloudProducts(String key)
public boolean containsCloudProducts(String key)The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsLocations(String key)
public boolean containsLocations(String key)The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsResourceTypes(String key)
public boolean containsResourceTypes(String key)The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCloudProducts() (deprecated)
public Map<String,Long> getCloudProducts()Use #getCloudProductsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,java.lang.Long> |
|
getCloudProductsCount()
public int getCloudProductsCount()The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
| Returns | |
|---|---|
| Type | Description |
int |
|
getCloudProductsMap()
public Map<String,Long> getCloudProductsMap()The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
| Returns | |
|---|---|
| Type | Description |
Map<String,java.lang.Long> |
|
getCloudProductsOrDefault(String key, long defaultValue)
public long getCloudProductsOrDefault(String key, long defaultValue)The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
long |
| Returns | |
|---|---|
| Type | Description |
long |
|
getCloudProductsOrThrow(String key)
public long getCloudProductsOrThrow(String key)The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
long |
|
getDefaultInstanceForType()
public ProtectedResourcesSummary getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLocations() (deprecated)
public Map<String,Long> getLocations()Use #getLocationsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,java.lang.Long> |
|
getLocationsCount()
public int getLocationsCount()The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLocationsMap()
public Map<String,Long> getLocationsMap()The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
| Returns | |
|---|---|
| Type | Description |
Map<String,java.lang.Long> |
|
getLocationsOrDefault(String key, long defaultValue)
public long getLocationsOrDefault(String key, long defaultValue)The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
long |
| Returns | |
|---|---|
| Type | Description |
long |
|
getLocationsOrThrow(String key)
public long getLocationsOrThrow(String key)The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
long |
|
getMutableCloudProducts() (deprecated)
public Map<String,Long> getMutableCloudProducts()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,java.lang.Long> |
|
getMutableLocations() (deprecated)
public Map<String,Long> getMutableLocations()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,java.lang.Long> |
|
getMutableResourceTypes() (deprecated)
public Map<String,Long> getMutableResourceTypes()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,java.lang.Long> |
|
getName()
public String getName()The full name of the ProtectedResourcesSummary resource. Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary
string name = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The full name of the ProtectedResourcesSummary resource. Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary
string name = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getProjectCount()
public int getProjectCount()The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key.
int32 project_count = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The projectCount. |
getResourceCount()
public long getResourceCount()The total number of protected resources in the same Cloud organization as the key.
int64 resource_count = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The resourceCount. |
getResourceTypes() (deprecated)
public Map<String,Long> getResourceTypes()Use #getResourceTypesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,java.lang.Long> |
|
getResourceTypesCount()
public int getResourceTypesCount()The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getResourceTypesMap()
public Map<String,Long> getResourceTypesMap()The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
| Returns | |
|---|---|
| Type | Description |
Map<String,java.lang.Long> |
|
getResourceTypesOrDefault(String key, long defaultValue)
public long getResourceTypesOrDefault(String key, long defaultValue)The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
long |
| Returns | |
|---|---|
| Type | Description |
long |
|
getResourceTypesOrThrow(String key)
public long getResourceTypesOrThrow(String key)The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
long |
|
getWarnings(int index)
public Warning getWarnings(int index)Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Warning |
|
getWarningsBuilder(int index)
public Warning.Builder getWarningsBuilder(int index)Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
|
getWarningsBuilderList()
public List<Warning.Builder> getWarningsBuilderList()Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getWarningsCount()
public int getWarningsCount()Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Returns | |
|---|---|
| Type | Description |
int |
|
getWarningsList()
public List<Warning> getWarningsList()Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Returns | |
|---|---|
| Type | Description |
List<Warning> |
|
getWarningsOrBuilder(int index)
public WarningOrBuilder getWarningsOrBuilder(int index)Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
WarningOrBuilder |
|
getWarningsOrBuilderList()
public List<? extends WarningOrBuilder> getWarningsOrBuilderList()Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.kms.inventory.v1.WarningOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ProtectedResourcesSummary other)
public ProtectedResourcesSummary.Builder mergeFrom(ProtectedResourcesSummary other)| Parameter | |
|---|---|
| Name | Description |
other |
ProtectedResourcesSummary |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProtectedResourcesSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProtectedResourcesSummary.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
putAllCloudProducts(Map<String,Long> values)
public ProtectedResourcesSummary.Builder putAllCloudProducts(Map<String,Long> values)The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,java.lang.Long> |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
putAllLocations(Map<String,Long> values)
public ProtectedResourcesSummary.Builder putAllLocations(Map<String,Long> values)The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,java.lang.Long> |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
putAllResourceTypes(Map<String,Long> values)
public ProtectedResourcesSummary.Builder putAllResourceTypes(Map<String,Long> values)The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,java.lang.Long> |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
putCloudProducts(String key, long value)
public ProtectedResourcesSummary.Builder putCloudProducts(String key, long value)The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
long |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
putLocations(String key, long value)
public ProtectedResourcesSummary.Builder putLocations(String key, long value)The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
long |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
putResourceTypes(String key, long value)
public ProtectedResourcesSummary.Builder putResourceTypes(String key, long value)The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
long |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
removeCloudProducts(String key)
public ProtectedResourcesSummary.Builder removeCloudProducts(String key)The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
removeLocations(String key)
public ProtectedResourcesSummary.Builder removeLocations(String key)The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
removeResourceTypes(String key)
public ProtectedResourcesSummary.Builder removeResourceTypes(String key)The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
removeWarnings(int index)
public ProtectedResourcesSummary.Builder removeWarnings(int index)Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
setName(String value)
public ProtectedResourcesSummary.Builder setName(String value)The full name of the ProtectedResourcesSummary resource. Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary
string name = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ProtectedResourcesSummary.Builder setNameBytes(ByteString value)The full name of the ProtectedResourcesSummary resource. Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary
string name = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
This builder for chaining. |
setProjectCount(int value)
public ProtectedResourcesSummary.Builder setProjectCount(int value)The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key.
int32 project_count = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe projectCount to set. |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
This builder for chaining. |
setResourceCount(long value)
public ProtectedResourcesSummary.Builder setResourceCount(long value)The total number of protected resources in the same Cloud organization as the key.
int64 resource_count = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe resourceCount to set. |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
This builder for chaining. |
setWarnings(int index, Warning value)
public ProtectedResourcesSummary.Builder setWarnings(int index, Warning value)Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Warning |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|
setWarnings(int index, Warning.Builder builderForValue)
public ProtectedResourcesSummary.Builder setWarnings(int index, Warning.Builder builderForValue)Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Warning.Builder |
| Returns | |
|---|---|
| Type | Description |
ProtectedResourcesSummary.Builder |
|