public static final class RemovePublicKeyRequest.Builder extends GeneratedMessageV3.Builder<RemovePublicKeyRequest.Builder> implements RemovePublicKeyRequestOrBuilder
Request message for RemovePublicKey.
Protobuf type google.cloud.shell.v1.RemovePublicKeyRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RemovePublicKeyRequest.BuilderImplements
RemovePublicKeyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RemovePublicKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RemovePublicKeyRequest.Builder |
build()
public RemovePublicKeyRequest build()
Type | Description |
RemovePublicKeyRequest |
buildPartial()
public RemovePublicKeyRequest buildPartial()
Type | Description |
RemovePublicKeyRequest |
clear()
public RemovePublicKeyRequest.Builder clear()
Type | Description |
RemovePublicKeyRequest.Builder |
clearEnvironment()
public RemovePublicKeyRequest.Builder clearEnvironment()
Environment this key should be removed from, e.g.
users/me/environments/default
.
string environment = 1;
Type | Description |
RemovePublicKeyRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RemovePublicKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RemovePublicKeyRequest.Builder |
clearKey()
public RemovePublicKeyRequest.Builder clearKey()
Key that should be removed from the environment.
string key = 2;
Type | Description |
RemovePublicKeyRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RemovePublicKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RemovePublicKeyRequest.Builder |
clone()
public RemovePublicKeyRequest.Builder clone()
Type | Description |
RemovePublicKeyRequest.Builder |
getDefaultInstanceForType()
public RemovePublicKeyRequest getDefaultInstanceForType()
Type | Description |
RemovePublicKeyRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEnvironment()
public String getEnvironment()
Environment this key should be removed from, e.g.
users/me/environments/default
.
string environment = 1;
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;
Type | Description |
ByteString | The bytes for environment. |
getKey()
public String getKey()
Key that should be removed from the environment.
string key = 2;
Type | Description |
String | The key. |
getKeyBytes()
public ByteString getKeyBytes()
Key that should be removed from the environment.
string key = 2;
Type | Description |
ByteString | The bytes for key. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(RemovePublicKeyRequest other)
public RemovePublicKeyRequest.Builder mergeFrom(RemovePublicKeyRequest other)
Name | Description |
other | RemovePublicKeyRequest |
Type | Description |
RemovePublicKeyRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RemovePublicKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RemovePublicKeyRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RemovePublicKeyRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RemovePublicKeyRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RemovePublicKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RemovePublicKeyRequest.Builder |
setEnvironment(String value)
public RemovePublicKeyRequest.Builder setEnvironment(String value)
Environment this key should be removed from, e.g.
users/me/environments/default
.
string environment = 1;
Name | Description |
value | String The environment to set. |
Type | Description |
RemovePublicKeyRequest.Builder | This builder for chaining. |
setEnvironmentBytes(ByteString value)
public RemovePublicKeyRequest.Builder setEnvironmentBytes(ByteString value)
Environment this key should be removed from, e.g.
users/me/environments/default
.
string environment = 1;
Name | Description |
value | ByteString The bytes for environment to set. |
Type | Description |
RemovePublicKeyRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RemovePublicKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RemovePublicKeyRequest.Builder |
setKey(String value)
public RemovePublicKeyRequest.Builder setKey(String value)
Key that should be removed from the environment.
string key = 2;
Name | Description |
value | String The key to set. |
Type | Description |
RemovePublicKeyRequest.Builder | This builder for chaining. |
setKeyBytes(ByteString value)
public RemovePublicKeyRequest.Builder setKeyBytes(ByteString value)
Key that should be removed from the environment.
string key = 2;
Name | Description |
value | ByteString The bytes for key to set. |
Type | Description |
RemovePublicKeyRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RemovePublicKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RemovePublicKeyRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RemovePublicKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RemovePublicKeyRequest.Builder |