Class RemovePublicKeyRequest (2.36.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
TypeDescription
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RemovePublicKeyRequest getDefaultInstance()
Returns
TypeDescription
RemovePublicKeyRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RemovePublicKeyRequest.Builder newBuilder()
Returns
TypeDescription
RemovePublicKeyRequest.Builder

newBuilder(RemovePublicKeyRequest prototype)

public static RemovePublicKeyRequest.Builder newBuilder(RemovePublicKeyRequest prototype)
Parameter
NameDescription
prototypeRemovePublicKeyRequest
Returns
TypeDescription
RemovePublicKeyRequest.Builder

parseDelimitedFrom(InputStream input)

public static RemovePublicKeyRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RemovePublicKeyRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemovePublicKeyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemovePublicKeyRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RemovePublicKeyRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RemovePublicKeyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RemovePublicKeyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemovePublicKeyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RemovePublicKeyRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RemovePublicKeyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RemovePublicKeyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemovePublicKeyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RemovePublicKeyRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RemovePublicKeyRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RemovePublicKeyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemovePublicKeyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RemovePublicKeyRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RemovePublicKeyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemovePublicKeyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemovePublicKeyRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RemovePublicKeyRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RemovePublicKeyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RemovePublicKeyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemovePublicKeyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RemovePublicKeyRequest> parser()
Returns
TypeDescription
Parser<RemovePublicKeyRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RemovePublicKeyRequest getDefaultInstanceForType()
Returns
TypeDescription
RemovePublicKeyRequest

getEnvironment()

public String getEnvironment()

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

string environment = 1;

Returns
TypeDescription
String

The environment.

getEnvironmentBytes()

public ByteString getEnvironmentBytes()

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

string environment = 1;

Returns
TypeDescription
ByteString

The bytes for environment.

getKey()

public String getKey()

Key that should be removed from the environment.

string key = 2;

Returns
TypeDescription
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Key that should be removed from the environment.

string key = 2;

Returns
TypeDescription
ByteString

The bytes for key.

getParserForType()

public Parser<RemovePublicKeyRequest> getParserForType()
Returns
TypeDescription
Parser<RemovePublicKeyRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RemovePublicKeyRequest.Builder newBuilderForType()
Returns
TypeDescription
RemovePublicKeyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RemovePublicKeyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RemovePublicKeyRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RemovePublicKeyRequest.Builder toBuilder()
Returns
TypeDescription
RemovePublicKeyRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException