Class ImportSshPublicKeyResponse.Builder (2.4.0)

public static final class ImportSshPublicKeyResponse.Builder extends GeneratedMessageV3.Builder<ImportSshPublicKeyResponse.Builder> implements ImportSshPublicKeyResponseOrBuilder

A response message for importing an SSH public key.

Protobuf type google.cloud.oslogin.v1.ImportSshPublicKeyResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportSshPublicKeyResponse build()
Returns
TypeDescription
ImportSshPublicKeyResponse

buildPartial()

public ImportSshPublicKeyResponse buildPartial()
Returns
TypeDescription
ImportSshPublicKeyResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLoginProfile()

public ImportSshPublicKeyResponse.Builder clearLoginProfile()

The login profile information for the user.

.google.cloud.oslogin.v1.LoginProfile login_profile = 1;

Returns
TypeDescription
ImportSshPublicKeyResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ImportSshPublicKeyResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportSshPublicKeyResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLoginProfile()

public LoginProfile getLoginProfile()

The login profile information for the user.

.google.cloud.oslogin.v1.LoginProfile login_profile = 1;

Returns
TypeDescription
LoginProfile

The loginProfile.

getLoginProfileBuilder()

public LoginProfile.Builder getLoginProfileBuilder()

The login profile information for the user.

.google.cloud.oslogin.v1.LoginProfile login_profile = 1;

Returns
TypeDescription
LoginProfile.Builder

getLoginProfileOrBuilder()

public LoginProfileOrBuilder getLoginProfileOrBuilder()

The login profile information for the user.

.google.cloud.oslogin.v1.LoginProfile login_profile = 1;

Returns
TypeDescription
LoginProfileOrBuilder

hasLoginProfile()

public boolean hasLoginProfile()

The login profile information for the user.

.google.cloud.oslogin.v1.LoginProfile login_profile = 1;

Returns
TypeDescription
boolean

Whether the loginProfile field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportSshPublicKeyResponse other)

public ImportSshPublicKeyResponse.Builder mergeFrom(ImportSshPublicKeyResponse other)
Parameter
NameDescription
otherImportSshPublicKeyResponse
Returns
TypeDescription
ImportSshPublicKeyResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLoginProfile(LoginProfile value)

public ImportSshPublicKeyResponse.Builder mergeLoginProfile(LoginProfile value)

The login profile information for the user.

.google.cloud.oslogin.v1.LoginProfile login_profile = 1;

Parameter
NameDescription
valueLoginProfile
Returns
TypeDescription
ImportSshPublicKeyResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLoginProfile(LoginProfile value)

public ImportSshPublicKeyResponse.Builder setLoginProfile(LoginProfile value)

The login profile information for the user.

.google.cloud.oslogin.v1.LoginProfile login_profile = 1;

Parameter
NameDescription
valueLoginProfile
Returns
TypeDescription
ImportSshPublicKeyResponse.Builder

setLoginProfile(LoginProfile.Builder builderForValue)

public ImportSshPublicKeyResponse.Builder setLoginProfile(LoginProfile.Builder builderForValue)

The login profile information for the user.

.google.cloud.oslogin.v1.LoginProfile login_profile = 1;

Parameter
NameDescription
builderForValueLoginProfile.Builder
Returns
TypeDescription
ImportSshPublicKeyResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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