Class CheckInstanceUpgradabilityRequest.Builder (1.43.0)

public static final class CheckInstanceUpgradabilityRequest.Builder extends GeneratedMessageV3.Builder<CheckInstanceUpgradabilityRequest.Builder> implements CheckInstanceUpgradabilityRequestOrBuilder

Request for checking if a notebook instance is upgradeable.

Protobuf type google.cloud.notebooks.v2.CheckInstanceUpgradabilityRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CheckInstanceUpgradabilityRequest build()
Returns
Type Description
CheckInstanceUpgradabilityRequest

buildPartial()

public CheckInstanceUpgradabilityRequest buildPartial()
Returns
Type Description
CheckInstanceUpgradabilityRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNotebookInstance()

public CheckInstanceUpgradabilityRequest.Builder clearNotebookInstance()

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

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

Returns
Type Description
CheckInstanceUpgradabilityRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CheckInstanceUpgradabilityRequest getDefaultInstanceForType()
Returns
Type Description
CheckInstanceUpgradabilityRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNotebookInstance()

public String getNotebookInstance()

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

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

Returns
Type Description
String

The notebookInstance.

getNotebookInstanceBytes()

public ByteString getNotebookInstanceBytes()

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

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

Returns
Type Description
ByteString

The bytes for notebookInstance.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CheckInstanceUpgradabilityRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNotebookInstance(String value)

public CheckInstanceUpgradabilityRequest.Builder setNotebookInstance(String value)

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

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

Parameter
Name Description
value String

The notebookInstance to set.

Returns
Type Description
CheckInstanceUpgradabilityRequest.Builder

This builder for chaining.

setNotebookInstanceBytes(ByteString value)

public CheckInstanceUpgradabilityRequest.Builder setNotebookInstanceBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for notebookInstance to set.

Returns
Type Description
CheckInstanceUpgradabilityRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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