Class ShieldedInstanceConfig.Builder (4.80.0)

public static final class ShieldedInstanceConfig.Builder extends GeneratedMessage.Builder<ShieldedInstanceConfig.Builder> implements ShieldedInstanceConfigOrBuilder

Shielded Instance Config for clusters using Compute Engine Shielded VMs.

Protobuf type google.cloud.dataproc.v1.ShieldedInstanceConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ShieldedInstanceConfig build()
Returns
Type Description
ShieldedInstanceConfig

buildPartial()

public ShieldedInstanceConfig buildPartial()
Returns
Type Description
ShieldedInstanceConfig

clear()

public ShieldedInstanceConfig.Builder clear()
Returns
Type Description
ShieldedInstanceConfig.Builder
Overrides

clearEnableIntegrityMonitoring()

public ShieldedInstanceConfig.Builder clearEnableIntegrityMonitoring()

Optional. Defines whether instances have integrity monitoring enabled.

optional bool enable_integrity_monitoring = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ShieldedInstanceConfig.Builder

This builder for chaining.

clearEnableSecureBoot()

public ShieldedInstanceConfig.Builder clearEnableSecureBoot()

Optional. Defines whether instances have Secure Boot enabled.

optional bool enable_secure_boot = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ShieldedInstanceConfig.Builder

This builder for chaining.

clearEnableVtpm()

public ShieldedInstanceConfig.Builder clearEnableVtpm()

Optional. Defines whether instances have the vTPM enabled.

optional bool enable_vtpm = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ShieldedInstanceConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public ShieldedInstanceConfig getDefaultInstanceForType()
Returns
Type Description
ShieldedInstanceConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnableIntegrityMonitoring()

public boolean getEnableIntegrityMonitoring()

Optional. Defines whether instances have integrity monitoring enabled.

optional bool enable_integrity_monitoring = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableIntegrityMonitoring.

getEnableSecureBoot()

public boolean getEnableSecureBoot()

Optional. Defines whether instances have Secure Boot enabled.

optional bool enable_secure_boot = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableSecureBoot.

getEnableVtpm()

public boolean getEnableVtpm()

Optional. Defines whether instances have the vTPM enabled.

optional bool enable_vtpm = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableVtpm.

hasEnableIntegrityMonitoring()

public boolean hasEnableIntegrityMonitoring()

Optional. Defines whether instances have integrity monitoring enabled.

optional bool enable_integrity_monitoring = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the enableIntegrityMonitoring field is set.

hasEnableSecureBoot()

public boolean hasEnableSecureBoot()

Optional. Defines whether instances have Secure Boot enabled.

optional bool enable_secure_boot = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the enableSecureBoot field is set.

hasEnableVtpm()

public boolean hasEnableVtpm()

Optional. Defines whether instances have the vTPM enabled.

optional bool enable_vtpm = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the enableVtpm field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ShieldedInstanceConfig other)

public ShieldedInstanceConfig.Builder mergeFrom(ShieldedInstanceConfig other)
Parameter
Name Description
other ShieldedInstanceConfig
Returns
Type Description
ShieldedInstanceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ShieldedInstanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShieldedInstanceConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ShieldedInstanceConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ShieldedInstanceConfig.Builder
Overrides

setEnableIntegrityMonitoring(boolean value)

public ShieldedInstanceConfig.Builder setEnableIntegrityMonitoring(boolean value)

Optional. Defines whether instances have integrity monitoring enabled.

optional bool enable_integrity_monitoring = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enableIntegrityMonitoring to set.

Returns
Type Description
ShieldedInstanceConfig.Builder

This builder for chaining.

setEnableSecureBoot(boolean value)

public ShieldedInstanceConfig.Builder setEnableSecureBoot(boolean value)

Optional. Defines whether instances have Secure Boot enabled.

optional bool enable_secure_boot = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enableSecureBoot to set.

Returns
Type Description
ShieldedInstanceConfig.Builder

This builder for chaining.

setEnableVtpm(boolean value)

public ShieldedInstanceConfig.Builder setEnableVtpm(boolean value)

Optional. Defines whether instances have the vTPM enabled.

optional bool enable_vtpm = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enableVtpm to set.

Returns
Type Description
ShieldedInstanceConfig.Builder

This builder for chaining.