Class UpdateInstanceConfigRequest.Builder (1.13.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
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

mergeConfig(InstanceConfig value)

public UpdateInstanceConfigRequest.Builder mergeConfig(InstanceConfig value)

The instance configurations to be updated.

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

Parameter
NameDescription
valueInstanceConfig
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder

mergeFrom(UpdateInstanceConfigRequest other)

public UpdateInstanceConfigRequest.Builder mergeFrom(UpdateInstanceConfigRequest other)
Parameter
NameDescription
otherUpdateInstanceConfigRequest
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateInstanceConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateInstanceConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueInstanceConfig
Returns
TypeDescription
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
NameDescription
builderForValueInstanceConfig.Builder
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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