public static final class RefreshRuntimeTokenInternalRequest.Builder extends GeneratedMessage.Builder<RefreshRuntimeTokenInternalRequest.Builder> implements RefreshRuntimeTokenInternalRequestOrBuilderRequest for getting a new access token.
Protobuf type google.cloud.notebooks.v1.RefreshRuntimeTokenInternalRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RefreshRuntimeTokenInternalRequest.BuilderImplements
RefreshRuntimeTokenInternalRequestOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RefreshRuntimeTokenInternalRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RefreshRuntimeTokenInternalRequest.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for vmId to set. |
| Returns | |
|---|---|
| Type | Description |
RefreshRuntimeTokenInternalRequest.Builder |
This builder for chaining. |