public static final class OsLoginProto.SshPublicKey.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder> implements OsLoginProto.SshPublicKeyOrBuilder
The SSH public key information associated with a Google account.Protobuf type
google.cloud.oslogin.common.SshPublicKey| Modifier and Type | Method and Description |
|---|---|
OsLoginProto.SshPublicKey.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OsLoginProto.SshPublicKey |
build() |
OsLoginProto.SshPublicKey |
buildPartial() |
OsLoginProto.SshPublicKey.Builder |
clear() |
OsLoginProto.SshPublicKey.Builder |
clearExpirationTimeUsec()
An expiration time in microseconds since epoch.
|
OsLoginProto.SshPublicKey.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OsLoginProto.SshPublicKey.Builder |
clearFingerprint()
Output only.
|
OsLoginProto.SshPublicKey.Builder |
clearKey()
Public key text in SSH format, defined by
<a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
section 6.6.
|
OsLoginProto.SshPublicKey.Builder |
clearName()
Output only.
|
OsLoginProto.SshPublicKey.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OsLoginProto.SshPublicKey.Builder |
clone() |
OsLoginProto.SshPublicKey |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getExpirationTimeUsec()
An expiration time in microseconds since epoch.
|
String |
getFingerprint()
Output only.
|
com.google.protobuf.ByteString |
getFingerprintBytes()
Output only.
|
String |
getKey()
Public key text in SSH format, defined by
<a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
section 6.6.
|
com.google.protobuf.ByteString |
getKeyBytes()
Public key text in SSH format, defined by
<a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
section 6.6.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OsLoginProto.SshPublicKey.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OsLoginProto.SshPublicKey.Builder |
mergeFrom(com.google.protobuf.Message other) |
OsLoginProto.SshPublicKey.Builder |
mergeFrom(OsLoginProto.SshPublicKey other) |
OsLoginProto.SshPublicKey.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OsLoginProto.SshPublicKey.Builder |
setExpirationTimeUsec(long value)
An expiration time in microseconds since epoch.
|
OsLoginProto.SshPublicKey.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OsLoginProto.SshPublicKey.Builder |
setFingerprint(String value)
Output only.
|
OsLoginProto.SshPublicKey.Builder |
setFingerprintBytes(com.google.protobuf.ByteString value)
Output only.
|
OsLoginProto.SshPublicKey.Builder |
setKey(String value)
Public key text in SSH format, defined by
<a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
section 6.6.
|
OsLoginProto.SshPublicKey.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
Public key text in SSH format, defined by
<a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
section 6.6.
|
OsLoginProto.SshPublicKey.Builder |
setName(String value)
Output only.
|
OsLoginProto.SshPublicKey.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
OsLoginProto.SshPublicKey.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OsLoginProto.SshPublicKey.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>public OsLoginProto.SshPublicKey.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>public OsLoginProto.SshPublicKey getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OsLoginProto.SshPublicKey build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OsLoginProto.SshPublicKey buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OsLoginProto.SshPublicKey.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>public OsLoginProto.SshPublicKey.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>public OsLoginProto.SshPublicKey.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>public OsLoginProto.SshPublicKey.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>public OsLoginProto.SshPublicKey.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>public OsLoginProto.SshPublicKey.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>public OsLoginProto.SshPublicKey.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OsLoginProto.SshPublicKey.Builder>public OsLoginProto.SshPublicKey.Builder mergeFrom(OsLoginProto.SshPublicKey other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>public OsLoginProto.SshPublicKey.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OsLoginProto.SshPublicKey.Builder>IOExceptionpublic String getKey()
Public key text in SSH format, defined by <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a> section 6.6.
string key = 1;getKey in interface OsLoginProto.SshPublicKeyOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
Public key text in SSH format, defined by <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a> section 6.6.
string key = 1;getKeyBytes in interface OsLoginProto.SshPublicKeyOrBuilderpublic OsLoginProto.SshPublicKey.Builder setKey(String value)
Public key text in SSH format, defined by <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a> section 6.6.
string key = 1;value - The key to set.public OsLoginProto.SshPublicKey.Builder clearKey()
Public key text in SSH format, defined by <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a> section 6.6.
string key = 1;public OsLoginProto.SshPublicKey.Builder setKeyBytes(com.google.protobuf.ByteString value)
Public key text in SSH format, defined by <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a> section 6.6.
string key = 1;value - The bytes for key to set.public long getExpirationTimeUsec()
An expiration time in microseconds since epoch.
int64 expiration_time_usec = 2;getExpirationTimeUsec in interface OsLoginProto.SshPublicKeyOrBuilderpublic OsLoginProto.SshPublicKey.Builder setExpirationTimeUsec(long value)
An expiration time in microseconds since epoch.
int64 expiration_time_usec = 2;value - The expirationTimeUsec to set.public OsLoginProto.SshPublicKey.Builder clearExpirationTimeUsec()
An expiration time in microseconds since epoch.
int64 expiration_time_usec = 2;public String getFingerprint()
Output only. The SHA-256 fingerprint of the SSH public key.
string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getFingerprint in interface OsLoginProto.SshPublicKeyOrBuilderpublic com.google.protobuf.ByteString getFingerprintBytes()
Output only. The SHA-256 fingerprint of the SSH public key.
string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getFingerprintBytes in interface OsLoginProto.SshPublicKeyOrBuilderpublic OsLoginProto.SshPublicKey.Builder setFingerprint(String value)
Output only. The SHA-256 fingerprint of the SSH public key.
string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The fingerprint to set.public OsLoginProto.SshPublicKey.Builder clearFingerprint()
Output only. The SHA-256 fingerprint of the SSH public key.
string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public OsLoginProto.SshPublicKey.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
Output only. The SHA-256 fingerprint of the SSH public key.
string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for fingerprint to set.public String getName()
Output only. The canonical resource name.
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface OsLoginProto.SshPublicKeyOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The canonical resource name.
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface OsLoginProto.SshPublicKeyOrBuilderpublic OsLoginProto.SshPublicKey.Builder setName(String value)
Output only. The canonical resource name.
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public OsLoginProto.SshPublicKey.Builder clearName()
Output only. The canonical resource name.
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public OsLoginProto.SshPublicKey.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The canonical resource name.
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public final OsLoginProto.SshPublicKey.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>public final OsLoginProto.SshPublicKey.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>Copyright © 2021 Google LLC. All rights reserved.