public static final class ConfidentialInstanceConfig.Builder extends GeneratedMessage.Builder<ConfidentialInstanceConfig.Builder> implements ConfidentialInstanceConfigOrBuilderA set of Confidential Instance options.
Protobuf type google.cloud.compute.v1.ConfidentialInstanceConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ConfidentialInstanceConfig.BuilderImplements
ConfidentialInstanceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ConfidentialInstanceConfig build()| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfig |
|
buildPartial()
public ConfidentialInstanceConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfig |
|
clear()
public ConfidentialInstanceConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfig.Builder |
|
clearConfidentialInstanceType()
public ConfidentialInstanceConfig.Builder clearConfidentialInstanceType()Defines the type of technology used by the confidential instance. Check the ConfidentialInstanceType enum for the list of possible values.
optional string confidential_instance_type = 43484717;
| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfig.Builder |
This builder for chaining. |
clearEnableConfidentialCompute()
public ConfidentialInstanceConfig.Builder clearEnableConfidentialCompute()Defines whether the instance should have confidential compute enabled.
optional bool enable_confidential_compute = 102135228;
| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfig.Builder |
This builder for chaining. |
getConfidentialInstanceType()
public String getConfidentialInstanceType()Defines the type of technology used by the confidential instance. Check the ConfidentialInstanceType enum for the list of possible values.
optional string confidential_instance_type = 43484717;
| Returns | |
|---|---|
| Type | Description |
String |
The confidentialInstanceType. |
getConfidentialInstanceTypeBytes()
public ByteString getConfidentialInstanceTypeBytes()Defines the type of technology used by the confidential instance. Check the ConfidentialInstanceType enum for the list of possible values.
optional string confidential_instance_type = 43484717;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for confidentialInstanceType. |
getDefaultInstanceForType()
public ConfidentialInstanceConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnableConfidentialCompute()
public boolean getEnableConfidentialCompute()Defines whether the instance should have confidential compute enabled.
optional bool enable_confidential_compute = 102135228;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableConfidentialCompute. |
hasConfidentialInstanceType()
public boolean hasConfidentialInstanceType()Defines the type of technology used by the confidential instance. Check the ConfidentialInstanceType enum for the list of possible values.
optional string confidential_instance_type = 43484717;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the confidentialInstanceType field is set. |
hasEnableConfidentialCompute()
public boolean hasEnableConfidentialCompute()Defines whether the instance should have confidential compute enabled.
optional bool enable_confidential_compute = 102135228;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enableConfidentialCompute field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ConfidentialInstanceConfig other)
public ConfidentialInstanceConfig.Builder mergeFrom(ConfidentialInstanceConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ConfidentialInstanceConfig |
| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConfidentialInstanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ConfidentialInstanceConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfig.Builder |
|
setConfidentialInstanceType(String value)
public ConfidentialInstanceConfig.Builder setConfidentialInstanceType(String value)Defines the type of technology used by the confidential instance. Check the ConfidentialInstanceType enum for the list of possible values.
optional string confidential_instance_type = 43484717;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe confidentialInstanceType to set. |
| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfig.Builder |
This builder for chaining. |
setConfidentialInstanceTypeBytes(ByteString value)
public ConfidentialInstanceConfig.Builder setConfidentialInstanceTypeBytes(ByteString value)Defines the type of technology used by the confidential instance. Check the ConfidentialInstanceType enum for the list of possible values.
optional string confidential_instance_type = 43484717;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for confidentialInstanceType to set. |
| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfig.Builder |
This builder for chaining. |
setEnableConfidentialCompute(boolean value)
public ConfidentialInstanceConfig.Builder setEnableConfidentialCompute(boolean value)Defines whether the instance should have confidential compute enabled.
optional bool enable_confidential_compute = 102135228;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableConfidentialCompute to set. |
| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfig.Builder |
This builder for chaining. |