Class Workload.Builder

  • All Implemented Interfaces:
    WorkloadOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Workload

    public static final class Workload.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Workload.Builder>
    implements WorkloadOrBuilder
     A Workload object for managing highly regulated workloads of cloud
     customers.
     
    Protobuf type google.cloud.assuredworkloads.v1.Workload
    • Method Detail

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

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.Builder>
      • clear

        public Workload.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.Builder>
      • getDefaultInstanceForType

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

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

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

        public Workload.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.Builder>
      • setField

        public Workload.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                         Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.Builder>
      • clearField

        public Workload.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.Builder>
      • clearOneof

        public Workload.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.Builder>
      • setRepeatedField

        public Workload.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 int index,
                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.Builder>
      • addRepeatedField

        public Workload.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.Builder>
      • mergeFrom

        public Workload.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Workload.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.Builder>
      • mergeFrom

        public Workload.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Workload.Builder>
        Throws:
        IOException
      • 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.
      • setName

        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];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Workload.Builder clearName()
         Optional. The resource name of the workload.
         Format:
         organizations/{organization}/locations/{location}/workloads/{workload}
        
         Read-only.
         
        string name = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Workload.Builder setNameBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • 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.
      • setDisplayName

        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];
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public Workload.Builder clearDisplayName()
         Required. The user-assigned display name of the Workload.
         When present it must be between 4 to 30 characters.
         Allowed characters are: lowercase and uppercase letters, numbers,
         hyphen, and spaces.
        
         Example: My Workload
         
        string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public Workload.Builder setDisplayNameBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getResourcesList 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.v1.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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getResources in interface WorkloadOrBuilder
      • setResources

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

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

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

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

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

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

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

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

        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];
      • 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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getResourcesOrBuilder 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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getResourcesOrBuilderList in interface WorkloadOrBuilder
      • 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];
      • addResourcesBuilder

        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];
      • 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];
      • 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];
        Specified by:
        getComplianceRegimeValue in interface WorkloadOrBuilder
        Returns:
        The enum numeric value on the wire for complianceRegime.
      • setComplianceRegimeValue

        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];
        Parameters:
        value - The enum numeric value on the wire for complianceRegime to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getComplianceRegime in interface WorkloadOrBuilder
        Returns:
        The complianceRegime.
      • setComplianceRegime

        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];
        Parameters:
        value - The complianceRegime to set.
        Returns:
        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];
        Returns:
        This builder for chaining.
      • 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.
      • setCreateTime

        public Workload.Builder setCreateTime​(com.google.protobuf.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];
      • setCreateTime

        public Workload.Builder setCreateTime​(com.google.protobuf.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];
      • mergeCreateTime

        public Workload.Builder mergeCreateTime​(com.google.protobuf.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];
      • 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];
      • getCreateTimeBuilder

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

        public com.google.protobuf.ByteString getBillingAccountBytes()
         Optional. 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) = OPTIONAL];
        Specified by:
        getBillingAccountBytes in interface WorkloadOrBuilder
        Returns:
        The bytes for billingAccount.
      • setBillingAccount

        public Workload.Builder setBillingAccount​(String value)
         Optional. 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) = OPTIONAL];
        Parameters:
        value - The billingAccount to set.
        Returns:
        This builder for chaining.
      • clearBillingAccount

        public Workload.Builder clearBillingAccount()
         Optional. 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) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setBillingAccountBytes

        public Workload.Builder setBillingAccountBytes​(com.google.protobuf.ByteString value)
         Optional. 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) = OPTIONAL];
        Parameters:
        value - The bytes for billingAccount to set.
        Returns:
        This builder for chaining.
      • 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.
      • setEtag

        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];
        Parameters:
        value - The etag to set.
        Returns:
        This builder for chaining.
      • clearEtag

        public Workload.Builder clearEtag()
         Optional. ETag of the workload, it is calculated on the basis
         of the Workload contents. It will be used in Update & Delete operations.
         
        string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setEtagBytes

        public Workload.Builder setEtagBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for etag to set.
        Returns:
        This builder for chaining.
      • 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
      • removeLabels

        public Workload.Builder removeLabels​(String key)
         Optional. Labels applied to the workload.
         
        map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public Workload.Builder putLabels​(String key,
                                          String value)
         Optional. Labels applied to the workload.
         
        map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
      • putAllLabels

        public Workload.Builder putAllLabels​(Map<String,​String> values)
         Optional. Labels applied to the workload.
         
        map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
      • 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.
      • setProvisionedResourcesParent

        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];
        Parameters:
        value - The provisionedResourcesParent to set.
        Returns:
        This builder for chaining.
      • clearProvisionedResourcesParent

        public Workload.Builder clearProvisionedResourcesParent()
         Input only. The parent resource for the resources managed by this Assured Workload. May
         be either empty or a folder resource which is a child of the
         Workload parent. If not specified all resources are created under the
         parent organization.
         Format:
         folders/{folder_id}
         
        string provisioned_resources_parent = 13 [(.google.api.field_behavior) = INPUT_ONLY];
        Returns:
        This builder for chaining.
      • setProvisionedResourcesParentBytes

        public Workload.Builder setProvisionedResourcesParentBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for provisionedResourcesParent to set.
        Returns:
        This builder for chaining.
      • hasKmsSettings

        @Deprecated
        public boolean hasKmsSettings()
        Deprecated.
        google.cloud.assuredworkloads.v1.Workload.kms_settings is deprecated. See google/cloud/assuredworkloads/v1/assuredworkloads.proto;l=484
         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.v1.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.v1.Workload.kms_settings is deprecated. See google/cloud/assuredworkloads/v1/assuredworkloads.proto;l=484
         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.v1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
        Specified by:
        getKmsSettings in interface WorkloadOrBuilder
        Returns:
        The kmsSettings.
      • setKmsSettings

        @Deprecated
        public Workload.Builder setKmsSettings​(Workload.KMSSettings value)
        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.v1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
      • setKmsSettings

        @Deprecated
        public Workload.Builder setKmsSettings​(Workload.KMSSettings.Builder builderForValue)
        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.v1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
      • mergeKmsSettings

        @Deprecated
        public Workload.Builder mergeKmsSettings​(Workload.KMSSettings value)
        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.v1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
      • clearKmsSettings

        @Deprecated
        public Workload.Builder clearKmsSettings()
        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.v1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
      • getKmsSettingsBuilder

        @Deprecated
        public Workload.KMSSettings.Builder getKmsSettingsBuilder()
        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.v1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
      • 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.v1.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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
        Specified by:
        getResourceSettingsList 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.v1.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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
        Specified by:
        getResourceSettings in interface WorkloadOrBuilder
      • setResourceSettings

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

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

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

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

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

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

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

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

        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];
      • 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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
        Specified by:
        getResourceSettingsOrBuilder 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.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
        Specified by:
        getResourceSettingsOrBuilderList in interface WorkloadOrBuilder
      • 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];
      • addResourceSettingsBuilder

        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];
      • 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];
      • 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];
        Specified by:
        getKajEnrollmentStateValue in interface WorkloadOrBuilder
        Returns:
        The enum numeric value on the wire for kajEnrollmentState.
      • setKajEnrollmentStateValue

        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];
        Parameters:
        value - The enum numeric value on the wire for kajEnrollmentState to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getKajEnrollmentState in interface WorkloadOrBuilder
        Returns:
        The kajEnrollmentState.
      • setKajEnrollmentState

        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];
        Parameters:
        value - The kajEnrollmentState to set.
        Returns:
        This builder for chaining.
      • 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];
        Returns:
        This builder for chaining.
      • 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.
      • setEnableSovereignControls

        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];
        Parameters:
        value - The enableSovereignControls to set.
        Returns:
        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];
        Returns:
        This builder for chaining.
      • 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];
        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.v1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSaaEnrollmentResponse in interface WorkloadOrBuilder
        Returns:
        The saaEnrollmentResponse.
      • setSaaEnrollmentResponse

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

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

        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];
      • 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];
      • 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];
      • 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];
        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.
      • setCompliantButDisallowedServices

        public Workload.Builder setCompliantButDisallowedServices​(int index,
                                                                  String value)
         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];
        Parameters:
        index - The index to set the value at.
        value - The compliantButDisallowedServices to set.
        Returns:
        This builder for chaining.
      • addCompliantButDisallowedServices

        public Workload.Builder addCompliantButDisallowedServices​(String value)
         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];
        Parameters:
        value - The compliantButDisallowedServices to add.
        Returns:
        This builder for chaining.
      • addAllCompliantButDisallowedServices

        public Workload.Builder addAllCompliantButDisallowedServices​(Iterable<String> values)
         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];
        Parameters:
        values - The compliantButDisallowedServices to add.
        Returns:
        This builder for chaining.
      • clearCompliantButDisallowedServices

        public Workload.Builder clearCompliantButDisallowedServices()
         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:
        This builder for chaining.
      • addCompliantButDisallowedServicesBytes

        public Workload.Builder addCompliantButDisallowedServicesBytes​(com.google.protobuf.ByteString value)
         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];
        Parameters:
        value - The bytes of the compliantButDisallowedServices to add.
        Returns:
        This builder for chaining.
      • getPartnerValue

        public int getPartnerValue()
         Optional. Compliance Regime associated with this workload.
         
        .google.cloud.assuredworkloads.v1.Workload.Partner partner = 25 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPartnerValue in interface WorkloadOrBuilder
        Returns:
        The enum numeric value on the wire for partner.
      • setPartnerValue

        public Workload.Builder setPartnerValue​(int value)
         Optional. Compliance Regime associated with this workload.
         
        .google.cloud.assuredworkloads.v1.Workload.Partner partner = 25 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The enum numeric value on the wire for partner to set.
        Returns:
        This builder for chaining.
      • getPartner

        public Workload.Partner getPartner()
         Optional. Compliance Regime associated with this workload.
         
        .google.cloud.assuredworkloads.v1.Workload.Partner partner = 25 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPartner in interface WorkloadOrBuilder
        Returns:
        The partner.
      • setPartner

        public Workload.Builder setPartner​(Workload.Partner value)
         Optional. Compliance Regime associated with this workload.
         
        .google.cloud.assuredworkloads.v1.Workload.Partner partner = 25 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The partner to set.
        Returns:
        This builder for chaining.
      • clearPartner

        public Workload.Builder clearPartner()
         Optional. Compliance Regime associated with this workload.
         
        .google.cloud.assuredworkloads.v1.Workload.Partner partner = 25 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Workload.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.Builder>
      • mergeUnknownFields

        public final Workload.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Workload.Builder>