Class Workload.Builder (0.8.2)

public static final class Workload.Builder extends GeneratedMessageV3.Builder<Workload.Builder> implements WorkloadOrBuilder

An Workload object for managing highly regulated workloads of cloud customers.

Protobuf type google.cloud.assuredworkloads.v1beta1.Workload

Implements

WorkloadOrBuilder

Methods

addAllResourceSettings(Iterable<? extends Workload.ResourceSettings> values)

public Workload.Builder addAllResourceSettings(Iterable<? extends Workload.ResourceSettings> values)

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
valuesIterable<? extends com.google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings>
Returns
TypeDescription
Workload.Builder

addAllResources(Iterable<? extends Workload.ResourceInfo> values)

public Workload.Builder addAllResources(Iterable<? extends Workload.ResourceInfo> values)

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
valuesIterable<? extends com.google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo>
Returns
TypeDescription
Workload.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Workload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Workload.Builder
Overrides

addResourceSettings(Workload.ResourceSettings value)

public Workload.Builder addResourceSettings(Workload.ResourceSettings value)

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
valueWorkload.ResourceSettings
Returns
TypeDescription
Workload.Builder

addResourceSettings(Workload.ResourceSettings.Builder builderForValue)

public Workload.Builder addResourceSettings(Workload.ResourceSettings.Builder builderForValue)

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
builderForValueWorkload.ResourceSettings.Builder
Returns
TypeDescription
Workload.Builder

addResourceSettings(int index, Workload.ResourceSettings value)

public Workload.Builder addResourceSettings(int index, Workload.ResourceSettings value)

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];

Parameters
NameDescription
indexint
valueWorkload.ResourceSettings
Returns
TypeDescription
Workload.Builder

addResourceSettings(int index, Workload.ResourceSettings.Builder builderForValue)

public Workload.Builder addResourceSettings(int index, Workload.ResourceSettings.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueWorkload.ResourceSettings.Builder
Returns
TypeDescription
Workload.Builder

addResourceSettingsBuilder()

public Workload.ResourceSettings.Builder addResourceSettingsBuilder()

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
Workload.ResourceSettings.Builder

addResourceSettingsBuilder(int index)

public Workload.ResourceSettings.Builder addResourceSettingsBuilder(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.Builder

addResources(Workload.ResourceInfo value)

public Workload.Builder addResources(Workload.ResourceInfo value)

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
valueWorkload.ResourceInfo
Returns
TypeDescription
Workload.Builder

addResources(Workload.ResourceInfo.Builder builderForValue)

public Workload.Builder addResources(Workload.ResourceInfo.Builder builderForValue)

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
builderForValueWorkload.ResourceInfo.Builder
Returns
TypeDescription
Workload.Builder

addResources(int index, Workload.ResourceInfo value)

public Workload.Builder addResources(int index, Workload.ResourceInfo value)

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];

Parameters
NameDescription
indexint
valueWorkload.ResourceInfo
Returns
TypeDescription
Workload.Builder

addResources(int index, Workload.ResourceInfo.Builder builderForValue)

public Workload.Builder addResources(int index, Workload.ResourceInfo.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueWorkload.ResourceInfo.Builder
Returns
TypeDescription
Workload.Builder

addResourcesBuilder()

public Workload.ResourceInfo.Builder addResourcesBuilder()

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
Workload.ResourceInfo.Builder

addResourcesBuilder(int index)

public Workload.ResourceInfo.Builder addResourcesBuilder(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.Builder

build()

public Workload build()
Returns
TypeDescription
Workload

buildPartial()

public Workload buildPartial()
Returns
TypeDescription
Workload

clear()

public Workload.Builder clear()
Returns
TypeDescription
Workload.Builder
Overrides

clearBillingAccount()

public Workload.Builder clearBillingAccount()

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
Workload.Builder

This builder for chaining.

clearCjisSettings()

public Workload.Builder clearCjisSettings()

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.Builder

clearComplianceRegime()

public Workload.Builder clearComplianceRegime()

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.Builder

This builder for chaining.

clearComplianceRegimeSettings()

public Workload.Builder clearComplianceRegimeSettings()
Returns
TypeDescription
Workload.Builder

clearCreateTime()

public Workload.Builder clearCreateTime()

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
Workload.Builder

clearDisplayName()

public Workload.Builder clearDisplayName()

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
Workload.Builder

This builder for chaining.

clearEtag()

public Workload.Builder clearEtag()

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
Workload.Builder

This builder for chaining.

clearFedrampHighSettings()

public Workload.Builder clearFedrampHighSettings()

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.Builder

clearFedrampModerateSettings()

public Workload.Builder clearFedrampModerateSettings()

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.Builder

clearField(Descriptors.FieldDescriptor field)

public Workload.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Workload.Builder
Overrides

clearIl4Settings()

public Workload.Builder clearIl4Settings()

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.Builder

clearKmsSettings()

public Workload.Builder clearKmsSettings()

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.Builder

clearLabels()

public Workload.Builder clearLabels()
Returns
TypeDescription
Workload.Builder

clearName()

public Workload.Builder clearName()

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
Workload.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Workload.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Workload.Builder
Overrides

clearProvisionedResourcesParent()

public Workload.Builder clearProvisionedResourcesParent()

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
Workload.Builder

This builder for chaining.

clearResourceSettings()

public Workload.Builder clearResourceSettings()

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
Workload.Builder

clearResources()

public Workload.Builder clearResources()

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
Workload.Builder

clone()

public Workload.Builder clone()
Returns
TypeDescription
Workload.Builder
Overrides

containsLabels(String key)

public 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 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 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 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.

getCjisSettingsBuilder()

public Workload.CJISSettings.Builder getCjisSettingsBuilder()

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.Builder

getCjisSettingsOrBuilder()

public 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 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 Workload.ComplianceRegimeSettingsCase getComplianceRegimeSettingsCase()
Returns
TypeDescription
Workload.ComplianceRegimeSettingsCase

getComplianceRegimeValue()

public 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 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.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

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
Builder

getCreateTimeOrBuilder()

public 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

getDefaultInstanceForType()

public Workload getDefaultInstanceForType()
Returns
TypeDescription
Workload

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public 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 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 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 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 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.

getFedrampHighSettingsBuilder()

public Workload.FedrampHighSettings.Builder getFedrampHighSettingsBuilder()

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.Builder

getFedrampHighSettingsOrBuilder()

public 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 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.

getFedrampModerateSettingsBuilder()

public Workload.FedrampModerateSettings.Builder getFedrampModerateSettingsBuilder()

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.Builder

getFedrampModerateSettingsOrBuilder()

public 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 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.

getIl4SettingsBuilder()

public Workload.IL4Settings.Builder getIl4SettingsBuilder()

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.Builder

getIl4SettingsOrBuilder()

public 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 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.

getKmsSettingsBuilder()

public Workload.KMSSettings.Builder getKmsSettingsBuilder()

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.Builder

getKmsSettingsOrBuilder()

public 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 Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. Labels applied to the workload.

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

Returns
TypeDescription
int

getLabelsMap()

public 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 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 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

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public 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 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 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 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 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

getResourceSettingsBuilder(int index)

public Workload.ResourceSettings.Builder getResourceSettingsBuilder(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.Builder

getResourceSettingsBuilderList()

public List<Workload.ResourceSettings.Builder> getResourceSettingsBuilderList()

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<Builder>

getResourceSettingsCount()

public 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 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 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 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 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

getResourcesBuilder(int index)

public Workload.ResourceInfo.Builder getResourcesBuilder(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.Builder

getResourcesBuilderList()

public List<Workload.ResourceInfo.Builder> getResourcesBuilderList()

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<Builder>

getResourcesCount()

public 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 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 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 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 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 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 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 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 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 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCjisSettings(Workload.CJISSettings value)

public Workload.Builder mergeCjisSettings(Workload.CJISSettings value)

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];

Parameter
NameDescription
valueWorkload.CJISSettings
Returns
TypeDescription
Workload.Builder

mergeCreateTime(Timestamp value)

public Workload.Builder mergeCreateTime(Timestamp value)

Output only. Immutable. The Workload creation timestamp.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Workload.Builder

mergeFedrampHighSettings(Workload.FedrampHighSettings value)

public Workload.Builder mergeFedrampHighSettings(Workload.FedrampHighSettings value)

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];

Parameter
NameDescription
valueWorkload.FedrampHighSettings
Returns
TypeDescription
Workload.Builder

mergeFedrampModerateSettings(Workload.FedrampModerateSettings value)

public Workload.Builder mergeFedrampModerateSettings(Workload.FedrampModerateSettings value)

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];

Parameter
NameDescription
valueWorkload.FedrampModerateSettings
Returns
TypeDescription
Workload.Builder

mergeFrom(Workload other)

public Workload.Builder mergeFrom(Workload other)
Parameter
NameDescription
otherWorkload
Returns
TypeDescription
Workload.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Workload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Workload.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Workload.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Workload.Builder
Overrides

mergeIl4Settings(Workload.IL4Settings value)

public Workload.Builder mergeIl4Settings(Workload.IL4Settings value)

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];

Parameter
NameDescription
valueWorkload.IL4Settings
Returns
TypeDescription
Workload.Builder

mergeKmsSettings(Workload.KMSSettings value)

public Workload.Builder mergeKmsSettings(Workload.KMSSettings value)

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];

Parameter
NameDescription
valueWorkload.KMSSettings
Returns
TypeDescription
Workload.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Workload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Workload.Builder
Overrides

putAllLabels(Map<String,String> values)

public Workload.Builder putAllLabels(Map<String,String> values)

Optional. Labels applied to the workload.

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

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Workload.Builder

putLabels(String key, String value)

public Workload.Builder putLabels(String key, String value)

Optional. Labels applied to the workload.

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

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Workload.Builder

removeLabels(String key)

public Workload.Builder removeLabels(String key)

Optional. Labels applied to the workload.

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

Parameter
NameDescription
keyString
Returns
TypeDescription
Workload.Builder

removeResourceSettings(int index)

public Workload.Builder removeResourceSettings(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.Builder

removeResources(int index)

public Workload.Builder removeResources(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.Builder

setBillingAccount(String value)

public Workload.Builder setBillingAccount(String value)

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];

Parameter
NameDescription
valueString

The billingAccount to set.

Returns
TypeDescription
Workload.Builder

This builder for chaining.

setBillingAccountBytes(ByteString value)

public Workload.Builder setBillingAccountBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for billingAccount to set.

Returns
TypeDescription
Workload.Builder

This builder for chaining.

setCjisSettings(Workload.CJISSettings value)

public Workload.Builder setCjisSettings(Workload.CJISSettings value)

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];

Parameter
NameDescription
valueWorkload.CJISSettings
Returns
TypeDescription
Workload.Builder

setCjisSettings(Workload.CJISSettings.Builder builderForValue)

public Workload.Builder setCjisSettings(Workload.CJISSettings.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueWorkload.CJISSettings.Builder
Returns
TypeDescription
Workload.Builder

setComplianceRegime(Workload.ComplianceRegime value)

public Workload.Builder setComplianceRegime(Workload.ComplianceRegime value)

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];

Parameter
NameDescription
valueWorkload.ComplianceRegime

The complianceRegime to set.

Returns
TypeDescription
Workload.Builder

This builder for chaining.

setComplianceRegimeValue(int value)

public Workload.Builder setComplianceRegimeValue(int value)

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];

Parameter
NameDescription
valueint

The enum numeric value on the wire for complianceRegime to set.

Returns
TypeDescription
Workload.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Workload.Builder setCreateTime(Timestamp value)

Output only. Immutable. The Workload creation timestamp.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Workload.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Workload.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Immutable. The Workload creation timestamp.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Workload.Builder

setDisplayName(String value)

public Workload.Builder setDisplayName(String value)

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];

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Workload.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Workload.Builder setDisplayNameBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Workload.Builder

