Class Workload.IL4Settings.Builder (2.0.0)

public static final class Workload.IL4Settings.Builder extends GeneratedMessageV3.Builder<Workload.IL4Settings.Builder> implements Workload.IL4SettingsOrBuilder

Settings specific to resources needed for IL4.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKmsSettings()

public Workload.IL4Settings.Builder clearKmsSettings()

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

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

Returns
TypeDescription
Workload.IL4Settings.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKmsSettings()

public Workload.KMSSettings getKmsSettings()

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

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

Returns
TypeDescription
Workload.KMSSettings

The kmsSettings.

getKmsSettingsBuilder()

public Workload.KMSSettings.Builder getKmsSettingsBuilder()

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

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

Returns
TypeDescription
Workload.KMSSettings.Builder

getKmsSettingsOrBuilder()

public Workload.KMSSettingsOrBuilder getKmsSettingsOrBuilder()

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

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

Returns
TypeDescription
Workload.KMSSettingsOrBuilder

hasKmsSettings()

public boolean hasKmsSettings()

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

.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = REQUIRED, (.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.IL4Settings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeKmsSettings(Workload.KMSSettings value)

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

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

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setKmsSettings(Workload.KMSSettings value)

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

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

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

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

setKmsSettings(Workload.KMSSettings.Builder builderForValue)

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

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

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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