public static final class OsLoginProto.SshPublicKey.Builder extends 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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>
public OsLoginProto.SshPublicKey.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>
public OsLoginProto.SshPublicKey getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public OsLoginProto.SshPublicKey build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public OsLoginProto.SshPublicKey buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public OsLoginProto.SshPublicKey.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>
public OsLoginProto.SshPublicKey.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>
public OsLoginProto.SshPublicKey.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>
public OsLoginProto.SshPublicKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>
public OsLoginProto.SshPublicKey.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>
public OsLoginProto.SshPublicKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>
public OsLoginProto.SshPublicKey.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<OsLoginProto.SshPublicKey.Builder>
public OsLoginProto.SshPublicKey.Builder mergeFrom(OsLoginProto.SshPublicKey other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>
public OsLoginProto.SshPublicKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<OsLoginProto.SshPublicKey.Builder>
java.io.IOException
public java.lang.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.SshPublicKeyOrBuilder
public 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.SshPublicKeyOrBuilder
public OsLoginProto.SshPublicKey.Builder setKey(java.lang.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;
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(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;
public long getExpirationTimeUsec()
An expiration time in microseconds since epoch.
int64 expiration_time_usec = 2;
getExpirationTimeUsec
in interface OsLoginProto.SshPublicKeyOrBuilder
public OsLoginProto.SshPublicKey.Builder setExpirationTimeUsec(long value)
An expiration time in microseconds since epoch.
int64 expiration_time_usec = 2;
public OsLoginProto.SshPublicKey.Builder clearExpirationTimeUsec()
An expiration time in microseconds since epoch.
int64 expiration_time_usec = 2;
public java.lang.String getFingerprint()
Output only. The SHA-256 fingerprint of the SSH public key.
string fingerprint = 3;
getFingerprint
in interface OsLoginProto.SshPublicKeyOrBuilder
public ByteString getFingerprintBytes()
Output only. The SHA-256 fingerprint of the SSH public key.
string fingerprint = 3;
getFingerprintBytes
in interface OsLoginProto.SshPublicKeyOrBuilder
public OsLoginProto.SshPublicKey.Builder setFingerprint(java.lang.String value)
Output only. The SHA-256 fingerprint of the SSH public key.
string fingerprint = 3;
public OsLoginProto.SshPublicKey.Builder clearFingerprint()
Output only. The SHA-256 fingerprint of the SSH public key.
string fingerprint = 3;
public OsLoginProto.SshPublicKey.Builder setFingerprintBytes(ByteString value)
Output only. The SHA-256 fingerprint of the SSH public key.
string fingerprint = 3;
public final OsLoginProto.SshPublicKey.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>
public final OsLoginProto.SshPublicKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<OsLoginProto.SshPublicKey.Builder>