This builder for chaining.

setEtag(String value)

public Workload.Builder setEtag(String value)

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];

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
Workload.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public Workload.Builder setEtagBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
Workload.Builder

This builder for chaining.

setFedrampHighSettings(Workload.FedrampHighSettings value)

public Workload.Builder setFedrampHighSettings(Workload.FedrampHighSettings value)

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];

Parameter
NameDescription
valueWorkload.FedrampHighSettings
Returns
TypeDescription
Workload.Builder

setFedrampHighSettings(Workload.FedrampHighSettings.Builder builderForValue)

public Workload.Builder setFedrampHighSettings(Workload.FedrampHighSettings.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueWorkload.FedrampHighSettings.Builder
Returns
TypeDescription
Workload.Builder

setFedrampModerateSettings(Workload.FedrampModerateSettings value)

public Workload.Builder setFedrampModerateSettings(Workload.FedrampModerateSettings value)

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];

Parameter
NameDescription
valueWorkload.FedrampModerateSettings
Returns
TypeDescription
Workload.Builder

setFedrampModerateSettings(Workload.FedrampModerateSettings.Builder builderForValue)

public Workload.Builder setFedrampModerateSettings(Workload.FedrampModerateSettings.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueWorkload.FedrampModerateSettings.Builder
Returns
TypeDescription
Workload.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Workload.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Workload.Builder
Overrides

setIl4Settings(Workload.IL4Settings value)

public Workload.Builder setIl4Settings(Workload.IL4Settings value)

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];

Parameter
NameDescription
valueWorkload.IL4Settings
Returns
TypeDescription
Workload.Builder

setIl4Settings(Workload.IL4Settings.Builder builderForValue)

public Workload.Builder setIl4Settings(Workload.IL4Settings.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueWorkload.IL4Settings.Builder
Returns
TypeDescription
Workload.Builder

setKmsSettings(Workload.KMSSettings value)

public Workload.Builder setKmsSettings(Workload.KMSSettings value)

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];

Parameter
NameDescription
valueWorkload.KMSSettings
Returns
TypeDescription
Workload.Builder

setKmsSettings(Workload.KMSSettings.Builder builderForValue)

public Workload.Builder setKmsSettings(Workload.KMSSettings.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueWorkload.KMSSettings.Builder
Returns
TypeDescription
Workload.Builder

setName(String value)

public Workload.Builder setName(String value)

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

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Workload.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Workload.Builder setNameBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Workload.Builder

This builder for chaining.

setProvisionedResourcesParent(String value)

public Workload.Builder setProvisionedResourcesParent(String value)

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];

Parameter
NameDescription
valueString

The provisionedResourcesParent to set.

Returns
TypeDescription
Workload.Builder

This builder for chaining.

setProvisionedResourcesParentBytes(ByteString value)

public Workload.Builder setProvisionedResourcesParentBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for provisionedResourcesParent to set.

Returns
TypeDescription
Workload.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Workload.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Workload.Builder
Overrides

setResourceSettings(int index, Workload.ResourceSettings value)

public Workload.Builder setResourceSettings(int index, Workload.ResourceSettings value)

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];

Parameters
NameDescription
indexint
valueWorkload.ResourceSettings
Returns
TypeDescription
Workload.Builder

setResourceSettings(int index, Workload.ResourceSettings.Builder builderForValue)

public Workload.Builder setResourceSettings(int index, Workload.ResourceSettings.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueWorkload.ResourceSettings.Builder
Returns
TypeDescription
Workload.Builder

setResources(int index, Workload.ResourceInfo value)

public Workload.Builder setResources(int index, Workload.ResourceInfo value)

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];

Parameters
NameDescription
indexint
valueWorkload.ResourceInfo
Returns
TypeDescription
Workload.Builder

setResources(int index, Workload.ResourceInfo.Builder builderForValue)

public Workload.Builder setResources(int index, Workload.ResourceInfo.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueWorkload.ResourceInfo.Builder
Returns
TypeDescription
Workload.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Workload.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Workload.Builder
Overrides