Class UpdateShieldedInstanceConfigRequest.Builder (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class UpdateShieldedInstanceConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateShieldedInstanceConfigRequest.Builder> implements UpdateShieldedInstanceConfigRequestOrBuilder

Request for updating the Shielded Instance config for a notebook instance. You can only use this method on a stopped instance

Protobuf type google.cloud.notebooks.v1.UpdateShieldedInstanceConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateShieldedInstanceConfigRequest build()
Returns
TypeDescription
UpdateShieldedInstanceConfigRequest

buildPartial()

public UpdateShieldedInstanceConfigRequest buildPartial()
Returns
TypeDescription
UpdateShieldedInstanceConfigRequest

clear()

public UpdateShieldedInstanceConfigRequest.Builder clear()
Returns
TypeDescription
UpdateShieldedInstanceConfigRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public UpdateShieldedInstanceConfigRequest.Builder clearName()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateShieldedInstanceConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearShieldedInstanceConfig()

public UpdateShieldedInstanceConfigRequest.Builder clearShieldedInstanceConfig()

ShieldedInstance configuration to be updated.

.google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 2;

Returns
TypeDescription
UpdateShieldedInstanceConfigRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateShieldedInstanceConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateShieldedInstanceConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

getShieldedInstanceConfig()

public Instance.ShieldedInstanceConfig getShieldedInstanceConfig()

ShieldedInstance configuration to be updated.

.google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 2;

Returns
TypeDescription
Instance.ShieldedInstanceConfig

The shieldedInstanceConfig.

getShieldedInstanceConfigBuilder()

public Instance.ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder()

ShieldedInstance configuration to be updated.

.google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 2;

Returns
TypeDescription
Instance.ShieldedInstanceConfig.Builder

getShieldedInstanceConfigOrBuilder()

public Instance.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()

ShieldedInstance configuration to be updated.

.google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 2;

Returns
TypeDescription
Instance.ShieldedInstanceConfigOrBuilder

hasShieldedInstanceConfig()

public boolean hasShieldedInstanceConfig()

ShieldedInstance configuration to be updated.

.google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 2;

Returns
TypeDescription
boolean

Whether the shieldedInstanceConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type