- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.7
- 2.0.15
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OsLoginProto.SshPublicKey.BuilderImplements
OsLoginProto.SshPublicKeyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OsLoginProto.SshPublicKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
OsLoginProto.SshPublicKey.Builder |
build()
public OsLoginProto.SshPublicKey build()
Type | Description |
OsLoginProto.SshPublicKey |
buildPartial()
public OsLoginProto.SshPublicKey buildPartial()
Type | Description |
OsLoginProto.SshPublicKey |
clear()
public OsLoginProto.SshPublicKey.Builder clear()
Type | Description |
OsLoginProto.SshPublicKey.Builder |
clearExpirationTimeUsec()
public OsLoginProto.SshPublicKey.Builder clearExpirationTimeUsec()
An expiration time in microseconds since epoch.
int64 expiration_time_usec = 2;
Type | Description |
OsLoginProto.SshPublicKey.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public OsLoginProto.SshPublicKey.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
OsLoginProto.SshPublicKey.Builder |
clearFingerprint()
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];
Type | Description |
OsLoginProto.SshPublicKey.Builder | This builder for chaining. |
clearKey()
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;
Type | Description |
OsLoginProto.SshPublicKey.Builder | This builder for chaining. |
clearName()
public OsLoginProto.SshPublicKey.Builder clearName()
Output only. The canonical resource name.
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
OsLoginProto.SshPublicKey.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public OsLoginProto.SshPublicKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
OsLoginProto.SshPublicKey.Builder |
clone()
public OsLoginProto.SshPublicKey.Builder clone()
Type | Description |
OsLoginProto.SshPublicKey.Builder |
getDefaultInstanceForType()
public OsLoginProto.SshPublicKey getDefaultInstanceForType()
Type | Description |
OsLoginProto.SshPublicKey |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExpirationTimeUsec()
public long getExpirationTimeUsec()
An expiration time in microseconds since epoch.
int64 expiration_time_usec = 2;
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];
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];
Type | Description |
ByteString | The bytes for fingerprint. |
getKey()
public 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;
Type | Description |
String | The key. |
getKeyBytes()
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;
Type | Description |
ByteString | The bytes for key. |
getName()
public String getName()
Output only. The canonical resource name.
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The canonical resource name.
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(OsLoginProto.SshPublicKey other)
public OsLoginProto.SshPublicKey.Builder mergeFrom(OsLoginProto.SshPublicKey other)
Name | Description |
other | OsLoginProto.SshPublicKey |
Type | Description |
OsLoginProto.SshPublicKey.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OsLoginProto.SshPublicKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OsLoginProto.SshPublicKey.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public OsLoginProto.SshPublicKey.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
OsLoginProto.SshPublicKey.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OsLoginProto.SshPublicKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
OsLoginProto.SshPublicKey.Builder |
setExpirationTimeUsec(long value)
public OsLoginProto.SshPublicKey.Builder setExpirationTimeUsec(long value)
An expiration time in microseconds since epoch.
int64 expiration_time_usec = 2;
Name | Description |
value | long The expirationTimeUsec to set. |
Type | Description |
OsLoginProto.SshPublicKey.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public OsLoginProto.SshPublicKey.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
OsLoginProto.SshPublicKey.Builder |
setFingerprint(String value)
public 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];
Name | Description |
value | String The fingerprint to set. |
Type | Description |
OsLoginProto.SshPublicKey.Builder | This builder for chaining. |
setFingerprintBytes(ByteString value)
public OsLoginProto.SshPublicKey.Builder setFingerprintBytes(ByteString value)
Output only. The SHA-256 fingerprint of the SSH public key.
string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for fingerprint to set. |
Type | Description |
OsLoginProto.SshPublicKey.Builder | This builder for chaining. |
setKey(String value)
public 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;
Name | Description |
value | String The key to set. |
Type | Description |
OsLoginProto.SshPublicKey.Builder | This builder for chaining. |
setKeyBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for key to set. |
Type | Description |
OsLoginProto.SshPublicKey.Builder | This builder for chaining. |
setName(String value)
public OsLoginProto.SshPublicKey.Builder setName(String value)
Output only. The canonical resource name.
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
OsLoginProto.SshPublicKey.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public OsLoginProto.SshPublicKey.Builder setNameBytes(ByteString value)
Output only. The canonical resource name.
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
OsLoginProto.SshPublicKey.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OsLoginProto.SshPublicKey.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
OsLoginProto.SshPublicKey.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final OsLoginProto.SshPublicKey.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
OsLoginProto.SshPublicKey.Builder |