- 2.47.0 (latest)
- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.devtools.cloudprofiler.v2.ProfileType> The profileType to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for profileType to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ProfileType The profileType to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for profileType to add. |
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |
build()
public CreateProfileRequest build()
Returns | |
---|---|
Type | Description |
CreateProfileRequest |
buildPartial()
public CreateProfileRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateProfileRequest |
clear()
public CreateProfileRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |
clearDeployment()
public CreateProfileRequest.Builder clearDeployment()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |
clearParent()
public CreateProfileRequest.Builder clearParent()
Parent project to create the profile in.
string parent = 4 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder | This builder for chaining. |
clone()
public CreateProfileRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |
getDefaultInstanceForType()
public CreateProfileRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateProfileRequest |
getDeployment()
public Deployment getDeployment()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Returns | |
---|---|
Type | Description |
Deployment | The deployment. |
getDeploymentBuilder()
public Deployment.Builder getDeploymentBuilder()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
getDeploymentOrBuilder()
public DeploymentOrBuilder getDeploymentOrBuilder()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Returns | |
---|---|
Type | Description |
DeploymentOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getParent()
public String getParent()
Parent project to create the profile in.
string parent = 4 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Parent project to create the profile in.
string parent = 4 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the deployment field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDeployment(Deployment value)
public CreateProfileRequest.Builder mergeDeployment(Deployment value)
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Parameter | |
---|---|
Name | Description |
value | Deployment |
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |
mergeFrom(CreateProfileRequest other)
public CreateProfileRequest.Builder mergeFrom(CreateProfileRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateProfileRequest |
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateProfileRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |
setDeployment(Deployment value)
public CreateProfileRequest.Builder setDeployment(Deployment value)
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Parameter | |
---|---|
Name | Description |
value | Deployment |
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |
setDeployment(Deployment.Builder builderForValue)
public CreateProfileRequest.Builder setDeployment(Deployment.Builder builderForValue)
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | Deployment.Builder |
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |
setParent(String value)
public CreateProfileRequest.Builder setParent(String value)
Parent project to create the profile in.
string parent = 4 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The parent to set. |
Returns | |
---|---|
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 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for parent to set. |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | ProfileType The profileType to set. |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for profileType to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateProfileRequest.Builder |