Class UpdateShieldedInstanceConfigRequest.Builder (1.53.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateShieldedInstanceConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder
Overrides

build()

public UpdateShieldedInstanceConfigRequest build()
Returns
Type Description
UpdateShieldedInstanceConfigRequest

buildPartial()

public UpdateShieldedInstanceConfigRequest buildPartial()
Returns
Type Description
UpdateShieldedInstanceConfigRequest

clear()

public UpdateShieldedInstanceConfigRequest.Builder clear()
Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateShieldedInstanceConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
UpdateShieldedInstanceConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateShieldedInstanceConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder
Overrides

clearShieldedInstanceConfig()

public UpdateShieldedInstanceConfigRequest.Builder clearShieldedInstanceConfig()

ShieldedInstance configuration to be updated.

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

Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder

clone()

public UpdateShieldedInstanceConfigRequest.Builder clone()
Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateShieldedInstanceConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateShieldedInstanceConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Instance.ShieldedInstanceConfig.Builder

getShieldedInstanceConfigOrBuilder()

public Instance.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()

ShieldedInstance configuration to be updated.

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

Returns
Type Description
Instance.ShieldedInstanceConfigOrBuilder

hasShieldedInstanceConfig()

public boolean hasShieldedInstanceConfig()

ShieldedInstance configuration to be updated.

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

Returns
Type Description
boolean

Whether the shieldedInstanceConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateShieldedInstanceConfigRequest other)

public UpdateShieldedInstanceConfigRequest.Builder mergeFrom(UpdateShieldedInstanceConfigRequest other)
Parameter
Name Description
other UpdateShieldedInstanceConfigRequest
Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateShieldedInstanceConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateShieldedInstanceConfigRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder
Overrides

mergeShieldedInstanceConfig(Instance.ShieldedInstanceConfig value)

public UpdateShieldedInstanceConfigRequest.Builder mergeShieldedInstanceConfig(Instance.ShieldedInstanceConfig value)

ShieldedInstance configuration to be updated.

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

Parameter
Name Description
value Instance.ShieldedInstanceConfig
Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateShieldedInstanceConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateShieldedInstanceConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder
Overrides

setName(String value)

public UpdateShieldedInstanceConfigRequest.Builder setName(String value)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateShieldedInstanceConfigRequest.Builder setNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateShieldedInstanceConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder
Overrides

setShieldedInstanceConfig(Instance.ShieldedInstanceConfig value)

public UpdateShieldedInstanceConfigRequest.Builder setShieldedInstanceConfig(Instance.ShieldedInstanceConfig value)

ShieldedInstance configuration to be updated.

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

Parameter
Name Description
value Instance.ShieldedInstanceConfig
Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder

setShieldedInstanceConfig(Instance.ShieldedInstanceConfig.Builder builderForValue)

public UpdateShieldedInstanceConfigRequest.Builder setShieldedInstanceConfig(Instance.ShieldedInstanceConfig.Builder builderForValue)

ShieldedInstance configuration to be updated.

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

Parameter
Name Description
builderForValue Instance.ShieldedInstanceConfig.Builder
Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateShieldedInstanceConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateShieldedInstanceConfigRequest.Builder
Overrides