diff --git a/java-profiler/proto-google-cloud-profiler-v2/src/main/java/com/google/devtools/cloudprofiler/v2/CreateProfileRequest.java b/java-profiler/proto-google-cloud-profiler-v2/src/main/java/com/google/devtools/cloudprofiler/v2/CreateProfileRequest.java index d03c51bebc88..05099235ecdd 100644 --- a/java-profiler/proto-google-cloud-profiler-v2/src/main/java/com/google/devtools/cloudprofiler/v2/CreateProfileRequest.java +++ b/java-profiler/proto-google-cloud-profiler-v2/src/main/java/com/google/devtools/cloudprofiler/v2/CreateProfileRequest.java @@ -1218,8 +1218,8 @@ public int getProfileTypeValue(int index) { * * repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2; * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of profileType at the given index. + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for profileType to set. * @return This builder for chaining. */ public Builder setProfileTypeValue(int index, int value) {