- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.5
- 2.2.0
- 2.1.10
public static final class CreateProfileRequest.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateProfileRequest.BuilderImplements
CreateProfileRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllProfileType(Iterable<? extends ProfileType> values)
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;
Name | Description |
values | Iterable<? extends com.google.devtools.cloudprofiler.v2.ProfileType> The profileType to add. |
Type | Description |
CreateProfileRequest.Builder | This builder for chaining. |
addAllProfileTypeValue(Iterable<Integer> values)
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;
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for profileType to add. |
Type | Description |
CreateProfileRequest.Builder | This builder for chaining. |
addProfileType(ProfileType value)
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;
Name | Description |
value | ProfileType The profileType to add. |
Type | Description |
CreateProfileRequest.Builder | This builder for chaining. |
addProfileTypeValue(int value)
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;
Name | Description |
value | int The enum numeric value on the wire for profileType to add. |
Type | Description |
CreateProfileRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateProfileRequest.Builder |
build()
public CreateProfileRequest build()
Type | Description |
CreateProfileRequest |
buildPartial()
public CreateProfileRequest buildPartial()
Type | Description |
CreateProfileRequest |
clear()
public CreateProfileRequest.Builder clear()
Type | Description |
CreateProfileRequest.Builder |
clearDeployment()
public CreateProfileRequest.Builder clearDeployment()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Type | Description |
CreateProfileRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CreateProfileRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CreateProfileRequest.Builder |
clearParent()
public CreateProfileRequest.Builder clearParent()
Parent project to create the profile in.
string parent = 4;
Type | Description |
CreateProfileRequest.Builder | This builder for chaining. |
clearProfileType()
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;
Type | Description |
CreateProfileRequest.Builder | This builder for chaining. |
clone()
public CreateProfileRequest.Builder clone()
Type | Description |
CreateProfileRequest.Builder |
getDefaultInstanceForType()
public CreateProfileRequest getDefaultInstanceForType()
Type | Description |
CreateProfileRequest |
getDeployment()
public Deployment getDeployment()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Type | Description |
Deployment | The deployment. |
getDeploymentBuilder()
public Deployment.Builder getDeploymentBuilder()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Type | Description |
Deployment.Builder |
getDeploymentOrBuilder()
public DeploymentOrBuilder getDeploymentOrBuilder()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Type | Description |
DeploymentOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getParent()
public String getParent()
Parent project to create the profile in.
string parent = 4;
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Parent project to create the profile in.
string parent = 4;
Type | Description |
ByteString | The bytes for parent. |
getProfileType(int index)
public 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
ProfileType | The profileType at the given index. |
getProfileTypeCount()
public int getProfileTypeCount()
One or more profile types that the agent is capable of providing.
repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;
Type | Description |
int | The count of profileType. |
getProfileTypeList()
public List<ProfileType> getProfileTypeList()
One or more profile types that the agent is capable of providing.
repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;
Type | Description |
List<ProfileType> | A list containing the profileType. |
getProfileTypeValue(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of profileType at the given index. |
getProfileTypeValueList()
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;
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for profileType. |
hasDeployment()
public boolean hasDeployment()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Type | Description |
boolean | Whether the deployment field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeDeployment(Deployment value)
public CreateProfileRequest.Builder mergeDeployment(Deployment value)
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Name | Description |
value | Deployment |
Type | Description |
CreateProfileRequest.Builder |
mergeFrom(CreateProfileRequest other)
public CreateProfileRequest.Builder mergeFrom(CreateProfileRequest other)
Name | Description |
other | CreateProfileRequest |
Type | Description |
CreateProfileRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateProfileRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CreateProfileRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CreateProfileRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateProfileRequest.Builder |
setDeployment(Deployment value)
public CreateProfileRequest.Builder setDeployment(Deployment value)
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Name | Description |
value | Deployment |
Type | Description |
CreateProfileRequest.Builder |
setDeployment(Deployment.Builder builderForValue)
public CreateProfileRequest.Builder setDeployment(Deployment.Builder builderForValue)
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Name | Description |
builderForValue | Deployment.Builder |
Type | Description |
CreateProfileRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateProfileRequest.Builder |
setParent(String value)
public CreateProfileRequest.Builder setParent(String value)
Parent project to create the profile in.
string parent = 4;
Name | Description |
value | String The parent to set. |
Type | Description |
CreateProfileRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CreateProfileRequest.Builder setParentBytes(ByteString value)
Parent project to create the profile in.
string parent = 4;
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
CreateProfileRequest.Builder | This builder for chaining. |
setProfileType(int index, ProfileType value)
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;
Name | Description |
index | int The index to set the value at. |
value | ProfileType The profileType to set. |
Type | Description |
CreateProfileRequest.Builder | This builder for chaining. |
setProfileTypeValue(int index, int value)
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;
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for profileType to set. |
Type | Description |
CreateProfileRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CreateProfileRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateProfileRequest.Builder |