public static final class ShieldedInstanceConfig.Builder extends GeneratedMessageV3.Builder<ShieldedInstanceConfig.Builder> implements ShieldedInstanceConfigOrBuilder
A set of Shielded Instance options.
Protobuf type google.cloud.tpu.v2alpha1.ShieldedInstanceConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ShieldedInstanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ShieldedInstanceConfig build()
Returns
buildPartial()
public ShieldedInstanceConfig buildPartial()
Returns
clear()
public ShieldedInstanceConfig.Builder clear()
Returns
Overrides
clearEnableSecureBoot()
public ShieldedInstanceConfig.Builder clearEnableSecureBoot()
Defines whether the instance has Secure Boot enabled.
bool enable_secure_boot = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ShieldedInstanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ShieldedInstanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ShieldedInstanceConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ShieldedInstanceConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnableSecureBoot()
public boolean getEnableSecureBoot()
Defines whether the instance has Secure Boot enabled.
bool enable_secure_boot = 1;
Returns
Type | Description |
boolean | The enableSecureBoot.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ShieldedInstanceConfig other)
public ShieldedInstanceConfig.Builder mergeFrom(ShieldedInstanceConfig other)
Parameter
Returns
public ShieldedInstanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ShieldedInstanceConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ShieldedInstanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEnableSecureBoot(boolean value)
public ShieldedInstanceConfig.Builder setEnableSecureBoot(boolean value)
Defines whether the instance has Secure Boot enabled.
bool enable_secure_boot = 1;
Parameter
Name | Description |
value | boolean
The enableSecureBoot to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ShieldedInstanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ShieldedInstanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ShieldedInstanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides