Class ShieldedInstanceConfig.Builder (4.36.0)

public static final class ShieldedInstanceConfig.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ShieldedInstanceConfig build()
Returns
TypeDescription
ShieldedInstanceConfig

buildPartial()

public ShieldedInstanceConfig buildPartial()
Returns
TypeDescription
ShieldedInstanceConfig

clear()

public ShieldedInstanceConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ShieldedInstanceConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ShieldedInstanceConfig.Builder clone()
Returns
TypeDescription
ShieldedInstanceConfig.Builder
Overrides

getDefaultInstanceForType()

public ShieldedInstanceConfig getDefaultInstanceForType()
Returns
TypeDescription
ShieldedInstanceConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the enableVtpm field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ShieldedInstanceConfig other)

public ShieldedInstanceConfig.Builder mergeFrom(ShieldedInstanceConfig other)
Parameter
NameDescription
otherShieldedInstanceConfig
Returns
TypeDescription
ShieldedInstanceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ShieldedInstanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The enableIntegrityMonitoring to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The enableSecureBoot to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The enableVtpm to set.

Returns
TypeDescription
ShieldedInstanceConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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