public static final class AddPublicKeyResponse.Builder extends GeneratedMessageV3.Builder<AddPublicKeyResponse.Builder> implements AddPublicKeyResponseOrBuilder
Response message for AddPublicKey.
Protobuf type google.cloud.shell.v1.AddPublicKeyResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AddPublicKeyResponse.BuilderImplements
AddPublicKeyResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AddPublicKeyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AddPublicKeyResponse.Builder |
build()
public AddPublicKeyResponse build()
Type | Description |
AddPublicKeyResponse |
buildPartial()
public AddPublicKeyResponse buildPartial()
Type | Description |
AddPublicKeyResponse |
clear()
public AddPublicKeyResponse.Builder clear()
Type | Description |
AddPublicKeyResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public AddPublicKeyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AddPublicKeyResponse.Builder |
clearKey()
public AddPublicKeyResponse.Builder clearKey()
Key that was added to the environment.
string key = 1;
Type | Description |
AddPublicKeyResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AddPublicKeyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AddPublicKeyResponse.Builder |
clone()
public AddPublicKeyResponse.Builder clone()
Type | Description |
AddPublicKeyResponse.Builder |
getDefaultInstanceForType()
public AddPublicKeyResponse getDefaultInstanceForType()
Type | Description |
AddPublicKeyResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getKey()
public String getKey()
Key that was added to the environment.
string key = 1;
Type | Description |
String | The key. |
getKeyBytes()
public ByteString getKeyBytes()
Key that was added to the environment.
string key = 1;
Type | Description |
ByteString | The bytes for key. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AddPublicKeyResponse other)
public AddPublicKeyResponse.Builder mergeFrom(AddPublicKeyResponse other)
Name | Description |
other | AddPublicKeyResponse |
Type | Description |
AddPublicKeyResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AddPublicKeyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AddPublicKeyResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AddPublicKeyResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AddPublicKeyResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AddPublicKeyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AddPublicKeyResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AddPublicKeyResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AddPublicKeyResponse.Builder |
setKey(String value)
public AddPublicKeyResponse.Builder setKey(String value)
Key that was added to the environment.
string key = 1;
Name | Description |
value | String The key to set. |
Type | Description |
AddPublicKeyResponse.Builder | This builder for chaining. |
setKeyBytes(ByteString value)
public AddPublicKeyResponse.Builder setKeyBytes(ByteString value)
Key that was added to the environment.
string key = 1;
Name | Description |
value | ByteString The bytes for key to set. |
Type | Description |
AddPublicKeyResponse.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AddPublicKeyResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AddPublicKeyResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AddPublicKeyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AddPublicKeyResponse.Builder |