Class ListProfilesResponse (2.47.0)

public final class ListProfilesResponse extends GeneratedMessageV3 implements ListProfilesResponseOrBuilder

ListProfileResponse contains the list of collected profiles for deployments in projects which the user has permissions to view.

Protobuf type google.devtools.cloudprofiler.v2.ListProfilesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

PROFILES_FIELD_NUMBER

public static final int PROFILES_FIELD_NUMBER
Field Value
Type Description
int

SKIPPED_PROFILES_FIELD_NUMBER

public static final int SKIPPED_PROFILES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListProfilesResponse getDefaultInstance()
Returns
Type Description
ListProfilesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ListProfilesResponse.Builder newBuilder()
Returns
Type Description
ListProfilesResponse.Builder

newBuilder(ListProfilesResponse prototype)

public static ListProfilesResponse.Builder newBuilder(ListProfilesResponse prototype)
Parameter
Name Description
prototype ListProfilesResponse
Returns
Type Description
ListProfilesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListProfilesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListProfilesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListProfilesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListProfilesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListProfilesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListProfilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListProfilesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListProfilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListProfilesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListProfilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListProfilesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListProfilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListProfilesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListProfilesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListProfilesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListProfilesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListProfilesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListProfilesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListProfilesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListProfilesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListProfilesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListProfilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListProfilesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListProfilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListProfilesResponse> parser()
Returns
Type Description
Parser<ListProfilesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListProfilesResponse getDefaultInstanceForType()
Returns
Type Description
ListProfilesResponse

getNextPageToken()

public String getNextPageToken()

Token to receive the next page of results. This field maybe empty if there are no more profiles to fetch.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to receive the next page of results. This field maybe empty if there are no more profiles to fetch.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListProfilesResponse> getParserForType()
Returns
Type Description
Parser<ListProfilesResponse>
Overrides

getProfiles(int index)

public Profile getProfiles(int index)

List of profiles fetched.

repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
Profile

getProfilesCount()

public int getProfilesCount()

List of profiles fetched.

repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;

Returns
Type Description
int

getProfilesList()

public List<Profile> getProfilesList()

List of profiles fetched.

repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;

Returns
Type Description
List<Profile>

getProfilesOrBuilder(int index)

public ProfileOrBuilder getProfilesOrBuilder(int index)

List of profiles fetched.

repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ProfileOrBuilder

getProfilesOrBuilderList()

public List<? extends ProfileOrBuilder> getProfilesOrBuilderList()

List of profiles fetched.

repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;

Returns
Type Description
List<? extends com.google.devtools.cloudprofiler.v2.ProfileOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkippedProfiles()

public int getSkippedProfiles()

Number of profiles that were skipped in the current page since they were not able to be fetched successfully. This should typically be zero. A non-zero value may indicate a transient failure, in which case if the number is too high for your use case, the call may be retried.

int32 skipped_profiles = 3;

Returns
Type Description
int

The skippedProfiles.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListProfilesResponse.Builder newBuilderForType()
Returns
Type Description
ListProfilesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListProfilesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListProfilesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListProfilesResponse.Builder toBuilder()
Returns
Type Description
ListProfilesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException