Class DebugInstanceRequest.Builder (2.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DebugInstanceRequest build()
Returns
TypeDescription
DebugInstanceRequest

buildPartial()

public DebugInstanceRequest buildPartial()
Returns
TypeDescription
DebugInstanceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DebugInstanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DebugInstanceRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DebugInstanceRequest getDefaultInstanceForType()
Returns
TypeDescription
DebugInstanceRequest

getDescriptorForType()

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

The bytes for sshKey.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DebugInstanceRequest other)

public DebugInstanceRequest.Builder mergeFrom(DebugInstanceRequest other)
Parameter
NameDescription
otherDebugInstanceRequest
Returns
TypeDescription
DebugInstanceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sshKey to set.

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

The bytes for sshKey to set.

Returns
TypeDescription
DebugInstanceRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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