Class AddPublicKeyMetadata.Builder (2.34.0)

public static final class AddPublicKeyMetadata.Builder extends GeneratedMessageV3.Builder<AddPublicKeyMetadata.Builder> implements AddPublicKeyMetadataOrBuilder

Message included in the metadata field of operations returned from AddPublicKey.

Protobuf type google.cloud.shell.v1.AddPublicKeyMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AddPublicKeyMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AddPublicKeyMetadata.Builder
Overrides

build()

public AddPublicKeyMetadata build()
Returns
TypeDescription
AddPublicKeyMetadata

buildPartial()

public AddPublicKeyMetadata buildPartial()
Returns
TypeDescription
AddPublicKeyMetadata

clear()

public AddPublicKeyMetadata.Builder clear()
Returns
TypeDescription
AddPublicKeyMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AddPublicKeyMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AddPublicKeyMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AddPublicKeyMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AddPublicKeyMetadata.Builder
Overrides

clone()

public AddPublicKeyMetadata.Builder clone()
Returns
TypeDescription
AddPublicKeyMetadata.Builder
Overrides

getDefaultInstanceForType()

public AddPublicKeyMetadata getDefaultInstanceForType()
Returns
TypeDescription
AddPublicKeyMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AddPublicKeyMetadata other)

public AddPublicKeyMetadata.Builder mergeFrom(AddPublicKeyMetadata other)
Parameter
NameDescription
otherAddPublicKeyMetadata
Returns
TypeDescription
AddPublicKeyMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AddPublicKeyMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddPublicKeyMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AddPublicKeyMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AddPublicKeyMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AddPublicKeyMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AddPublicKeyMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AddPublicKeyMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AddPublicKeyMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AddPublicKeyMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AddPublicKeyMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AddPublicKeyMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AddPublicKeyMetadata.Builder
Overrides