Class UpdateShieldedInstanceConfigRequest.Builder (1.18.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
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
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateShieldedInstanceConfigRequest other)

public UpdateShieldedInstanceConfigRequest.Builder mergeFrom(UpdateShieldedInstanceConfigRequest other)
Parameter
NameDescription
otherUpdateShieldedInstanceConfigRequest
Returns
TypeDescription
UpdateShieldedInstanceConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateShieldedInstanceConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateShieldedInstanceConfigRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateShieldedInstanceConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueInstance.ShieldedInstanceConfig
Returns
TypeDescription
UpdateShieldedInstanceConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateShieldedInstanceConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateShieldedInstanceConfigRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateShieldedInstanceConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueInstance.ShieldedInstanceConfig
Returns
TypeDescription
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
NameDescription
builderForValueInstance.ShieldedInstanceConfig.Builder
Returns
TypeDescription
UpdateShieldedInstanceConfigRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateShieldedInstanceConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateShieldedInstanceConfigRequest.Builder
Overrides