Class DebugInstanceRequest.Builder (2.48.0)

public static final class DebugInstanceRequest.Builder extends GeneratedMessageV3.Builder<DebugInstanceRequest.Builder> implements DebugInstanceRequestOrBuilder

Request message for Instances.DebugInstance.

Protobuf type google.appengine.v1.DebugInstanceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DebugInstanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DebugInstanceRequest.Builder
Overrides

build()

public DebugInstanceRequest build()
Returns
Type Description
DebugInstanceRequest

buildPartial()

public DebugInstanceRequest buildPartial()
Returns
Type Description
DebugInstanceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DebugInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DebugInstanceRequest.Builder
Overrides

clearName()

public DebugInstanceRequest.Builder clearName()

Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.

string name = 1;

Returns
Type Description
DebugInstanceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DebugInstanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DebugInstanceRequest.Builder
Overrides

clearSshKey()

public DebugInstanceRequest.Builder clearSshKey()

Public SSH key to add to the instance. Examples:

  • [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]
  • [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}

    For more information, see Adding and Removing SSH Keys.

string ssh_key = 2;

Returns
Type Description
DebugInstanceRequest.Builder

This builder for chaining.

clone()

public DebugInstanceRequest.Builder clone()
Returns
Type Description
DebugInstanceRequest.Builder
Overrides

getDefaultInstanceForType()

public DebugInstanceRequest getDefaultInstanceForType()
Returns
Type Description
DebugInstanceRequest

getDescriptorForType()

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

getName()

public String getName()

Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getSshKey()

public String getSshKey()

Public SSH key to add to the instance. Examples:

  • [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]
  • [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}

    For more information, see Adding and Removing SSH Keys.

string ssh_key = 2;

Returns
Type Description
String

The sshKey.

getSshKeyBytes()

public ByteString getSshKeyBytes()

Public SSH key to add to the instance. Examples:

  • [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]
  • [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}

    For more information, see Adding and Removing SSH Keys.

string ssh_key = 2;

Returns
Type Description
ByteString

The bytes for sshKey.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DebugInstanceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DebugInstanceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DebugInstanceRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DebugInstanceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DebugInstanceRequest.Builder
Overrides

setName(String value)

public DebugInstanceRequest.Builder setName(String value)

Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DebugInstanceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DebugInstanceRequest.Builder setNameBytes(ByteString value)

Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DebugInstanceRequest.Builder

This builder for chaining.

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

public DebugInstanceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DebugInstanceRequest.Builder
Overrides

setSshKey(String value)

public DebugInstanceRequest.Builder setSshKey(String value)

Public SSH key to add to the instance. Examples:

  • [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]
  • [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}

    For more information, see Adding and Removing SSH Keys.

string ssh_key = 2;

Parameter
Name Description
value String

The sshKey to set.

Returns
Type Description
DebugInstanceRequest.Builder

This builder for chaining.

setSshKeyBytes(ByteString value)

public DebugInstanceRequest.Builder setSshKeyBytes(ByteString value)

Public SSH key to add to the instance. Examples:

  • [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]
  • [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}

    For more information, see Adding and Removing SSH Keys.

string ssh_key = 2;

Parameter
Name Description
value ByteString

The bytes for sshKey to set.

Returns
Type Description
DebugInstanceRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DebugInstanceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DebugInstanceRequest.Builder
Overrides