Interface ConditionContext.ResourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConditionContext.Resource,ConditionContext.Resource.Builder
- Enclosing class:
- ConditionContext
public static interface ConditionContext.ResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()The stable identifier (name) of a resource on the `service`.com.google.protobuf.ByteStringThe stable identifier (name) of a resource on the `service`.The name of the service that this resource belongs to, such as `compute.googleapis.com`.com.google.protobuf.ByteStringThe name of the service that this resource belongs to, such as `compute.googleapis.com`.getType()The type of the resource, in the format `{service}/{kind}`.com.google.protobuf.ByteStringThe type of the resource, in the format `{service}/{kind}`.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
-
getService
String getService()The name of the service that this resource belongs to, such as `compute.googleapis.com`. The service name might not match the DNS hostname that actually serves the request. For a full list of resource service values, see https://cloud.google.com/iam/help/conditions/resource-services
string service = 1;- Returns:
- The service.
-
getServiceBytes
com.google.protobuf.ByteString getServiceBytes()The name of the service that this resource belongs to, such as `compute.googleapis.com`. The service name might not match the DNS hostname that actually serves the request. For a full list of resource service values, see https://cloud.google.com/iam/help/conditions/resource-services
string service = 1;- Returns:
- The bytes for service.
-
getName
String getName()The stable identifier (name) of a resource on the `service`. A resource can be logically identified as `//{resource.service}/{resource.name}`. Unlike the resource URI, the resource name doesn't contain any protocol and version information. For a list of full resource name formats, see https://cloud.google.com/iam/help/troubleshooter/full-resource-namesstring name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The stable identifier (name) of a resource on the `service`. A resource can be logically identified as `//{resource.service}/{resource.name}`. Unlike the resource URI, the resource name doesn't contain any protocol and version information. For a list of full resource name formats, see https://cloud.google.com/iam/help/troubleshooter/full-resource-namesstring name = 2;- Returns:
- The bytes for name.
-
getType
String getType()The type of the resource, in the format `{service}/{kind}`. For a full list of resource type values, see https://cloud.google.com/iam/help/conditions/resource-typesstring type = 3;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()The type of the resource, in the format `{service}/{kind}`. For a full list of resource type values, see https://cloud.google.com/iam/help/conditions/resource-typesstring type = 3;- Returns:
- The bytes for type.
-