Interface WorkloadOrBuilder (0.8.2)

public interface WorkloadOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Optional. Labels applied to the workload.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getBillingAccount()

public abstract String getBillingAccount()

Input only. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form billingAccounts/{billing_account_id}. For example, billingAccounts/012345-567890-ABCDEF.

string billing_account = 6 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
String

The billingAccount.

getBillingAccountBytes()

public abstract ByteString getBillingAccountBytes()

Input only. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form billingAccounts/{billing_account_id}. For example, billingAccounts/012345-567890-ABCDEF.

string billing_account = 6 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for billingAccount.

getCjisSettings()

public abstract Workload.CJISSettings getCjisSettings()

Required. Input only. Immutable. Settings specific to resources needed for CJIS.

.google.cloud.assuredworkloads.v1beta1.Workload.CJISSettings cjis_settings = 8 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Workload.CJISSettings

The cjisSettings.

getCjisSettingsOrBuilder()

public abstract Workload.CJISSettingsOrBuilder getCjisSettingsOrBuilder()

Required. Input only. Immutable. Settings specific to resources needed for CJIS.

.google.cloud.assuredworkloads.v1beta1.Workload.CJISSettings cjis_settings = 8 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Workload.CJISSettingsOrBuilder

getComplianceRegime()

public abstract Workload.ComplianceRegime getComplianceRegime()

Required. Immutable. Compliance Regime associated with this workload.

.google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Workload.ComplianceRegime

The complianceRegime.

getComplianceRegimeSettingsCase()

public abstract Workload.ComplianceRegimeSettingsCase getComplianceRegimeSettingsCase()
Returns
TypeDescription
Workload.ComplianceRegimeSettingsCase

getComplianceRegimeValue()

public abstract int getComplianceRegimeValue()

Required. Immutable. Compliance Regime associated with this workload.

.google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
int

The enum numeric value on the wire for complianceRegime.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Immutable. The Workload creation timestamp.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Immutable. The Workload creation timestamp.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
TimestampOrBuilder

getDisplayName()

public abstract String getDisplayName()

Required. The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example: My Workload

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example: My Workload

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for displayName.

getEtag()

public abstract String getEtag()

Optional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations.

string etag = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

Optional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations.

string etag = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for etag.

getFedrampHighSettings()

public abstract Workload.FedrampHighSettings getFedrampHighSettings()

Required. Input only. Immutable. Settings specific to resources needed for FedRAMP High.

.google.cloud.assuredworkloads.v1beta1.Workload.FedrampHighSettings fedramp_high_settings = 11 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Workload.FedrampHighSettings

The fedrampHighSettings.

getFedrampHighSettingsOrBuilder()

public abstract Workload.FedrampHighSettingsOrBuilder getFedrampHighSettingsOrBuilder()

Required. Input only. Immutable. Settings specific to resources needed for FedRAMP High.

.google.cloud.assuredworkloads.v1beta1.Workload.FedrampHighSettings fedramp_high_settings = 11 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Workload.FedrampHighSettingsOrBuilder

getFedrampModerateSettings()

public abstract Workload.FedrampModerateSettings getFedrampModerateSettings()

Required. Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate.

.google.cloud.assuredworkloads.v1beta1.Workload.FedrampModerateSettings fedramp_moderate_settings = 12 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Workload.FedrampModerateSettings

The fedrampModerateSettings.

getFedrampModerateSettingsOrBuilder()

public abstract Workload.FedrampModerateSettingsOrBuilder getFedrampModerateSettingsOrBuilder()

Required. Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate.

.google.cloud.assuredworkloads.v1beta1.Workload.FedrampModerateSettings fedramp_moderate_settings = 12 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Workload.FedrampModerateSettingsOrBuilder

getIl4Settings()

public abstract Workload.IL4Settings getIl4Settings()

Required. Input only. Immutable. Settings specific to resources needed for IL4.

.google.cloud.assuredworkloads.v1beta1.Workload.IL4Settings il4_settings = 7 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Workload.IL4Settings

The il4Settings.

getIl4SettingsOrBuilder()

public abstract Workload.IL4SettingsOrBuilder getIl4SettingsOrBuilder()

Required. Input only. Immutable. Settings specific to resources needed for IL4.

.google.cloud.assuredworkloads.v1beta1.Workload.IL4Settings il4_settings = 7 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Workload.IL4SettingsOrBuilder

getKmsSettings()

public abstract Workload.KMSSettings getKmsSettings()

Input only. Settings used to create a CMEK crypto key. When set a project with a KMS CMEK key is provisioned. This field is mandatory for a subset of Compliance Regimes.

.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 14 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
Workload.KMSSettings

The kmsSettings.

getKmsSettingsOrBuilder()

public abstract Workload.KMSSettingsOrBuilder getKmsSettingsOrBuilder()

Input only. Settings used to create a CMEK crypto key. When set a project with a KMS CMEK key is provisioned. This field is mandatory for a subset of Compliance Regimes.

.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 14 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
Workload.KMSSettingsOrBuilder

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Optional. Labels applied to the workload.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Optional. Labels applied to the workload.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels applied to the workload.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Optional. Labels applied to the workload.

map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getName()

public abstract String getName()

Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for name.

getProvisionedResourcesParent()

public abstract String getProvisionedResourcesParent()

Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}

string provisioned_resources_parent = 13 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
String

The provisionedResourcesParent.

getProvisionedResourcesParentBytes()

public abstract ByteString getProvisionedResourcesParentBytes()

Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}

string provisioned_resources_parent = 13 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for provisionedResourcesParent.

getResourceSettings(int index)

public abstract Workload.ResourceSettings getResourceSettings(int index)

Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.

repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Workload.ResourceSettings

getResourceSettingsCount()

public abstract int getResourceSettingsCount()

Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.

repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
int

getResourceSettingsList()

public abstract List<Workload.ResourceSettings> getResourceSettingsList()

Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.

repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
List<ResourceSettings>

getResourceSettingsOrBuilder(int index)

public abstract Workload.ResourceSettingsOrBuilder getResourceSettingsOrBuilder(int index)

Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.

repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Workload.ResourceSettingsOrBuilder

getResourceSettingsOrBuilderList()

public abstract List<? extends Workload.ResourceSettingsOrBuilder> getResourceSettingsOrBuilderList()

Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.

repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettingsOrBuilder>

getResources(int index)

public abstract Workload.ResourceInfo getResources(int index)

Output only. The resources associated with this workload. These resources will be created when creating the workload. If any of the projects already exist, the workload creation will fail. Always read only.

repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Workload.ResourceInfo

getResourcesCount()

public abstract int getResourcesCount()

Output only. The resources associated with this workload. These resources will be created when creating the workload. If any of the projects already exist, the workload creation will fail. Always read only.

repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getResourcesList()

public abstract List<Workload.ResourceInfo> getResourcesList()

Output only. The resources associated with this workload. These resources will be created when creating the workload. If any of the projects already exist, the workload creation will fail. Always read only.

repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<ResourceInfo>

getResourcesOrBuilder(int index)

public abstract Workload.ResourceInfoOrBuilder getResourcesOrBuilder(int index)

Output only. The resources associated with this workload. These resources will be created when creating the workload. If any of the projects already exist, the workload creation will fail. Always read only.

repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Workload.ResourceInfoOrBuilder

getResourcesOrBuilderList()

public abstract List<? extends Workload.ResourceInfoOrBuilder> getResourcesOrBuilderList()

Output only. The resources associated with this workload. These resources will be created when creating the workload. If any of the projects already exist, the workload creation will fail. Always read only.

repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfoOrBuilder>

hasCjisSettings()

public abstract boolean hasCjisSettings()

Required. Input only. Immutable. Settings specific to resources needed for CJIS.

.google.cloud.assuredworkloads.v1beta1.Workload.CJISSettings cjis_settings = 8 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the cjisSettings field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Immutable. The Workload creation timestamp.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasFedrampHighSettings()

public abstract boolean hasFedrampHighSettings()

Required. Input only. Immutable. Settings specific to resources needed for FedRAMP High.

.google.cloud.assuredworkloads.v1beta1.Workload.FedrampHighSettings fedramp_high_settings = 11 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the fedrampHighSettings field is set.

hasFedrampModerateSettings()

public abstract boolean hasFedrampModerateSettings()

Required. Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate.

.google.cloud.assuredworkloads.v1beta1.Workload.FedrampModerateSettings fedramp_moderate_settings = 12 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the fedrampModerateSettings field is set.

hasIl4Settings()

public abstract boolean hasIl4Settings()

Required. Input only. Immutable. Settings specific to resources needed for IL4.

.google.cloud.assuredworkloads.v1beta1.Workload.IL4Settings il4_settings = 7 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the il4Settings field is set.

hasKmsSettings()

public abstract boolean hasKmsSettings()

Input only. Settings used to create a CMEK crypto key. When set a project with a KMS CMEK key is provisioned. This field is mandatory for a subset of Compliance Regimes.

.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 14 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
boolean

Whether the kmsSettings field is set.