Class RefreshRuntimeTokenInternalRequest.Builder (1.39.0)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
RefreshRuntimeTokenInternalRequest.Builder

This builder for chaining.

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

public RefreshRuntimeTokenInternalRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RefreshRuntimeTokenInternalRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

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
NameDescription
valueString

The vmId to set.

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

The bytes for vmId to set.

Returns
TypeDescription
RefreshRuntimeTokenInternalRequest.Builder

This builder for chaining.