public static final class ShieldedInstanceConfig.Builder extends GeneratedMessage.Builder<ShieldedInstanceConfig.Builder> implements ShieldedInstanceConfigOrBuilderA set of Shielded Instance options.
Protobuf type google.cloud.compute.v1.ShieldedInstanceConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ShieldedInstanceConfig.BuilderImplements
ShieldedInstanceConfigOrBuilderStatic 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 |
|
clearEnableIntegrityMonitoring()
public ShieldedInstanceConfig.Builder clearEnableIntegrityMonitoring()Defines whether the instance has integrity monitoring enabled.Enabled by default.
optional bool enable_integrity_monitoring = 409071030;
| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceConfig.Builder |
This builder for chaining. |
clearEnableSecureBoot()
public ShieldedInstanceConfig.Builder clearEnableSecureBoot()Defines whether the instance has Secure Boot enabled.Disabled by default.
optional bool enable_secure_boot = 123568638;
| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceConfig.Builder |
This builder for chaining. |
clearEnableVtpm()
public ShieldedInstanceConfig.Builder clearEnableVtpm()Defines whether the instance has the vTPM enabled.Enabled by default.
optional bool enable_vtpm = 181858935;
| 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 |
|
getEnableIntegrityMonitoring()
public boolean getEnableIntegrityMonitoring()Defines whether the instance has integrity monitoring enabled.Enabled by default.
optional bool enable_integrity_monitoring = 409071030;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableIntegrityMonitoring. |
getEnableSecureBoot()
public boolean getEnableSecureBoot()Defines whether the instance has Secure Boot enabled.Disabled by default.
optional bool enable_secure_boot = 123568638;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableSecureBoot. |
getEnableVtpm()
public boolean getEnableVtpm()Defines whether the instance has the vTPM enabled.Enabled by default.
optional bool enable_vtpm = 181858935;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableVtpm. |
hasEnableIntegrityMonitoring()
public boolean hasEnableIntegrityMonitoring()Defines whether the instance has integrity monitoring enabled.Enabled by default.
optional bool enable_integrity_monitoring = 409071030;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enableIntegrityMonitoring field is set. |
hasEnableSecureBoot()
public boolean hasEnableSecureBoot()Defines whether the instance has Secure Boot enabled.Disabled by default.
optional bool enable_secure_boot = 123568638;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enableSecureBoot field is set. |
hasEnableVtpm()
public boolean hasEnableVtpm()Defines whether the instance has the vTPM enabled.Enabled by default.
optional bool enable_vtpm = 181858935;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enableVtpm field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ShieldedInstanceConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceConfig.Builder |
|
setEnableIntegrityMonitoring(boolean value)
public ShieldedInstanceConfig.Builder setEnableIntegrityMonitoring(boolean value)Defines whether the instance has integrity monitoring enabled.Enabled by default.
optional bool enable_integrity_monitoring = 409071030;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableIntegrityMonitoring to set. |
| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceConfig.Builder |
This builder for chaining. |
setEnableSecureBoot(boolean value)
public ShieldedInstanceConfig.Builder setEnableSecureBoot(boolean value)Defines whether the instance has Secure Boot enabled.Disabled by default.
optional bool enable_secure_boot = 123568638;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableSecureBoot to set. |
| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceConfig.Builder |
This builder for chaining. |
setEnableVtpm(boolean value)
public ShieldedInstanceConfig.Builder setEnableVtpm(boolean value)Defines whether the instance has the vTPM enabled.Enabled by default.
optional bool enable_vtpm = 181858935;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableVtpm to set. |
| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceConfig.Builder |
This builder for chaining. |