Class ImportSshPublicKeyResponse.Builder (2.17.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

clearDetails()

public ImportSshPublicKeyResponse.Builder clearDetails()

Detailed information about import results.

string details = 2;

Returns
TypeDescription
ImportSshPublicKeyResponse.Builder

This builder for chaining.

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

getDetails()

public String getDetails()

Detailed information about import results.

string details = 2;

Returns
TypeDescription
String

The details.

getDetailsBytes()

public ByteString getDetailsBytes()

Detailed information about import results.

string details = 2;

Returns
TypeDescription
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
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

setDetails(String value)

public ImportSshPublicKeyResponse.Builder setDetails(String value)

Detailed information about import results.

string details = 2;

Parameter
NameDescription
valueString

The details to set.

Returns
TypeDescription
ImportSshPublicKeyResponse.Builder

This builder for chaining.

setDetailsBytes(ByteString value)

public ImportSshPublicKeyResponse.Builder setDetailsBytes(ByteString value)

Detailed information about import results.

string details = 2;

Parameter
NameDescription
valueByteString

The bytes for details to set.

Returns
TypeDescription
ImportSshPublicKeyResponse.Builder

This builder for chaining.

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