Class Workload.FedrampModerateSettings.Builder (2.24.0)

public static final class Workload.FedrampModerateSettings.Builder extends GeneratedMessageV3.Builder<Workload.FedrampModerateSettings.Builder> implements Workload.FedrampModerateSettingsOrBuilder

Settings specific to resources needed for FedRAMP Moderate.

Protobuf type google.cloud.assuredworkloads.v1beta1.Workload.FedrampModerateSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Workload.FedrampModerateSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Workload.FedrampModerateSettings.Builder
Overrides

build()

public Workload.FedrampModerateSettings build()
Returns
TypeDescription
Workload.FedrampModerateSettings

buildPartial()

public Workload.FedrampModerateSettings buildPartial()
Returns
TypeDescription
Workload.FedrampModerateSettings

clear()

public Workload.FedrampModerateSettings.Builder clear()
Returns
TypeDescription
Workload.FedrampModerateSettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Workload.FedrampModerateSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Workload.FedrampModerateSettings.Builder
Overrides

clearKmsSettings()

public Workload.FedrampModerateSettings.Builder clearKmsSettings()

Input only. Immutable. Settings used to create a CMEK crypto key.

.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Workload.FedrampModerateSettings.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Workload.FedrampModerateSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Workload.FedrampModerateSettings.Builder
Overrides

clone()

public Workload.FedrampModerateSettings.Builder clone()
Returns
TypeDescription
Workload.FedrampModerateSettings.Builder
Overrides

getDefaultInstanceForType()

public Workload.FedrampModerateSettings getDefaultInstanceForType()
Returns
TypeDescription
Workload.FedrampModerateSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKmsSettings()

public Workload.KMSSettings getKmsSettings()

Input only. Immutable. Settings used to create a CMEK crypto key.

.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Workload.KMSSettings

The kmsSettings.

getKmsSettingsBuilder()

public Workload.KMSSettings.Builder getKmsSettingsBuilder()

Input only. Immutable. Settings used to create a CMEK crypto key.

.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Workload.KMSSettings.Builder

getKmsSettingsOrBuilder()

public Workload.KMSSettingsOrBuilder getKmsSettingsOrBuilder()

Input only. Immutable. Settings used to create a CMEK crypto key.

.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Workload.KMSSettingsOrBuilder

hasKmsSettings()

public boolean hasKmsSettings()

Input only. Immutable. Settings used to create a CMEK crypto key.

.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the kmsSettings field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Workload.FedrampModerateSettings other)

public Workload.FedrampModerateSettings.Builder mergeFrom(Workload.FedrampModerateSettings other)
Parameter
NameDescription
otherWorkload.FedrampModerateSettings
Returns
TypeDescription
Workload.FedrampModerateSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Workload.FedrampModerateSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Workload.FedrampModerateSettings.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Workload.FedrampModerateSettings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Workload.FedrampModerateSettings.Builder
Overrides

mergeKmsSettings(Workload.KMSSettings value)

public Workload.FedrampModerateSettings.Builder mergeKmsSettings(Workload.KMSSettings value)

Input only. Immutable. Settings used to create a CMEK crypto key.

.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueWorkload.KMSSettings
Returns
TypeDescription
Workload.FedrampModerateSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Workload.FedrampModerateSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Workload.FedrampModerateSettings.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Workload.FedrampModerateSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Workload.FedrampModerateSettings.Builder
Overrides

setKmsSettings(Workload.KMSSettings value)

public Workload.FedrampModerateSettings.Builder setKmsSettings(Workload.KMSSettings value)

Input only. Immutable. Settings used to create a CMEK crypto key.

.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueWorkload.KMSSettings
Returns
TypeDescription
Workload.FedrampModerateSettings.Builder

setKmsSettings(Workload.KMSSettings.Builder builderForValue)

public Workload.FedrampModerateSettings.Builder setKmsSettings(Workload.KMSSettings.Builder builderForValue)

Input only. Immutable. Settings used to create a CMEK crypto key.

.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
builderForValueWorkload.KMSSettings.Builder
Returns
TypeDescription
Workload.FedrampModerateSettings.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Workload.FedrampModerateSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Workload.FedrampModerateSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Workload.FedrampModerateSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Workload.FedrampModerateSettings.Builder
Overrides