If you stick to the routine of potty training the goldendoodle and constantly take the dog out on time when it needs to potty the dog should be able to hold it somewhat until you get the dog outside by age 10 weeks to 12 weeks of age.
Then by 6 months of age the goldendoodle should be fully potty trained as long as you keep taking the dog outside and training them to go outside.
With a goldendoodle or any other puppy you're potty training you'll need to consistently potty train the puppy or goldendoodle puppy until 6 months of age.
After 6 months of age the puppy should be trained enough to hold it in for awhile until you get the dog to go outside.
Having some puppy pads on the floor where the puppy pees or poops during potty training can help keep the floors clean but always direct the puppy outside when you see the puppy about to potty on the puppy pad.