- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.1.0
- 2.0.0
- 1.1.0
- 1.0.4
- 0.9.0
- 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.v1.Workload
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Workload.BuilderImplements
WorkloadOrBuilderMethods
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
values | Iterable<? extends com.google.cloud.assuredworkloads.v1.Workload.ResourceSettings> |
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
values | Iterable<? extends com.google.cloud.assuredworkloads.v1.Workload.ResourceInfo> |
Type | Description |
Workload.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Workload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Workload.Builder |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | Workload.ResourceSettings |
Type | Description |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
builderForValue | Workload.ResourceSettings.Builder |
Type | Description |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
index | int |
value | Workload.ResourceSettings |
Type | Description |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
index | int |
builderForValue | Workload.ResourceSettings.Builder |
Type | Description |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
index | int |
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Workload.ResourceInfo |
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Workload.ResourceInfo.Builder |
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
value | Workload.ResourceInfo |
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
builderForValue | Workload.ResourceInfo.Builder |
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
Workload.ResourceInfo.Builder |
build()
public Workload build()
Type | Description |
Workload |
buildPartial()
public Workload buildPartial()
Type | Description |
Workload |
clear()
public Workload.Builder clear()
Type | Description |
Workload.Builder |
clearBillingAccount()
public Workload.Builder clearBillingAccount()
Required. 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) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
Workload.Builder | This builder for chaining. |
clearComplianceRegime()
public Workload.Builder clearComplianceRegime()
Required. Immutable. Compliance Regime associated with this workload.
.google.cloud.assuredworkloads.v1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Workload.Builder | This builder for chaining. |
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];
Type | Description |
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];
Type | Description |
Workload.Builder | This builder for chaining. |
clearEnableSovereignControls()
public Workload.Builder clearEnableSovereignControls()
Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.
bool enable_sovereign_controls = 18 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
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];
Type | Description |
Workload.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Workload.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Workload.Builder |
clearKajEnrollmentState()
public Workload.Builder clearKajEnrollmentState()
Output only. Represents the KAJ enrollment state of the given workload.
.google.cloud.assuredworkloads.v1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Workload.Builder | This builder for chaining. |
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.v1.Workload.KMSSettings kms_settings = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
Workload.Builder |
clearLabels()
public Workload.Builder clearLabels()
Type | Description |
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];
Type | Description |
Workload.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Workload.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Workload.Builder |
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];
Type | Description |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Workload.Builder |
clearSaaEnrollmentResponse()
public Workload.Builder clearSaaEnrollmentResponse()
Output only. Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page.
.google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Workload.Builder |
clone()
public Workload.Builder clone()
Type | Description |
Workload.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. Labels applied to the workload.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
boolean |
getBillingAccount()
public String getBillingAccount()
Required. 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) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
String | The billingAccount. |
getBillingAccountBytes()
public ByteString getBillingAccountBytes()
Required. 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) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
ByteString | The bytes for billingAccount. |
getComplianceRegime()
public Workload.ComplianceRegime getComplianceRegime()
Required. Immutable. Compliance Regime associated with this workload.
.google.cloud.assuredworkloads.v1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Workload.ComplianceRegime | The complianceRegime. |
getComplianceRegimeValue()
public int getComplianceRegimeValue()
Required. Immutable. Compliance Regime associated with this workload.
.google.cloud.assuredworkloads.v1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Workload getDefaultInstanceForType()
Type | Description |
Workload |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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];
Type | Description |
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];
Type | Description |
ByteString | The bytes for displayName. |
getEnableSovereignControls()
public boolean getEnableSovereignControls()
Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.
bool enable_sovereign_controls = 18 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | The enableSovereignControls. |
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];
Type | Description |
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];
Type | Description |
ByteString | The bytes for etag. |
getKajEnrollmentState()
public Workload.KajEnrollmentState getKajEnrollmentState()
Output only. Represents the KAJ enrollment state of the given workload.
.google.cloud.assuredworkloads.v1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Workload.KajEnrollmentState | The kajEnrollmentState. |
getKajEnrollmentStateValue()
public int getKajEnrollmentStateValue()
Output only. Represents the KAJ enrollment state of the given workload.
.google.cloud.assuredworkloads.v1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for kajEnrollmentState. |
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.v1.Workload.KMSSettings kms_settings = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
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.v1.Workload.KMSSettings kms_settings = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
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.v1.Workload.KMSSettings kms_settings = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
Workload.KMSSettingsOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. Labels applied to the workload.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. Labels applied to the workload.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
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];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
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];
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
index | int |
Type | Description |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
index | int |
Type | Description |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
index | int |
Type | Description |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
List<? extends com.google.cloud.assuredworkloads.v1.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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<? extends com.google.cloud.assuredworkloads.v1.Workload.ResourceInfoOrBuilder> |
getSaaEnrollmentResponse()
public Workload.SaaEnrollmentResponse getSaaEnrollmentResponse()
Output only. Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page.
.google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Workload.SaaEnrollmentResponse | The saaEnrollmentResponse. |
getSaaEnrollmentResponseBuilder()
public Workload.SaaEnrollmentResponse.Builder getSaaEnrollmentResponseBuilder()
Output only. Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page.
.google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Workload.SaaEnrollmentResponse.Builder |
getSaaEnrollmentResponseOrBuilder()
public Workload.SaaEnrollmentResponseOrBuilder getSaaEnrollmentResponseOrBuilder()
Output only. Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page.
.google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Workload.SaaEnrollmentResponseOrBuilder |
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];
Type | Description |
boolean | Whether the createTime 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.v1.Workload.KMSSettings kms_settings = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
boolean | Whether the kmsSettings field is set. |
hasSaaEnrollmentResponse()
public boolean hasSaaEnrollmentResponse()
Output only. Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page.
.google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the saaEnrollmentResponse field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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];
Name | Description |
value | Timestamp |
Type | Description |
Workload.Builder |
mergeFrom(Workload other)
public Workload.Builder mergeFrom(Workload other)
Name | Description |
other | Workload |
Type | Description |
Workload.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Workload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Workload.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Workload.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
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.v1.Workload.KMSSettings kms_settings = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | Workload.KMSSettings |
Type | Description |
Workload.Builder |
mergeSaaEnrollmentResponse(Workload.SaaEnrollmentResponse value)
public Workload.Builder mergeSaaEnrollmentResponse(Workload.SaaEnrollmentResponse value)
Output only. Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page.
.google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Workload.SaaEnrollmentResponse |
Type | Description |
Workload.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Workload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Workload.Builder |
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];
Name | Description |
values | Map<String,String> |
Type | Description |
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];
Name | Description |
key | String |
value | String |
Type | Description |
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];
Name | Description |
key | String |
Type | Description |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
index | int |
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
Workload.Builder |
setBillingAccount(String value)
public Workload.Builder setBillingAccount(String value)
Required. 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) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | String The billingAccount to set. |
Type | Description |
Workload.Builder | This builder for chaining. |
setBillingAccountBytes(ByteString value)
public Workload.Builder setBillingAccountBytes(ByteString value)
Required. 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) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | ByteString The bytes for billingAccount to set. |
Type | Description |
Workload.Builder | This builder for chaining. |
setComplianceRegime(Workload.ComplianceRegime value)
public Workload.Builder setComplianceRegime(Workload.ComplianceRegime value)
Required. Immutable. Compliance Regime associated with this workload.
.google.cloud.assuredworkloads.v1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | Workload.ComplianceRegime The complianceRegime to set. |
Type | Description |
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.v1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | int The enum numeric value on the wire for complianceRegime to set. |
Type | Description |
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];
Name | Description |
value | Timestamp |
Type | Description |
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];
Name | Description |
builderForValue | Builder |
Type | Description |
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];
Name | Description |
value | String The displayName to set. |
Type | Description |
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];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
Workload.Builder | This builder for chaining. |
setEnableSovereignControls(boolean value)
public Workload.Builder setEnableSovereignControls(boolean value)
Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.
bool enable_sovereign_controls = 18 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | boolean The enableSovereignControls to set. |
Type | Description |
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];
Name | Description |
value | String The etag to set. |
Type | Description |
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];
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
Workload.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Workload.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Workload.Builder |
setKajEnrollmentState(Workload.KajEnrollmentState value)
public Workload.Builder setKajEnrollmentState(Workload.KajEnrollmentState value)
Output only. Represents the KAJ enrollment state of the given workload.
.google.cloud.assuredworkloads.v1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Workload.KajEnrollmentState The kajEnrollmentState to set. |
Type | Description |
Workload.Builder | This builder for chaining. |
setKajEnrollmentStateValue(int value)
public Workload.Builder setKajEnrollmentStateValue(int value)
Output only. Represents the KAJ enrollment state of the given workload.
.google.cloud.assuredworkloads.v1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for kajEnrollmentState to set. |
Type | Description |
Workload.Builder | This builder for chaining. |
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.v1.Workload.KMSSettings kms_settings = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | Workload.KMSSettings |
Type | Description |
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.v1.Workload.KMSSettings kms_settings = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
builderForValue | Workload.KMSSettings.Builder |
Type | Description |
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];
Name | Description |
value | String The name to set. |
Type | Description |
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];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
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];
Name | Description |
value | String The provisionedResourcesParent to set. |
Type | Description |
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];
Name | Description |
value | ByteString The bytes for provisionedResourcesParent to set. |
Type | Description |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Workload.Builder |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
index | int |
value | Workload.ResourceSettings |
Type | Description |
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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
index | int |
builderForValue | Workload.ResourceSettings.Builder |
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
value | Workload.ResourceInfo |
Type | Description |
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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
builderForValue | Workload.ResourceInfo.Builder |
Type | Description |
Workload.Builder |
setSaaEnrollmentResponse(Workload.SaaEnrollmentResponse value)
public Workload.Builder setSaaEnrollmentResponse(Workload.SaaEnrollmentResponse value)
Output only. Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page.
.google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Workload.SaaEnrollmentResponse |
Type | Description |
Workload.Builder |
setSaaEnrollmentResponse(Workload.SaaEnrollmentResponse.Builder builderForValue)
public Workload.Builder setSaaEnrollmentResponse(Workload.SaaEnrollmentResponse.Builder builderForValue)
Output only. Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page.
.google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Workload.SaaEnrollmentResponse.Builder |
Type | Description |
Workload.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Workload.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Workload.Builder |