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.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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AddPublicKeyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AddPublicKeyResponse build()
buildPartial()
public AddPublicKeyResponse buildPartial()
clear()
public AddPublicKeyResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AddPublicKeyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearKey()
public AddPublicKeyResponse.Builder clearKey()
Key that was added to the environment.
string key = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public AddPublicKeyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AddPublicKeyResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public AddPublicKeyResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getKey()
Key that was added to the environment.
string key = 1;
Returns |
Type |
Description |
String |
The key.
|
getKeyBytes()
public ByteString getKeyBytes()
Key that was added to the environment.
string key = 1;
Returns |
Type |
Description |
ByteString |
The bytes for key.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AddPublicKeyResponse other)
public AddPublicKeyResponse.Builder mergeFrom(AddPublicKeyResponse other)
public AddPublicKeyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AddPublicKeyResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AddPublicKeyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AddPublicKeyResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AddPublicKeyResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AddPublicKeyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides