Interface UpdateSshPublicKeyRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UpdateSshPublicKeyRequest, UpdateSshPublicKeyRequest.Builder

@Generated public interface UpdateSshPublicKeyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    com.google.protobuf.FieldMask
    Mask to control which fields get updated.
    com.google.protobuf.FieldMaskOrBuilder
    Mask to control which fields get updated.
    boolean
    Required.
    boolean
    Mask to control which fields get updated.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       Required. 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • hasSshPublicKey

      boolean hasSshPublicKey()
       Required. The SSH public key and expiration time.
       
      .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the sshPublicKey field is set.
    • getSshPublicKey

      OsLoginProto.SshPublicKey getSshPublicKey()
       Required. The SSH public key and expiration time.
       
      .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The sshPublicKey.
    • getSshPublicKeyOrBuilder

      OsLoginProto.SshPublicKeyOrBuilder getSshPublicKeyOrBuilder()
       Required. The SSH public key and expiration time.
       
      .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = REQUIRED];
    • hasUpdateMask

      boolean hasUpdateMask()
       Mask to control which fields get updated. Updates all if not present.
       
      .google.protobuf.FieldMask update_mask = 3;
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      com.google.protobuf.FieldMask getUpdateMask()
       Mask to control which fields get updated. Updates all if not present.
       
      .google.protobuf.FieldMask update_mask = 3;
      Returns:
      The updateMask.
    • getUpdateMaskOrBuilder

      com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Mask to control which fields get updated. Updates all if not present.
       
      .google.protobuf.FieldMask update_mask = 3;