public static final class UpdateSshPublicKeyRequest.Builder extends GeneratedMessageV3.Builder<UpdateSshPublicKeyRequest.Builder> implements UpdateSshPublicKeyRequestOrBuilder
A request message for updating an SSH public key.Protobuf type
google.cloud.oslogin.v1.UpdateSshPublicKeyRequest
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<UpdateSshPublicKeyRequest.Builder>
public UpdateSshPublicKeyRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<UpdateSshPublicKeyRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<UpdateSshPublicKeyRequest.Builder>
public UpdateSshPublicKeyRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public UpdateSshPublicKeyRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public UpdateSshPublicKeyRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public UpdateSshPublicKeyRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<UpdateSshPublicKeyRequest.Builder>
public UpdateSshPublicKeyRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<UpdateSshPublicKeyRequest.Builder>
public UpdateSshPublicKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<UpdateSshPublicKeyRequest.Builder>
public UpdateSshPublicKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<UpdateSshPublicKeyRequest.Builder>
public UpdateSshPublicKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<UpdateSshPublicKeyRequest.Builder>
public UpdateSshPublicKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<UpdateSshPublicKeyRequest.Builder>
public UpdateSshPublicKeyRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<UpdateSshPublicKeyRequest.Builder>
public UpdateSshPublicKeyRequest.Builder mergeFrom(UpdateSshPublicKeyRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<UpdateSshPublicKeyRequest.Builder>
public UpdateSshPublicKeyRequest.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<UpdateSshPublicKeyRequest.Builder>
java.io.IOException
public java.lang.String getName()
The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
string name = 1;
getName
in interface UpdateSshPublicKeyRequestOrBuilder
public ByteString getNameBytes()
The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
string name = 1;
getNameBytes
in interface UpdateSshPublicKeyRequestOrBuilder
public UpdateSshPublicKeyRequest.Builder setName(java.lang.String value)
The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
string name = 1;
public UpdateSshPublicKeyRequest.Builder clearName()
The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
string name = 1;
public UpdateSshPublicKeyRequest.Builder setNameBytes(ByteString value)
The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
string name = 1;
public boolean hasSshPublicKey()
The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2;
hasSshPublicKey
in interface UpdateSshPublicKeyRequestOrBuilder
public OsLoginProto.SshPublicKey getSshPublicKey()
The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2;
getSshPublicKey
in interface UpdateSshPublicKeyRequestOrBuilder
public UpdateSshPublicKeyRequest.Builder setSshPublicKey(OsLoginProto.SshPublicKey value)
The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2;
public UpdateSshPublicKeyRequest.Builder setSshPublicKey(OsLoginProto.SshPublicKey.Builder builderForValue)
The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2;
public UpdateSshPublicKeyRequest.Builder mergeSshPublicKey(OsLoginProto.SshPublicKey value)
The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2;
public UpdateSshPublicKeyRequest.Builder clearSshPublicKey()
The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2;
public OsLoginProto.SshPublicKey.Builder getSshPublicKeyBuilder()
The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2;
public OsLoginProto.SshPublicKeyOrBuilder getSshPublicKeyOrBuilder()
The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2;
getSshPublicKeyOrBuilder
in interface UpdateSshPublicKeyRequestOrBuilder
public boolean hasUpdateMask()
Mask to control which fields get updated. Updates all if not present.
.google.protobuf.FieldMask update_mask = 3;
hasUpdateMask
in interface UpdateSshPublicKeyRequestOrBuilder
public FieldMask getUpdateMask()
Mask to control which fields get updated. Updates all if not present.
.google.protobuf.FieldMask update_mask = 3;
getUpdateMask
in interface UpdateSshPublicKeyRequestOrBuilder
public UpdateSshPublicKeyRequest.Builder setUpdateMask(FieldMask value)
Mask to control which fields get updated. Updates all if not present.
.google.protobuf.FieldMask update_mask = 3;
public UpdateSshPublicKeyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Mask to control which fields get updated. Updates all if not present.
.google.protobuf.FieldMask update_mask = 3;
public UpdateSshPublicKeyRequest.Builder mergeUpdateMask(FieldMask value)
Mask to control which fields get updated. Updates all if not present.
.google.protobuf.FieldMask update_mask = 3;
public UpdateSshPublicKeyRequest.Builder clearUpdateMask()
Mask to control which fields get updated. Updates all if not present.
.google.protobuf.FieldMask update_mask = 3;
public FieldMask.Builder getUpdateMaskBuilder()
Mask to control which fields get updated. Updates all if not present.
.google.protobuf.FieldMask update_mask = 3;
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Mask to control which fields get updated. Updates all if not present.
.google.protobuf.FieldMask update_mask = 3;
getUpdateMaskOrBuilder
in interface UpdateSshPublicKeyRequestOrBuilder
public final UpdateSshPublicKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<UpdateSshPublicKeyRequest.Builder>
public final UpdateSshPublicKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<UpdateSshPublicKeyRequest.Builder>