public final class CreateProfileRequest extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DEPLOYMENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PARENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PROFILE_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static CreateProfileRequest getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static CreateProfileRequest.Builder newBuilder()
public static CreateProfileRequest.Builder newBuilder(CreateProfileRequest prototype)
public static CreateProfileRequest parseDelimitedFrom(InputStream input)
public static CreateProfileRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateProfileRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static CreateProfileRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateProfileRequest parseFrom(ByteString data)
public static CreateProfileRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateProfileRequest parseFrom(CodedInputStream input)
public static CreateProfileRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateProfileRequest parseFrom(InputStream input)
public static CreateProfileRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateProfileRequest parseFrom(ByteBuffer data)
public static CreateProfileRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<CreateProfileRequest> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public CreateProfileRequest getDefaultInstanceForType()
public Deployment getDeployment()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
public DeploymentOrBuilder getDeploymentOrBuilder()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
public String getParent()
Parent project to create the profile in.
string parent = 4 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
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.
|
public Parser<CreateProfileRequest> getParserForType()
Overrides
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.
|
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.
|
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;
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.
|
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.
|
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public boolean hasDeployment()
Deployment details.
.google.devtools.cloudprofiler.v2.Deployment deployment = 1;
Returns |
---|
Type | Description |
boolean | Whether the deployment field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateProfileRequest.Builder newBuilderForType()
protected CreateProfileRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public CreateProfileRequest.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides