Class UpdateInstanceConfigRequest.Builder (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateInstanceConfigRequest build()
Returns
TypeDescription
UpdateInstanceConfigRequest

buildPartial()

public UpdateInstanceConfigRequest buildPartial()
Returns
TypeDescription
UpdateInstanceConfigRequest

clear()

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

clearConfig()

public UpdateInstanceConfigRequest.Builder clearConfig()

The instance configurations to be updated.

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

Returns
TypeDescription
UpdateInstanceConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateInstanceConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateInstanceConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConfig()

public InstanceConfig getConfig()

The instance configurations to be updated.

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

Returns
TypeDescription
InstanceConfig

The config.

getConfigBuilder()

public InstanceConfig.Builder getConfigBuilder()

The instance configurations to be updated.

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

Returns
TypeDescription
InstanceConfig.Builder

getConfigOrBuilder()

public InstanceConfigOrBuilder getConfigOrBuilder()

The instance configurations to be updated.

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

Returns
TypeDescription
InstanceConfigOrBuilder

getDefaultInstanceForType()

public UpdateInstanceConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateInstanceConfigRequest

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.

hasConfig()

public boolean hasConfig()

The instance configurations to be updated.

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

Returns
TypeDescription
boolean

Whether the config field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides