Class RemovePublicKeyRequest (2.43.0)

public final class RemovePublicKeyRequest extends GeneratedMessageV3 implements RemovePublicKeyRequestOrBuilder

Request message for RemovePublicKey.

Protobuf type google.cloud.shell.v1.RemovePublicKeyRequest

Static Fields

ENVIRONMENT_FIELD_NUMBER

public static final int ENVIRONMENT_FIELD_NUMBER
Field Value
Type Description
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RemovePublicKeyRequest getDefaultInstance()
Returns
Type Description
RemovePublicKeyRequest

getDescriptor()

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

newBuilder()

public static RemovePublicKeyRequest.Builder newBuilder()
Returns
Type Description
RemovePublicKeyRequest.Builder

newBuilder(RemovePublicKeyRequest prototype)

public static RemovePublicKeyRequest.Builder newBuilder(RemovePublicKeyRequest prototype)
Parameter
Name Description
prototype RemovePublicKeyRequest
Returns
Type Description
RemovePublicKeyRequest.Builder

parseDelimitedFrom(InputStream input)

public static RemovePublicKeyRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RemovePublicKeyRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemovePublicKeyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemovePublicKeyRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RemovePublicKeyRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RemovePublicKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RemovePublicKeyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemovePublicKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RemovePublicKeyRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RemovePublicKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RemovePublicKeyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemovePublicKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RemovePublicKeyRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RemovePublicKeyRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RemovePublicKeyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemovePublicKeyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RemovePublicKeyRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RemovePublicKeyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemovePublicKeyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemovePublicKeyRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RemovePublicKeyRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RemovePublicKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RemovePublicKeyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemovePublicKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RemovePublicKeyRequest> parser()
Returns
Type Description
Parser<RemovePublicKeyRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RemovePublicKeyRequest getDefaultInstanceForType()
Returns
Type Description
RemovePublicKeyRequest

getEnvironment()

public String getEnvironment()

Environment this key should be removed from, e.g. users/me/environments/default.

string environment = 1;

Returns
Type Description
String

The environment.

getEnvironmentBytes()

public ByteString getEnvironmentBytes()

Environment this key should be removed from, e.g. users/me/environments/default.

string environment = 1;

Returns
Type Description
ByteString

The bytes for environment.

getKey()

public String getKey()

Key that should be removed from the environment.

string key = 2;

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Key that should be removed from the environment.

string key = 2;

Returns
Type Description
ByteString

The bytes for key.

getParserForType()

public Parser<RemovePublicKeyRequest> getParserForType()
Returns
Type Description
Parser<RemovePublicKeyRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RemovePublicKeyRequest.Builder newBuilderForType()
Returns
Type Description
RemovePublicKeyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RemovePublicKeyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RemovePublicKeyRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RemovePublicKeyRequest.Builder toBuilder()
Returns
Type Description
RemovePublicKeyRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException