Package com.google.api.servicecontrol.v2
Interface ResourceInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceInfo,ResourceInfo.Builder
public interface ResourceInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetContainer()Optional.com.google.protobuf.ByteStringgetContainerBytes()Optional.StringgetLocation()Optional.com.google.protobuf.ByteStringgetLocationBytes()Optional.StringgetName()The name of the resource referenced in the request.com.google.protobuf.ByteStringgetNameBytes()The name of the resource referenced in the request.StringgetPermission()The resource permission needed for this request.com.google.protobuf.ByteStringgetPermissionBytes()The resource permission needed for this request.StringgetType()The resource type in the format of "{service}/{kind}".com.google.protobuf.ByteStringgetTypeBytes()The resource type in the format of "{service}/{kind}".-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The name of the resource referenced in the request.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of the resource referenced in the request.
string name = 1;- Returns:
- The bytes for name.
-
getType
String getType()
The resource type in the format of "{service}/{kind}".string type = 2;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
The resource type in the format of "{service}/{kind}".string type = 2;- Returns:
- The bytes for type.
-
getPermission
String getPermission()
The resource permission needed for this request. The format must be "{service}/{plural}.{verb}".string permission = 3;- Returns:
- The permission.
-
getPermissionBytes
com.google.protobuf.ByteString getPermissionBytes()
The resource permission needed for this request. The format must be "{service}/{plural}.{verb}".string permission = 3;- Returns:
- The bytes for permission.
-
getContainer
String getContainer()
Optional. The identifier of the container of this resource. For Google Cloud APIs, the resource container must be one of the following formats: - `projects/<project-id or project-number>` - `folders/<folder-id>` - `organizations/<organization-id>` For the policy enforcement on the container level (VPCSC and Location Policy check), this field takes precedence on the container extracted from name when presents.string container = 4;- Returns:
- The container.
-
getContainerBytes
com.google.protobuf.ByteString getContainerBytes()
Optional. The identifier of the container of this resource. For Google Cloud APIs, the resource container must be one of the following formats: - `projects/<project-id or project-number>` - `folders/<folder-id>` - `organizations/<organization-id>` For the policy enforcement on the container level (VPCSC and Location Policy check), this field takes precedence on the container extracted from name when presents.string container = 4;- Returns:
- The bytes for container.
-
getLocation
String getLocation()
Optional. The location of the resource. The value must be a valid zone, region or multiregion. For example: "europe-west4" or "northamerica-northeast1-a"
string location = 5;- Returns:
- The location.
-
getLocationBytes
com.google.protobuf.ByteString getLocationBytes()
Optional. The location of the resource. The value must be a valid zone, region or multiregion. For example: "europe-west4" or "northamerica-northeast1-a"
string location = 5;- Returns:
- The bytes for location.
-
-