Class RegisterInstanceRequest.Builder (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class RegisterInstanceRequest.Builder extends GeneratedMessageV3.Builder<RegisterInstanceRequest.Builder> implements RegisterInstanceRequestOrBuilder

Request for registering a notebook instance.

Protobuf type google.cloud.notebooks.v1beta1.RegisterInstanceRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RegisterInstanceRequest build()
Returns
TypeDescription
RegisterInstanceRequest

buildPartial()

public RegisterInstanceRequest buildPartial()
Returns
TypeDescription
RegisterInstanceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public RegisterInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RegisterInstanceRequest.Builder
Overrides

clearInstanceId()

public RegisterInstanceRequest.Builder clearInstanceId()

Required. User defined unique ID of this instance. The instance_id must be 1 to 63 characters long and contain only lowercase letters, numeric characters, and dashes. The first character must be a lowercase letter and the last character cannot be a dash.

string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RegisterInstanceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public RegisterInstanceRequest.Builder clearParent()

Required. Format: parent=projects/{project_id}/locations/{location}

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

Returns
TypeDescription
RegisterInstanceRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RegisterInstanceRequest getDefaultInstanceForType()
Returns
TypeDescription
RegisterInstanceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceId()

public String getInstanceId()

Required. User defined unique ID of this instance. The instance_id must be 1 to 63 characters long and contain only lowercase letters, numeric characters, and dashes. The first character must be a lowercase letter and the last character cannot be a dash.

string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

Required. User defined unique ID of this instance. The instance_id must be 1 to 63 characters long and contain only lowercase letters, numeric characters, and dashes. The first character must be a lowercase letter and the last character cannot be a dash.

string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for instanceId.

getParent()

public String getParent()

Required. Format: parent=projects/{project_id}/locations/{location}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Format: parent=projects/{project_id}/locations/{location}

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

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RegisterInstanceRequest other)

public RegisterInstanceRequest.Builder mergeFrom(RegisterInstanceRequest other)
Parameter
NameDescription
otherRegisterInstanceRequest
Returns <