Class RefreshRuntimeTokenInternalRequest.Builder (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class RefreshRuntimeTokenInternalRequest.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RefreshRuntimeTokenInternalRequest build()
Returns
TypeDescription
RefreshRuntimeTokenInternalRequest

buildPartial()

public RefreshRuntimeTokenInternalRequest buildPartial()
Returns
TypeDescription
RefreshRuntimeTokenInternalRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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
TypeDescription
RefreshRuntimeTokenInternalRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RefreshRuntimeTokenInternalRequest getDefaultInstanceForType()
Returns
TypeDescription
RefreshRuntimeTokenInternalRequest

getDescriptorForType()

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

The bytes for vmId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RefreshRuntimeTokenInternalRequest other)

public RefreshRuntimeTokenInternalRequest.Builder mergeFrom(RefreshRuntimeTokenInternalRequest other)
Parameter