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

LOGIN_PROFILE_FIELD_NUMBER

public static final int LOGIN_PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportSshPublicKeyResponse getDefaultInstance()
Returns
TypeDescription
ImportSshPublicKeyResponse

getDescriptor()

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

newBuilder()

public static ImportSshPublicKeyResponse.Builder newBuilder()
Returns
TypeDescription
ImportSshPublicKeyResponse.Builder

newBuilder(ImportSshPublicKeyResponse prototype)

public static ImportSshPublicKeyResponse.Builder newBuilder(ImportSshPublicKeyResponse prototype)
Parameter
NameDescription
prototypeImportSshPublicKeyResponse
Returns
TypeDescription
ImportSshPublicKeyResponse.Builder

parseDelimitedFrom(InputStream input)

public static ImportSshPublicKeyResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportSshPublicKeyResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportSshPublicKeyResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportSshPublicKeyResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportSshPublicKeyResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportSshPublicKeyResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportSshPublicKeyResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportSshPublicKeyResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportSshPublicKeyResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportSshPublicKeyResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportSshPublicKeyResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportSshPublicKeyResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportSshPublicKeyResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportSshPublicKeyResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportSshPublicKeyResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportSshPublicKeyResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportSshPublicKeyResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportSshPublicKeyResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportSshPublicKeyResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportSshPublicKeyResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportSshPublicKeyResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportSshPublicKeyResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportSshPublicKeyResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportSshPublicKeyResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImportSshPublicKeyResponse> parser()
Returns
TypeDescription
Parser<ImportSshPublicKeyResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ImportSshPublicKeyResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportSshPublicKeyResponse

getLoginProfile()

public LoginProfile getLoginProfile()

The login profile information for the user.

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

Returns
TypeDescription
LoginProfile

The loginProfile.

getLoginProfileOrBuilder()

public LoginProfileOrBuilder getLoginProfileOrBuilder()

The login profile information for the user.

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

Returns
TypeDescription
LoginProfileOrBuilder

getParserForType()

public Parser<ImportSshPublicKeyResponse> getParserForType()
Returns
TypeDescription
Parser<ImportSshPublicKeyResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImportSshPublicKeyResponse.Builder newBuilderForType()
Returns
TypeDescription
ImportSshPublicKeyResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportSshPublicKeyResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportSshPublicKeyResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImportSshPublicKeyResponse.Builder toBuilder()
Returns
TypeDescription
ImportSshPublicKeyResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException