Class CheckInstanceUpgradabilityRequest.Builder (1.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CheckInstanceUpgradabilityRequest build()
Returns
TypeDescription
CheckInstanceUpgradabilityRequest

buildPartial()

public CheckInstanceUpgradabilityRequest buildPartial()
Returns
TypeDescription
CheckInstanceUpgradabilityRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CheckInstanceUpgradabilityRequest getDefaultInstanceForType()
Returns
TypeDescription
CheckInstanceUpgradabilityRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for notebookInstance.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CheckInstanceUpgradabilityRequest other)

public CheckInstanceUpgradabilityRequest.Builder mergeFrom(CheckInstanceUpgradabilityRequest other)
Parameter
NameDescription
otherCheckInstanceUpgradabilityRequest
Returns
TypeDescription
CheckInstanceUpgradabilityRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The notebookInstance to set.

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

The bytes for notebookInstance to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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