public static final class ImportSshPublicKeyRequest.Builder extends GeneratedMessageV3.Builder<ImportSshPublicKeyRequest.Builder> implements ImportSshPublicKeyRequestOrBuilder
A request message for importing an SSH public key.Protobuf type
google.cloud.oslogin.v1.ImportSshPublicKeyRequest
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<ImportSshPublicKeyRequest.Builder>
public ImportSshPublicKeyRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ImportSshPublicKeyRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ImportSshPublicKeyRequest.Builder>
public ImportSshPublicKeyRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ImportSshPublicKeyRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ImportSshPublicKeyRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ImportSshPublicKeyRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ImportSshPublicKeyRequest.Builder>
public ImportSshPublicKeyRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ImportSshPublicKeyRequest.Builder>
public ImportSshPublicKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ImportSshPublicKeyRequest.Builder>
public ImportSshPublicKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ImportSshPublicKeyRequest.Builder>
public ImportSshPublicKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ImportSshPublicKeyRequest.Builder>
public ImportSshPublicKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ImportSshPublicKeyRequest.Builder>
public ImportSshPublicKeyRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ImportSshPublicKeyRequest.Builder>
public ImportSshPublicKeyRequest.Builder mergeFrom(ImportSshPublicKeyRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ImportSshPublicKeyRequest.Builder>
public ImportSshPublicKeyRequest.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<ImportSshPublicKeyRequest.Builder>
java.io.IOException
public java.lang.String getParent()
The unique ID for the user in format `users/{user}`.
string parent = 1;
getParent
in interface ImportSshPublicKeyRequestOrBuilder
public ByteString getParentBytes()
The unique ID for the user in format `users/{user}`.
string parent = 1;
getParentBytes
in interface ImportSshPublicKeyRequestOrBuilder
public ImportSshPublicKeyRequest.Builder setParent(java.lang.String value)
The unique ID for the user in format `users/{user}`.
string parent = 1;
public ImportSshPublicKeyRequest.Builder clearParent()
The unique ID for the user in format `users/{user}`.
string parent = 1;
public ImportSshPublicKeyRequest.Builder setParentBytes(ByteString value)
The unique ID for the user in format `users/{user}`.
string parent = 1;
public boolean hasSshPublicKey()
The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2;
hasSshPublicKey
in interface ImportSshPublicKeyRequestOrBuilder
public OsLoginProto.SshPublicKey getSshPublicKey()
The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2;
getSshPublicKey
in interface ImportSshPublicKeyRequestOrBuilder
public ImportSshPublicKeyRequest.Builder setSshPublicKey(OsLoginProto.SshPublicKey value)
The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2;
public ImportSshPublicKeyRequest.Builder setSshPublicKey(OsLoginProto.SshPublicKey.Builder builderForValue)
The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2;
public ImportSshPublicKeyRequest.Builder mergeSshPublicKey(OsLoginProto.SshPublicKey value)
The SSH public key and expiration time.
.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2;
public ImportSshPublicKeyRequest.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 ImportSshPublicKeyRequestOrBuilder
public java.lang.String getProjectId()
The project ID of the Google Cloud Platform project.
string project_id = 3;
getProjectId
in interface ImportSshPublicKeyRequestOrBuilder
public ByteString getProjectIdBytes()
The project ID of the Google Cloud Platform project.
string project_id = 3;
getProjectIdBytes
in interface ImportSshPublicKeyRequestOrBuilder
public ImportSshPublicKeyRequest.Builder setProjectId(java.lang.String value)
The project ID of the Google Cloud Platform project.
string project_id = 3;
public ImportSshPublicKeyRequest.Builder clearProjectId()
The project ID of the Google Cloud Platform project.
string project_id = 3;
public ImportSshPublicKeyRequest.Builder setProjectIdBytes(ByteString value)
The project ID of the Google Cloud Platform project.
string project_id = 3;
public final ImportSshPublicKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ImportSshPublicKeyRequest.Builder>
public final ImportSshPublicKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ImportSshPublicKeyRequest.Builder>