- 2.54.0 (latest)
- 2.53.0
- 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 Profile.Builder extends GeneratedMessageV3.Builder<Profile.Builder> implements ProfileOrBuilder
Profile resource.
Protobuf type google.devtools.cloudprofiler.v2.Profile
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Profile.BuilderImplements
ProfileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Profile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Profile.Builder |
build()
public Profile build()
Type | Description |
Profile |
buildPartial()
public Profile buildPartial()
Type | Description |
Profile |
clear()
public Profile.Builder clear()
Type | Description |
Profile.Builder |
clearDeployment()
public Profile.Builder clearDeployment()
Deployment this profile corresponds to.
.google.devtools.cloudprofiler.v2.Deployment deployment = 3;
Type | Description |
Profile.Builder |
clearDuration()
public Profile.Builder clearDuration()
Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can't be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
.google.protobuf.Duration duration = 4;
Type | Description |
Profile.Builder |
clearField(Descriptors.FieldDescriptor field)
public Profile.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Profile.Builder |
clearLabels()
public Profile.Builder clearLabels()
Type | Description |
Profile.Builder |
clearName()
public Profile.Builder clearName()
Output only. Opaque, server-assigned, unique ID for this profile.
string name = 1;
Type | Description |
Profile.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Profile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Profile.Builder |
clearProfileBytes()
public Profile.Builder clearProfileBytes()
Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
bytes profile_bytes = 5;
Type | Description |
Profile.Builder | This builder for chaining. |
clearProfileType()
public Profile.Builder clearProfileType()
Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.
.google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;
Type | Description |
Profile.Builder | This builder for chaining. |
clone()
public Profile.Builder clone()
Type | Description |
Profile.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
map<string, string> labels = 6;
Name | Description |
key | String |
Type | Description |
boolean |
getDefaultInstanceForType()
public Profile getDefaultInstanceForType()
Type | Description |
Profile |
getDeployment()
public Deployment getDeployment()
Deployment this profile corresponds to.
.google.devtools.cloudprofiler.v2.Deployment deployment = 3;
Type | Description |
Deployment | The deployment. |
getDeploymentBuilder()
public Deployment.Builder getDeploymentBuilder()
Deployment this profile corresponds to.
.google.devtools.cloudprofiler.v2.Deployment deployment = 3;
Type | Description |
Deployment.Builder |
getDeploymentOrBuilder()
public DeploymentOrBuilder getDeploymentOrBuilder()
Deployment this profile corresponds to.
.google.devtools.cloudprofiler.v2.Deployment deployment = 3;
Type | Description |
DeploymentOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDuration()
public Duration getDuration()
Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can't be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
.google.protobuf.Duration duration = 4;
Type | Description |
Duration | The duration. |
getDurationBuilder()
public Duration.Builder getDurationBuilder()
Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can't be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
.google.protobuf.Duration duration = 4;
Type | Description |
Builder |
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can't be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
.google.protobuf.Duration duration = 4;
Type | Description |
DurationOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
map<string, string> labels = 6;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
map<string, string> labels = 6;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
map<string, string> labels = 6;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
map<string, string> labels = 6;
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Output only. Opaque, server-assigned, unique ID for this profile.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. Opaque, server-assigned, unique ID for this profile.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getProfileBytes()
public ByteString getProfileBytes()
Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
bytes profile_bytes = 5;
Type | Description |
ByteString | The profileBytes. |
getProfileType()
public ProfileType getProfileType()
Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.
.google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;
Type | Description |
ProfileType | The profileType. |
getProfileTypeValue()
public int getProfileTypeValue()
Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.
.google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;
Type | Description |
int | The enum numeric value on the wire for profileType. |
hasDeployment()
public boolean hasDeployment()
Deployment this profile corresponds to.
.google.devtools.cloudprofiler.v2.Deployment deployment = 3;
Type | Description |
boolean | Whether the deployment field is set. |
hasDuration()
public boolean hasDuration()
Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can't be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
.google.protobuf.Duration duration = 4;
Type | Description |
boolean | Whether the duration field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeDeployment(Deployment value)
public Profile.Builder mergeDeployment(Deployment value)
Deployment this profile corresponds to.
.google.devtools.cloudprofiler.v2.Deployment deployment = 3;
Name | Description |
value | Deployment |
Type | Description |
Profile.Builder |
mergeDuration(Duration value)
public Profile.Builder mergeDuration(Duration value)
Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can't be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
.google.protobuf.Duration duration = 4;
Name | Description |
value | Duration |
Type | Description |
Profile.Builder |
mergeFrom(Profile other)
public Profile.Builder mergeFrom(Profile other)
Name | Description |
other | Profile |
Type | Description |
Profile.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Profile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Profile.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Profile.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Profile.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Profile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Profile.Builder |
putAllLabels(Map<String,String> values)
public Profile.Builder putAllLabels(Map<String,String> values)
Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
map<string, string> labels = 6;
Name | Description |
values | Map<String,String> |
Type | Description |
Profile.Builder |
putLabels(String key, String value)
public Profile.Builder putLabels(String key, String value)
Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
map<string, string> labels = 6;
Name | Description |
key | String |
value | String |
Type | Description |
Profile.Builder |
removeLabels(String key)
public Profile.Builder removeLabels(String key)
Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
map<string, string> labels = 6;
Name | Description |
key | String |
Type | Description |
Profile.Builder |
setDeployment(Deployment value)
public Profile.Builder setDeployment(Deployment value)
Deployment this profile corresponds to.
.google.devtools.cloudprofiler.v2.Deployment deployment = 3;
Name | Description |
value | Deployment |
Type | Description |
Profile.Builder |
setDeployment(Deployment.Builder builderForValue)
public Profile.Builder setDeployment(Deployment.Builder builderForValue)
Deployment this profile corresponds to.
.google.devtools.cloudprofiler.v2.Deployment deployment = 3;
Name | Description |
builderForValue | Deployment.Builder |
Type | Description |
Profile.Builder |
setDuration(Duration value)
public Profile.Builder setDuration(Duration value)
Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can't be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
.google.protobuf.Duration duration = 4;
Name | Description |
value | Duration |
Type | Description |
Profile.Builder |
setDuration(Duration.Builder builderForValue)
public Profile.Builder setDuration(Duration.Builder builderForValue)
Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can't be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
.google.protobuf.Duration duration = 4;
Name | Description |
builderForValue | Builder |
Type | Description |
Profile.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Profile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Profile.Builder |
setName(String value)
public Profile.Builder setName(String value)
Output only. Opaque, server-assigned, unique ID for this profile.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Profile.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Profile.Builder setNameBytes(ByteString value)
Output only. Opaque, server-assigned, unique ID for this profile.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Profile.Builder | This builder for chaining. |
setProfileBytes(ByteString value)
public Profile.Builder setProfileBytes(ByteString value)
Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
bytes profile_bytes = 5;
Name | Description |
value | ByteString The profileBytes to set. |
Type | Description |
Profile.Builder | This builder for chaining. |
setProfileType(ProfileType value)
public Profile.Builder setProfileType(ProfileType value)
Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.
.google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;
Name | Description |
value | ProfileType The profileType to set. |
Type | Description |
Profile.Builder | This builder for chaining. |
setProfileTypeValue(int value)
public Profile.Builder setProfileTypeValue(int value)
Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.
.google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;
Name | Description |
value | int The enum numeric value on the wire for profileType to set. |
Type | Description |
Profile.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Profile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Profile.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Profile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Profile.Builder |