Interface Workload.ResourceSettingsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Workload.ResourceSettings
,Workload.ResourceSettings.Builder
- Enclosing class:
- Workload
public static interface Workload.ResourceSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDisplayName()
User-assigned resource display name.com.google.protobuf.ByteString
getDisplayNameBytes()
User-assigned resource display name.String
getResourceId()
Resource identifier.com.google.protobuf.ByteString
getResourceIdBytes()
Resource identifier.Workload.ResourceInfo.ResourceType
getResourceType()
Indicates the type of resource.int
getResourceTypeValue()
Indicates the type of resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResourceId
String getResourceId()
Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail. For KeyRing, this represents the keyring_id. For a folder, don't set this value as folder_id is assigned by Google.
string resource_id = 1;
- Returns:
- The resourceId.
-
getResourceIdBytes
com.google.protobuf.ByteString getResourceIdBytes()
Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail. For KeyRing, this represents the keyring_id. For a folder, don't set this value as folder_id is assigned by Google.
string resource_id = 1;
- Returns:
- The bytes for resourceId.
-
getResourceTypeValue
int getResourceTypeValue()
Indicates the type of resource. This field should be specified to correspond the id to the right resource type (CONSUMER_FOLDER or ENCRYPTION_KEYS_PROJECT)
.google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType resource_type = 2;
- Returns:
- The enum numeric value on the wire for resourceType.
-
getResourceType
Workload.ResourceInfo.ResourceType getResourceType()
Indicates the type of resource. This field should be specified to correspond the id to the right resource type (CONSUMER_FOLDER or ENCRYPTION_KEYS_PROJECT)
.google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType resource_type = 2;
- Returns:
- The resourceType.
-
getDisplayName
String getDisplayName()
User-assigned resource display name. If not empty it will be used to create a resource with the specified name.
string display_name = 3;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
User-assigned resource display name. If not empty it will be used to create a resource with the specified name.
string display_name = 3;
- Returns:
- The bytes for displayName.
-
-