Class RefreshRuntimeTokenInternalRequest.Builder (1.81.0)

public static final class RefreshRuntimeTokenInternalRequest.Builder extends GeneratedMessage.Builder<RefreshRuntimeTokenInternalRequest.Builder> implements RefreshRuntimeTokenInternalRequestOrBuilder

Request for getting a new access token.

Protobuf type google.cloud.notebooks.v1.RefreshRuntimeTokenInternalRequest

Static Methods

getDescriptor()

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

Methods

build()

public RefreshRuntimeTokenInternalRequest build()
Returns
Type Description
RefreshRuntimeTokenInternalRequest

buildPartial()

public RefreshRuntimeTokenInternalRequest buildPartial()
Returns
Type Description
RefreshRuntimeTokenInternalRequest

clear()

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

clearName()

public RefreshRuntimeTokenInternalRequest.Builder clearName()

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
RefreshRuntimeTokenInternalRequest.Builder

This builder for chaining.

clearVmId()

public RefreshRuntimeTokenInternalRequest.Builder clearVmId()

Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity

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

Returns
Type Description
RefreshRuntimeTokenInternalRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public RefreshRuntimeTokenInternalRequest getDefaultInstanceForType()
Returns
Type Description
RefreshRuntimeTokenInternalRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getVmId()

public String getVmId()

Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity

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

Returns
Type Description
String

The vmId.

getVmIdBytes()

public ByteString getVmIdBytes()

Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity

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

Returns
Type Description
ByteString

The bytes for vmId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RefreshRuntimeTokenInternalRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public RefreshRuntimeTokenInternalRequest.Builder setName(String value)

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
RefreshRuntimeTokenInternalRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RefreshRuntimeTokenInternalRequest.Builder setNameBytes(ByteString value)

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
RefreshRuntimeTokenInternalRequest.Builder

This builder for chaining.

setVmId(String value)

public RefreshRuntimeTokenInternalRequest.Builder setVmId(String value)

Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity

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

Parameter
Name Description
value String

The vmId to set.

Returns
Type Description
RefreshRuntimeTokenInternalRequest.Builder

This builder for chaining.

setVmIdBytes(ByteString value)

public RefreshRuntimeTokenInternalRequest.Builder setVmIdBytes(ByteString value)

Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity

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

Parameter
Name Description
value ByteString

The bytes for vmId to set.

Returns
Type Description
RefreshRuntimeTokenInternalRequest.Builder

This builder for chaining.