Class UpdateInstanceConfigRequest.Builder (1.44.0)

public static final class UpdateInstanceConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateInstanceConfigRequest.Builder> implements UpdateInstanceConfigRequestOrBuilder

Request for updating instance configurations.

Protobuf type google.cloud.notebooks.v1.UpdateInstanceConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateInstanceConfigRequest build()
Returns
Type Description
UpdateInstanceConfigRequest

buildPartial()

public UpdateInstanceConfigRequest buildPartial()
Returns
Type Description
UpdateInstanceConfigRequest

clear()

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

clearConfig()

public UpdateInstanceConfigRequest.Builder clearConfig()

The instance configurations to be updated.

.google.cloud.notebooks.v1.InstanceConfig config = 2;

Returns
Type Description
UpdateInstanceConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateInstanceConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateInstanceConfigRequest.Builder
Overrides

clearName()

public UpdateInstanceConfigRequest.Builder clearName()

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

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

Returns
Type Description
UpdateInstanceConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConfig()

public InstanceConfig getConfig()

The instance configurations to be updated.

.google.cloud.notebooks.v1.InstanceConfig config = 2;

Returns
Type Description
InstanceConfig

The config.

getConfigBuilder()

public InstanceConfig.Builder getConfigBuilder()

The instance configurations to be updated.

.google.cloud.notebooks.v1.InstanceConfig config = 2;

Returns
Type Description
InstanceConfig.Builder

getConfigOrBuilder()

public InstanceConfigOrBuilder getConfigOrBuilder()

The instance configurations to be updated.

.google.cloud.notebooks.v1.InstanceConfig config = 2;

Returns
Type Description
InstanceConfigOrBuilder

getDefaultInstanceForType()

public UpdateInstanceConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateInstanceConfigRequest

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.

hasConfig()

public boolean hasConfig()

The instance configurations to be updated.

.google.cloud.notebooks.v1.InstanceConfig config = 2;

Returns
Type Description
boolean

Whether the config field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConfig(InstanceConfig value)

public UpdateInstanceConfigRequest.Builder mergeConfig(InstanceConfig value)

The instance configurations to be updated.

.google.cloud.notebooks.v1.InstanceConfig config = 2;

Parameter
Name Description
value InstanceConfig
Returns
Type Description
UpdateInstanceConfigRequest.Builder

mergeFrom(UpdateInstanceConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConfig(InstanceConfig value)

public UpdateInstanceConfigRequest.Builder setConfig(InstanceConfig value)

The instance configurations to be updated.

.google.cloud.notebooks.v1.InstanceConfig config = 2;

Parameter
Name Description
value InstanceConfig
Returns
Type Description
UpdateInstanceConfigRequest.Builder

setConfig(InstanceConfig.Builder builderForValue)

public UpdateInstanceConfigRequest.Builder setConfig(InstanceConfig.Builder builderForValue)

The instance configurations to be updated.

.google.cloud.notebooks.v1.InstanceConfig config = 2;

Parameter
Name Description
builderForValue InstanceConfig.Builder
Returns
Type Description
UpdateInstanceConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public UpdateInstanceConfigRequest.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
UpdateInstanceConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateInstanceConfigRequest.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
UpdateInstanceConfigRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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