publicstaticfinalclass AddPublicKeyRequest.BuilderextendsGeneratedMessageV3.Builder<AddPublicKeyRequest.Builder>implementsAddPublicKeyRequestOrBuilder
Request message for
AddPublicKey.
Protobuf type google.cloud.shell.v1.AddPublicKeyRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicAddPublicKeyRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicAddPublicKeyRequestbuild()
buildPartial()
publicAddPublicKeyRequestbuildPartial()
clear()
publicAddPublicKeyRequest.Builderclear()
Overrides
clearEnvironment()
publicAddPublicKeyRequest.BuilderclearEnvironment()
Environment this key should be added to, e.g.
users/me/environments/default.
string environment = 1;
clearField(Descriptors.FieldDescriptor field)
publicAddPublicKeyRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearKey()
publicAddPublicKeyRequest.BuilderclearKey()
Key that should be added to the environment. Supported formats are
ssh-dss (see RFC4253), ssh-rsa (see RFC4253), ecdsa-sha2-nistp256
(see RFC5656), ecdsa-sha2-nistp384 (see RFC5656) and
ecdsa-sha2-nistp521 (see RFC5656). It should be structured as
<format> <content>, where <content> part is encoded with
Base64.
string key = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
publicAddPublicKeyRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clone()
publicAddPublicKeyRequest.Builderclone()
Overrides
getDefaultInstanceForType()
publicAddPublicKeyRequestgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getEnvironment()
publicStringgetEnvironment()
Environment this key should be added to, e.g.
users/me/environments/default.
string environment = 1;
| Returns |
| Type |
Description |
String |
The environment.
|
getEnvironmentBytes()
publicByteStringgetEnvironmentBytes()
Environment this key should be added to, e.g.
users/me/environments/default.
string environment = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for environment.
|
getKey()
Key that should be added to the environment. Supported formats are
ssh-dss (see RFC4253), ssh-rsa (see RFC4253), ecdsa-sha2-nistp256
(see RFC5656), ecdsa-sha2-nistp384 (see RFC5656) and
ecdsa-sha2-nistp521 (see RFC5656). It should be structured as
<format> <content>, where <content> part is encoded with
Base64.
string key = 2;
| Returns |
| Type |
Description |
String |
The key.
|
getKeyBytes()
publicByteStringgetKeyBytes()
Key that should be added to the environment. Supported formats are
ssh-dss (see RFC4253), ssh-rsa (see RFC4253), ecdsa-sha2-nistp256
(see RFC5656), ecdsa-sha2-nistp384 (see RFC5656) and
ecdsa-sha2-nistp521 (see RFC5656). It should be structured as
<format> <content>, where <content> part is encoded with
Base64.
string key = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for key.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(AddPublicKeyRequest other)
publicAddPublicKeyRequest.BuildermergeFrom(AddPublicKeyRequestother)
publicAddPublicKeyRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicAddPublicKeyRequest.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalAddPublicKeyRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setEnvironment(String value)
publicAddPublicKeyRequest.BuildersetEnvironment(Stringvalue)
Environment this key should be added to, e.g.
users/me/environments/default.
string environment = 1;
| Parameter |
| Name |
Description |
value |
String
The environment to set.
|
setEnvironmentBytes(ByteString value)
publicAddPublicKeyRequest.BuildersetEnvironmentBytes(ByteStringvalue)
Environment this key should be added to, e.g.
users/me/environments/default.
string environment = 1;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for environment to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
publicAddPublicKeyRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setKey(String value)
publicAddPublicKeyRequest.BuildersetKey(Stringvalue)
Key that should be added to the environment. Supported formats are
ssh-dss (see RFC4253), ssh-rsa (see RFC4253), ecdsa-sha2-nistp256
(see RFC5656), ecdsa-sha2-nistp384 (see RFC5656) and
ecdsa-sha2-nistp521 (see RFC5656). It should be structured as
<format> <content>, where <content> part is encoded with
Base64.
string key = 2;
| Parameter |
| Name |
Description |
value |
String
The key to set.
|
setKeyBytes(ByteString value)
publicAddPublicKeyRequest.BuildersetKeyBytes(ByteStringvalue)
Key that should be added to the environment. Supported formats are
ssh-dss (see RFC4253), ssh-rsa (see RFC4253), ecdsa-sha2-nistp256
(see RFC5656), ecdsa-sha2-nistp384 (see RFC5656) and
ecdsa-sha2-nistp521 (see RFC5656). It should be structured as
<format> <content>, where <content> part is encoded with
Base64.
string key = 2;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for key to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicAddPublicKeyRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalAddPublicKeyRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides