Class Workload
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.assuredworkloads.v1.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
A Workload object for managing highly regulated workloads of cloud customers.
Protobuf typegoogle.cloud.assuredworkloads.v1.Workload- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkload.BuilderA Workload object for managing highly regulated workloads of cloud customers.static classWorkload.ComplianceRegimeSupported Compliance Regimes.static classWorkload.KajEnrollmentStateKey Access Justifications(KAJ) Enrollment State.static classWorkload.KMSSettingsDeprecated.static interfaceWorkload.KMSSettingsOrBuilderDeprecated.static classWorkload.PartnerSupported Assured Workloads Partners.static classWorkload.ResourceInfoRepresent the resources that are children of this Workload.static interfaceWorkload.ResourceInfoOrBuilderstatic classWorkload.ResourceSettingsRepresent the custom settings for the resources to be created.static interfaceWorkload.ResourceSettingsOrBuilderstatic classWorkload.SaaEnrollmentResponseSigned Access Approvals (SAA) enrollment response.static interfaceWorkload.SaaEnrollmentResponseOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBILLING_ACCOUNT_FIELD_NUMBERstatic intCOMPLIANCE_REGIME_FIELD_NUMBERstatic intCOMPLIANT_BUT_DISALLOWED_SERVICES_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intENABLE_SOVEREIGN_CONTROLS_FIELD_NUMBERstatic intETAG_FIELD_NUMBERstatic intKAJ_ENROLLMENT_STATE_FIELD_NUMBERstatic intKMS_SETTINGS_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPARTNER_FIELD_NUMBERstatic intPROVISIONED_RESOURCES_PARENT_FIELD_NUMBERstatic intRESOURCE_SETTINGS_FIELD_NUMBERstatic intRESOURCES_FIELD_NUMBERstatic intSAA_ENROLLMENT_RESPONSE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Optional.booleanequals(Object obj)StringgetBillingAccount()Optional.com.google.protobuf.ByteStringgetBillingAccountBytes()Optional.Workload.ComplianceRegimegetComplianceRegime()Required.intgetComplianceRegimeValue()Required.StringgetCompliantButDisallowedServices(int index)Output only.com.google.protobuf.ByteStringgetCompliantButDisallowedServicesBytes(int index)Output only.intgetCompliantButDisallowedServicesCount()Output only.com.google.protobuf.ProtocolStringListgetCompliantButDisallowedServicesList()Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static WorkloadgetDefaultInstance()WorkloadgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.booleangetEnableSovereignControls()Optional.StringgetEtag()Optional.com.google.protobuf.ByteStringgetEtagBytes()Optional.Workload.KajEnrollmentStategetKajEnrollmentState()Output only.intgetKajEnrollmentStateValue()Output only.Workload.KMSSettingsgetKmsSettings()Deprecated.google.cloud.assuredworkloads.v1.Workload.kms_settings is deprecated.Workload.KMSSettingsOrBuildergetKmsSettingsOrBuilder()Deprecated.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.StringgetName()Optional.com.google.protobuf.ByteStringgetNameBytes()Optional.com.google.protobuf.Parser<Workload>getParserForType()Workload.PartnergetPartner()Optional.intgetPartnerValue()Optional.StringgetProvisionedResourcesParent()Input only.com.google.protobuf.ByteStringgetProvisionedResourcesParentBytes()Input only.Workload.ResourceInfogetResources(int index)Output only.intgetResourcesCount()Output only.Workload.ResourceSettingsgetResourceSettings(int index)Input only.intgetResourceSettingsCount()Input only.List<Workload.ResourceSettings>getResourceSettingsList()Input only.Workload.ResourceSettingsOrBuildergetResourceSettingsOrBuilder(int index)Input only.List<? extends Workload.ResourceSettingsOrBuilder>getResourceSettingsOrBuilderList()Input only.List<Workload.ResourceInfo>getResourcesList()Output only.Workload.ResourceInfoOrBuildergetResourcesOrBuilder(int index)Output only.List<? extends Workload.ResourceInfoOrBuilder>getResourcesOrBuilderList()Output only.Workload.SaaEnrollmentResponsegetSaaEnrollmentResponse()Output only.Workload.SaaEnrollmentResponseOrBuildergetSaaEnrollmentResponseOrBuilder()Output only.intgetSerializedSize()booleanhasCreateTime()Output only.inthashCode()booleanhasKmsSettings()Deprecated.google.cloud.assuredworkloads.v1.Workload.kms_settings is deprecated.booleanhasSaaEnrollmentResponse()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Workload.BuildernewBuilder()static Workload.BuildernewBuilder(Workload prototype)Workload.BuildernewBuilderForType()protected Workload.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static WorkloadparseDelimitedFrom(InputStream input)static WorkloadparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkloadparseFrom(byte[] data)static WorkloadparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkloadparseFrom(com.google.protobuf.ByteString data)static WorkloadparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkloadparseFrom(com.google.protobuf.CodedInputStream input)static WorkloadparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkloadparseFrom(InputStream input)static WorkloadparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkloadparseFrom(ByteBuffer data)static WorkloadparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Workload>parser()Workload.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_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
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_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
-
PARTNER_FIELD_NUMBER
public static final int PARTNER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.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:
getNamein interfaceWorkloadOrBuilder- 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:
getNameBytesin interfaceWorkloadOrBuilder- 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:
getDisplayNamein interfaceWorkloadOrBuilder- 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:
getDisplayNameBytesin interfaceWorkloadOrBuilder- 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.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourcesListin interfaceWorkloadOrBuilder
-
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:
getResourcesOrBuilderListin interfaceWorkloadOrBuilder
-
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:
getResourcesCountin interfaceWorkloadOrBuilder
-
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:
getResourcesin interfaceWorkloadOrBuilder
-
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:
getResourcesOrBuilderin interfaceWorkloadOrBuilder
-
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:
getComplianceRegimeValuein interfaceWorkloadOrBuilder- 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.v1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getComplianceRegimein interfaceWorkloadOrBuilder- 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:
hasCreateTimein interfaceWorkloadOrBuilder- 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:
getCreateTimein interfaceWorkloadOrBuilder- 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:
getCreateTimeOrBuilderin interfaceWorkloadOrBuilder
-
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:
getBillingAccountin interfaceWorkloadOrBuilder- 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:
getBillingAccountBytesin interfaceWorkloadOrBuilder- Returns:
- The bytes for billingAccount.
-
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:
getEtagin interfaceWorkloadOrBuilder- 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:
getEtagBytesin interfaceWorkloadOrBuilder- Returns:
- The bytes for etag.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:WorkloadOrBuilderOptional. Labels applied to the workload.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceWorkloadOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. Labels applied to the workload.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceWorkloadOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceWorkloadOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. Labels applied to the workload.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceWorkloadOrBuilder
-
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:
getLabelsOrDefaultin interfaceWorkloadOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. Labels applied to the workload.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceWorkloadOrBuilder
-
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:
getProvisionedResourcesParentin interfaceWorkloadOrBuilder- 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:
getProvisionedResourcesParentBytesin interfaceWorkloadOrBuilder- Returns:
- The bytes for provisionedResourcesParent.
-
hasKmsSettings
@Deprecated public boolean hasKmsSettings()
Deprecated.google.cloud.assuredworkloads.v1.Workload.kms_settings is deprecated. See google/cloud/assuredworkloads/v1/assuredworkloads.proto;l=484Input 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:
hasKmsSettingsin interfaceWorkloadOrBuilder- 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=484Input 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:
getKmsSettingsin interfaceWorkloadOrBuilder- 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.v1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getKmsSettingsOrBuilderin interfaceWorkloadOrBuilder
-
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:
getResourceSettingsListin interfaceWorkloadOrBuilder
-
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:
getResourceSettingsOrBuilderListin interfaceWorkloadOrBuilder
-
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:
getResourceSettingsCountin interfaceWorkloadOrBuilder
-
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:
getResourceSettingsin interfaceWorkloadOrBuilder
-
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:
getResourceSettingsOrBuilderin interfaceWorkloadOrBuilder
-
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:
getKajEnrollmentStateValuein interfaceWorkloadOrBuilder- 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.v1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getKajEnrollmentStatein interfaceWorkloadOrBuilder- 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:
getEnableSovereignControlsin interfaceWorkloadOrBuilder- 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.v1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSaaEnrollmentResponsein interfaceWorkloadOrBuilder- 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:
getSaaEnrollmentResponsein interfaceWorkloadOrBuilder- 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.v1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSaaEnrollmentResponseOrBuilderin interfaceWorkloadOrBuilder
-
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:
getCompliantButDisallowedServicesListin interfaceWorkloadOrBuilder- 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:
getCompliantButDisallowedServicesCountin interfaceWorkloadOrBuilder- 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:
getCompliantButDisallowedServicesin interfaceWorkloadOrBuilder- 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:
getCompliantButDisallowedServicesBytesin interfaceWorkloadOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the compliantButDisallowedServices at the given index.
-
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:
getPartnerValuein interfaceWorkloadOrBuilder- Returns:
- The enum numeric value on the wire for partner.
-
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:
getPartnerin interfaceWorkloadOrBuilder- Returns:
- The partner.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Workload parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Workload parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Workload parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Workload parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Workload.Builder newBuilder()
-
newBuilder
public static Workload.Builder newBuilder(Workload prototype)
-
toBuilder
public Workload.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Workload.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Workload getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-