public static final class AddPublicKeyResponse.Builder extends GeneratedMessageV3.Builder<AddPublicKeyResponse.Builder> implements AddPublicKeyResponseOrBuilder
Response message for
AddPublicKey.
Protobuf type google.cloud.shell.v1.AddPublicKeyResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AddPublicKeyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AddPublicKeyResponse build()
Returns
buildPartial()
public AddPublicKeyResponse buildPartial()
Returns
clear()
public AddPublicKeyResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AddPublicKeyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearKey()
public AddPublicKeyResponse.Builder clearKey()
Key that was added to the environment.
string key = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AddPublicKeyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AddPublicKeyResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AddPublicKeyResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getKey()
Key that was added to the environment.
string key = 1;
Returns
getKeyBytes()
public ByteString getKeyBytes()
Key that was added to the environment.
string key = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AddPublicKeyResponse other)
public AddPublicKeyResponse.Builder mergeFrom(AddPublicKeyResponse other)
Parameter
Returns
public AddPublicKeyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AddPublicKeyResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AddPublicKeyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AddPublicKeyResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setKey(String value)
public AddPublicKeyResponse.Builder setKey(String value)
Key that was added to the environment.
string key = 1;
Parameter
Name | Description |
value | String
The key to set.
|
Returns
setKeyBytes(ByteString value)
public AddPublicKeyResponse.Builder setKeyBytes(ByteString value)
Key that was added to the environment.
string key = 1;
Parameter
Name | Description |
value | ByteString
The bytes for key to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AddPublicKeyResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AddPublicKeyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides