Class Workload

  • All Implemented Interfaces:
    WorkloadOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Workload
    extends com.google.protobuf.GeneratedMessageV3
    implements WorkloadOrBuilder
     An Workload object for managing highly regulated workloads of cloud
     customers.
     
    Protobuf type google.cloud.assuredworkloads.v1beta1.Workload
    See Also:
    Serialized Form
    • Field Detail

      • DISPLAY_NAME_FIELD_NUMBER

        public static final int DISPLAY_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • COMPLIANCE_REGIME_FIELD_NUMBER

        public static final int COMPLIANCE_REGIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CREATE_TIME_FIELD_NUMBER

        public static final int CREATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BILLING_ACCOUNT_FIELD_NUMBER

        public static final int BILLING_ACCOUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IL4_SETTINGS_FIELD_NUMBER

        public static final int IL4_SETTINGS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CJIS_SETTINGS_FIELD_NUMBER

        public static final int CJIS_SETTINGS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FEDRAMP_HIGH_SETTINGS_FIELD_NUMBER

        public static final int FEDRAMP_HIGH_SETTINGS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FEDRAMP_MODERATE_SETTINGS_FIELD_NUMBER

        public static final int FEDRAMP_MODERATE_SETTINGS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROVISIONED_RESOURCES_PARENT_FIELD_NUMBER

        public static final int PROVISIONED_RESOURCES_PARENT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • KMS_SETTINGS_FIELD_NUMBER

        public static final int KMS_SETTINGS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RESOURCE_SETTINGS_FIELD_NUMBER

        public static final int RESOURCE_SETTINGS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • KAJ_ENROLLMENT_STATE_FIELD_NUMBER

        public static final int KAJ_ENROLLMENT_STATE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENABLE_SOVEREIGN_CONTROLS_FIELD_NUMBER

        public static final int ENABLE_SOVEREIGN_CONTROLS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SAA_ENROLLMENT_RESPONSE_FIELD_NUMBER

        public static final int SAA_ENROLLMENT_RESPONSE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • COMPLIANT_BUT_DISALLOWED_SERVICES_FIELD_NUMBER

        public static final int COMPLIANT_BUT_DISALLOWED_SERVICES_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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];
        Specified by:
        getName in interface WorkloadOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.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];
        Specified by:
        getNameBytes in interface WorkloadOrBuilder
        Returns:
        The bytes for name.
      • 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];
        Specified by:
        getDisplayName in interface WorkloadOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.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];
        Specified by:
        getDisplayNameBytes in interface WorkloadOrBuilder
        Returns:
        The bytes for displayName.
      • 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];
        Specified by:
        getResourcesList in interface WorkloadOrBuilder
      • 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];
        Specified by:
        getResourcesOrBuilderList in interface WorkloadOrBuilder
      • 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];
        Specified by:
        getResourcesCount in interface WorkloadOrBuilder
      • getResources

        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];
        Specified by:
        getResources in interface WorkloadOrBuilder
      • getResourcesOrBuilder

        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];
        Specified by:
        getResourcesOrBuilder in interface WorkloadOrBuilder
      • 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];
        Specified by:
        getComplianceRegimeValue in interface WorkloadOrBuilder
        Returns:
        The enum numeric value on the wire for complianceRegime.
      • 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];
        Specified by:
        getComplianceRegime in interface WorkloadOrBuilder
        Returns:
        The complianceRegime.
      • 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];
        Specified by:
        hasCreateTime in interface WorkloadOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.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];
        Specified by:
        getCreateTime in interface WorkloadOrBuilder
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        public com.google.protobuf.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];
        Specified by:
        getCreateTimeOrBuilder in interface WorkloadOrBuilder
      • 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];
        Specified by:
        getBillingAccount in interface WorkloadOrBuilder
        Returns:
        The billingAccount.
      • getBillingAccountBytes

        public com.google.protobuf.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];
        Specified by:
        getBillingAccountBytes in interface WorkloadOrBuilder
        Returns:
        The bytes for billingAccount.
      • 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];
        Specified by:
        hasIl4Settings in interface WorkloadOrBuilder
        Returns:
        Whether the il4Settings field is set.
      • 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];
        Specified by:
        getIl4Settings in interface WorkloadOrBuilder
        Returns:
        The il4Settings.
      • getIl4SettingsOrBuilder

        @Deprecated
        public Workload.IL4SettingsOrBuilder getIl4SettingsOrBuilder()
        Deprecated.
         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];
        Specified by:
        getIl4SettingsOrBuilder in interface WorkloadOrBuilder
      • 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];
        Specified by:
        hasCjisSettings in interface WorkloadOrBuilder
        Returns:
        Whether the cjisSettings field is set.
      • 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];
        Specified by:
        getCjisSettings in interface WorkloadOrBuilder
        Returns:
        The cjisSettings.
      • getCjisSettingsOrBuilder

        @Deprecated
        public Workload.CJISSettingsOrBuilder getCjisSettingsOrBuilder()
        Deprecated.
         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];
        Specified by:
        getCjisSettingsOrBuilder in interface WorkloadOrBuilder
      • 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];
        Specified by:
        hasFedrampHighSettings in interface WorkloadOrBuilder
        Returns:
        Whether the fedrampHighSettings field is set.
      • 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];
        Specified by:
        getFedrampHighSettings in interface WorkloadOrBuilder
        Returns:
        The fedrampHighSettings.
      • getFedrampHighSettingsOrBuilder

        @Deprecated
        public Workload.FedrampHighSettingsOrBuilder getFedrampHighSettingsOrBuilder()
        Deprecated.
         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];
        Specified by:
        getFedrampHighSettingsOrBuilder in interface WorkloadOrBuilder
      • 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];
        Specified by:
        hasFedrampModerateSettings in interface WorkloadOrBuilder
        Returns:
        Whether the fedrampModerateSettings field is set.
      • 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];
        Specified by:
        getFedrampModerateSettings in interface WorkloadOrBuilder
        Returns:
        The fedrampModerateSettings.
      • getFedrampModerateSettingsOrBuilder

        @Deprecated
        public Workload.FedrampModerateSettingsOrBuilder getFedrampModerateSettingsOrBuilder()
        Deprecated.
         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];
        Specified by:
        getFedrampModerateSettingsOrBuilder in interface WorkloadOrBuilder
      • 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];
        Specified by:
        getEtag in interface WorkloadOrBuilder
        Returns:
        The etag.
      • getEtagBytes

        public com.google.protobuf.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];
        Specified by:
        getEtagBytes in interface WorkloadOrBuilder
        Returns:
        The bytes for etag.
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: WorkloadOrBuilder
         Optional. Labels applied to the workload.
         
        map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsCount in interface WorkloadOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Optional. Labels applied to the workload.
         
        map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsLabels in interface WorkloadOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         Optional. Labels applied to the workload.
         
        map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsMap in interface WorkloadOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         Optional. Labels applied to the workload.
         
        map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsOrDefault in interface WorkloadOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         Optional. Labels applied to the workload.
         
        map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsOrThrow in interface WorkloadOrBuilder
      • 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];
        Specified by:
        getProvisionedResourcesParent in interface WorkloadOrBuilder
        Returns:
        The provisionedResourcesParent.
      • getProvisionedResourcesParentBytes

        public com.google.protobuf.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];
        Specified by:
        getProvisionedResourcesParentBytes in interface WorkloadOrBuilder
        Returns:
        The bytes for provisionedResourcesParent.
      • 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];
        Specified by:
        hasKmsSettings in interface WorkloadOrBuilder
        Returns:
        Whether the kmsSettings field is set.
      • 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];
        Specified by:
        getKmsSettings in interface WorkloadOrBuilder
        Returns:
        The kmsSettings.
      • getKmsSettingsOrBuilder

        @Deprecated
        public Workload.KMSSettingsOrBuilder getKmsSettingsOrBuilder()
        Deprecated.
         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];
        Specified by:
        getKmsSettingsOrBuilder in interface WorkloadOrBuilder
      • 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];
        Specified by:
        getResourceSettingsList in interface WorkloadOrBuilder
      • 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];
        Specified by:
        getResourceSettingsOrBuilderList in interface WorkloadOrBuilder
      • 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];
        Specified by:
        getResourceSettingsCount in interface WorkloadOrBuilder
      • getResourceSettings

        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];
        Specified by:
        getResourceSettings in interface WorkloadOrBuilder
      • getResourceSettingsOrBuilder

        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];
        Specified by:
        getResourceSettingsOrBuilder in interface WorkloadOrBuilder
      • 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];
        Specified by:
        getKajEnrollmentStateValue in interface WorkloadOrBuilder
        Returns:
        The enum numeric value on the wire for kajEnrollmentState.
      • 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];
        Specified by:
        getKajEnrollmentState in interface WorkloadOrBuilder
        Returns:
        The kajEnrollmentState.
      • 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];
        Specified by:
        getEnableSovereignControls in interface WorkloadOrBuilder
        Returns:
        The enableSovereignControls.
      • 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];
        Specified by:
        hasSaaEnrollmentResponse in interface WorkloadOrBuilder
        Returns:
        Whether the saaEnrollmentResponse field is set.
      • 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];
        Specified by:
        getSaaEnrollmentResponse in interface WorkloadOrBuilder
        Returns:
        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];
        Specified by:
        getSaaEnrollmentResponseOrBuilder in interface WorkloadOrBuilder
      • getCompliantButDisallowedServicesList

        public com.google.protobuf.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];
        Specified by:
        getCompliantButDisallowedServicesList in interface WorkloadOrBuilder
        Returns:
        A list containing the compliantButDisallowedServices.
      • 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];
        Specified by:
        getCompliantButDisallowedServicesCount in interface WorkloadOrBuilder
        Returns:
        The count of compliantButDisallowedServices.
      • getCompliantButDisallowedServices

        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];
        Specified by:
        getCompliantButDisallowedServices in interface WorkloadOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The compliantButDisallowedServices at the given index.
      • getCompliantButDisallowedServicesBytes

        public com.google.protobuf.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];
        Specified by:
        getCompliantButDisallowedServicesBytes in interface WorkloadOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the compliantButDisallowedServices at the given index.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Workload parseFrom​(ByteBuffer data)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Workload parseFrom​(ByteBuffer data,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Workload parseFrom​(com.google.protobuf.ByteString data)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Workload parseFrom​(com.google.protobuf.ByteString data,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Workload parseFrom​(byte[] data)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Workload parseFrom​(byte[] data,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Workload parseFrom​(com.google.protobuf.CodedInputStream input,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Workload.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Workload.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Workload.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Workload getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Workload> parser()
      • getParserForType

        public com.google.protobuf.Parser<Workload> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Workload getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder