- 2.53.0 (latest)
- 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 final class Workload extends GeneratedMessageV3 implements WorkloadOrBuilder
An Workload object for managing highly regulated workloads of cloud customers.
Protobuf type google.cloud.assuredworkloads.v1beta1.Workload
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > WorkloadImplements
WorkloadOrBuilderStatic Fields
BILLING_ACCOUNT_FIELD_NUMBER
public static final int BILLING_ACCOUNT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CJIS_SETTINGS_FIELD_NUMBER
public static final int CJIS_SETTINGS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
COMPLIANCE_REGIME_FIELD_NUMBER
public static final int COMPLIANCE_REGIME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
COMPLIANT_BUT_DISALLOWED_SERVICES_FIELD_NUMBER
public static final int COMPLIANT_BUT_DISALLOWED_SERVICES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ENABLE_SOVEREIGN_CONTROLS_FIELD_NUMBER
public static final int ENABLE_SOVEREIGN_CONTROLS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
FEDRAMP_HIGH_SETTINGS_FIELD_NUMBER
public static final int FEDRAMP_HIGH_SETTINGS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
FEDRAMP_MODERATE_SETTINGS_FIELD_NUMBER
public static final int FEDRAMP_MODERATE_SETTINGS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
IL4_SETTINGS_FIELD_NUMBER
public static final int IL4_SETTINGS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
KAJ_ENROLLMENT_STATE_FIELD_NUMBER
public static final int KAJ_ENROLLMENT_STATE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
KMS_SETTINGS_FIELD_NUMBER
public static final int KMS_SETTINGS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PROVISIONED_RESOURCES_PARENT_FIELD_NUMBER
public static final int PROVISIONED_RESOURCES_PARENT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RESOURCE_SETTINGS_FIELD_NUMBER
public static final int RESOURCE_SETTINGS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SAA_ENROLLMENT_RESPONSE_FIELD_NUMBER
public static final int SAA_ENROLLMENT_RESPONSE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Workload getDefaultInstance()
Returns | |
---|---|
Type | Description |
Workload |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Workload.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Workload.Builder |
newBuilder(Workload prototype)
public static Workload.Builder newBuilder(Workload prototype)
Parameter | |
---|---|
Name | Description |
prototype | Workload |
Returns | |
---|---|
Type | Description |
Workload.Builder |
parseDelimitedFrom(InputStream input)
public static Workload parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Workload |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Workload parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Workload |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static Workload parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
Workload |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Workload parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Workload |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Workload parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
Workload |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Workload parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Workload |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Workload parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
Workload |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Workload parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Workload |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static Workload parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Workload |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Workload parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Workload |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Workload parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
Workload |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Workload parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Workload |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Workload> parser()
Returns | |
---|---|
Type | Description |
Parser<Workload> |
Methods
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getBillingAccount()
public String getBillingAccount()
Output 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) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The billingAccount. |
getBillingAccountBytes()
public ByteString getBillingAccountBytes()
Output 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) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for billingAccount. |
getCjisSettings() (deprecated)
public Workload.CJISSettings getCjisSettings()
Deprecated. google.cloud.assuredworkloads.v1beta1.Workload.cjis_settings is deprecated. See google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto;l=475
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) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Workload.CJISSettings | The cjisSettings. |
getCjisSettingsOrBuilder() (deprecated)
public Workload.CJISSettingsOrBuilder getCjisSettingsOrBuilder()
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) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Workload.ComplianceRegime | The complianceRegime. |
getComplianceRegimeSettingsCase()
public Workload.ComplianceRegimeSettingsCase getComplianceRegimeSettingsCase()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int | The enum numeric value on the wire for complianceRegime. |
getCompliantButDisallowedServices(int index)
public String getCompliantButDisallowedServices(int index)
Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment."
repeated string compliant_but_disallowed_services = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The compliantButDisallowedServices at the given index. |
getCompliantButDisallowedServicesBytes(int index)
public ByteString getCompliantButDisallowedServicesBytes(int index)
Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment."
repeated string compliant_but_disallowed_services = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the compliantButDisallowedServices at the given index. |
getCompliantButDisallowedServicesCount()
public int getCompliantButDisallowedServicesCount()
Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment."
repeated string compliant_but_disallowed_services = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The count of compliantButDisallowedServices. |
getCompliantButDisallowedServicesList()
public ProtocolStringList getCompliantButDisallowedServicesList()
Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment."
repeated string compliant_but_disallowed_services = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the compliantButDisallowedServices. |
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 | |
---|---|
Type | Description |
Timestamp | The createTime. |
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 | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Workload getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Workload |
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 | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for etag. |
getFedrampHighSettings() (deprecated)
public Workload.FedrampHighSettings getFedrampHighSettings()
Deprecated. google.cloud.assuredworkloads.v1beta1.Workload.fedramp_high_settings is deprecated. See google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto;l=482
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) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Workload.FedrampHighSettings | The fedrampHighSettings. |
getFedrampHighSettingsOrBuilder() (deprecated)
public Workload.FedrampHighSettingsOrBuilder getFedrampHighSettingsOrBuilder()
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) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Workload.FedrampHighSettingsOrBuilder |
getFedrampModerateSettings() (deprecated)
public Workload.FedrampModerateSettings getFedrampModerateSettings()
Deprecated. google.cloud.assuredworkloads.v1beta1.Workload.fedramp_moderate_settings is deprecated. See google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto;l=489
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) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Workload.FedrampModerateSettings | The fedrampModerateSettings. |
getFedrampModerateSettingsOrBuilder() (deprecated)
public Workload.FedrampModerateSettingsOrBuilder getFedrampModerateSettingsOrBuilder()
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) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Workload.FedrampModerateSettingsOrBuilder |
getIl4Settings() (deprecated)
public Workload.IL4Settings getIl4Settings()
Deprecated. google.cloud.assuredworkloads.v1beta1.Workload.il4_settings is deprecated. See google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto;l=468
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) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Workload.IL4Settings | The il4Settings. |
getIl4SettingsOrBuilder() (deprecated)
public Workload.IL4SettingsOrBuilder getIl4SettingsOrBuilder()
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) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Workload.IL4SettingsOrBuilder |
getKajEnrollmentState()
public Workload.KajEnrollmentState getKajEnrollmentState()
Output only. Represents the KAJ enrollment state of the given workload.
.google.cloud.assuredworkloads.v1beta1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Workload.KajEnrollmentState | The kajEnrollmentState. |
getKajEnrollmentStateValue()
public int getKajEnrollmentStateValue()
Output only. Represents the KAJ enrollment state of the given workload.
.google.cloud.assuredworkloads.v1beta1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for kajEnrollmentState. |
getKmsSettings() (deprecated)
public Workload.KMSSettings getKmsSettings()
Deprecated. google.cloud.assuredworkloads.v1beta1.Workload.kms_settings is deprecated. See google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto;l=516
Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS CMEK key is provisioned. This field is deprecated as of Feb 28, 2022. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
Workload.KMSSettings | The kmsSettings. |
getKmsSettingsOrBuilder() (deprecated)
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 deprecated as of Feb 28, 2022. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
Workload.KMSSettingsOrBuilder |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<Workload> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<Workload> |
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 | |
---|---|
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];
Returns | |
---|---|
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.v1beta1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Workload.ResourceSettings |
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 | |
---|---|
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.v1beta1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
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.v1beta1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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.v1beta1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Workload.ResourceInfo |
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 | |
---|---|
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.v1beta1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
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.v1beta1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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.v1beta1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.assuredworkloads.v1beta1.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.v1beta1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponse | The saaEnrollmentResponse. |
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.v1beta1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Workload.SaaEnrollmentResponseOrBuilder |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hasCjisSettings() (deprecated)
public boolean hasCjisSettings()
Deprecated. google.cloud.assuredworkloads.v1beta1.Workload.cjis_settings is deprecated. See google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto;l=475
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) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasFedrampHighSettings() (deprecated)
public boolean hasFedrampHighSettings()
Deprecated. google.cloud.assuredworkloads.v1beta1.Workload.fedramp_high_settings is deprecated. See google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto;l=482
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) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
boolean | Whether the fedrampHighSettings field is set. |
hasFedrampModerateSettings() (deprecated)
public boolean hasFedrampModerateSettings()
Deprecated. google.cloud.assuredworkloads.v1beta1.Workload.fedramp_moderate_settings is deprecated. See google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto;l=489
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) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
boolean | Whether the fedrampModerateSettings field is set. |
hasIl4Settings() (deprecated)
public boolean hasIl4Settings()
Deprecated. google.cloud.assuredworkloads.v1beta1.Workload.il4_settings is deprecated. See google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto;l=468
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) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
boolean | Whether the il4Settings field is set. |
hasKmsSettings() (deprecated)
public boolean hasKmsSettings()
Deprecated. google.cloud.assuredworkloads.v1beta1.Workload.kms_settings is deprecated. See google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto;l=516
Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS CMEK key is provisioned. This field is deprecated as of Feb 28, 2022. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
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.v1beta1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the saaEnrollmentResponse field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public Workload.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Workload.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Workload.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
Workload.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Workload.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Workload.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |