Interface ResourceMaintenance.ResourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceMaintenance.Resource,ResourceMaintenance.Resource.Builder
- Enclosing class:
- ResourceMaintenance
public static interface ResourceMaintenance.ResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getType()Output only.com.google.protobuf.ByteStringOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResourceName
String getResourceName()Output only. Name is the reference to the consumer resource affected by the maintenance. Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-names
string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()Output only. Name is the reference to the consumer resource affected by the maintenance. Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-names
string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for resourceName.
-
getLocation
String getLocation()Output only. The location of the resource. Format: `us-central1`
string location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The location.
-
getLocationBytes
com.google.protobuf.ByteString getLocationBytes()Output only. The location of the resource. Format: `us-central1`
string location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for location.
-
getType
String getType()Output only. The type of the resource. Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-types#supported_resource_types Please note that not all the resource types will have their maintenances reported.
string type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Output only. The type of the resource. Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-types#supported_resource_types Please note that not all the resource types will have their maintenances reported.
string type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for type.
-