public static final class CreateProfileRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateProfileRequest.Builder> implements CreateProfileRequestOrBuilder
CreateProfileRequest describes a profile resource online creation request. The deployment field must be populated. The profile_type specifies the list of profile types supported by the agent. The creation call will hang until a profile of one of these types needs to be collected.Protobuf type
google.devtools.cloudprofiler.v2.CreateProfileRequest| Modifier and Type | Method and Description |
|---|---|
CreateProfileRequest.Builder |
addAllProfileType(Iterable<? extends ProfileType> values)
One or more profile types that the agent is capable of providing.
|
CreateProfileRequest.Builder |
addAllProfileTypeValue(Iterable<Integer> values)
One or more profile types that the agent is capable of providing.
|
CreateProfileRequest.Builder |
addProfileType(ProfileType value)
One or more profile types that the agent is capable of providing.
|
CreateProfileRequest.Builder |
addProfileTypeValue(int value)
One or more profile types that the agent is capable of providing.
|
CreateProfileRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateProfileRequest |
build() |
CreateProfileRequest |
buildPartial() |
CreateProfileRequest.Builder |
clear() |
CreateProfileRequest.Builder |
clearDeployment()
Deployment details.
|
CreateProfileRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CreateProfileRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CreateProfileRequest.Builder |
clearParent()
Parent project to create the profile in.
|
CreateProfileRequest.Builder |
clearProfileType()
One or more profile types that the agent is capable of providing.
|
CreateProfileRequest.Builder |
clone() |
CreateProfileRequest |
getDefaultInstanceForType() |
Deployment |
getDeployment()
Deployment details.
|
Deployment.Builder |
getDeploymentBuilder()
Deployment details.
|
DeploymentOrBuilder |
getDeploymentOrBuilder()
Deployment details.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getParent()
Parent project to create the profile in.
|
com.google.protobuf.ByteString |
getParentBytes()
Parent project to create the profile in.
|
ProfileType |
getProfileType(int index)
One or more profile types that the agent is capable of providing.
|
int |
getProfileTypeCount()
One or more profile types that the agent is capable of providing.
|
List<ProfileType> |
getProfileTypeList()
One or more profile types that the agent is capable of providing.
|
int |
getProfileTypeValue(int index)
One or more profile types that the agent is capable of providing.
|
List<Integer> |
getProfileTypeValueList()
One or more profile types that the agent is capable of providing.
|
boolean |
hasDeployment()
Deployment details.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CreateProfileRequest.Builder |
mergeDeployment(Deployment value)
Deployment details.
|
CreateProfileRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CreateProfileRequest.Builder |
mergeFrom(CreateProfileRequest other) |
CreateProfileRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CreateProfileRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CreateProfileRequest.Builder |
setDeployment(Deployment.Builder builderForValue)
Deployment details.
|
CreateProfileRequest.Builder |
setDeployment(Deployment value)
Deployment details.
|
CreateProfileRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateProfileRequest.Builder |
setParent(String value)
Parent project to create the profile in.
|
CreateProfileRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Parent project to create the profile in.
|
CreateProfileRequest.Builder |
setProfileType(int index,
ProfileType value)
One or more profile types that the agent is capable of providing.
|
CreateProfileRequest.Builder |
setProfileTypeValue(int index,
int value)
One or more profile types that the agent is capable of providing.
|
CreateProfileRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CreateProfileRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProfileRequest.Builder>public CreateProfileRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProfileRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProfileRequest.Builder>public CreateProfileRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateProfileRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateProfileRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateProfileRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProfileRequest.Builder>public CreateProfileRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProfileRequest.Builder>public CreateProfileRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProfileRequest.Builder>public CreateProfileRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProfileRequest.Builder>public CreateProfileRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProfileRequest.Builder>public CreateProfileRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProfileRequest.Builder>public CreateProfileRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateProfileRequest.Builder>public CreateProfileRequest.Builder mergeFrom(CreateProfileRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProfileRequest.Builder>public CreateProfileRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateProfileRequest.Builder>IOExceptionpublic String getParent()
Parent project to create the profile in.
string parent = 4 [(.google.api.resource_reference) = { ... }getParent in interface CreateProfileRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Parent project to create the profile in.
string parent = 4 [(.google.api.resource_reference) = { ... }getParentBytes in interface CreateProfileRequestOrBuilderpublic CreateProfileRequest.Builder setParent(String value)
Parent project to create the profile in.
string parent = 4 [(.google.api.resource_reference) = { ... }value - The parent to set.public CreateProfileRequest.Builder clearParent()
Parent project to create the profile in.
string parent = 4 [(.google.api.resource_reference) = { ... }public CreateProfileRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Parent project to create the profile in.
string parent = 4 [(.google.api.resource_reference) = { ... }value - The bytes for parent to set.public boolean hasDeployment()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;hasDeployment in interface CreateProfileRequestOrBuilderpublic Deployment getDeployment()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;getDeployment in interface CreateProfileRequestOrBuilderpublic CreateProfileRequest.Builder setDeployment(Deployment value)
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;public CreateProfileRequest.Builder setDeployment(Deployment.Builder builderForValue)
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;public CreateProfileRequest.Builder mergeDeployment(Deployment value)
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;public CreateProfileRequest.Builder clearDeployment()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;public Deployment.Builder getDeploymentBuilder()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;public DeploymentOrBuilder getDeploymentOrBuilder()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;getDeploymentOrBuilder in interface CreateProfileRequestOrBuilderpublic List<ProfileType> getProfileTypeList()
One or more profile types that the agent is capable of providing.
repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;getProfileTypeList in interface CreateProfileRequestOrBuilderpublic int getProfileTypeCount()
One or more profile types that the agent is capable of providing.
repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;getProfileTypeCount in interface CreateProfileRequestOrBuilderpublic ProfileType getProfileType(int index)
One or more profile types that the agent is capable of providing.
repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;getProfileType in interface CreateProfileRequestOrBuilderindex - The index of the element to return.public CreateProfileRequest.Builder setProfileType(int index, ProfileType value)
One or more profile types that the agent is capable of providing.
repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;index - The index to set the value at.value - The profileType to set.public CreateProfileRequest.Builder addProfileType(ProfileType value)
One or more profile types that the agent is capable of providing.
repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;value - The profileType to add.public CreateProfileRequest.Builder addAllProfileType(Iterable<? extends ProfileType> values)
One or more profile types that the agent is capable of providing.
repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;values - The profileType to add.public CreateProfileRequest.Builder clearProfileType()
One or more profile types that the agent is capable of providing.
repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;public List<Integer> getProfileTypeValueList()
One or more profile types that the agent is capable of providing.
repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;getProfileTypeValueList in interface CreateProfileRequestOrBuilderpublic int getProfileTypeValue(int index)
One or more profile types that the agent is capable of providing.
repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;getProfileTypeValue in interface CreateProfileRequestOrBuilderindex - The index of the value to return.public CreateProfileRequest.Builder setProfileTypeValue(int index, int value)
One or more profile types that the agent is capable of providing.
repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;index - The index to set the value at.value - The enum numeric value on the wire for profileType to set.public CreateProfileRequest.Builder addProfileTypeValue(int value)
One or more profile types that the agent is capable of providing.
repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;value - The enum numeric value on the wire for profileType to add.public CreateProfileRequest.Builder addAllProfileTypeValue(Iterable<Integer> values)
One or more profile types that the agent is capable of providing.
repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;values - The enum numeric values on the wire for profileType to add.public final CreateProfileRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProfileRequest.Builder>public final CreateProfileRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProfileRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.