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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ShieldedInstanceConfig.BuilderImplements
ShieldedInstanceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ShieldedInstanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfig.Builder |
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 |
clearEnableSecureBoot()
public ShieldedInstanceConfig.Builder clearEnableSecureBoot()
Defines whether the instance has Secure Boot enabled.
bool enable_secure_boot = 1;
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ShieldedInstanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ShieldedInstanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfig.Builder |
clone()
public ShieldedInstanceConfig.Builder clone()
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfig.Builder |
getDefaultInstanceForType()
public ShieldedInstanceConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ShieldedInstanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfig.Builder |
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 | |
---|---|
Type | Description |
ShieldedInstanceConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ShieldedInstanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ShieldedInstanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ShieldedInstanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfig.Builder |