public static final class OsLoginProto.SshPublicKey extends GeneratedMessageV3 implements OsLoginProto.SshPublicKeyOrBuilder
The SSH public key information associated with a Google account.
Protobuf type google.cloud.oslogin.common.SshPublicKey
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
EXPIRATION_TIME_USEC_FIELD_NUMBER
public static final int EXPIRATION_TIME_USEC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FINGERPRINT_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static OsLoginProto.SshPublicKey getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static OsLoginProto.SshPublicKey.Builder newBuilder()
newBuilder(OsLoginProto.SshPublicKey prototype)
public static OsLoginProto.SshPublicKey.Builder newBuilder(OsLoginProto.SshPublicKey prototype)
public static OsLoginProto.SshPublicKey parseDelimitedFrom(InputStream input)
public static OsLoginProto.SshPublicKey parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static OsLoginProto.SshPublicKey parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OsLoginProto.SshPublicKey parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static OsLoginProto.SshPublicKey parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OsLoginProto.SshPublicKey parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OsLoginProto.SshPublicKey parseFrom(CodedInputStream input)
public static OsLoginProto.SshPublicKey parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OsLoginProto.SshPublicKey parseFrom(InputStream input)
public static OsLoginProto.SshPublicKey parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static OsLoginProto.SshPublicKey parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OsLoginProto.SshPublicKey parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<OsLoginProto.SshPublicKey> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public OsLoginProto.SshPublicKey getDefaultInstanceForType()
getExpirationTimeUsec()
public long getExpirationTimeUsec()
An expiration time in microseconds since epoch.
int64 expiration_time_usec = 2;
Returns |
---|
Type | Description |
long | The expirationTimeUsec.
|
getFingerprint()
public String getFingerprint()
Output only. The SHA-256 fingerprint of the SSH public key.
string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The fingerprint.
|
getFingerprintBytes()
public ByteString getFingerprintBytes()
Output only. The SHA-256 fingerprint of the SSH public key.
string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for fingerprint.
|
getKey()
Returns |
---|
Type | Description |
String | The key.
|
getKeyBytes()
public ByteString getKeyBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for key.
|
getName()
Output only. The canonical resource name.
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. The canonical resource name.
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<OsLoginProto.SshPublicKey> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public OsLoginProto.SshPublicKey.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OsLoginProto.SshPublicKey.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public OsLoginProto.SshPublicKey.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides