Class ImportSshPublicKeyResponse (2.46.0)

public final class ImportSshPublicKeyResponse extends GeneratedMessageV3 implements ImportSshPublicKeyResponseOrBuilder

A response message for importing an SSH public key.

Protobuf type google.cloud.oslogin.v1.ImportSshPublicKeyResponse

Static Fields

DETAILS_FIELD_NUMBER

public static final int DETAILS_FIELD_NUMBER
Field Value
Type Description
int

LOGIN_PROFILE_FIELD_NUMBER

public static final int LOGIN_PROFILE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportSshPublicKeyResponse getDefaultInstance()
Returns
Type Description
ImportSshPublicKeyResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ImportSshPublicKeyResponse.Builder newBuilder()
Returns
Type Description
ImportSshPublicKeyResponse.Builder

newBuilder(ImportSshPublicKeyResponse prototype)

public static ImportSshPublicKeyResponse.Builder newBuilder(ImportSshPublicKeyResponse prototype)
Parameter
Name Description
prototype ImportSshPublicKeyResponse
Returns
Type Description
ImportSshPublicKeyResponse.Builder

parseDelimitedFrom(InputStream input)

public static ImportSshPublicKeyResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportSshPublicKeyResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportSshPublicKeyResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportSshPublicKeyResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportSshPublicKeyResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportSshPublicKeyResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportSshPublicKeyResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportSshPublicKeyResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportSshPublicKeyResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportSshPublicKeyResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportSshPublicKeyResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportSshPublicKeyResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportSshPublicKeyResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportSshPublicKeyResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportSshPublicKeyResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportSshPublicKeyResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportSshPublicKeyResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportSshPublicKeyResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportSshPublicKeyResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportSshPublicKeyResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportSshPublicKeyResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportSshPublicKeyResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportSshPublicKeyResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportSshPublicKeyResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImportSshPublicKeyResponse> parser()
Returns
Type Description
Parser<ImportSshPublicKeyResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ImportSshPublicKeyResponse getDefaultInstanceForType()
Returns
Type Description
ImportSshPublicKeyResponse

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.

getLoginProfileOrBuilder()

public LoginProfileOrBuilder getLoginProfileOrBuilder()

The login profile information for the user.

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

Returns
Type Description
LoginProfileOrBuilder

getParserForType()

public Parser<ImportSshPublicKeyResponse> getParserForType()
Returns
Type Description
Parser<ImportSshPublicKeyResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImportSshPublicKeyResponse.Builder newBuilderForType()
Returns
Type Description
ImportSshPublicKeyResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportSshPublicKeyResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportSshPublicKeyResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImportSshPublicKeyResponse.Builder toBuilder()
Returns
Type Description
ImportSshPublicKeyResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException