Interface CreateProfileRequestOrBuilder (2.45.0)

public interface CreateProfileRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeployment()

public abstract Deployment getDeployment()

Deployment details.

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

Returns
Type Description
Deployment

The deployment.

getDeploymentOrBuilder()

public abstract DeploymentOrBuilder getDeploymentOrBuilder()

Deployment details.

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

Returns
Type Description
DeploymentOrBuilder

getParent()

public abstract String getParent()

Parent project to create the profile in.

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract 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 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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
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
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 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
Type Description
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
Type Description
boolean

Whether the deployment field is set.