Class ImportSshPublicKeyResponse.Builder (2.46.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportSshPublicKeyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportSshPublicKeyResponse.Builder
Overrides

build()

public ImportSshPublicKeyResponse build()
Returns
Type Description
ImportSshPublicKeyResponse

buildPartial()

public ImportSshPublicKeyResponse buildPartial()
Returns
Type Description
ImportSshPublicKeyResponse

clear()

public ImportSshPublicKeyResponse.Builder clear()
Returns
Type Description
ImportSshPublicKeyResponse.Builder
Overrides

clearDetails()

public ImportSshPublicKeyResponse.Builder clearDetails()

Detailed information about import results.

string details = 2;

Returns
Type Description
ImportSshPublicKeyResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ImportSshPublicKeyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportSshPublicKeyResponse.Builder
Overrides

clearLoginProfile()

public ImportSshPublicKeyResponse.Builder clearLoginProfile()

The login profile information for the user.

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

Returns
Type Description
ImportSshPublicKeyResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportSshPublicKeyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportSshPublicKeyResponse.Builder
Overrides

clone()

public ImportSshPublicKeyResponse.Builder clone()
Returns
Type Description
ImportSshPublicKeyResponse.Builder
Overrides

getDefaultInstanceForType()

public ImportSshPublicKeyResponse getDefaultInstanceForType()
Returns
Type Description
ImportSshPublicKeyResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDetails()

public String getDetails()

Detailed information about import results.

string details = 2;

Returns
Type Description
String

The details.

getDetailsBytes()

public ByteString getDetailsBytes()

Detailed information about import results.

string details = 2;

Returns
Type Description
ByteString

The bytes for details.

getLoginProfile()

public LoginProfile getLoginProfile()

The login profile information for the user.

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

Returns
Type Description
LoginProfile

The loginProfile.

getLoginProfileBuilder()

public LoginProfile.Builder getLoginProfileBuilder()

The login profile information for the user.

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

Returns
Type Description
LoginProfile.Builder

getLoginProfileOrBuilder()

public LoginProfileOrBuilder getLoginProfileOrBuilder()

The login profile information for the user.

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

Returns
Type Description
LoginProfileOrBuilder

hasLoginProfile()

public boolean hasLoginProfile()

The login profile information for the user.

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

Returns
Type Description
boolean

Whether the loginProfile field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportSshPublicKeyResponse other)

public ImportSshPublicKeyResponse.Builder mergeFrom(ImportSshPublicKeyResponse other)
Parameter
Name Description
other ImportSshPublicKeyResponse
Returns
Type Description
ImportSshPublicKeyResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportSshPublicKeyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportSshPublicKeyResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportSshPublicKeyResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value LoginProfile
Returns
Type Description
ImportSshPublicKeyResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportSshPublicKeyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportSshPublicKeyResponse.Builder
Overrides

setDetails(String value)

public ImportSshPublicKeyResponse.Builder setDetails(String value)

Detailed information about import results.

string details = 2;

Parameter
Name Description
value String

The details to set.

Returns
Type Description
ImportSshPublicKeyResponse.Builder

This builder for chaining.

setDetailsBytes(ByteString value)

public ImportSshPublicKeyResponse.Builder setDetailsBytes(ByteString value)

Detailed information about import results.

string details = 2;

Parameter
Name Description
value ByteString

The bytes for details to set.

Returns
Type Description
ImportSshPublicKeyResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ImportSshPublicKeyResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value LoginProfile
Returns
Type Description
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
Name Description
builderForValue LoginProfile.Builder
Returns
Type Description
ImportSshPublicKeyResponse.Builder

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

public ImportSshPublicKeyResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportSshPublicKeyResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportSshPublicKeyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportSshPublicKeyResponse.Builder
Overrides