- 2.75.0 (latest)
- 2.74.0
- 2.73.0
- 2.72.0
- 2.71.0
- 2.69.0
- 2.67.0
- 2.66.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 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.SshPublicKeyOrBuilderThe 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()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OsLoginProto.SshPublicKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.SshPublicKey.Builder |
|
build()
public OsLoginProto.SshPublicKey build()| Returns | |
|---|---|
| Type | Description |
OsLoginProto.SshPublicKey |
|
buildPartial()
public OsLoginProto.SshPublicKey buildPartial()| Returns | |
|---|---|
| Type | Description |
OsLoginProto.SshPublicKey |
|
clear()
public OsLoginProto.SshPublicKey.Builder clear()| Returns | |
|---|---|
| Type | Description |
OsLoginProto.SshPublicKey.Builder |
|
clearExpirationTimeUsec()
public OsLoginProto.SshPublicKey.Builder clearExpirationTimeUsec()An expiration time in microseconds since epoch.
int64 expiration_time_usec = 2;
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.SshPublicKey.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public OsLoginProto.SshPublicKey.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.SshPublicKey.Builder |
This builder for chaining. |
clearKey()
public OsLoginProto.SshPublicKey.Builder clearKey()Public key text in SSH format, defined by RFC4253 section 6.6.
string key = 1;
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.SshPublicKey.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public OsLoginProto.SshPublicKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.SshPublicKey.Builder |
|
clone()
public OsLoginProto.SshPublicKey.Builder clone()| Returns | |
|---|---|
| Type | Description |
OsLoginProto.SshPublicKey.Builder |
|
getDefaultInstanceForType()
public OsLoginProto.SshPublicKey getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OsLoginProto.SshPublicKey |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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()
public String getKey()Public key text in SSH format, defined by RFC4253 section 6.6.
string key = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The key. |
getKeyBytes()
public ByteString getKeyBytes()Public key text in SSH format, defined by RFC4253 section 6.6.
string key = 1;
| Returns | |
|---|---|
| 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];
| 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(OsLoginProto.SshPublicKey other)
public OsLoginProto.SshPublicKey.Builder mergeFrom(OsLoginProto.SshPublicKey other)| Parameter | |
|---|---|
| Name | Description |
other |
OsLoginProto.SshPublicKey |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.SshPublicKey.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OsLoginProto.SshPublicKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.SshPublicKey.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OsLoginProto.SshPublicKey.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.SshPublicKey.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OsLoginProto.SshPublicKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe expirationTimeUsec to set. |
| Returns | |
|---|---|
| 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)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fingerprint to set. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for fingerprint to set. |
| Returns | |
|---|---|
| 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 RFC4253 section 6.6.
string key = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe key to set. |
| Returns | |
|---|---|
| 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 RFC4253 section 6.6.
string key = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for key to set. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| 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)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.SshPublicKey.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final OsLoginProto.SshPublicKey.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.SshPublicKey.Builder |
|