Interface CreateProfileRequestOrBuilder (2.23.0)

public interface CreateProfileRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeployment()

public abstract Deployment getDeployment()

Deployment details.

.google.devtools.cloudprofiler.v2.Deployment deployment = 1;

Returns
TypeDescription
Deployment

The deployment.

getDeploymentOrBuilder()

public abstract DeploymentOrBuilder getDeploymentOrBuilder()

Deployment details.

.google.devtools.cloudprofiler.v2.Deployment deployment = 1;

Returns
TypeDescription
DeploymentOrBuilder

getParent()

public abstract String getParent()

Parent project to create the profile in.

string parent = 4 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Parent project to create the profile in.

string parent = 4 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getProfileType(int index)

public abstract 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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
ProfileType

The profileType at the given index.

getProfileTypeCount()

public abstract int getProfileTypeCount()

One or more profile types that the agent is capable of providing.

repeated .google.devtools.cloudprofiler.v2.ProfileType profile_type = 2;

Returns
TypeDescription
int

The count of profileType.

getProfileTypeList()

public abstract 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
TypeDescription
List<ProfileType>

A list containing the profileType.

getProfileTypeValue(int index)

public abstract 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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of profileType at the given index.

getProfileTypeValueList()

public abstract 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
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for profileType.

hasDeployment()

public abstract boolean hasDeployment()

Deployment details.

.google.devtools.cloudprofiler.v2.Deployment deployment = 1;

Returns
TypeDescription
boolean

Whether the deployment field is set.